From 18ba6fb476fa1211d2523b1a156a475aabe6d56d 2010-02-22 08:56:39 From: florianlink Date: 2010-02-22 08:56:39 Subject: [PATCH] removed old generated files git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@133 ea8d5007-eb21-0410-b261-ccb3ea6e24a9 --- diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QAbstractItemModel.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QAbstractItemModel.cpp deleted file mode 100644 index e1057bc..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QAbstractItemModel.cpp +++ /dev/null @@ -1,1033 +0,0 @@ -#include "PythonQtWrapper_QAbstractItemModel.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QModelIndex PythonQtShell_QAbstractItemModel::buddy(const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "buddy"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex 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) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractItemModel::buddy(index); -} -bool PythonQtShell_QAbstractItemModel::canFetchMore(const QModelIndex& parent) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "canFetchMore"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&parent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractItemModel::canFetchMore(parent); -} -void PythonQtShell_QAbstractItemModel::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; - } -} - QAbstractItemModel::childEvent(arg__1); -} -int PythonQtShell_QAbstractItemModel::columnCount(const QModelIndex& parent) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "columnCount"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&parent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - int result; -return result; -} -void PythonQtShell_QAbstractItemModel::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; - } -} - QAbstractItemModel::customEvent(arg__1); -} -QVariant PythonQtShell_QAbstractItemModel::data(const QModelIndex& index, int role) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "data"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&index, (void*)&role}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QVariant result; -return result; -} -bool PythonQtShell_QAbstractItemModel::dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropMimeData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QMimeData*" , "Qt::DropAction" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue; - void* args[6] = {NULL, (void*)&data, (void*)&action, (void*)&row, (void*)&column, (void*)&parent}; - 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("dropMimeData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractItemModel::dropMimeData(data, action, row, column, parent); -} -bool PythonQtShell_QAbstractItemModel::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractItemModel::event(arg__1); -} -bool PythonQtShell_QAbstractItemModel::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractItemModel::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QAbstractItemModel::fetchMore(const QModelIndex& parent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "fetchMore"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&parent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractItemModel::fetchMore(parent); -} -Qt::ItemFlags PythonQtShell_QAbstractItemModel::flags(const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "flags"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - Qt::ItemFlags returnValue; - void* args[2] = {NULL, (void*)&index}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); - } else { - returnValue = *((Qt::ItemFlags*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractItemModel::flags(index); -} -bool PythonQtShell_QAbstractItemModel::hasChildren(const QModelIndex& parent) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hasChildren"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&parent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasChildren", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractItemModel::hasChildren(parent); -} -QVariant PythonQtShell_QAbstractItemModel::headerData(int section, Qt::Orientation orientation, int role) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "headerData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QVariant returnValue; - void* args[4] = {NULL, (void*)§ion, (void*)&orientation, (void*)&role}; - 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("headerData", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractItemModel::headerData(section, orientation, role); -} -QModelIndex PythonQtShell_QAbstractItemModel::index(int row, int column, const QModelIndex& parent) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "index"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QModelIndex returnValue; - void* args[4] = {NULL, (void*)&row, (void*)&column, (void*)&parent}; - 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("index", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QModelIndex result; -return result; -} -bool PythonQtShell_QAbstractItemModel::insertColumns(int column, int count, const QModelIndex& parent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "insertColumns"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&column, (void*)&count, (void*)&parent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractItemModel::insertColumns(column, count, parent); -} -bool PythonQtShell_QAbstractItemModel::insertRows(int row, int count, const QModelIndex& parent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "insertRows"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&row, (void*)&count, (void*)&parent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractItemModel::insertRows(row, count, parent); -} -QMap PythonQtShell_QAbstractItemModel::itemData(const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMap 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) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); - } else { - returnValue = *((QMap*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractItemModel::itemData(index); -} -QList PythonQtShell_QAbstractItemModel::match(const QModelIndex& start, int role, const QVariant& value, int hits, Qt::MatchFlags flags) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "match"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QList" , "const QModelIndex&" , "int" , "const QVariant&" , "int" , "Qt::MatchFlags"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - QList returnValue; - void* args[6] = {NULL, (void*)&start, (void*)&role, (void*)&value, (void*)&hits, (void*)&flags}; - 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("match", methodInfo, result); - } else { - returnValue = *((QList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractItemModel::match(start, role, value, hits, flags); -} -QMimeData* PythonQtShell_QAbstractItemModel::mimeData(const QList& indexes) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mimeData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QMimeData*" , "const QList&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMimeData* returnValue; - void* args[2] = {NULL, (void*)&indexes}; - 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("mimeData", methodInfo, result); - } else { - returnValue = *((QMimeData**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractItemModel::mimeData(indexes); -} -QStringList PythonQtShell_QAbstractItemModel::mimeTypes() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mimeTypes"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QStringList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStringList returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); - } else { - returnValue = *((QStringList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractItemModel::mimeTypes(); -} -QModelIndex PythonQtShell_QAbstractItemModel::parent(const QModelIndex& child) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "parent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&child}; - 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("parent", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QModelIndex result; -return result; -} -bool PythonQtShell_QAbstractItemModel::removeColumns(int column, int count, const QModelIndex& parent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "removeColumns"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&column, (void*)&count, (void*)&parent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractItemModel::removeColumns(column, count, parent); -} -bool PythonQtShell_QAbstractItemModel::removeRows(int row, int count, const QModelIndex& parent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "removeRows"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&row, (void*)&count, (void*)&parent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractItemModel::removeRows(row, count, parent); -} -void PythonQtShell_QAbstractItemModel::revert() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "revert"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractItemModel::revert(); -} -int PythonQtShell_QAbstractItemModel::rowCount(const QModelIndex& parent) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowCount"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&parent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - int result; -return result; -} -bool PythonQtShell_QAbstractItemModel::setData(const QModelIndex& index, const QVariant& value, int role) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QVariant&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&index, (void*)&value, (void*)&role}; - 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("setData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractItemModel::setData(index, value, role); -} -bool PythonQtShell_QAbstractItemModel::setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setHeaderData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int" , "Qt::Orientation" , "const QVariant&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - bool returnValue; - void* args[5] = {NULL, (void*)§ion, (void*)&orientation, (void*)&value, (void*)&role}; - 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("setHeaderData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractItemModel::setHeaderData(section, orientation, value, role); -} -bool PythonQtShell_QAbstractItemModel::setItemData(const QModelIndex& index, const QMap& roles) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setItemData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&index, (void*)&roles}; - 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("setItemData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractItemModel::setItemData(index, roles); -} -void PythonQtShell_QAbstractItemModel::sort(int column, Qt::SortOrder order) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sort"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&column, (void*)&order}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractItemModel::sort(column, order); -} -QSize PythonQtShell_QAbstractItemModel::span(const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "span"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QSize 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) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractItemModel::span(index); -} -bool PythonQtShell_QAbstractItemModel::submit() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "submit"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractItemModel::submit(); -} -Qt::DropActions PythonQtShell_QAbstractItemModel::supportedDropActions() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "supportedDropActions"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"Qt::DropActions"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); - } else { - returnValue = *((Qt::DropActions*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractItemModel::supportedDropActions(); -} -void PythonQtShell_QAbstractItemModel::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; - } -} - QAbstractItemModel::timerEvent(arg__1); -} -QAbstractItemModel* PythonQtWrapper_QAbstractItemModel::new_QAbstractItemModel(QObject* parent) -{ -return new PythonQtShell_QAbstractItemModel(parent); } - -QMimeData* PythonQtWrapper_QAbstractItemModel::mimeData(QAbstractItemModel* theWrappedObject, const QList& indexes) const -{ - return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_mimeData(indexes)); -} - -bool PythonQtWrapper_QAbstractItemModel::removeRow(QAbstractItemModel* theWrappedObject, int row, const QModelIndex& parent) -{ - return ( theWrappedObject->removeRow(row, parent)); -} - -bool PythonQtWrapper_QAbstractItemModel::insertRow(QAbstractItemModel* theWrappedObject, int row, const QModelIndex& parent) -{ - return ( theWrappedObject->insertRow(row, parent)); -} - -void PythonQtWrapper_QAbstractItemModel::setSupportedDragActions(QAbstractItemModel* theWrappedObject, Qt::DropActions arg__1) -{ - ( theWrappedObject->setSupportedDragActions(arg__1)); -} - -bool PythonQtWrapper_QAbstractItemModel::canFetchMore(QAbstractItemModel* theWrappedObject, const QModelIndex& parent) const -{ - return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_canFetchMore(parent)); -} - -QVariant PythonQtWrapper_QAbstractItemModel::headerData(QAbstractItemModel* theWrappedObject, int section, Qt::Orientation orientation, int role) const -{ - return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_headerData(section, orientation, role)); -} - -QModelIndex PythonQtWrapper_QAbstractItemModel::sibling(QAbstractItemModel* theWrappedObject, int row, int column, const QModelIndex& idx) const -{ - return ( theWrappedObject->sibling(row, column, idx)); -} - -QModelIndex PythonQtWrapper_QAbstractItemModel::buddy(QAbstractItemModel* theWrappedObject, const QModelIndex& index) const -{ - return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_buddy(index)); -} - -bool PythonQtWrapper_QAbstractItemModel::removeColumn(QAbstractItemModel* theWrappedObject, int column, const QModelIndex& parent) -{ - return ( theWrappedObject->removeColumn(column, parent)); -} - -bool PythonQtWrapper_QAbstractItemModel::insertRows(QAbstractItemModel* theWrappedObject, int row, int count, const QModelIndex& parent) -{ - return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_insertRows(row, count, parent)); -} - -Qt::ItemFlags PythonQtWrapper_QAbstractItemModel::flags(QAbstractItemModel* theWrappedObject, const QModelIndex& index) const -{ - return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_flags(index)); -} - -QObject* PythonQtWrapper_QAbstractItemModel::parent(QAbstractItemModel* theWrappedObject) const -{ - return ( theWrappedObject->parent()); -} - -bool PythonQtWrapper_QAbstractItemModel::dropMimeData(QAbstractItemModel* theWrappedObject, const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) -{ - return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_dropMimeData(data, action, row, column, parent)); -} - -QStringList PythonQtWrapper_QAbstractItemModel::mimeTypes(QAbstractItemModel* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_mimeTypes()); -} - -bool PythonQtWrapper_QAbstractItemModel::insertColumns(QAbstractItemModel* theWrappedObject, int column, int count, const QModelIndex& parent) -{ - return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_insertColumns(column, count, parent)); -} - -QList PythonQtWrapper_QAbstractItemModel::match(QAbstractItemModel* theWrappedObject, const QModelIndex& start, int role, const QVariant& value, int hits, Qt::MatchFlags flags) const -{ - return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_match(start, role, value, hits, flags)); -} - -bool PythonQtWrapper_QAbstractItemModel::setItemData(QAbstractItemModel* theWrappedObject, const QModelIndex& index, const QMap& roles) -{ - return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_setItemData(index, roles)); -} - -bool PythonQtWrapper_QAbstractItemModel::insertColumn(QAbstractItemModel* theWrappedObject, int column, const QModelIndex& parent) -{ - return ( theWrappedObject->insertColumn(column, parent)); -} - -bool PythonQtWrapper_QAbstractItemModel::hasIndex(QAbstractItemModel* theWrappedObject, int row, int column, const QModelIndex& parent) const -{ - return ( theWrappedObject->hasIndex(row, column, parent)); -} - -void PythonQtWrapper_QAbstractItemModel::sort(QAbstractItemModel* theWrappedObject, int column, Qt::SortOrder order) -{ - ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_sort(column, order)); -} - -Qt::DropActions PythonQtWrapper_QAbstractItemModel::supportedDropActions(QAbstractItemModel* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_supportedDropActions()); -} - -bool PythonQtWrapper_QAbstractItemModel::removeRows(QAbstractItemModel* theWrappedObject, int row, int count, const QModelIndex& parent) -{ - return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_removeRows(row, count, parent)); -} - -bool PythonQtWrapper_QAbstractItemModel::setData(QAbstractItemModel* theWrappedObject, const QModelIndex& index, const QVariant& value, int role) -{ - return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_setData(index, value, role)); -} - -bool PythonQtWrapper_QAbstractItemModel::removeColumns(QAbstractItemModel* theWrappedObject, int column, int count, const QModelIndex& parent) -{ - return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_removeColumns(column, count, parent)); -} - -Qt::DropActions PythonQtWrapper_QAbstractItemModel::supportedDragActions(QAbstractItemModel* theWrappedObject) const -{ - return ( theWrappedObject->supportedDragActions()); -} - -QSize PythonQtWrapper_QAbstractItemModel::span(QAbstractItemModel* theWrappedObject, const QModelIndex& index) const -{ - return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_span(index)); -} - -bool PythonQtWrapper_QAbstractItemModel::hasChildren(QAbstractItemModel* theWrappedObject, const QModelIndex& parent) const -{ - return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_hasChildren(parent)); -} - -void PythonQtWrapper_QAbstractItemModel::fetchMore(QAbstractItemModel* theWrappedObject, const QModelIndex& parent) -{ - ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_fetchMore(parent)); -} - -QMap PythonQtWrapper_QAbstractItemModel::itemData(QAbstractItemModel* theWrappedObject, const QModelIndex& index) const -{ - return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_itemData(index)); -} - -bool PythonQtWrapper_QAbstractItemModel::setHeaderData(QAbstractItemModel* theWrappedObject, int section, Qt::Orientation orientation, const QVariant& value, int role) -{ - return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_setHeaderData(section, orientation, value, role)); -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QAbstractItemModel.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QAbstractItemModel.h deleted file mode 100644 index 1498fca..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QAbstractItemModel.h +++ /dev/null @@ -1,127 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QABSTRACTITEMMODEL_H -#define PYTHONQTWRAPPER_QABSTRACTITEMMODEL_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QAbstractItemModel : public QAbstractItemModel -{ -public: - PythonQtShell_QAbstractItemModel(QObject* parent = 0):QAbstractItemModel(parent),_wrapper(NULL) {}; - -virtual QModelIndex buddy(const QModelIndex& index) const; -virtual bool canFetchMore(const QModelIndex& parent) const; -virtual void childEvent(QChildEvent* arg__1); -virtual int columnCount(const QModelIndex& parent = QModelIndex()) const; -virtual void customEvent(QEvent* arg__1); -virtual QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const; -virtual bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void fetchMore(const QModelIndex& parent); -virtual Qt::ItemFlags flags(const QModelIndex& index) const; -virtual bool hasChildren(const QModelIndex& parent = QModelIndex()) const; -virtual QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const; -virtual QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const; -virtual bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual QMap itemData(const QModelIndex& index) const; -virtual QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const; -virtual QMimeData* mimeData(const QList& indexes) const; -virtual QStringList mimeTypes() const; -virtual QModelIndex parent(const QModelIndex& child) const; -virtual bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual void revert(); -virtual int rowCount(const QModelIndex& parent = QModelIndex()) const; -virtual bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole); -virtual bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole); -virtual bool setItemData(const QModelIndex& index, const QMap& roles); -virtual void sort(int column, Qt::SortOrder order = Qt::AscendingOrder); -virtual QSize span(const QModelIndex& index) const; -virtual bool submit(); -virtual Qt::DropActions supportedDropActions() const; -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QAbstractItemModel : public QAbstractItemModel -{ public: -inline QMimeData* promoted_mimeData(const QList& indexes) const { return QAbstractItemModel::mimeData(indexes); } -inline void promoted_revert() { QAbstractItemModel::revert(); } -inline bool promoted_canFetchMore(const QModelIndex& parent) const { return QAbstractItemModel::canFetchMore(parent); } -inline QVariant promoted_headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const { return QAbstractItemModel::headerData(section, orientation, role); } -inline QModelIndex promoted_buddy(const QModelIndex& index) const { return QAbstractItemModel::buddy(index); } -inline bool promoted_insertRows(int row, int count, const QModelIndex& parent = QModelIndex()) { return QAbstractItemModel::insertRows(row, count, parent); } -inline bool promoted_submit() { return QAbstractItemModel::submit(); } -inline Qt::ItemFlags promoted_flags(const QModelIndex& index) const { return QAbstractItemModel::flags(index); } -inline bool promoted_dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) { return QAbstractItemModel::dropMimeData(data, action, row, column, parent); } -inline QStringList promoted_mimeTypes() const { return QAbstractItemModel::mimeTypes(); } -inline bool promoted_insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()) { return QAbstractItemModel::insertColumns(column, count, parent); } -inline QList promoted_match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const { return QAbstractItemModel::match(start, role, value, hits, flags); } -inline bool promoted_setItemData(const QModelIndex& index, const QMap& roles) { return QAbstractItemModel::setItemData(index, roles); } -inline void promoted_sort(int column, Qt::SortOrder order = Qt::AscendingOrder) { QAbstractItemModel::sort(column, order); } -inline Qt::DropActions promoted_supportedDropActions() const { return QAbstractItemModel::supportedDropActions(); } -inline bool promoted_removeRows(int row, int count, const QModelIndex& parent = QModelIndex()) { return QAbstractItemModel::removeRows(row, count, parent); } -inline bool promoted_setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole) { return QAbstractItemModel::setData(index, value, role); } -inline bool promoted_removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()) { return QAbstractItemModel::removeColumns(column, count, parent); } -inline QSize promoted_span(const QModelIndex& index) const { return QAbstractItemModel::span(index); } -inline bool promoted_hasChildren(const QModelIndex& parent = QModelIndex()) const { return QAbstractItemModel::hasChildren(parent); } -inline void promoted_fetchMore(const QModelIndex& parent) { QAbstractItemModel::fetchMore(parent); } -inline QMap promoted_itemData(const QModelIndex& index) const { return QAbstractItemModel::itemData(index); } -inline bool promoted_setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole) { return QAbstractItemModel::setHeaderData(section, orientation, value, role); } -}; - -class PythonQtWrapper_QAbstractItemModel : public QObject -{ Q_OBJECT -public: -public slots: -QAbstractItemModel* new_QAbstractItemModel(QObject* parent = 0); -void delete_QAbstractItemModel(QAbstractItemModel* obj) { delete obj; } - QMimeData* mimeData(QAbstractItemModel* theWrappedObject, const QList& indexes) const; - bool removeRow(QAbstractItemModel* theWrappedObject, int row, const QModelIndex& parent = QModelIndex()); - bool insertRow(QAbstractItemModel* theWrappedObject, int row, const QModelIndex& parent = QModelIndex()); - void setSupportedDragActions(QAbstractItemModel* theWrappedObject, Qt::DropActions arg__1); - bool canFetchMore(QAbstractItemModel* theWrappedObject, const QModelIndex& parent) const; - QVariant headerData(QAbstractItemModel* theWrappedObject, int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const; - QModelIndex sibling(QAbstractItemModel* theWrappedObject, int row, int column, const QModelIndex& idx) const; - QModelIndex buddy(QAbstractItemModel* theWrappedObject, const QModelIndex& index) const; - bool removeColumn(QAbstractItemModel* theWrappedObject, int column, const QModelIndex& parent = QModelIndex()); - bool insertRows(QAbstractItemModel* theWrappedObject, int row, int count, const QModelIndex& parent = QModelIndex()); - Qt::ItemFlags flags(QAbstractItemModel* theWrappedObject, const QModelIndex& index) const; - QObject* parent(QAbstractItemModel* theWrappedObject) const; - bool dropMimeData(QAbstractItemModel* theWrappedObject, const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent); - QStringList mimeTypes(QAbstractItemModel* theWrappedObject) const; - bool insertColumns(QAbstractItemModel* theWrappedObject, int column, int count, const QModelIndex& parent = QModelIndex()); - QList match(QAbstractItemModel* theWrappedObject, const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const; - bool setItemData(QAbstractItemModel* theWrappedObject, const QModelIndex& index, const QMap& roles); - bool insertColumn(QAbstractItemModel* theWrappedObject, int column, const QModelIndex& parent = QModelIndex()); - bool hasIndex(QAbstractItemModel* theWrappedObject, int row, int column, const QModelIndex& parent = QModelIndex()) const; - void sort(QAbstractItemModel* theWrappedObject, int column, Qt::SortOrder order = Qt::AscendingOrder); - Qt::DropActions supportedDropActions(QAbstractItemModel* theWrappedObject) const; - bool removeRows(QAbstractItemModel* theWrappedObject, int row, int count, const QModelIndex& parent = QModelIndex()); - bool setData(QAbstractItemModel* theWrappedObject, const QModelIndex& index, const QVariant& value, int role = Qt::EditRole); - bool removeColumns(QAbstractItemModel* theWrappedObject, int column, int count, const QModelIndex& parent = QModelIndex()); - Qt::DropActions supportedDragActions(QAbstractItemModel* theWrappedObject) const; - QSize span(QAbstractItemModel* theWrappedObject, const QModelIndex& index) const; - bool hasChildren(QAbstractItemModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const; - void fetchMore(QAbstractItemModel* theWrappedObject, const QModelIndex& parent); - QMap itemData(QAbstractItemModel* theWrappedObject, const QModelIndex& index) const; - bool setHeaderData(QAbstractItemModel* theWrappedObject, int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole); -}; - -#endif // PYTHONQTWRAPPER_QABSTRACTITEMMODEL_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QAbstractListModel.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QAbstractListModel.cpp deleted file mode 100644 index 43abd13..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QAbstractListModel.cpp +++ /dev/null @@ -1,808 +0,0 @@ -#include "PythonQtWrapper_QAbstractListModel.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QModelIndex PythonQtShell_QAbstractListModel::buddy(const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "buddy"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex 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) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractListModel::buddy(index); -} -bool PythonQtShell_QAbstractListModel::canFetchMore(const QModelIndex& parent) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "canFetchMore"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&parent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractListModel::canFetchMore(parent); -} -void PythonQtShell_QAbstractListModel::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; - } -} - QAbstractListModel::childEvent(arg__1); -} -void PythonQtShell_QAbstractListModel::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; - } -} - QAbstractListModel::customEvent(arg__1); -} -QVariant PythonQtShell_QAbstractListModel::data(const QModelIndex& index, int role) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "data"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&index, (void*)&role}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QVariant result; -return result; -} -bool PythonQtShell_QAbstractListModel::dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropMimeData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QMimeData*" , "Qt::DropAction" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue; - void* args[6] = {NULL, (void*)&data, (void*)&action, (void*)&row, (void*)&column, (void*)&parent}; - 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("dropMimeData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractListModel::dropMimeData(data, action, row, column, parent); -} -bool PythonQtShell_QAbstractListModel::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractListModel::event(arg__1); -} -bool PythonQtShell_QAbstractListModel::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractListModel::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QAbstractListModel::fetchMore(const QModelIndex& parent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "fetchMore"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&parent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractListModel::fetchMore(parent); -} -Qt::ItemFlags PythonQtShell_QAbstractListModel::flags(const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "flags"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - Qt::ItemFlags returnValue; - void* args[2] = {NULL, (void*)&index}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); - } else { - returnValue = *((Qt::ItemFlags*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractListModel::flags(index); -} -QVariant PythonQtShell_QAbstractListModel::headerData(int section, Qt::Orientation orientation, int role) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "headerData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QVariant returnValue; - void* args[4] = {NULL, (void*)§ion, (void*)&orientation, (void*)&role}; - 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("headerData", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractListModel::headerData(section, orientation, role); -} -QModelIndex PythonQtShell_QAbstractListModel::index(int row, int column, const QModelIndex& parent) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "index"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QModelIndex returnValue; - void* args[4] = {NULL, (void*)&row, (void*)&column, (void*)&parent}; - 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("index", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractListModel::index(row, column, parent); -} -bool PythonQtShell_QAbstractListModel::insertColumns(int column, int count, const QModelIndex& parent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "insertColumns"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&column, (void*)&count, (void*)&parent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractListModel::insertColumns(column, count, parent); -} -bool PythonQtShell_QAbstractListModel::insertRows(int row, int count, const QModelIndex& parent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "insertRows"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&row, (void*)&count, (void*)&parent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractListModel::insertRows(row, count, parent); -} -QMap PythonQtShell_QAbstractListModel::itemData(const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMap 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) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); - } else { - returnValue = *((QMap*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractListModel::itemData(index); -} -QList PythonQtShell_QAbstractListModel::match(const QModelIndex& start, int role, const QVariant& value, int hits, Qt::MatchFlags flags) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "match"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QList" , "const QModelIndex&" , "int" , "const QVariant&" , "int" , "Qt::MatchFlags"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - QList returnValue; - void* args[6] = {NULL, (void*)&start, (void*)&role, (void*)&value, (void*)&hits, (void*)&flags}; - 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("match", methodInfo, result); - } else { - returnValue = *((QList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractListModel::match(start, role, value, hits, flags); -} -QMimeData* PythonQtShell_QAbstractListModel::mimeData(const QList& indexes) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mimeData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QMimeData*" , "const QList&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMimeData* returnValue; - void* args[2] = {NULL, (void*)&indexes}; - 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("mimeData", methodInfo, result); - } else { - returnValue = *((QMimeData**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractListModel::mimeData(indexes); -} -QStringList PythonQtShell_QAbstractListModel::mimeTypes() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mimeTypes"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QStringList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStringList returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); - } else { - returnValue = *((QStringList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractListModel::mimeTypes(); -} -bool PythonQtShell_QAbstractListModel::removeColumns(int column, int count, const QModelIndex& parent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "removeColumns"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&column, (void*)&count, (void*)&parent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractListModel::removeColumns(column, count, parent); -} -bool PythonQtShell_QAbstractListModel::removeRows(int row, int count, const QModelIndex& parent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "removeRows"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&row, (void*)&count, (void*)&parent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractListModel::removeRows(row, count, parent); -} -void PythonQtShell_QAbstractListModel::revert() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "revert"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractListModel::revert(); -} -int PythonQtShell_QAbstractListModel::rowCount(const QModelIndex& parent) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowCount"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&parent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - int result; -return result; -} -bool PythonQtShell_QAbstractListModel::setData(const QModelIndex& index, const QVariant& value, int role) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QVariant&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&index, (void*)&value, (void*)&role}; - 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("setData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractListModel::setData(index, value, role); -} -bool PythonQtShell_QAbstractListModel::setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setHeaderData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int" , "Qt::Orientation" , "const QVariant&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - bool returnValue; - void* args[5] = {NULL, (void*)§ion, (void*)&orientation, (void*)&value, (void*)&role}; - 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("setHeaderData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractListModel::setHeaderData(section, orientation, value, role); -} -bool PythonQtShell_QAbstractListModel::setItemData(const QModelIndex& index, const QMap& roles) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setItemData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&index, (void*)&roles}; - 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("setItemData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractListModel::setItemData(index, roles); -} -void PythonQtShell_QAbstractListModel::sort(int column, Qt::SortOrder order) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sort"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&column, (void*)&order}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractListModel::sort(column, order); -} -QSize PythonQtShell_QAbstractListModel::span(const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "span"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QSize 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) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractListModel::span(index); -} -bool PythonQtShell_QAbstractListModel::submit() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "submit"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractListModel::submit(); -} -Qt::DropActions PythonQtShell_QAbstractListModel::supportedDropActions() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "supportedDropActions"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"Qt::DropActions"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); - } else { - returnValue = *((Qt::DropActions*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractListModel::supportedDropActions(); -} -void PythonQtShell_QAbstractListModel::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; - } -} - QAbstractListModel::timerEvent(arg__1); -} -QAbstractListModel* PythonQtWrapper_QAbstractListModel::new_QAbstractListModel(QObject* parent) -{ -return new PythonQtShell_QAbstractListModel(parent); } - -bool PythonQtWrapper_QAbstractListModel::dropMimeData(QAbstractListModel* theWrappedObject, const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) -{ - return ( ((PythonQtPublicPromoter_QAbstractListModel*)theWrappedObject)->promoted_dropMimeData(data, action, row, column, parent)); -} - -QModelIndex PythonQtWrapper_QAbstractListModel::index(QAbstractListModel* theWrappedObject, int row, int column, const QModelIndex& parent) const -{ - return ( ((PythonQtPublicPromoter_QAbstractListModel*)theWrappedObject)->promoted_index(row, column, parent)); -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QAbstractListModel.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QAbstractListModel.h deleted file mode 100644 index 6349631..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QAbstractListModel.h +++ /dev/null @@ -1,77 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QABSTRACTLISTMODEL_H -#define PYTHONQTWRAPPER_QABSTRACTLISTMODEL_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QAbstractListModel : public QAbstractListModel -{ -public: - PythonQtShell_QAbstractListModel(QObject* parent = 0):QAbstractListModel(parent),_wrapper(NULL) {}; - -virtual QModelIndex buddy(const QModelIndex& index) const; -virtual bool canFetchMore(const QModelIndex& parent) const; -virtual void childEvent(QChildEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual QVariant data(const QModelIndex& index, int role) const; -virtual bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void fetchMore(const QModelIndex& parent); -virtual Qt::ItemFlags flags(const QModelIndex& index) const; -virtual QVariant headerData(int section, Qt::Orientation orientation, int role) const; -virtual QModelIndex index(int row, int column = 0, const QModelIndex& parent = QModelIndex()) const; -virtual bool insertColumns(int column, int count, const QModelIndex& parent); -virtual bool insertRows(int row, int count, const QModelIndex& parent); -virtual QMap itemData(const QModelIndex& index) const; -virtual QList match(const QModelIndex& start, int role, const QVariant& value, int hits, Qt::MatchFlags flags) const; -virtual QMimeData* mimeData(const QList& indexes) const; -virtual QStringList mimeTypes() const; -virtual bool removeColumns(int column, int count, const QModelIndex& parent); -virtual bool removeRows(int row, int count, const QModelIndex& parent); -virtual void revert(); -virtual int rowCount(const QModelIndex& parent) const; -virtual bool setData(const QModelIndex& index, const QVariant& value, int role); -virtual bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role); -virtual bool setItemData(const QModelIndex& index, const QMap& roles); -virtual void sort(int column, Qt::SortOrder order); -virtual QSize span(const QModelIndex& index) const; -virtual bool submit(); -virtual Qt::DropActions supportedDropActions() const; -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QAbstractListModel : public QAbstractListModel -{ public: -inline bool promoted_dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) { return QAbstractListModel::dropMimeData(data, action, row, column, parent); } -inline QModelIndex promoted_index(int row, int column = 0, const QModelIndex& parent = QModelIndex()) const { return QAbstractListModel::index(row, column, parent); } -}; - -class PythonQtWrapper_QAbstractListModel : public QObject -{ Q_OBJECT -public: -public slots: -QAbstractListModel* new_QAbstractListModel(QObject* parent = 0); -void delete_QAbstractListModel(QAbstractListModel* obj) { delete obj; } - bool dropMimeData(QAbstractListModel* theWrappedObject, const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent); - QModelIndex index(QAbstractListModel* theWrappedObject, int row, int column = 0, const QModelIndex& parent = QModelIndex()) const; -}; - -#endif // PYTHONQTWRAPPER_QABSTRACTLISTMODEL_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QAbstractTableModel.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QAbstractTableModel.cpp deleted file mode 100644 index b7418d7..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QAbstractTableModel.cpp +++ /dev/null @@ -1,837 +0,0 @@ -#include "PythonQtWrapper_QAbstractTableModel.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QModelIndex PythonQtShell_QAbstractTableModel::buddy(const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "buddy"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex 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) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractTableModel::buddy(index); -} -bool PythonQtShell_QAbstractTableModel::canFetchMore(const QModelIndex& parent) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "canFetchMore"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&parent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractTableModel::canFetchMore(parent); -} -void PythonQtShell_QAbstractTableModel::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; - } -} - QAbstractTableModel::childEvent(arg__1); -} -int PythonQtShell_QAbstractTableModel::columnCount(const QModelIndex& parent) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "columnCount"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&parent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - int result; -return result; -} -void PythonQtShell_QAbstractTableModel::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; - } -} - QAbstractTableModel::customEvent(arg__1); -} -QVariant PythonQtShell_QAbstractTableModel::data(const QModelIndex& index, int role) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "data"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&index, (void*)&role}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QVariant result; -return result; -} -bool PythonQtShell_QAbstractTableModel::dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropMimeData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QMimeData*" , "Qt::DropAction" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue; - void* args[6] = {NULL, (void*)&data, (void*)&action, (void*)&row, (void*)&column, (void*)&parent}; - 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("dropMimeData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractTableModel::dropMimeData(data, action, row, column, parent); -} -bool PythonQtShell_QAbstractTableModel::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractTableModel::event(arg__1); -} -bool PythonQtShell_QAbstractTableModel::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractTableModel::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QAbstractTableModel::fetchMore(const QModelIndex& parent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "fetchMore"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&parent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractTableModel::fetchMore(parent); -} -Qt::ItemFlags PythonQtShell_QAbstractTableModel::flags(const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "flags"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - Qt::ItemFlags returnValue; - void* args[2] = {NULL, (void*)&index}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); - } else { - returnValue = *((Qt::ItemFlags*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractTableModel::flags(index); -} -QVariant PythonQtShell_QAbstractTableModel::headerData(int section, Qt::Orientation orientation, int role) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "headerData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QVariant returnValue; - void* args[4] = {NULL, (void*)§ion, (void*)&orientation, (void*)&role}; - 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("headerData", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractTableModel::headerData(section, orientation, role); -} -QModelIndex PythonQtShell_QAbstractTableModel::index(int row, int column, const QModelIndex& parent) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "index"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QModelIndex returnValue; - void* args[4] = {NULL, (void*)&row, (void*)&column, (void*)&parent}; - 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("index", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractTableModel::index(row, column, parent); -} -bool PythonQtShell_QAbstractTableModel::insertColumns(int column, int count, const QModelIndex& parent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "insertColumns"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&column, (void*)&count, (void*)&parent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractTableModel::insertColumns(column, count, parent); -} -bool PythonQtShell_QAbstractTableModel::insertRows(int row, int count, const QModelIndex& parent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "insertRows"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&row, (void*)&count, (void*)&parent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractTableModel::insertRows(row, count, parent); -} -QMap PythonQtShell_QAbstractTableModel::itemData(const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMap 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) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); - } else { - returnValue = *((QMap*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractTableModel::itemData(index); -} -QList PythonQtShell_QAbstractTableModel::match(const QModelIndex& start, int role, const QVariant& value, int hits, Qt::MatchFlags flags) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "match"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QList" , "const QModelIndex&" , "int" , "const QVariant&" , "int" , "Qt::MatchFlags"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - QList returnValue; - void* args[6] = {NULL, (void*)&start, (void*)&role, (void*)&value, (void*)&hits, (void*)&flags}; - 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("match", methodInfo, result); - } else { - returnValue = *((QList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractTableModel::match(start, role, value, hits, flags); -} -QMimeData* PythonQtShell_QAbstractTableModel::mimeData(const QList& indexes) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mimeData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QMimeData*" , "const QList&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMimeData* returnValue; - void* args[2] = {NULL, (void*)&indexes}; - 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("mimeData", methodInfo, result); - } else { - returnValue = *((QMimeData**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractTableModel::mimeData(indexes); -} -QStringList PythonQtShell_QAbstractTableModel::mimeTypes() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mimeTypes"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QStringList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStringList returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); - } else { - returnValue = *((QStringList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractTableModel::mimeTypes(); -} -bool PythonQtShell_QAbstractTableModel::removeColumns(int column, int count, const QModelIndex& parent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "removeColumns"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&column, (void*)&count, (void*)&parent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractTableModel::removeColumns(column, count, parent); -} -bool PythonQtShell_QAbstractTableModel::removeRows(int row, int count, const QModelIndex& parent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "removeRows"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&row, (void*)&count, (void*)&parent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractTableModel::removeRows(row, count, parent); -} -void PythonQtShell_QAbstractTableModel::revert() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "revert"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractTableModel::revert(); -} -int PythonQtShell_QAbstractTableModel::rowCount(const QModelIndex& parent) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowCount"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&parent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - int result; -return result; -} -bool PythonQtShell_QAbstractTableModel::setData(const QModelIndex& index, const QVariant& value, int role) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QVariant&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&index, (void*)&value, (void*)&role}; - 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("setData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractTableModel::setData(index, value, role); -} -bool PythonQtShell_QAbstractTableModel::setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setHeaderData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int" , "Qt::Orientation" , "const QVariant&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - bool returnValue; - void* args[5] = {NULL, (void*)§ion, (void*)&orientation, (void*)&value, (void*)&role}; - 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("setHeaderData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractTableModel::setHeaderData(section, orientation, value, role); -} -bool PythonQtShell_QAbstractTableModel::setItemData(const QModelIndex& index, const QMap& roles) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setItemData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&index, (void*)&roles}; - 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("setItemData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractTableModel::setItemData(index, roles); -} -void PythonQtShell_QAbstractTableModel::sort(int column, Qt::SortOrder order) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sort"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&column, (void*)&order}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractTableModel::sort(column, order); -} -QSize PythonQtShell_QAbstractTableModel::span(const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "span"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QSize 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) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractTableModel::span(index); -} -bool PythonQtShell_QAbstractTableModel::submit() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "submit"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractTableModel::submit(); -} -Qt::DropActions PythonQtShell_QAbstractTableModel::supportedDropActions() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "supportedDropActions"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"Qt::DropActions"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); - } else { - returnValue = *((Qt::DropActions*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractTableModel::supportedDropActions(); -} -void PythonQtShell_QAbstractTableModel::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; - } -} - QAbstractTableModel::timerEvent(arg__1); -} -QAbstractTableModel* PythonQtWrapper_QAbstractTableModel::new_QAbstractTableModel(QObject* parent) -{ -return new PythonQtShell_QAbstractTableModel(parent); } - -bool PythonQtWrapper_QAbstractTableModel::dropMimeData(QAbstractTableModel* theWrappedObject, const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) -{ - return ( ((PythonQtPublicPromoter_QAbstractTableModel*)theWrappedObject)->promoted_dropMimeData(data, action, row, column, parent)); -} - -QModelIndex PythonQtWrapper_QAbstractTableModel::index(QAbstractTableModel* theWrappedObject, int row, int column, const QModelIndex& parent) const -{ - return ( ((PythonQtPublicPromoter_QAbstractTableModel*)theWrappedObject)->promoted_index(row, column, parent)); -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QAbstractTableModel.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QAbstractTableModel.h deleted file mode 100644 index a18cb1a..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QAbstractTableModel.h +++ /dev/null @@ -1,78 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QABSTRACTTABLEMODEL_H -#define PYTHONQTWRAPPER_QABSTRACTTABLEMODEL_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QAbstractTableModel : public QAbstractTableModel -{ -public: - PythonQtShell_QAbstractTableModel(QObject* parent = 0):QAbstractTableModel(parent),_wrapper(NULL) {}; - -virtual QModelIndex buddy(const QModelIndex& index) const; -virtual bool canFetchMore(const QModelIndex& parent) const; -virtual void childEvent(QChildEvent* arg__1); -virtual int columnCount(const QModelIndex& parent) const; -virtual void customEvent(QEvent* arg__1); -virtual QVariant data(const QModelIndex& index, int role) const; -virtual bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void fetchMore(const QModelIndex& parent); -virtual Qt::ItemFlags flags(const QModelIndex& index) const; -virtual QVariant headerData(int section, Qt::Orientation orientation, int role) const; -virtual QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const; -virtual bool insertColumns(int column, int count, const QModelIndex& parent); -virtual bool insertRows(int row, int count, const QModelIndex& parent); -virtual QMap itemData(const QModelIndex& index) const; -virtual QList match(const QModelIndex& start, int role, const QVariant& value, int hits, Qt::MatchFlags flags) const; -virtual QMimeData* mimeData(const QList& indexes) const; -virtual QStringList mimeTypes() const; -virtual bool removeColumns(int column, int count, const QModelIndex& parent); -virtual bool removeRows(int row, int count, const QModelIndex& parent); -virtual void revert(); -virtual int rowCount(const QModelIndex& parent) const; -virtual bool setData(const QModelIndex& index, const QVariant& value, int role); -virtual bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role); -virtual bool setItemData(const QModelIndex& index, const QMap& roles); -virtual void sort(int column, Qt::SortOrder order); -virtual QSize span(const QModelIndex& index) const; -virtual bool submit(); -virtual Qt::DropActions supportedDropActions() const; -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QAbstractTableModel : public QAbstractTableModel -{ public: -inline bool promoted_dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) { return QAbstractTableModel::dropMimeData(data, action, row, column, parent); } -inline QModelIndex promoted_index(int row, int column, const QModelIndex& parent = QModelIndex()) const { return QAbstractTableModel::index(row, column, parent); } -}; - -class PythonQtWrapper_QAbstractTableModel : public QObject -{ Q_OBJECT -public: -public slots: -QAbstractTableModel* new_QAbstractTableModel(QObject* parent = 0); -void delete_QAbstractTableModel(QAbstractTableModel* obj) { delete obj; } - bool dropMimeData(QAbstractTableModel* theWrappedObject, const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent); - QModelIndex index(QAbstractTableModel* theWrappedObject, int row, int column, const QModelIndex& parent = QModelIndex()) const; -}; - -#endif // PYTHONQTWRAPPER_QABSTRACTTABLEMODEL_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QBasicTimer.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QBasicTimer.cpp deleted file mode 100644 index b709200..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QBasicTimer.cpp +++ /dev/null @@ -1,32 +0,0 @@ -#include "PythonQtWrapper_QBasicTimer.h" - -#include -#include -#include -#include -#include - -QBasicTimer* PythonQtWrapper_QBasicTimer::new_QBasicTimer() -{ -return new QBasicTimer(); } - -bool PythonQtWrapper_QBasicTimer::isActive(QBasicTimer* theWrappedObject) const -{ - return ( theWrappedObject->isActive()); -} - -int PythonQtWrapper_QBasicTimer::timerId(QBasicTimer* theWrappedObject) const -{ - return ( theWrappedObject->timerId()); -} - -void PythonQtWrapper_QBasicTimer::start(QBasicTimer* theWrappedObject, int msec, QObject* obj) -{ - ( theWrappedObject->start(msec, obj)); -} - -void PythonQtWrapper_QBasicTimer::stop(QBasicTimer* theWrappedObject) -{ - ( theWrappedObject->stop()); -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QBasicTimer.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QBasicTimer.h deleted file mode 100644 index c745cf3..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QBasicTimer.h +++ /dev/null @@ -1,28 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QBASICTIMER_H -#define PYTHONQTWRAPPER_QBASICTIMER_H - -#include -#include - -#include - -#include -#include - -class PythonQtWrapper_QBasicTimer : public QObject -{ Q_OBJECT -public: -public slots: -QBasicTimer* new_QBasicTimer(); -QBasicTimer* new_QBasicTimer(const QBasicTimer& other) { -QBasicTimer* a = new QBasicTimer(); -*((QBasicTimer*)a) = other; -return a; } -void delete_QBasicTimer(QBasicTimer* obj) { delete obj; } - bool isActive(QBasicTimer* theWrappedObject) const; - int timerId(QBasicTimer* theWrappedObject) const; - void start(QBasicTimer* theWrappedObject, int msec, QObject* obj); - void stop(QBasicTimer* theWrappedObject); -}; - -#endif // PYTHONQTWRAPPER_QBASICTIMER_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QBitArray.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QBitArray.cpp deleted file mode 100644 index 7899837..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QBitArray.cpp +++ /dev/null @@ -1,141 +0,0 @@ -#include "PythonQtWrapper_QBitArray.h" - -#include -#include -#include -#include -#include -#include - -QBitArray* PythonQtWrapper_QBitArray::new_QBitArray() -{ -return new QBitArray(); } - -QBitArray* PythonQtWrapper_QBitArray::new_QBitArray(const QBitArray& other) -{ -return new QBitArray(other); } - -QBitArray* PythonQtWrapper_QBitArray::new_QBitArray(int size, bool val) -{ -return new QBitArray(size, val); } - -void PythonQtWrapper_QBitArray::resize(QBitArray* theWrappedObject, int size) -{ - ( theWrappedObject->resize(size)); -} - -void PythonQtWrapper_QBitArray::clear(QBitArray* theWrappedObject) -{ - ( theWrappedObject->clear()); -} - -QBitArray PythonQtWrapper_QBitArray::operator_negate(QBitArray* theWrappedObject) const -{ - return ( theWrappedObject->operator~()); -} - -void PythonQtWrapper_QBitArray::clearBit(QBitArray* theWrappedObject, int i) -{ - ( theWrappedObject->clearBit(i)); -} - -void PythonQtWrapper_QBitArray::writeTo(QBitArray* theWrappedObject, QDataStream& arg__1) -{ - arg__1 << (*theWrappedObject); -} - -bool PythonQtWrapper_QBitArray::operator_equal(QBitArray* theWrappedObject, const QBitArray& a) const -{ - return ( (*theWrappedObject)== a); -} - -bool PythonQtWrapper_QBitArray::at(QBitArray* theWrappedObject, int i) const -{ - return ( theWrappedObject->at(i)); -} - -QBitArray* PythonQtWrapper_QBitArray::operator_xor_assign(QBitArray* theWrappedObject, const QBitArray& arg__1) -{ - return &( (*theWrappedObject)^= arg__1); -} - -void PythonQtWrapper_QBitArray::readFrom(QBitArray* theWrappedObject, QDataStream& arg__1) -{ - arg__1 >> (*theWrappedObject); -} - -void PythonQtWrapper_QBitArray::truncate(QBitArray* theWrappedObject, int pos) -{ - ( theWrappedObject->truncate(pos)); -} - -bool PythonQtWrapper_QBitArray::toggleBit(QBitArray* theWrappedObject, int i) -{ - return ( theWrappedObject->toggleBit(i)); -} - -QBitArray* PythonQtWrapper_QBitArray::operator_assign(QBitArray* theWrappedObject, const QBitArray& other) -{ - return &( (*theWrappedObject)= other); -} - -QBitArray* PythonQtWrapper_QBitArray::operator_or_assign(QBitArray* theWrappedObject, const QBitArray& arg__1) -{ - return &( (*theWrappedObject)|= arg__1); -} - -int PythonQtWrapper_QBitArray::size(QBitArray* theWrappedObject) const -{ - return ( theWrappedObject->size()); -} - -bool PythonQtWrapper_QBitArray::fill(QBitArray* theWrappedObject, bool val, int size) -{ - return ( theWrappedObject->fill(val, size)); -} - -int PythonQtWrapper_QBitArray::count(QBitArray* theWrappedObject, bool on) const -{ - return ( theWrappedObject->count(on)); -} - -bool PythonQtWrapper_QBitArray::isEmpty(QBitArray* theWrappedObject) const -{ - return ( theWrappedObject->isEmpty()); -} - -int PythonQtWrapper_QBitArray::count(QBitArray* theWrappedObject) const -{ - return ( theWrappedObject->count()); -} - -QBitArray* PythonQtWrapper_QBitArray::operator_and_assign(QBitArray* theWrappedObject, const QBitArray& arg__1) -{ - return &( (*theWrappedObject)&= arg__1); -} - -bool PythonQtWrapper_QBitArray::isNull(QBitArray* theWrappedObject) const -{ - return ( theWrappedObject->isNull()); -} - -void PythonQtWrapper_QBitArray::setBit(QBitArray* theWrappedObject, int i, bool val) -{ - ( theWrappedObject->setBit(i, val)); -} - -void PythonQtWrapper_QBitArray::setBit(QBitArray* theWrappedObject, int i) -{ - ( theWrappedObject->setBit(i)); -} - -bool PythonQtWrapper_QBitArray::testBit(QBitArray* theWrappedObject, int i) const -{ - return ( theWrappedObject->testBit(i)); -} - -void PythonQtWrapper_QBitArray::fill(QBitArray* theWrappedObject, bool val, int first, int last) -{ - ( theWrappedObject->fill(val, first, last)); -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QBitArray.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QBitArray.h deleted file mode 100644 index 5ab8b42..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QBitArray.h +++ /dev/null @@ -1,47 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QBITARRAY_H -#define PYTHONQTWRAPPER_QBITARRAY_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtWrapper_QBitArray : public QObject -{ Q_OBJECT -public: -public slots: -QBitArray* new_QBitArray(); -QBitArray* new_QBitArray(const QBitArray& other); -QBitArray* new_QBitArray(int size, bool val = false); -void delete_QBitArray(QBitArray* obj) { delete obj; } - void resize(QBitArray* theWrappedObject, int size); - void clear(QBitArray* theWrappedObject); - QBitArray operator_negate(QBitArray* theWrappedObject) const; - void clearBit(QBitArray* theWrappedObject, int i); - void writeTo(QBitArray* theWrappedObject, QDataStream& arg__1); - bool operator_equal(QBitArray* theWrappedObject, const QBitArray& a) const; - bool at(QBitArray* theWrappedObject, int i) const; - QBitArray* operator_xor_assign(QBitArray* theWrappedObject, const QBitArray& arg__1); - void readFrom(QBitArray* theWrappedObject, QDataStream& arg__1); - void truncate(QBitArray* theWrappedObject, int pos); - bool toggleBit(QBitArray* theWrappedObject, int i); - QBitArray* operator_assign(QBitArray* theWrappedObject, const QBitArray& other); - QBitArray* operator_or_assign(QBitArray* theWrappedObject, const QBitArray& arg__1); - int size(QBitArray* theWrappedObject) const; - bool fill(QBitArray* theWrappedObject, bool val, int size = -1); - int count(QBitArray* theWrappedObject, bool on) const; - bool isEmpty(QBitArray* theWrappedObject) const; - int count(QBitArray* theWrappedObject) const; - QBitArray* operator_and_assign(QBitArray* theWrappedObject, const QBitArray& arg__1); - bool isNull(QBitArray* theWrappedObject) const; - void setBit(QBitArray* theWrappedObject, int i, bool val); - void setBit(QBitArray* theWrappedObject, int i); - bool testBit(QBitArray* theWrappedObject, int i) const; - void fill(QBitArray* theWrappedObject, bool val, int first, int last); -}; - -#endif // PYTHONQTWRAPPER_QBITARRAY_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QBuffer.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QBuffer.cpp deleted file mode 100644 index 0ddf835..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QBuffer.cpp +++ /dev/null @@ -1,619 +0,0 @@ -#include "PythonQtWrapper_QBuffer.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -bool PythonQtShell_QBuffer::atEnd() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "atEnd"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QBuffer::atEnd(); -} -qint64 PythonQtShell_QBuffer::bytesAvailable() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "bytesAvailable"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QBuffer::bytesAvailable(); -} -qint64 PythonQtShell_QBuffer::bytesToWrite() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "bytesToWrite"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QBuffer::bytesToWrite(); -} -bool PythonQtShell_QBuffer::canReadLine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "canReadLine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QBuffer::canReadLine(); -} -void PythonQtShell_QBuffer::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; - } -} - QBuffer::childEvent(arg__1); -} -void PythonQtShell_QBuffer::close() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "close"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QBuffer::close(); -} -void PythonQtShell_QBuffer::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; - } -} - QBuffer::customEvent(arg__1); -} -bool PythonQtShell_QBuffer::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QBuffer::event(arg__1); -} -bool PythonQtShell_QBuffer::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QBuffer::eventFilter(arg__1, arg__2); -} -bool PythonQtShell_QBuffer::isSequential() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isSequential"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QBuffer::isSequential(); -} -bool PythonQtShell_QBuffer::open(QIODevice::OpenMode openMode) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "open"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&openMode}; - 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("open", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QBuffer::open(openMode); -} -qint64 PythonQtShell_QBuffer::pos() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "pos"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QBuffer::pos(); -} -qint64 PythonQtShell_QBuffer::readData(char* data, qint64 maxlen) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "readData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - 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}; - 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("readData", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QBuffer::readData(data, maxlen); -} -qint64 PythonQtShell_QBuffer::readLineData(char* data, qint64 maxlen) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "readLineData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - 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}; - 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("readLineData", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QBuffer::readLineData(data, maxlen); -} -bool PythonQtShell_QBuffer::reset() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reset"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QBuffer::reset(); -} -bool PythonQtShell_QBuffer::seek(qint64 off) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "seek"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&off}; - 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("seek", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QBuffer::seek(off); -} -qint64 PythonQtShell_QBuffer::size() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "size"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QBuffer::size(); -} -void PythonQtShell_QBuffer::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; - } -} - QBuffer::timerEvent(arg__1); -} -bool PythonQtShell_QBuffer::waitForBytesWritten(int msecs) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "waitForBytesWritten"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&msecs}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("waitForBytesWritten", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QBuffer::waitForBytesWritten(msecs); -} -bool PythonQtShell_QBuffer::waitForReadyRead(int msecs) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "waitForReadyRead"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&msecs}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("waitForReadyRead", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QBuffer::waitForReadyRead(msecs); -} -qint64 PythonQtShell_QBuffer::writeData(const char* data, qint64 len) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "writeData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - 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}; - 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("writeData", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QBuffer::writeData(data, len); -} -QBuffer* PythonQtWrapper_QBuffer::new_QBuffer(QByteArray* buf, QObject* parent) -{ -return new PythonQtShell_QBuffer(buf, parent); } - -QBuffer* PythonQtWrapper_QBuffer::new_QBuffer(QObject* parent) -{ -return new PythonQtShell_QBuffer(parent); } - -bool PythonQtWrapper_QBuffer::canReadLine(QBuffer* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QBuffer*)theWrappedObject)->promoted_canReadLine()); -} - -void PythonQtWrapper_QBuffer::close(QBuffer* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QBuffer*)theWrappedObject)->promoted_close()); -} - -bool PythonQtWrapper_QBuffer::seek(QBuffer* theWrappedObject, qint64 off) -{ - return ( ((PythonQtPublicPromoter_QBuffer*)theWrappedObject)->promoted_seek(off)); -} - -qint64 PythonQtWrapper_QBuffer::readData(QBuffer* theWrappedObject, char* data, qint64 maxlen) -{ - return ( ((PythonQtPublicPromoter_QBuffer*)theWrappedObject)->promoted_readData(data, maxlen)); -} - -bool PythonQtWrapper_QBuffer::atEnd(QBuffer* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QBuffer*)theWrappedObject)->promoted_atEnd()); -} - -void PythonQtWrapper_QBuffer::setData(QBuffer* theWrappedObject, const QByteArray& data) -{ - ( theWrappedObject->setData(data)); -} - -qint64 PythonQtWrapper_QBuffer::writeData(QBuffer* theWrappedObject, const char* data, qint64 len) -{ - return ( ((PythonQtPublicPromoter_QBuffer*)theWrappedObject)->promoted_writeData(data, len)); -} - -qint64 PythonQtWrapper_QBuffer::pos(QBuffer* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QBuffer*)theWrappedObject)->promoted_pos()); -} - -void PythonQtWrapper_QBuffer::setBuffer(QBuffer* theWrappedObject, QByteArray* a) -{ - ( theWrappedObject->setBuffer(a)); -} - -bool PythonQtWrapper_QBuffer::open(QBuffer* theWrappedObject, QIODevice::OpenMode openMode) -{ - return ( ((PythonQtPublicPromoter_QBuffer*)theWrappedObject)->promoted_open(openMode)); -} - -qint64 PythonQtWrapper_QBuffer::size(QBuffer* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QBuffer*)theWrappedObject)->promoted_size()); -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QBuffer.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QBuffer.h deleted file mode 100644 index 1c8f128..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QBuffer.h +++ /dev/null @@ -1,80 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QBUFFER_H -#define PYTHONQTWRAPPER_QBUFFER_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QBuffer : public QBuffer -{ -public: - PythonQtShell_QBuffer(QByteArray* buf, QObject* parent = 0):QBuffer(buf, parent),_wrapper(NULL) {}; - PythonQtShell_QBuffer(QObject* parent = 0):QBuffer(parent),_wrapper(NULL) {}; - -virtual bool atEnd() const; -virtual qint64 bytesAvailable() const; -virtual qint64 bytesToWrite() const; -virtual bool canReadLine() const; -virtual void childEvent(QChildEvent* arg__1); -virtual void close(); -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual bool isSequential() const; -virtual bool open(QIODevice::OpenMode openMode); -virtual qint64 pos() const; -virtual qint64 readData(char* data, qint64 maxlen); -virtual qint64 readLineData(char* data, qint64 maxlen); -virtual bool reset(); -virtual bool seek(qint64 off); -virtual qint64 size() const; -virtual void timerEvent(QTimerEvent* arg__1); -virtual bool waitForBytesWritten(int msecs); -virtual bool waitForReadyRead(int msecs); -virtual qint64 writeData(const char* data, qint64 len); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QBuffer : public QBuffer -{ public: -inline bool promoted_canReadLine() const { return QBuffer::canReadLine(); } -inline void promoted_close() { QBuffer::close(); } -inline bool promoted_seek(qint64 off) { return QBuffer::seek(off); } -inline qint64 promoted_readData(char* data, qint64 maxlen) { return QBuffer::readData(data, maxlen); } -inline bool promoted_atEnd() const { return QBuffer::atEnd(); } -inline qint64 promoted_writeData(const char* data, qint64 len) { return QBuffer::writeData(data, len); } -inline qint64 promoted_pos() const { return QBuffer::pos(); } -inline bool promoted_open(QIODevice::OpenMode openMode) { return QBuffer::open(openMode); } -inline qint64 promoted_size() const { return QBuffer::size(); } -}; - -class PythonQtWrapper_QBuffer : public QObject -{ Q_OBJECT -public: -public slots: -QBuffer* new_QBuffer(QByteArray* buf, QObject* parent = 0); -QBuffer* new_QBuffer(QObject* parent = 0); -void delete_QBuffer(QBuffer* obj) { delete obj; } - bool canReadLine(QBuffer* theWrappedObject) const; - void close(QBuffer* theWrappedObject); - bool seek(QBuffer* theWrappedObject, qint64 off); - qint64 readData(QBuffer* theWrappedObject, char* data, qint64 maxlen); - bool atEnd(QBuffer* theWrappedObject) const; - void setData(QBuffer* theWrappedObject, const QByteArray& data); - qint64 writeData(QBuffer* theWrappedObject, const char* data, qint64 len); - qint64 pos(QBuffer* theWrappedObject) const; - void setBuffer(QBuffer* theWrappedObject, QByteArray* a); - bool open(QBuffer* theWrappedObject, QIODevice::OpenMode openMode); - qint64 size(QBuffer* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QBUFFER_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QByteArray.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QByteArray.cpp deleted file mode 100644 index 6217f22..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QByteArray.cpp +++ /dev/null @@ -1,417 +0,0 @@ -#include "PythonQtWrapper_QByteArray.h" - -#include -#include -#include -#include -#include -#include -#include -#include - -QByteArray* PythonQtWrapper_QByteArray::new_QByteArray() -{ -return new QByteArray(); } - -QByteArray* PythonQtWrapper_QByteArray::new_QByteArray(const QByteArray& arg__1) -{ -return new QByteArray(arg__1); } - -QByteArray* PythonQtWrapper_QByteArray::new_QByteArray(const char* arg__1) -{ -return new QByteArray(arg__1); } - -QByteArray* PythonQtWrapper_QByteArray::new_QByteArray(int size, char c) -{ -return new QByteArray(size, c); } - -QByteArray* PythonQtWrapper_QByteArray::setNum(QByteArray* theWrappedObject, float arg__1, char f, int prec) -{ - return &( theWrappedObject->setNum(arg__1, f, prec)); -} - -void PythonQtWrapper_QByteArray::writeTo(QByteArray* theWrappedObject, QDataStream& arg__1) -{ - arg__1 << (*theWrappedObject); -} - -QByteArray* PythonQtWrapper_QByteArray::setNum(QByteArray* theWrappedObject, short arg__1, int base) -{ - return &( theWrappedObject->setNum(arg__1, base)); -} - -int PythonQtWrapper_QByteArray::toInt(QByteArray* theWrappedObject, bool* ok, int base) const -{ - return ( theWrappedObject->toInt(ok, base)); -} - -bool PythonQtWrapper_QByteArray::isNull(QByteArray* theWrappedObject) const -{ - return ( theWrappedObject->isNull()); -} - -QByteArray PythonQtWrapper_QByteArray::left(QByteArray* theWrappedObject, int len) const -{ - return ( theWrappedObject->left(len)); -} - -QByteArray* PythonQtWrapper_QByteArray::replace(QByteArray* theWrappedObject, const QByteArray& before, const QByteArray& after) -{ - return &( theWrappedObject->replace(before, after)); -} - -QByteArray PythonQtWrapper_QByteArray::rightJustified(QByteArray* theWrappedObject, int width, char fill, bool truncate) const -{ - return ( theWrappedObject->rightJustified(width, fill, truncate)); -} - -QByteArray PythonQtWrapper_QByteArray::toHex(QByteArray* theWrappedObject) const -{ - return ( theWrappedObject->toHex()); -} - -char PythonQtWrapper_QByteArray::at(QByteArray* theWrappedObject, int i) const -{ - return ( theWrappedObject->at(i)); -} - -QByteArray PythonQtWrapper_QByteArray::toLower(QByteArray* theWrappedObject) const -{ - return ( theWrappedObject->toLower()); -} - -QByteArray* PythonQtWrapper_QByteArray::insert(QByteArray* theWrappedObject, int i, char c) -{ - return &( theWrappedObject->insert(i, c)); -} - -double PythonQtWrapper_QByteArray::toDouble(QByteArray* theWrappedObject, bool* ok) const -{ - return ( theWrappedObject->toDouble(ok)); -} - -QByteArray PythonQtWrapper_QByteArray::static_QByteArray_number(qlonglong arg__1, int base) -{ - return (QByteArray::number(arg__1, base)); -} - -int PythonQtWrapper_QByteArray::indexOf(QByteArray* theWrappedObject, const QByteArray& a, int from) const -{ - return ( theWrappedObject->indexOf(a, from)); -} - -QByteArray PythonQtWrapper_QByteArray::simplified(QByteArray* theWrappedObject) const -{ - return ( theWrappedObject->simplified()); -} - -QByteArray PythonQtWrapper_QByteArray::toPercentEncoding(QByteArray* theWrappedObject, const QByteArray& exclude, const QByteArray& include, char percent) const -{ - return ( theWrappedObject->toPercentEncoding(exclude, include, percent)); -} - -float PythonQtWrapper_QByteArray::toFloat(QByteArray* theWrappedObject, bool* ok) const -{ - return ( theWrappedObject->toFloat(ok)); -} - -QByteArray PythonQtWrapper_QByteArray::right(QByteArray* theWrappedObject, int len) const -{ - return ( theWrappedObject->right(len)); -} - -QByteArray* PythonQtWrapper_QByteArray::replace(QByteArray* theWrappedObject, const QString& before, const QByteArray& after) -{ - return &( theWrappedObject->replace(before, after)); -} - -int PythonQtWrapper_QByteArray::count(QByteArray* theWrappedObject, const QByteArray& a) const -{ - return ( theWrappedObject->count(a)); -} - -int PythonQtWrapper_QByteArray::capacity(QByteArray* theWrappedObject) const -{ - return ( theWrappedObject->capacity()); -} - -void PythonQtWrapper_QByteArray::truncate(QByteArray* theWrappedObject, int pos) -{ - ( theWrappedObject->truncate(pos)); -} - -void PythonQtWrapper_QByteArray::chop(QByteArray* theWrappedObject, int n) -{ - ( theWrappedObject->chop(n)); -} - -int PythonQtWrapper_QByteArray::indexOf(QByteArray* theWrappedObject, char c, int from) const -{ - return ( theWrappedObject->indexOf(c, from)); -} - -QByteArray PythonQtWrapper_QByteArray::static_QByteArray_number(int arg__1, int base) -{ - return (QByteArray::number(arg__1, base)); -} - -QByteArray* PythonQtWrapper_QByteArray::setNum(QByteArray* theWrappedObject, int arg__1, int base) -{ - return &( theWrappedObject->setNum(arg__1, base)); -} - -QByteArray PythonQtWrapper_QByteArray::trimmed(QByteArray* theWrappedObject) const -{ - return ( theWrappedObject->trimmed()); -} - -QByteArray* PythonQtWrapper_QByteArray::insert(QByteArray* theWrappedObject, int i, const QString& s) -{ - return &( theWrappedObject->insert(i, s)); -} - -QByteArray* PythonQtWrapper_QByteArray::replace(QByteArray* theWrappedObject, int index, int len, const QByteArray& s) -{ - return &( theWrappedObject->replace(index, len, s)); -} - -QByteArray* PythonQtWrapper_QByteArray::append(QByteArray* theWrappedObject, char c) -{ - return &( theWrappedObject->append(c)); -} - -QByteArray* PythonQtWrapper_QByteArray::insert(QByteArray* theWrappedObject, int i, const QByteArray& a) -{ - return &( theWrappedObject->insert(i, a)); -} - -QBool PythonQtWrapper_QByteArray::contains(QByteArray* theWrappedObject, const QByteArray& a) const -{ - return ( theWrappedObject->contains(a)); -} - -void PythonQtWrapper_QByteArray::readFrom(QByteArray* theWrappedObject, QDataStream& arg__1) -{ - arg__1 >> (*theWrappedObject); -} - -QByteArray* PythonQtWrapper_QByteArray::remove(QByteArray* theWrappedObject, int index, int len) -{ - return &( theWrappedObject->remove(index, len)); -} - -ushort PythonQtWrapper_QByteArray::toUShort(QByteArray* theWrappedObject, bool* ok, int base) const -{ - return ( theWrappedObject->toUShort(ok, base)); -} - -QByteArray PythonQtWrapper_QByteArray::static_QByteArray_fromBase64(const QByteArray& base64) -{ - return (QByteArray::fromBase64(base64)); -} - -bool PythonQtWrapper_QByteArray::operator_equal(QByteArray* theWrappedObject, const QByteArray& a2) -{ - return ( (*theWrappedObject)== a2); -} - -QByteArray* PythonQtWrapper_QByteArray::replace(QByteArray* theWrappedObject, char before, const QByteArray& after) -{ - return &( theWrappedObject->replace(before, after)); -} - -QByteArray PythonQtWrapper_QByteArray::static_QByteArray_fromPercentEncoding(const QByteArray& pctEncoded, char percent) -{ - return (QByteArray::fromPercentEncoding(pctEncoded, percent)); -} - -int PythonQtWrapper_QByteArray::lastIndexOf(QByteArray* theWrappedObject, const QByteArray& a, int from) const -{ - return ( theWrappedObject->lastIndexOf(a, from)); -} - -int PythonQtWrapper_QByteArray::length(QByteArray* theWrappedObject) const -{ - return ( theWrappedObject->length()); -} - -QByteArray* PythonQtWrapper_QByteArray::prepend(QByteArray* theWrappedObject, char c) -{ - return &( theWrappedObject->prepend(c)); -} - -QByteArray* PythonQtWrapper_QByteArray::replace(QByteArray* theWrappedObject, char c, const QString& after) -{ - return &( theWrappedObject->replace(c, after)); -} - -void PythonQtWrapper_QByteArray::reserve(QByteArray* theWrappedObject, int size) -{ - ( theWrappedObject->reserve(size)); -} - -bool PythonQtWrapper_QByteArray::startsWith(QByteArray* theWrappedObject, const QByteArray& a) const -{ - return ( theWrappedObject->startsWith(a)); -} - -QByteArray PythonQtWrapper_QByteArray::toUpper(QByteArray* theWrappedObject) const -{ - return ( theWrappedObject->toUpper()); -} - -QByteArray PythonQtWrapper_QByteArray::toBase64(QByteArray* theWrappedObject) const -{ - return ( theWrappedObject->toBase64()); -} - -void PythonQtWrapper_QByteArray::squeeze(QByteArray* theWrappedObject) -{ - ( theWrappedObject->squeeze()); -} - -bool PythonQtWrapper_QByteArray::operator_less(QByteArray* theWrappedObject, const QByteArray& a2) -{ - return ( (*theWrappedObject)< a2); -} - -bool PythonQtWrapper_QByteArray::operator_equal(QByteArray* theWrappedObject, const QString& s2) const -{ - return ( (*theWrappedObject)== s2); -} - -QByteArray* PythonQtWrapper_QByteArray::append(QByteArray* theWrappedObject, const QString& s) -{ - return &( theWrappedObject->append(s)); -} - -QByteArray PythonQtWrapper_QByteArray::static_QByteArray_fromHex(const QByteArray& hexEncoded) -{ - return (QByteArray::fromHex(hexEncoded)); -} - -QByteArray* PythonQtWrapper_QByteArray::setNum(QByteArray* theWrappedObject, double arg__1, char f, int prec) -{ - return &( theWrappedObject->setNum(arg__1, f, prec)); -} - -void PythonQtWrapper_QByteArray::clear(QByteArray* theWrappedObject) -{ - ( theWrappedObject->clear()); -} - -void PythonQtWrapper_QByteArray::resize(QByteArray* theWrappedObject, int size) -{ - ( theWrappedObject->resize(size)); -} - -QByteArray* PythonQtWrapper_QByteArray::prepend(QByteArray* theWrappedObject, const QByteArray& a) -{ - return &( theWrappedObject->prepend(a)); -} - -bool PythonQtWrapper_QByteArray::startsWith(QByteArray* theWrappedObject, char c) const -{ - return ( theWrappedObject->startsWith(c)); -} - -QByteArray* PythonQtWrapper_QByteArray::fill(QByteArray* theWrappedObject, char c, int size) -{ - return &( theWrappedObject->fill(c, size)); -} - -QBool PythonQtWrapper_QByteArray::contains(QByteArray* theWrappedObject, const char* a) const -{ - return ( theWrappedObject->contains(a)); -} - -QList PythonQtWrapper_QByteArray::split(QByteArray* theWrappedObject, char sep) const -{ - return ( theWrappedObject->split(sep)); -} - -int PythonQtWrapper_QByteArray::indexOf(QByteArray* theWrappedObject, const QString& s, int from) const -{ - return ( theWrappedObject->indexOf(s, from)); -} - -bool PythonQtWrapper_QByteArray::operator_less(QByteArray* theWrappedObject, const QString& s2) const -{ - return ( (*theWrappedObject)< s2); -} - -bool PythonQtWrapper_QByteArray::isEmpty(QByteArray* theWrappedObject) const -{ - return ( theWrappedObject->isEmpty()); -} - -QByteArray PythonQtWrapper_QByteArray::static_QByteArray_number(double arg__1, char f, int prec) -{ - return (QByteArray::number(arg__1, f, prec)); -} - -int PythonQtWrapper_QByteArray::count(QByteArray* theWrappedObject, char c) const -{ - return ( theWrappedObject->count(c)); -} - -QByteArray PythonQtWrapper_QByteArray::leftJustified(QByteArray* theWrappedObject, int width, char fill, bool truncate) const -{ - return ( theWrappedObject->leftJustified(width, fill, truncate)); -} - -QByteArray PythonQtWrapper_QByteArray::mid(QByteArray* theWrappedObject, int index, int len) const -{ - return ( theWrappedObject->mid(index, len)); -} - -QByteArray* PythonQtWrapper_QByteArray::replace(QByteArray* theWrappedObject, char before, char after) -{ - return &( theWrappedObject->replace(before, after)); -} - -QByteArray* PythonQtWrapper_QByteArray::append(QByteArray* theWrappedObject, const QByteArray& a) -{ - return &( theWrappedObject->append(a)); -} - -QBool PythonQtWrapper_QByteArray::contains(QByteArray* theWrappedObject, char c) const -{ - return ( theWrappedObject->contains(c)); -} - -bool PythonQtWrapper_QByteArray::endsWith(QByteArray* theWrappedObject, const QByteArray& a) const -{ - return ( theWrappedObject->endsWith(a)); -} - -int PythonQtWrapper_QByteArray::lastIndexOf(QByteArray* theWrappedObject, char c, int from) const -{ - return ( theWrappedObject->lastIndexOf(c, from)); -} - -int PythonQtWrapper_QByteArray::size(QByteArray* theWrappedObject) const -{ - return ( theWrappedObject->size()); -} - -int PythonQtWrapper_QByteArray::lastIndexOf(QByteArray* theWrappedObject, const QString& s, int from) const -{ - return ( theWrappedObject->lastIndexOf(s, from)); -} - -bool PythonQtWrapper_QByteArray::endsWith(QByteArray* theWrappedObject, char c) const -{ - return ( theWrappedObject->endsWith(c)); -} - -QByteArray* PythonQtWrapper_QByteArray::operator_assign(QByteArray* theWrappedObject, const QByteArray& arg__1) -{ - return &( (*theWrappedObject)= arg__1); -} - -QByteArray* PythonQtWrapper_QByteArray::setNum(QByteArray* theWrappedObject, qlonglong arg__1, int base) -{ - return &( theWrappedObject->setNum(arg__1, base)); -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QByteArray.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QByteArray.h deleted file mode 100644 index c2e9e0d..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QByteArray.h +++ /dev/null @@ -1,104 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QBYTEARRAY_H -#define PYTHONQTWRAPPER_QBYTEARRAY_H - -#include -#include - -#include - -#include -#include -#include -#include -#include - -class PythonQtWrapper_QByteArray : public QObject -{ Q_OBJECT -public: -public slots: -QByteArray* new_QByteArray(); -QByteArray* new_QByteArray(const QByteArray& arg__1); -QByteArray* new_QByteArray(const char* arg__1); -QByteArray* new_QByteArray(int size, char c); -void delete_QByteArray(QByteArray* obj) { delete obj; } - QByteArray* setNum(QByteArray* theWrappedObject, float arg__1, char f = 'g', int prec = 6); - void writeTo(QByteArray* theWrappedObject, QDataStream& arg__1); - QByteArray* setNum(QByteArray* theWrappedObject, short arg__1, int base = 10); - int toInt(QByteArray* theWrappedObject, bool* ok = 0, int base = 10) const; - bool isNull(QByteArray* theWrappedObject) const; - QByteArray left(QByteArray* theWrappedObject, int len) const; - QByteArray* replace(QByteArray* theWrappedObject, const QByteArray& before, const QByteArray& after); - QByteArray rightJustified(QByteArray* theWrappedObject, int width, char fill = ' ', bool truncate = false) const; - QByteArray toHex(QByteArray* theWrappedObject) const; - char at(QByteArray* theWrappedObject, int i) const; - QByteArray toLower(QByteArray* theWrappedObject) const; - QByteArray* insert(QByteArray* theWrappedObject, int i, char c); - double toDouble(QByteArray* theWrappedObject, bool* ok = 0) const; - QByteArray static_QByteArray_number(qlonglong arg__1, int base = 10); - int indexOf(QByteArray* theWrappedObject, const QByteArray& a, int from = 0) const; - QByteArray simplified(QByteArray* theWrappedObject) const; - QByteArray toPercentEncoding(QByteArray* theWrappedObject, const QByteArray& exclude = QByteArray(), const QByteArray& include = QByteArray(), char percent = '%') const; - float toFloat(QByteArray* theWrappedObject, bool* ok = 0) const; - QByteArray right(QByteArray* theWrappedObject, int len) const; - QByteArray* replace(QByteArray* theWrappedObject, const QString& before, const QByteArray& after); - int count(QByteArray* theWrappedObject, const QByteArray& a) const; - int capacity(QByteArray* theWrappedObject) const; - void truncate(QByteArray* theWrappedObject, int pos); - void chop(QByteArray* theWrappedObject, int n); - int indexOf(QByteArray* theWrappedObject, char c, int from = 0) const; - QByteArray static_QByteArray_number(int arg__1, int base = 10); - QByteArray* setNum(QByteArray* theWrappedObject, int arg__1, int base = 10); - QByteArray trimmed(QByteArray* theWrappedObject) const; - QByteArray* insert(QByteArray* theWrappedObject, int i, const QString& s); - QByteArray* replace(QByteArray* theWrappedObject, int index, int len, const QByteArray& s); - QByteArray* append(QByteArray* theWrappedObject, char c); - QByteArray* insert(QByteArray* theWrappedObject, int i, const QByteArray& a); - QBool contains(QByteArray* theWrappedObject, const QByteArray& a) const; - void readFrom(QByteArray* theWrappedObject, QDataStream& arg__1); - QByteArray* remove(QByteArray* theWrappedObject, int index, int len); - ushort toUShort(QByteArray* theWrappedObject, bool* ok = 0, int base = 10) const; - QByteArray static_QByteArray_fromBase64(const QByteArray& base64); - bool operator_equal(QByteArray* theWrappedObject, const QByteArray& a2); - QByteArray* replace(QByteArray* theWrappedObject, char before, const QByteArray& after); - QByteArray static_QByteArray_fromPercentEncoding(const QByteArray& pctEncoded, char percent = '%'); - int lastIndexOf(QByteArray* theWrappedObject, const QByteArray& a, int from = -1) const; - int length(QByteArray* theWrappedObject) const; - QByteArray* prepend(QByteArray* theWrappedObject, char c); - QByteArray* replace(QByteArray* theWrappedObject, char c, const QString& after); - void reserve(QByteArray* theWrappedObject, int size); - bool startsWith(QByteArray* theWrappedObject, const QByteArray& a) const; - QByteArray toUpper(QByteArray* theWrappedObject) const; - QByteArray toBase64(QByteArray* theWrappedObject) const; - void squeeze(QByteArray* theWrappedObject); - bool operator_less(QByteArray* theWrappedObject, const QByteArray& a2); - bool operator_equal(QByteArray* theWrappedObject, const QString& s2) const; - QByteArray* append(QByteArray* theWrappedObject, const QString& s); - QByteArray static_QByteArray_fromHex(const QByteArray& hexEncoded); - QByteArray* setNum(QByteArray* theWrappedObject, double arg__1, char f = 'g', int prec = 6); - void clear(QByteArray* theWrappedObject); - void resize(QByteArray* theWrappedObject, int size); - QByteArray* prepend(QByteArray* theWrappedObject, const QByteArray& a); - bool startsWith(QByteArray* theWrappedObject, char c) const; - QByteArray* fill(QByteArray* theWrappedObject, char c, int size = -1); - QBool contains(QByteArray* theWrappedObject, const char* a) const; - QList split(QByteArray* theWrappedObject, char sep) const; - int indexOf(QByteArray* theWrappedObject, const QString& s, int from = 0) const; - bool operator_less(QByteArray* theWrappedObject, const QString& s2) const; - bool isEmpty(QByteArray* theWrappedObject) const; - QByteArray static_QByteArray_number(double arg__1, char f = 'g', int prec = 6); - int count(QByteArray* theWrappedObject, char c) const; - QByteArray leftJustified(QByteArray* theWrappedObject, int width, char fill = ' ', bool truncate = false) const; - QByteArray mid(QByteArray* theWrappedObject, int index, int len = -1) const; - QByteArray* replace(QByteArray* theWrappedObject, char before, char after); - QByteArray* append(QByteArray* theWrappedObject, const QByteArray& a); - QBool contains(QByteArray* theWrappedObject, char c) const; - bool endsWith(QByteArray* theWrappedObject, const QByteArray& a) const; - int lastIndexOf(QByteArray* theWrappedObject, char c, int from = -1) const; - int size(QByteArray* theWrappedObject) const; - int lastIndexOf(QByteArray* theWrappedObject, const QString& s, int from = -1) const; - bool endsWith(QByteArray* theWrappedObject, char c) const; - QByteArray* operator_assign(QByteArray* theWrappedObject, const QByteArray& arg__1); - QByteArray* setNum(QByteArray* theWrappedObject, qlonglong arg__1, int base = 10); -}; - -#endif // PYTHONQTWRAPPER_QBYTEARRAY_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QByteArrayMatcher.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QByteArrayMatcher.cpp deleted file mode 100644 index d2f398e..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QByteArrayMatcher.cpp +++ /dev/null @@ -1,36 +0,0 @@ -#include "PythonQtWrapper_QByteArrayMatcher.h" - -#include -#include -#include -#include -#include -#include - -QByteArrayMatcher* PythonQtWrapper_QByteArrayMatcher::new_QByteArrayMatcher() -{ -return new QByteArrayMatcher(); } - -QByteArrayMatcher* PythonQtWrapper_QByteArrayMatcher::new_QByteArrayMatcher(const QByteArray& pattern) -{ -return new QByteArrayMatcher(pattern); } - -QByteArrayMatcher* PythonQtWrapper_QByteArrayMatcher::new_QByteArrayMatcher(const QByteArrayMatcher& other) -{ -return new QByteArrayMatcher(other); } - -void PythonQtWrapper_QByteArrayMatcher::setPattern(QByteArrayMatcher* theWrappedObject, const QByteArray& pattern) -{ - ( theWrappedObject->setPattern(pattern)); -} - -int PythonQtWrapper_QByteArrayMatcher::indexIn(QByteArrayMatcher* theWrappedObject, const QByteArray& ba, int from) const -{ - return ( theWrappedObject->indexIn(ba, from)); -} - -QByteArray PythonQtWrapper_QByteArrayMatcher::pattern(QByteArrayMatcher* theWrappedObject) const -{ - return ( theWrappedObject->pattern()); -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QByteArrayMatcher.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QByteArrayMatcher.h deleted file mode 100644 index 03aa8a7..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QByteArrayMatcher.h +++ /dev/null @@ -1,26 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QBYTEARRAYMATCHER_H -#define PYTHONQTWRAPPER_QBYTEARRAYMATCHER_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtWrapper_QByteArrayMatcher : public QObject -{ Q_OBJECT -public: -public slots: -QByteArrayMatcher* new_QByteArrayMatcher(); -QByteArrayMatcher* new_QByteArrayMatcher(const QByteArray& pattern); -QByteArrayMatcher* new_QByteArrayMatcher(const QByteArrayMatcher& other); -void delete_QByteArrayMatcher(QByteArrayMatcher* obj) { delete obj; } - void setPattern(QByteArrayMatcher* theWrappedObject, const QByteArray& pattern); - int indexIn(QByteArrayMatcher* theWrappedObject, const QByteArray& ba, int from = 0) const; - QByteArray pattern(QByteArrayMatcher* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QBYTEARRAYMATCHER_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QChildEvent.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QChildEvent.cpp deleted file mode 100644 index 457acaf..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QChildEvent.cpp +++ /dev/null @@ -1,32 +0,0 @@ -#include "PythonQtWrapper_QChildEvent.h" - -#include -#include -#include -#include -#include - -QChildEvent* PythonQtWrapper_QChildEvent::new_QChildEvent(QEvent::Type type, QObject* child) -{ -return new PythonQtShell_QChildEvent(type, child); } - -bool PythonQtWrapper_QChildEvent::polished(QChildEvent* theWrappedObject) const -{ - return ( theWrappedObject->polished()); -} - -QObject* PythonQtWrapper_QChildEvent::child(QChildEvent* theWrappedObject) const -{ - return ( theWrappedObject->child()); -} - -bool PythonQtWrapper_QChildEvent::removed(QChildEvent* theWrappedObject) const -{ - return ( theWrappedObject->removed()); -} - -bool PythonQtWrapper_QChildEvent::added(QChildEvent* theWrappedObject) const -{ - return ( theWrappedObject->added()); -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QChildEvent.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QChildEvent.h deleted file mode 100644 index 698a328..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QChildEvent.h +++ /dev/null @@ -1,33 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QCHILDEVENT_H -#define PYTHONQTWRAPPER_QCHILDEVENT_H - -#include -#include - -#include - -#include -#include - -class PythonQtShell_QChildEvent : public QChildEvent -{ -public: - PythonQtShell_QChildEvent(QEvent::Type type, QObject* child):QChildEvent(type, child),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QChildEvent : public QObject -{ Q_OBJECT -public: -public slots: -QChildEvent* new_QChildEvent(QEvent::Type type, QObject* child); -void delete_QChildEvent(QChildEvent* obj) { delete obj; } - bool polished(QChildEvent* theWrappedObject) const; - QObject* child(QChildEvent* theWrappedObject) const; - bool removed(QChildEvent* theWrappedObject) const; - bool added(QChildEvent* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QCHILDEVENT_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QCoreApplication.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QCoreApplication.cpp deleted file mode 100644 index f337632..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QCoreApplication.cpp +++ /dev/null @@ -1,345 +0,0 @@ -#include "PythonQtWrapper_QCoreApplication.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QCoreApplication::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; - } -} - QCoreApplication::childEvent(arg__1); -} -void PythonQtShell_QCoreApplication::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; - } -} - QCoreApplication::customEvent(arg__1); -} -bool PythonQtShell_QCoreApplication::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QCoreApplication::event(arg__1); -} -bool PythonQtShell_QCoreApplication::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QCoreApplication::eventFilter(arg__1, arg__2); -} -bool PythonQtShell_QCoreApplication::notify(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "notify"); - 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("notify", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QCoreApplication::notify(arg__1, arg__2); -} -void PythonQtShell_QCoreApplication::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; - } -} - QCoreApplication::timerEvent(arg__1); -} -void PythonQtWrapper_QCoreApplication::static_QCoreApplication_removePostedEvents(QObject* receiver) -{ - (QCoreApplication::removePostedEvents(receiver)); -} - -QString PythonQtWrapper_QCoreApplication::static_QCoreApplication_organizationName() -{ - return (QCoreApplication::organizationName()); -} - -void PythonQtWrapper_QCoreApplication::static_QCoreApplication_postEvent(QObject* receiver, QEvent* event) -{ - (QCoreApplication::postEvent(receiver, event)); -} - -void PythonQtWrapper_QCoreApplication::static_QCoreApplication_exit(int retcode) -{ - (QCoreApplication::exit(retcode)); -} - -void PythonQtWrapper_QCoreApplication::static_QCoreApplication_removePostedEvents(QObject* receiver, int eventType) -{ - (QCoreApplication::removePostedEvents(receiver, eventType)); -} - -bool PythonQtWrapper_QCoreApplication::static_QCoreApplication_hasPendingEvents() -{ - return (QCoreApplication::hasPendingEvents()); -} - -void PythonQtWrapper_QCoreApplication::static_QCoreApplication_processEvents(QEventLoop::ProcessEventsFlags flags) -{ - (QCoreApplication::processEvents(flags)); -} - -QCoreApplication* PythonQtWrapper_QCoreApplication::static_QCoreApplication_instance() -{ - return (QCoreApplication::instance()); -} - -void PythonQtWrapper_QCoreApplication::static_QCoreApplication_setApplicationName(const QString& application) -{ - (QCoreApplication::setApplicationName(application)); -} - -void PythonQtWrapper_QCoreApplication::static_QCoreApplication_setLibraryPaths(const QStringList& arg__1) -{ - (QCoreApplication::setLibraryPaths(arg__1)); -} - -void PythonQtWrapper_QCoreApplication::static_QCoreApplication_processEvents(QEventLoop::ProcessEventsFlags flags, int maxtime) -{ - (QCoreApplication::processEvents(flags, maxtime)); -} - -void PythonQtWrapper_QCoreApplication::static_QCoreApplication_sendPostedEvents() -{ - (QCoreApplication::sendPostedEvents()); -} - -void PythonQtWrapper_QCoreApplication::static_QCoreApplication_addLibraryPath(const QString& arg__1) -{ - (QCoreApplication::addLibraryPath(arg__1)); -} - -void PythonQtWrapper_QCoreApplication::static_QCoreApplication_flush() -{ - (QCoreApplication::flush()); -} - -void PythonQtWrapper_QCoreApplication::static_QCoreApplication_removeLibraryPath(const QString& arg__1) -{ - (QCoreApplication::removeLibraryPath(arg__1)); -} - -bool PythonQtWrapper_QCoreApplication::static_QCoreApplication_startingUp() -{ - return (QCoreApplication::startingUp()); -} - -void PythonQtWrapper_QCoreApplication::static_QCoreApplication_setOrganizationDomain(const QString& orgDomain) -{ - (QCoreApplication::setOrganizationDomain(orgDomain)); -} - -QString PythonQtWrapper_QCoreApplication::static_QCoreApplication_applicationVersion() -{ - return (QCoreApplication::applicationVersion()); -} - -void PythonQtWrapper_QCoreApplication::static_QCoreApplication_sendPostedEvents(QObject* receiver, int event_type) -{ - (QCoreApplication::sendPostedEvents(receiver, event_type)); -} - -bool PythonQtWrapper_QCoreApplication::static_QCoreApplication_testAttribute(Qt::ApplicationAttribute attribute) -{ - return (QCoreApplication::testAttribute(attribute)); -} - -QString PythonQtWrapper_QCoreApplication::static_QCoreApplication_organizationDomain() -{ - return (QCoreApplication::organizationDomain()); -} - -void PythonQtWrapper_QCoreApplication::static_QCoreApplication_postEvent(QObject* receiver, QEvent* event, int priority) -{ - (QCoreApplication::postEvent(receiver, event, priority)); -} - -void PythonQtWrapper_QCoreApplication::static_QCoreApplication_setOrganizationName(const QString& orgName) -{ - (QCoreApplication::setOrganizationName(orgName)); -} - -qint64 PythonQtWrapper_QCoreApplication::static_QCoreApplication_applicationPid() -{ - return (QCoreApplication::applicationPid()); -} - -bool PythonQtWrapper_QCoreApplication::static_QCoreApplication_sendEvent(QObject* receiver, QEvent* event) -{ - return (QCoreApplication::sendEvent(receiver, event)); -} - -bool PythonQtWrapper_QCoreApplication::event(QCoreApplication* theWrappedObject, QEvent* arg__1) -{ - return ( ((PythonQtPublicPromoter_QCoreApplication*)theWrappedObject)->promoted_event(arg__1)); -} - -bool PythonQtWrapper_QCoreApplication::static_QCoreApplication_closingDown() -{ - return (QCoreApplication::closingDown()); -} - -void PythonQtWrapper_QCoreApplication::static_QCoreApplication_setAttribute(Qt::ApplicationAttribute attribute, bool on) -{ - (QCoreApplication::setAttribute(attribute, on)); -} - -QStringList PythonQtWrapper_QCoreApplication::static_QCoreApplication_libraryPaths() -{ - return (QCoreApplication::libraryPaths()); -} - -QString PythonQtWrapper_QCoreApplication::static_QCoreApplication_applicationName() -{ - return (QCoreApplication::applicationName()); -} - -void PythonQtWrapper_QCoreApplication::static_QCoreApplication_setApplicationVersion(const QString& version) -{ - (QCoreApplication::setApplicationVersion(version)); -} - -int PythonQtWrapper_QCoreApplication::static_QCoreApplication_exec() -{ - return (QCoreApplication::exec()); -} - -bool PythonQtWrapper_QCoreApplication::notify(QCoreApplication* theWrappedObject, QObject* arg__1, QEvent* arg__2) -{ - return ( ((PythonQtPublicPromoter_QCoreApplication*)theWrappedObject)->promoted_notify(arg__1, arg__2)); -} - -void PythonQtWrapper_QCoreApplication::static_QCoreApplication_removeTranslator(QTranslator* messageFile) -{ - (QCoreApplication::removeTranslator(messageFile)); -} - -void PythonQtWrapper_QCoreApplication::static_QCoreApplication_installTranslator(QTranslator* messageFile) -{ - (QCoreApplication::installTranslator(messageFile)); -} - -QString PythonQtWrapper_QCoreApplication::static_QCoreApplication_applicationDirPath() -{ - return (QCoreApplication::applicationDirPath()); -} - -QString PythonQtWrapper_QCoreApplication::static_QCoreApplication_applicationFilePath() -{ - return (QCoreApplication::applicationFilePath()); -} - -QString PythonQtWrapper_QCoreApplication::static_QCoreApplication_translate(const char* context, const char* key, const char* comment, QCoreApplication::Encoding encoding) -{ - return (QCoreApplication::translate(context, key, comment, encoding)); -} - -QString PythonQtWrapper_QCoreApplication::static_QCoreApplication_translate(const char* context, const char* key, const char* comment, QCoreApplication::Encoding encoding, int n) -{ - return (QCoreApplication::translate(context, key, comment, encoding, n)); -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QCoreApplication.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QCoreApplication.h deleted file mode 100644 index 0eba71f..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QCoreApplication.h +++ /dev/null @@ -1,88 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QCOREAPPLICATION_H -#define PYTHONQTWRAPPER_QCOREAPPLICATION_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QCoreApplication : public QCoreApplication -{ -public: - -virtual void childEvent(QChildEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual bool notify(QObject* arg__1, QEvent* arg__2); -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QCoreApplication : public QCoreApplication -{ public: -inline bool promoted_event(QEvent* arg__1) { return QCoreApplication::event(arg__1); } -inline bool promoted_notify(QObject* arg__1, QEvent* arg__2) { return QCoreApplication::notify(arg__1, arg__2); } -}; - -class PythonQtWrapper_QCoreApplication : public QObject -{ Q_OBJECT -public: -Q_ENUMS(Encoding ) -enum Encoding{ - CodecForTr = QCoreApplication::CodecForTr, UnicodeUTF8 = QCoreApplication::UnicodeUTF8, DefaultCodec = QCoreApplication::DefaultCodec}; -public slots: -void delete_QCoreApplication(QCoreApplication* obj) { delete obj; } - void static_QCoreApplication_removePostedEvents(QObject* receiver); - QString static_QCoreApplication_organizationName(); - void static_QCoreApplication_postEvent(QObject* receiver, QEvent* event); - void static_QCoreApplication_exit(int retcode = 0); - void static_QCoreApplication_removePostedEvents(QObject* receiver, int eventType); - bool static_QCoreApplication_hasPendingEvents(); - void static_QCoreApplication_processEvents(QEventLoop::ProcessEventsFlags flags = QEventLoop::AllEvents); - QCoreApplication* static_QCoreApplication_instance(); - void static_QCoreApplication_setApplicationName(const QString& application); - void static_QCoreApplication_setLibraryPaths(const QStringList& arg__1); - void static_QCoreApplication_processEvents(QEventLoop::ProcessEventsFlags flags, int maxtime); - void static_QCoreApplication_sendPostedEvents(); - void static_QCoreApplication_addLibraryPath(const QString& arg__1); - void static_QCoreApplication_flush(); - void static_QCoreApplication_removeLibraryPath(const QString& arg__1); - bool static_QCoreApplication_startingUp(); - void static_QCoreApplication_setOrganizationDomain(const QString& orgDomain); - QString static_QCoreApplication_applicationVersion(); - void static_QCoreApplication_sendPostedEvents(QObject* receiver, int event_type); - bool static_QCoreApplication_testAttribute(Qt::ApplicationAttribute attribute); - QString static_QCoreApplication_organizationDomain(); - void static_QCoreApplication_postEvent(QObject* receiver, QEvent* event, int priority); - void static_QCoreApplication_setOrganizationName(const QString& orgName); - qint64 static_QCoreApplication_applicationPid(); - bool static_QCoreApplication_sendEvent(QObject* receiver, QEvent* event); - bool event(QCoreApplication* theWrappedObject, QEvent* arg__1); - bool static_QCoreApplication_closingDown(); - void static_QCoreApplication_setAttribute(Qt::ApplicationAttribute attribute, bool on = true); - QStringList static_QCoreApplication_libraryPaths(); - QString static_QCoreApplication_applicationName(); - void static_QCoreApplication_setApplicationVersion(const QString& version); - int static_QCoreApplication_exec(); - bool notify(QCoreApplication* theWrappedObject, QObject* arg__1, QEvent* arg__2); - void static_QCoreApplication_removeTranslator(QTranslator* messageFile); - void static_QCoreApplication_installTranslator(QTranslator* messageFile); - QString static_QCoreApplication_applicationDirPath(); - QString static_QCoreApplication_applicationFilePath(); - QString static_QCoreApplication_translate(const char* context, const char* key, const char* comment = 0, QCoreApplication::Encoding encoding = QCoreApplication::CodecForTr); - QString static_QCoreApplication_translate(const char* context, const char* key, const char* comment, QCoreApplication::Encoding encoding, int n); -}; - -#endif // PYTHONQTWRAPPER_QCOREAPPLICATION_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QCryptographicHash.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QCryptographicHash.cpp deleted file mode 100644 index 676357a..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QCryptographicHash.cpp +++ /dev/null @@ -1,33 +0,0 @@ -#include "PythonQtWrapper_QCryptographicHash.h" - -#include -#include -#include -#include -#include -#include - -QCryptographicHash* PythonQtWrapper_QCryptographicHash::new_QCryptographicHash(QCryptographicHash::Algorithm method) -{ -return new QCryptographicHash(method); } - -void PythonQtWrapper_QCryptographicHash::addData(QCryptographicHash* theWrappedObject, const QByteArray& data) -{ - ( theWrappedObject->addData(data)); -} - -void PythonQtWrapper_QCryptographicHash::reset(QCryptographicHash* theWrappedObject) -{ - ( theWrappedObject->reset()); -} - -QByteArray PythonQtWrapper_QCryptographicHash::static_QCryptographicHash_hash(const QByteArray& data, QCryptographicHash::Algorithm method) -{ - return (QCryptographicHash::hash(data, method)); -} - -QByteArray PythonQtWrapper_QCryptographicHash::result(QCryptographicHash* theWrappedObject) const -{ - return ( theWrappedObject->result()); -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QCryptographicHash.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QCryptographicHash.h deleted file mode 100644 index e8c031e..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QCryptographicHash.h +++ /dev/null @@ -1,28 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QCRYPTOGRAPHICHASH_H -#define PYTHONQTWRAPPER_QCRYPTOGRAPHICHASH_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtWrapper_QCryptographicHash : public QObject -{ Q_OBJECT -public: -Q_ENUMS(Algorithm ) -enum Algorithm{ - Md4 = QCryptographicHash::Md4, Md5 = QCryptographicHash::Md5, Sha1 = QCryptographicHash::Sha1}; -public slots: -QCryptographicHash* new_QCryptographicHash(QCryptographicHash::Algorithm method); -void delete_QCryptographicHash(QCryptographicHash* obj) { delete obj; } - void addData(QCryptographicHash* theWrappedObject, const QByteArray& data); - void reset(QCryptographicHash* theWrappedObject); - QByteArray static_QCryptographicHash_hash(const QByteArray& data, QCryptographicHash::Algorithm method); - QByteArray result(QCryptographicHash* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QCRYPTOGRAPHICHASH_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QDataStream.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QDataStream.cpp deleted file mode 100644 index 1e1d6b4..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QDataStream.cpp +++ /dev/null @@ -1,161 +0,0 @@ -#include "PythonQtWrapper_QDataStream.h" - -#include -#include -#include -#include -#include -#include -#include - -QDataStream* PythonQtWrapper_QDataStream::new_QDataStream() -{ -return new PythonQtShell_QDataStream(); } - -QDataStream* PythonQtWrapper_QDataStream::new_QDataStream(QByteArray* arg__1, QIODevice::OpenMode flags) -{ -return new PythonQtShell_QDataStream(arg__1, flags); } - -QDataStream* PythonQtWrapper_QDataStream::new_QDataStream(QIODevice* arg__1) -{ -return new PythonQtShell_QDataStream(arg__1); } - -QDataStream* PythonQtWrapper_QDataStream::new_QDataStream(const QByteArray& arg__1) -{ -return new PythonQtShell_QDataStream(arg__1); } - -QDataStream* PythonQtWrapper_QDataStream::readULongLong(QDataStream* theWrappedObject, quint64& i) -{ - return &( (*theWrappedObject) >>i); -} - -void PythonQtWrapper_QDataStream::unsetDevice(QDataStream* theWrappedObject) -{ - ( theWrappedObject->unsetDevice()); -} - -QDataStream* PythonQtWrapper_QDataStream::readFloat(QDataStream* theWrappedObject, float& f) -{ - return &( (*theWrappedObject) >>f); -} - -QDataStream* PythonQtWrapper_QDataStream::readShort(QDataStream* theWrappedObject, short& i) -{ - return &( (*theWrappedObject) >>i); -} - -QIODevice* PythonQtWrapper_QDataStream::device(QDataStream* theWrappedObject) const -{ - return ( theWrappedObject->device()); -} - -QDataStream* PythonQtWrapper_QDataStream::writeInt(QDataStream* theWrappedObject, int i) -{ - return &( (*theWrappedObject) <>i); -} - -QDataStream* PythonQtWrapper_QDataStream::writeShort(QDataStream* theWrappedObject, short i) -{ - return &( (*theWrappedObject) <>i); -} - -int PythonQtWrapper_QDataStream::version(QDataStream* theWrappedObject) const -{ - return ( theWrappedObject->version()); -} - -QDataStream* PythonQtWrapper_QDataStream::readUInt(QDataStream* theWrappedObject, unsigned int& i) -{ - return &( (*theWrappedObject) >>i); -} - -void PythonQtWrapper_QDataStream::setVersion(QDataStream* theWrappedObject, int arg__1) -{ - ( theWrappedObject->setVersion(arg__1)); -} - -QDataStream::Status PythonQtWrapper_QDataStream::status(QDataStream* theWrappedObject) const -{ - return ( theWrappedObject->status()); -} - -QDataStream* PythonQtWrapper_QDataStream::readUShort(QDataStream* theWrappedObject, unsigned short& i) -{ - return &( (*theWrappedObject) >>i); -} - -void PythonQtWrapper_QDataStream::setDevice(QDataStream* theWrappedObject, QIODevice* arg__1) -{ - ( theWrappedObject->setDevice(arg__1)); -} - -QDataStream* PythonQtWrapper_QDataStream::writeLongLong(QDataStream* theWrappedObject, qint64 i) -{ - return &( (*theWrappedObject) <atEnd()); -} - -QDataStream* PythonQtWrapper_QDataStream::writeBoolean(QDataStream* theWrappedObject, bool i) -{ - return &( (*theWrappedObject) <>i); -} - -int PythonQtWrapper_QDataStream::skipRawData(QDataStream* theWrappedObject, int len) -{ - return ( theWrappedObject->skipRawData(len)); -} - -QDataStream* PythonQtWrapper_QDataStream::readInt(QDataStream* theWrappedObject, int& i) -{ - return &( (*theWrappedObject) >>i); -} - -void PythonQtWrapper_QDataStream::resetStatus(QDataStream* theWrappedObject) -{ - ( theWrappedObject->resetStatus()); -} - -QDataStream* PythonQtWrapper_QDataStream::readDouble(QDataStream* theWrappedObject, double& f) -{ - return &( (*theWrappedObject) >>f); -} - -void PythonQtWrapper_QDataStream::setStatus(QDataStream* theWrappedObject, QDataStream::Status status) -{ - ( theWrappedObject->setStatus(status)); -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QDataStream.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QDataStream.h deleted file mode 100644 index e65bc9a..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QDataStream.h +++ /dev/null @@ -1,69 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QDATASTREAM_H -#define PYTHONQTWRAPPER_QDATASTREAM_H - -#include -#include - -#include - -#include -#include -#include -#include - -class PythonQtShell_QDataStream : public QDataStream -{ -public: - PythonQtShell_QDataStream():QDataStream(),_wrapper(NULL) {}; - PythonQtShell_QDataStream(QByteArray* arg__1, QIODevice::OpenMode flags):QDataStream(arg__1, flags),_wrapper(NULL) {}; - PythonQtShell_QDataStream(QIODevice* arg__1):QDataStream(arg__1),_wrapper(NULL) {}; - PythonQtShell_QDataStream(const QByteArray& arg__1):QDataStream(arg__1),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QDataStream : public QObject -{ Q_OBJECT -public: -Q_ENUMS(Version Status ) -enum Version{ - Qt_1_0 = QDataStream::Qt_1_0, Qt_2_0 = QDataStream::Qt_2_0, Qt_2_1 = QDataStream::Qt_2_1, Qt_3_0 = QDataStream::Qt_3_0, Qt_3_1 = QDataStream::Qt_3_1, Qt_3_3 = QDataStream::Qt_3_3, Qt_4_0 = QDataStream::Qt_4_0, Qt_4_1 = QDataStream::Qt_4_1, Qt_4_2 = QDataStream::Qt_4_2, Qt_4_3 = QDataStream::Qt_4_3, Qt_4_4 = QDataStream::Qt_4_4}; -enum Status{ - Ok = QDataStream::Ok, ReadPastEnd = QDataStream::ReadPastEnd, ReadCorruptData = QDataStream::ReadCorruptData}; -public slots: -QDataStream* new_QDataStream(); -QDataStream* new_QDataStream(QByteArray* arg__1, QIODevice::OpenMode flags); -QDataStream* new_QDataStream(QIODevice* arg__1); -QDataStream* new_QDataStream(const QByteArray& arg__1); -void delete_QDataStream(QDataStream* obj) { delete obj; } - QDataStream* readULongLong(QDataStream* theWrappedObject, quint64& i); - void unsetDevice(QDataStream* theWrappedObject); - QDataStream* readFloat(QDataStream* theWrappedObject, float& f); - QDataStream* readShort(QDataStream* theWrappedObject, short& i); - QIODevice* device(QDataStream* theWrappedObject) const; - QDataStream* writeInt(QDataStream* theWrappedObject, int i); - QDataStream* readBoolean(QDataStream* theWrappedObject, bool& i); - QDataStream* writeShort(QDataStream* theWrappedObject, short i); - QDataStream* readLongLong(QDataStream* theWrappedObject, qint64& i); - int version(QDataStream* theWrappedObject) const; - QDataStream* readUInt(QDataStream* theWrappedObject, unsigned int& i); - void setVersion(QDataStream* theWrappedObject, int arg__1); - QDataStream::Status status(QDataStream* theWrappedObject) const; - QDataStream* readUShort(QDataStream* theWrappedObject, unsigned short& i); - void setDevice(QDataStream* theWrappedObject, QIODevice* arg__1); - QDataStream* writeLongLong(QDataStream* theWrappedObject, qint64 i); - QDataStream* writeDouble(QDataStream* theWrappedObject, double f); - QDataStream* writeByte(QDataStream* theWrappedObject, unsigned char i); - bool atEnd(QDataStream* theWrappedObject) const; - QDataStream* writeBoolean(QDataStream* theWrappedObject, bool i); - QDataStream* writeFloat(QDataStream* theWrappedObject, float f); - QDataStream* readByte(QDataStream* theWrappedObject, unsigned char& i); - int skipRawData(QDataStream* theWrappedObject, int len); - QDataStream* readInt(QDataStream* theWrappedObject, int& i); - void resetStatus(QDataStream* theWrappedObject); - QDataStream* readDouble(QDataStream* theWrappedObject, double& f); - void setStatus(QDataStream* theWrappedObject, QDataStream::Status status); -}; - -#endif // PYTHONQTWRAPPER_QDATASTREAM_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QDate.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QDate.cpp deleted file mode 100644 index c2bea9f..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QDate.cpp +++ /dev/null @@ -1,182 +0,0 @@ -#include "PythonQtWrapper_QDate.h" - -#include -#include -#include -#include -#include -#include - -QDate* PythonQtWrapper_QDate::new_QDate() -{ -return new QDate(); } - -QDate* PythonQtWrapper_QDate::new_QDate(int y, int m, int d) -{ -return new QDate(y, m, d); } - -QDate PythonQtWrapper_QDate::static_QDate_currentDate() -{ - return (QDate::currentDate()); -} - -QDate PythonQtWrapper_QDate::static_QDate_fromString(const QString& s, Qt::DateFormat f) -{ - return (QDate::fromString(s, f)); -} - -QString PythonQtWrapper_QDate::static_QDate_shortDayName(int weekday) -{ - return (QDate::shortDayName(weekday)); -} - -void PythonQtWrapper_QDate::writeTo(QDate* theWrappedObject, QDataStream& arg__1) -{ - arg__1 << (*theWrappedObject); -} - -QString PythonQtWrapper_QDate::static_QDate_longMonthName(int month) -{ - return (QDate::longMonthName(month)); -} - -QString PythonQtWrapper_QDate::static_QDate_shortMonthName(int month) -{ - return (QDate::shortMonthName(month)); -} - -int PythonQtWrapper_QDate::day(QDate* theWrappedObject) const -{ - return ( theWrappedObject->day()); -} - -void PythonQtWrapper_QDate::readFrom(QDate* theWrappedObject, QDataStream& arg__1) -{ - arg__1 >> (*theWrappedObject); -} - -int PythonQtWrapper_QDate::dayOfWeek(QDate* theWrappedObject) const -{ - return ( theWrappedObject->dayOfWeek()); -} - -QDate PythonQtWrapper_QDate::static_QDate_fromJulianDay(int jd) -{ - return (QDate::fromJulianDay(jd)); -} - -int PythonQtWrapper_QDate::year(QDate* theWrappedObject) const -{ - return ( theWrappedObject->year()); -} - -bool PythonQtWrapper_QDate::operator_less(QDate* theWrappedObject, const QDate& other) const -{ - return ( (*theWrappedObject)< other); -} - -QDate PythonQtWrapper_QDate::addYears(QDate* theWrappedObject, int years) const -{ - return ( theWrappedObject->addYears(years)); -} - -QDate PythonQtWrapper_QDate::addDays(QDate* theWrappedObject, int days) const -{ - return ( theWrappedObject->addDays(days)); -} - -QDate PythonQtWrapper_QDate::static_QDate_fromString(const QString& s, const QString& format) -{ - return (QDate::fromString(s, format)); -} - -int PythonQtWrapper_QDate::weekNumber(QDate* theWrappedObject, int* yearNum) const -{ - return ( theWrappedObject->weekNumber(yearNum)); -} - -int PythonQtWrapper_QDate::daysTo(QDate* theWrappedObject, const QDate& arg__1) const -{ - return ( theWrappedObject->daysTo(arg__1)); -} - -bool PythonQtWrapper_QDate::static_QDate_isValid(int y, int m, int d) -{ - return (QDate::isValid(y, m, d)); -} - -bool PythonQtWrapper_QDate::operator_equal(QDate* theWrappedObject, const QDate& other) const -{ - return ( (*theWrappedObject)== other); -} - -QDate PythonQtWrapper_QDate::addMonths(QDate* theWrappedObject, int months) const -{ - return ( theWrappedObject->addMonths(months)); -} - -uint PythonQtWrapper_QDate::static_QDate_gregorianToJulian(int y, int m, int d) -{ - return (QDate::gregorianToJulian(y, m, d)); -} - -int PythonQtWrapper_QDate::month(QDate* theWrappedObject) const -{ - return ( theWrappedObject->month()); -} - -QString PythonQtWrapper_QDate::toString(QDate* theWrappedObject, Qt::DateFormat f) const -{ - return ( theWrappedObject->toString(f)); -} - -int PythonQtWrapper_QDate::dayOfYear(QDate* theWrappedObject) const -{ - return ( theWrappedObject->dayOfYear()); -} - -bool PythonQtWrapper_QDate::isNull(QDate* theWrappedObject) const -{ - return ( theWrappedObject->isNull()); -} - -bool PythonQtWrapper_QDate::isValid(QDate* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -QString PythonQtWrapper_QDate::toString(QDate* theWrappedObject, const QString& format) const -{ - return ( theWrappedObject->toString(format)); -} - -bool PythonQtWrapper_QDate::static_QDate_isLeapYear(int year) -{ - return (QDate::isLeapYear(year)); -} - -int PythonQtWrapper_QDate::toJulianDay(QDate* theWrappedObject) const -{ - return ( theWrappedObject->toJulianDay()); -} - -int PythonQtWrapper_QDate::daysInMonth(QDate* theWrappedObject) const -{ - return ( theWrappedObject->daysInMonth()); -} - -int PythonQtWrapper_QDate::daysInYear(QDate* theWrappedObject) const -{ - return ( theWrappedObject->daysInYear()); -} - -QString PythonQtWrapper_QDate::static_QDate_longDayName(int weekday) -{ - return (QDate::longDayName(weekday)); -} - -bool PythonQtWrapper_QDate::setDate(QDate* theWrappedObject, int year, int month, int date) -{ - return ( theWrappedObject->setDate(year, month, date)); -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QDate.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QDate.h deleted file mode 100644 index 97e67a3..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QDate.h +++ /dev/null @@ -1,59 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QDATE_H -#define PYTHONQTWRAPPER_QDATE_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtWrapper_QDate : public QObject -{ Q_OBJECT -public: -public slots: -QDate* new_QDate(); -QDate* new_QDate(int y, int m, int d); -QDate* new_QDate(const QDate& other) { -QDate* a = new QDate(); -*((QDate*)a) = other; -return a; } -void delete_QDate(QDate* obj) { delete obj; } - QDate static_QDate_currentDate(); - QDate static_QDate_fromString(const QString& s, Qt::DateFormat f = Qt::TextDate); - QString static_QDate_shortDayName(int weekday); - void writeTo(QDate* theWrappedObject, QDataStream& arg__1); - QString static_QDate_longMonthName(int month); - QString static_QDate_shortMonthName(int month); - int day(QDate* theWrappedObject) const; - void readFrom(QDate* theWrappedObject, QDataStream& arg__1); - int dayOfWeek(QDate* theWrappedObject) const; - QDate static_QDate_fromJulianDay(int jd); - int year(QDate* theWrappedObject) const; - bool operator_less(QDate* theWrappedObject, const QDate& other) const; - QDate addYears(QDate* theWrappedObject, int years) const; - QDate addDays(QDate* theWrappedObject, int days) const; - QDate static_QDate_fromString(const QString& s, const QString& format); - int weekNumber(QDate* theWrappedObject, int* yearNum = 0) const; - int daysTo(QDate* theWrappedObject, const QDate& arg__1) const; - bool static_QDate_isValid(int y, int m, int d); - bool operator_equal(QDate* theWrappedObject, const QDate& other) const; - QDate addMonths(QDate* theWrappedObject, int months) const; - uint static_QDate_gregorianToJulian(int y, int m, int d); - int month(QDate* theWrappedObject) const; - QString toString(QDate* theWrappedObject, Qt::DateFormat f = Qt::TextDate) const; - int dayOfYear(QDate* theWrappedObject) const; - bool isNull(QDate* theWrappedObject) const; - bool isValid(QDate* theWrappedObject) const; - QString toString(QDate* theWrappedObject, const QString& format) const; - bool static_QDate_isLeapYear(int year); - int toJulianDay(QDate* theWrappedObject) const; - int daysInMonth(QDate* theWrappedObject) const; - int daysInYear(QDate* theWrappedObject) const; - QString static_QDate_longDayName(int weekday); - bool setDate(QDate* theWrappedObject, int year, int month, int date); -}; - -#endif // PYTHONQTWRAPPER_QDATE_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QDateTime.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QDateTime.cpp deleted file mode 100644 index bc77e46..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QDateTime.cpp +++ /dev/null @@ -1,185 +0,0 @@ -#include "PythonQtWrapper_QDateTime.h" - -#include -#include -#include -#include -#include -#include - -QDateTime* PythonQtWrapper_QDateTime::new_QDateTime() -{ -return new QDateTime(); } - -QDateTime* PythonQtWrapper_QDateTime::new_QDateTime(const QDate& arg__1) -{ -return new QDateTime(arg__1); } - -QDateTime* PythonQtWrapper_QDateTime::new_QDateTime(const QDate& arg__1, const QTime& arg__2, Qt::TimeSpec spec) -{ -return new QDateTime(arg__1, arg__2, spec); } - -QDateTime* PythonQtWrapper_QDateTime::new_QDateTime(const QDateTime& other) -{ -return new QDateTime(other); } - -QDateTime PythonQtWrapper_QDateTime::addSecs(QDateTime* theWrappedObject, int secs) const -{ - return ( theWrappedObject->addSecs(secs)); -} - -void PythonQtWrapper_QDateTime::setTime(QDateTime* theWrappedObject, const QTime& time) -{ - ( theWrappedObject->setTime(time)); -} - -void PythonQtWrapper_QDateTime::setTime_t(QDateTime* theWrappedObject, uint secsSince1Jan1970UTC) -{ - ( theWrappedObject->setTime_t(secsSince1Jan1970UTC)); -} - -QDateTime PythonQtWrapper_QDateTime::static_QDateTime_fromTime_t(uint secsSince1Jan1970UTC) -{ - return (QDateTime::fromTime_t(secsSince1Jan1970UTC)); -} - -bool PythonQtWrapper_QDateTime::isNull(QDateTime* theWrappedObject) const -{ - return ( theWrappedObject->isNull()); -} - -QTime PythonQtWrapper_QDateTime::time(QDateTime* theWrappedObject) const -{ - return ( theWrappedObject->time()); -} - -QDateTime PythonQtWrapper_QDateTime::toUTC(QDateTime* theWrappedObject) const -{ - return ( theWrappedObject->toUTC()); -} - -QDate PythonQtWrapper_QDateTime::date(QDateTime* theWrappedObject) const -{ - return ( theWrappedObject->date()); -} - -Qt::TimeSpec PythonQtWrapper_QDateTime::timeSpec(QDateTime* theWrappedObject) const -{ - return ( theWrappedObject->timeSpec()); -} - -QDateTime PythonQtWrapper_QDateTime::static_QDateTime_currentDateTime() -{ - return (QDateTime::currentDateTime()); -} - -void PythonQtWrapper_QDateTime::setDate(QDateTime* theWrappedObject, const QDate& date) -{ - ( theWrappedObject->setDate(date)); -} - -uint PythonQtWrapper_QDateTime::toTime_t(QDateTime* theWrappedObject) const -{ - return ( theWrappedObject->toTime_t()); -} - -QDateTime PythonQtWrapper_QDateTime::static_QDateTime_fromString(const QString& s, Qt::DateFormat f) -{ - return (QDateTime::fromString(s, f)); -} - -bool PythonQtWrapper_QDateTime::isValid(QDateTime* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -void PythonQtWrapper_QDateTime::writeTo(QDateTime* theWrappedObject, QDataStream& arg__1) -{ - arg__1 << (*theWrappedObject); -} - -int PythonQtWrapper_QDateTime::secsTo(QDateTime* theWrappedObject, const QDateTime& arg__1) const -{ - return ( theWrappedObject->secsTo(arg__1)); -} - -QString PythonQtWrapper_QDateTime::toString(QDateTime* theWrappedObject, const QString& format) const -{ - return ( theWrappedObject->toString(format)); -} - -QDateTime PythonQtWrapper_QDateTime::addDays(QDateTime* theWrappedObject, int days) const -{ - return ( theWrappedObject->addDays(days)); -} - -QDateTime PythonQtWrapper_QDateTime::addMSecs(QDateTime* theWrappedObject, qint64 msecs) const -{ - return ( theWrappedObject->addMSecs(msecs)); -} - -QString PythonQtWrapper_QDateTime::toString(QDateTime* theWrappedObject, Qt::DateFormat f) const -{ - return ( theWrappedObject->toString(f)); -} - -QDateTime PythonQtWrapper_QDateTime::static_QDateTime_fromString(const QString& s, const QString& format) -{ - return (QDateTime::fromString(s, format)); -} - -void PythonQtWrapper_QDateTime::readFrom(QDateTime* theWrappedObject, QDataStream& arg__1) -{ - arg__1 >> (*theWrappedObject); -} - -void PythonQtWrapper_QDateTime::setTimeSpec(QDateTime* theWrappedObject, Qt::TimeSpec spec) -{ - ( theWrappedObject->setTimeSpec(spec)); -} - -QDateTime PythonQtWrapper_QDateTime::addYears(QDateTime* theWrappedObject, int years) const -{ - return ( theWrappedObject->addYears(years)); -} - -bool PythonQtWrapper_QDateTime::operator_equal(QDateTime* theWrappedObject, const QDateTime& other) const -{ - return ( (*theWrappedObject)== other); -} - -int PythonQtWrapper_QDateTime::utcOffset(QDateTime* theWrappedObject) const -{ - return ( theWrappedObject->utcOffset()); -} - -void PythonQtWrapper_QDateTime::setUtcOffset(QDateTime* theWrappedObject, int seconds) -{ - ( theWrappedObject->setUtcOffset(seconds)); -} - -int PythonQtWrapper_QDateTime::daysTo(QDateTime* theWrappedObject, const QDateTime& arg__1) const -{ - return ( theWrappedObject->daysTo(arg__1)); -} - -QDateTime PythonQtWrapper_QDateTime::toLocalTime(QDateTime* theWrappedObject) const -{ - return ( theWrappedObject->toLocalTime()); -} - -QDateTime PythonQtWrapper_QDateTime::toTimeSpec(QDateTime* theWrappedObject, Qt::TimeSpec spec) const -{ - return ( theWrappedObject->toTimeSpec(spec)); -} - -QDateTime PythonQtWrapper_QDateTime::addMonths(QDateTime* theWrappedObject, int months) const -{ - return ( theWrappedObject->addMonths(months)); -} - -bool PythonQtWrapper_QDateTime::operator_less(QDateTime* theWrappedObject, const QDateTime& other) const -{ - return ( (*theWrappedObject)< other); -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QDateTime.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QDateTime.h deleted file mode 100644 index 4f7cd5f..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QDateTime.h +++ /dev/null @@ -1,56 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QDATETIME_H -#define PYTHONQTWRAPPER_QDATETIME_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtWrapper_QDateTime : public QObject -{ Q_OBJECT -public: -public slots: -QDateTime* new_QDateTime(); -QDateTime* new_QDateTime(const QDate& arg__1); -QDateTime* new_QDateTime(const QDate& arg__1, const QTime& arg__2, Qt::TimeSpec spec = Qt::LocalTime); -QDateTime* new_QDateTime(const QDateTime& other); -void delete_QDateTime(QDateTime* obj) { delete obj; } - QDateTime addSecs(QDateTime* theWrappedObject, int secs) const; - void setTime(QDateTime* theWrappedObject, const QTime& time); - void setTime_t(QDateTime* theWrappedObject, uint secsSince1Jan1970UTC); - QDateTime static_QDateTime_fromTime_t(uint secsSince1Jan1970UTC); - bool isNull(QDateTime* theWrappedObject) const; - QTime time(QDateTime* theWrappedObject) const; - QDateTime toUTC(QDateTime* theWrappedObject) const; - QDate date(QDateTime* theWrappedObject) const; - Qt::TimeSpec timeSpec(QDateTime* theWrappedObject) const; - QDateTime static_QDateTime_currentDateTime(); - void setDate(QDateTime* theWrappedObject, const QDate& date); - uint toTime_t(QDateTime* theWrappedObject) const; - QDateTime static_QDateTime_fromString(const QString& s, Qt::DateFormat f = Qt::TextDate); - bool isValid(QDateTime* theWrappedObject) const; - void writeTo(QDateTime* theWrappedObject, QDataStream& arg__1); - int secsTo(QDateTime* theWrappedObject, const QDateTime& arg__1) const; - QString toString(QDateTime* theWrappedObject, const QString& format) const; - QDateTime addDays(QDateTime* theWrappedObject, int days) const; - QDateTime addMSecs(QDateTime* theWrappedObject, qint64 msecs) const; - QString toString(QDateTime* theWrappedObject, Qt::DateFormat f = Qt::TextDate) const; - QDateTime static_QDateTime_fromString(const QString& s, const QString& format); - void readFrom(QDateTime* theWrappedObject, QDataStream& arg__1); - void setTimeSpec(QDateTime* theWrappedObject, Qt::TimeSpec spec); - QDateTime addYears(QDateTime* theWrappedObject, int years) const; - bool operator_equal(QDateTime* theWrappedObject, const QDateTime& other) const; - int utcOffset(QDateTime* theWrappedObject) const; - void setUtcOffset(QDateTime* theWrappedObject, int seconds); - int daysTo(QDateTime* theWrappedObject, const QDateTime& arg__1) const; - QDateTime toLocalTime(QDateTime* theWrappedObject) const; - QDateTime toTimeSpec(QDateTime* theWrappedObject, Qt::TimeSpec spec) const; - QDateTime addMonths(QDateTime* theWrappedObject, int months) const; - bool operator_less(QDateTime* theWrappedObject, const QDateTime& other) const; -}; - -#endif // PYTHONQTWRAPPER_QDATETIME_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QDir.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QDir.cpp deleted file mode 100644 index 590ff1f..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QDir.cpp +++ /dev/null @@ -1,330 +0,0 @@ -#include "PythonQtWrapper_QDir.h" - -#include -#include -#include -#include -#include -#include -#include -#include - -QDir* PythonQtWrapper_QDir::new_QDir(const QDir& arg__1) -{ -return new QDir(arg__1); } - -QDir* PythonQtWrapper_QDir::new_QDir(const QString& path) -{ -return new QDir(path); } - -QDir* PythonQtWrapper_QDir::new_QDir(const QString& path, const QString& nameFilter, QDir::SortFlags sort, QDir::Filters filter) -{ -return new QDir(path, nameFilter, sort, filter); } - -QString PythonQtWrapper_QDir::static_QDir_convertSeparators(const QString& pathName) -{ - return (QDir::convertSeparators(pathName)); -} - -QStringList PythonQtWrapper_QDir::entryList(QDir* theWrappedObject, const QStringList& nameFilters, QDir::Filters filters, QDir::SortFlags sort) const -{ - return ( theWrappedObject->entryList(nameFilters, filters, sort)); -} - -QString PythonQtWrapper_QDir::static_QDir_cleanPath(const QString& path) -{ - return (QDir::cleanPath(path)); -} - -bool PythonQtWrapper_QDir::isRoot(QDir* theWrappedObject) const -{ - return ( theWrappedObject->isRoot()); -} - -bool PythonQtWrapper_QDir::exists(QDir* theWrappedObject) const -{ - return ( theWrappedObject->exists()); -} - -QDir::Filters PythonQtWrapper_QDir::filter(QDir* theWrappedObject) const -{ - return ( theWrappedObject->filter()); -} - -bool PythonQtWrapper_QDir::isAbsolute(QDir* theWrappedObject) const -{ - return ( theWrappedObject->isAbsolute()); -} - -QDir::SortFlags PythonQtWrapper_QDir::sorting(QDir* theWrappedObject) const -{ - return ( theWrappedObject->sorting()); -} - -QString PythonQtWrapper_QDir::dirName(QDir* theWrappedObject) const -{ - return ( theWrappedObject->dirName()); -} - -QString PythonQtWrapper_QDir::static_QDir_fromNativeSeparators(const QString& pathName) -{ - return (QDir::fromNativeSeparators(pathName)); -} - -QDir PythonQtWrapper_QDir::static_QDir_temp() -{ - return (QDir::temp()); -} - -QList PythonQtWrapper_QDir::entryInfoList(QDir* theWrappedObject, const QStringList& nameFilters, QDir::Filters filters, QDir::SortFlags sort) const -{ - return ( theWrappedObject->entryInfoList(nameFilters, filters, sort)); -} - -QString PythonQtWrapper_QDir::filePath(QDir* theWrappedObject, const QString& fileName) const -{ - return ( theWrappedObject->filePath(fileName)); -} - -bool PythonQtWrapper_QDir::static_QDir_setCurrent(const QString& path) -{ - return (QDir::setCurrent(path)); -} - -void PythonQtWrapper_QDir::static_QDir_addSearchPath(const QString& prefix, const QString& path) -{ - (QDir::addSearchPath(prefix, path)); -} - -QString PythonQtWrapper_QDir::static_QDir_toNativeSeparators(const QString& pathName) -{ - return (QDir::toNativeSeparators(pathName)); -} - -QString PythonQtWrapper_QDir::absoluteFilePath(QDir* theWrappedObject, const QString& fileName) const -{ - return ( theWrappedObject->absoluteFilePath(fileName)); -} - -QList PythonQtWrapper_QDir::entryInfoList(QDir* theWrappedObject, QDir::Filters filters, QDir::SortFlags sort) const -{ - return ( theWrappedObject->entryInfoList(filters, sort)); -} - -QString PythonQtWrapper_QDir::static_QDir_rootPath() -{ - return (QDir::rootPath()); -} - -QList PythonQtWrapper_QDir::static_QDir_drives() -{ - return (QDir::drives()); -} - -bool PythonQtWrapper_QDir::static_QDir_match(const QStringList& filters, const QString& fileName) -{ - return (QDir::match(filters, fileName)); -} - -void PythonQtWrapper_QDir::refresh(QDir* theWrappedObject) const -{ - ( theWrappedObject->refresh()); -} - -bool PythonQtWrapper_QDir::remove(QDir* theWrappedObject, const QString& fileName) -{ - return ( theWrappedObject->remove(fileName)); -} - -QDir PythonQtWrapper_QDir::static_QDir_current() -{ - return (QDir::current()); -} - -bool PythonQtWrapper_QDir::isReadable(QDir* theWrappedObject) const -{ - return ( theWrappedObject->isReadable()); -} - -QString PythonQtWrapper_QDir::static_QDir_homePath() -{ - return (QDir::homePath()); -} - -bool PythonQtWrapper_QDir::mkpath(QDir* theWrappedObject, const QString& dirPath) const -{ - return ( theWrappedObject->mkpath(dirPath)); -} - -bool PythonQtWrapper_QDir::cd(QDir* theWrappedObject, const QString& dirName) -{ - return ( theWrappedObject->cd(dirName)); -} - -bool PythonQtWrapper_QDir::rmdir(QDir* theWrappedObject, const QString& dirName) const -{ - return ( theWrappedObject->rmdir(dirName)); -} - -QString PythonQtWrapper_QDir::absolutePath(QDir* theWrappedObject) const -{ - return ( theWrappedObject->absolutePath()); -} - -uint PythonQtWrapper_QDir::count(QDir* theWrappedObject) const -{ - return ( theWrappedObject->count()); -} - -bool PythonQtWrapper_QDir::rename(QDir* theWrappedObject, const QString& oldName, const QString& newName) -{ - return ( theWrappedObject->rename(oldName, newName)); -} - -bool PythonQtWrapper_QDir::cdUp(QDir* theWrappedObject) -{ - return ( theWrappedObject->cdUp()); -} - -bool PythonQtWrapper_QDir::isRelative(QDir* theWrappedObject) const -{ - return ( theWrappedObject->isRelative()); -} - -QStringList PythonQtWrapper_QDir::nameFilters(QDir* theWrappedObject) const -{ - return ( theWrappedObject->nameFilters()); -} - -QStringList PythonQtWrapper_QDir::static_QDir_nameFiltersFromString(const QString& nameFilter) -{ - return (QDir::nameFiltersFromString(nameFilter)); -} - -bool PythonQtWrapper_QDir::exists(QDir* theWrappedObject, const QString& name) const -{ - return ( theWrappedObject->exists(name)); -} - -QChar PythonQtWrapper_QDir::static_QDir_separator() -{ - return (QDir::separator()); -} - -void PythonQtWrapper_QDir::setFilter(QDir* theWrappedObject, QDir::Filters filter) -{ - ( theWrappedObject->setFilter(filter)); -} - -QDir PythonQtWrapper_QDir::static_QDir_home() -{ - return (QDir::home()); -} - -void PythonQtWrapper_QDir::setPath(QDir* theWrappedObject, const QString& path) -{ - ( theWrappedObject->setPath(path)); -} - -QString PythonQtWrapper_QDir::static_QDir_tempPath() -{ - return (QDir::tempPath()); -} - -bool PythonQtWrapper_QDir::makeAbsolute(QDir* theWrappedObject) -{ - return ( theWrappedObject->makeAbsolute()); -} - -bool PythonQtWrapper_QDir::mkdir(QDir* theWrappedObject, const QString& dirName) const -{ - return ( theWrappedObject->mkdir(dirName)); -} - -QString PythonQtWrapper_QDir::path(QDir* theWrappedObject) const -{ - return ( theWrappedObject->path()); -} - -QString PythonQtWrapper_QDir::operator_subscript(QDir* theWrappedObject, int arg__1) const -{ - return ( (*theWrappedObject)[arg__1]); -} - -QStringList PythonQtWrapper_QDir::static_QDir_searchPaths(const QString& prefix) -{ - return (QDir::searchPaths(prefix)); -} - -void PythonQtWrapper_QDir::setNameFilters(QDir* theWrappedObject, const QStringList& nameFilters) -{ - ( theWrappedObject->setNameFilters(nameFilters)); -} - -bool PythonQtWrapper_QDir::static_QDir_isAbsolutePath(const QString& path) -{ - return (QDir::isAbsolutePath(path)); -} - -void PythonQtWrapper_QDir::static_QDir_setSearchPaths(const QString& prefix, const QStringList& searchPaths) -{ - (QDir::setSearchPaths(prefix, searchPaths)); -} - -bool PythonQtWrapper_QDir::rmpath(QDir* theWrappedObject, const QString& dirPath) const -{ - return ( theWrappedObject->rmpath(dirPath)); -} - -bool PythonQtWrapper_QDir::operator_equal(QDir* theWrappedObject, const QDir& dir) const -{ - return ( (*theWrappedObject)== dir); -} - -QString PythonQtWrapper_QDir::relativeFilePath(QDir* theWrappedObject, const QString& fileName) const -{ - return ( theWrappedObject->relativeFilePath(fileName)); -} - -void PythonQtWrapper_QDir::setSorting(QDir* theWrappedObject, QDir::SortFlags sort) -{ - ( theWrappedObject->setSorting(sort)); -} - -QStringList PythonQtWrapper_QDir::entryList(QDir* theWrappedObject, QDir::Filters filters, QDir::SortFlags sort) const -{ - return ( theWrappedObject->entryList(filters, sort)); -} - -QDir PythonQtWrapper_QDir::static_QDir_root() -{ - return (QDir::root()); -} - -QString PythonQtWrapper_QDir::canonicalPath(QDir* theWrappedObject) const -{ - return ( theWrappedObject->canonicalPath()); -} - -bool PythonQtWrapper_QDir::static_QDir_isRelativePath(const QString& path) -{ - return (QDir::isRelativePath(path)); -} - -bool PythonQtWrapper_QDir::static_QDir_match(const QString& filter, const QString& fileName) -{ - return (QDir::match(filter, fileName)); -} - -QString PythonQtWrapper_QDir::static_QDir_currentPath() -{ - return (QDir::currentPath()); -} - -QString PythonQtWrapper_QDir::toString(QDir* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QDir.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QDir.h deleted file mode 100644 index 42d3c85..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QDir.h +++ /dev/null @@ -1,94 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QDIR_H -#define PYTHONQTWRAPPER_QDIR_H - -#include -#include - -#include - -#include -#include -#include -#include -#include - -class PythonQtWrapper_QDir : public QObject -{ Q_OBJECT -public: -Q_ENUMS(Filter SortFlag ) -Q_FLAGS(Filters SortFlags ) -enum Filter{ - Dirs = QDir::Dirs, Files = QDir::Files, Drives = QDir::Drives, NoSymLinks = QDir::NoSymLinks, AllEntries = QDir::AllEntries, TypeMask = QDir::TypeMask, Readable = QDir::Readable, Writable = QDir::Writable, Executable = QDir::Executable, PermissionMask = QDir::PermissionMask, Modified = QDir::Modified, Hidden = QDir::Hidden, System = QDir::System, AccessMask = QDir::AccessMask, AllDirs = QDir::AllDirs, CaseSensitive = QDir::CaseSensitive, NoDotAndDotDot = QDir::NoDotAndDotDot, NoFilter = QDir::NoFilter}; -enum SortFlag{ - Name = QDir::Name, Time = QDir::Time, Size = QDir::Size, Unsorted = QDir::Unsorted, SortByMask = QDir::SortByMask, DirsFirst = QDir::DirsFirst, Reversed = QDir::Reversed, IgnoreCase = QDir::IgnoreCase, DirsLast = QDir::DirsLast, LocaleAware = QDir::LocaleAware, Type = QDir::Type, NoSort = QDir::NoSort}; -Q_DECLARE_FLAGS(Filters, Filter) -Q_DECLARE_FLAGS(SortFlags, SortFlag) -public slots: -QDir* new_QDir(const QDir& arg__1); -QDir* new_QDir(const QString& path = QString()); -QDir* new_QDir(const QString& path, const QString& nameFilter, QDir::SortFlags sort = QDir::SortFlags(Name | IgnoreCase), QDir::Filters filter = QDir::AllEntries); -void delete_QDir(QDir* obj) { delete obj; } - QString static_QDir_convertSeparators(const QString& pathName); - QStringList entryList(QDir* theWrappedObject, const QStringList& nameFilters, QDir::Filters filters = QDir::NoFilter, QDir::SortFlags sort = QDir::NoSort) const; - QString static_QDir_cleanPath(const QString& path); - bool isRoot(QDir* theWrappedObject) const; - bool exists(QDir* theWrappedObject) const; - QDir::Filters filter(QDir* theWrappedObject) const; - bool isAbsolute(QDir* theWrappedObject) const; - QDir::SortFlags sorting(QDir* theWrappedObject) const; - QString dirName(QDir* theWrappedObject) const; - QString static_QDir_fromNativeSeparators(const QString& pathName); - QDir static_QDir_temp(); - QList entryInfoList(QDir* theWrappedObject, const QStringList& nameFilters, QDir::Filters filters = QDir::NoFilter, QDir::SortFlags sort = QDir::NoSort) const; - QString filePath(QDir* theWrappedObject, const QString& fileName) const; - bool static_QDir_setCurrent(const QString& path); - void static_QDir_addSearchPath(const QString& prefix, const QString& path); - QString static_QDir_toNativeSeparators(const QString& pathName); - QString absoluteFilePath(QDir* theWrappedObject, const QString& fileName) const; - QList entryInfoList(QDir* theWrappedObject, QDir::Filters filters = QDir::NoFilter, QDir::SortFlags sort = QDir::NoSort) const; - QString static_QDir_rootPath(); - QList static_QDir_drives(); - bool static_QDir_match(const QStringList& filters, const QString& fileName); - void refresh(QDir* theWrappedObject) const; - bool remove(QDir* theWrappedObject, const QString& fileName); - QDir static_QDir_current(); - bool isReadable(QDir* theWrappedObject) const; - QString static_QDir_homePath(); - bool mkpath(QDir* theWrappedObject, const QString& dirPath) const; - bool cd(QDir* theWrappedObject, const QString& dirName); - bool rmdir(QDir* theWrappedObject, const QString& dirName) const; - QString absolutePath(QDir* theWrappedObject) const; - uint count(QDir* theWrappedObject) const; - bool rename(QDir* theWrappedObject, const QString& oldName, const QString& newName); - bool cdUp(QDir* theWrappedObject); - bool isRelative(QDir* theWrappedObject) const; - QStringList nameFilters(QDir* theWrappedObject) const; - QStringList static_QDir_nameFiltersFromString(const QString& nameFilter); - bool exists(QDir* theWrappedObject, const QString& name) const; - QChar static_QDir_separator(); - void setFilter(QDir* theWrappedObject, QDir::Filters filter); - QDir static_QDir_home(); - void setPath(QDir* theWrappedObject, const QString& path); - QString static_QDir_tempPath(); - bool makeAbsolute(QDir* theWrappedObject); - bool mkdir(QDir* theWrappedObject, const QString& dirName) const; - QString path(QDir* theWrappedObject) const; - QString operator_subscript(QDir* theWrappedObject, int arg__1) const; - QStringList static_QDir_searchPaths(const QString& prefix); - void setNameFilters(QDir* theWrappedObject, const QStringList& nameFilters); - bool static_QDir_isAbsolutePath(const QString& path); - void static_QDir_setSearchPaths(const QString& prefix, const QStringList& searchPaths); - bool rmpath(QDir* theWrappedObject, const QString& dirPath) const; - bool operator_equal(QDir* theWrappedObject, const QDir& dir) const; - QString relativeFilePath(QDir* theWrappedObject, const QString& fileName) const; - void setSorting(QDir* theWrappedObject, QDir::SortFlags sort); - QStringList entryList(QDir* theWrappedObject, QDir::Filters filters = QDir::NoFilter, QDir::SortFlags sort = QDir::NoSort) const; - QDir static_QDir_root(); - QString canonicalPath(QDir* theWrappedObject) const; - bool static_QDir_isRelativePath(const QString& path); - bool static_QDir_match(const QString& filter, const QString& fileName); - QString static_QDir_currentPath(); - QString toString(QDir*); -}; - -#endif // PYTHONQTWRAPPER_QDIR_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QDirIterator.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QDirIterator.cpp deleted file mode 100644 index 04207db..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QDirIterator.cpp +++ /dev/null @@ -1,57 +0,0 @@ -#include "PythonQtWrapper_QDirIterator.h" - -#include -#include -#include -#include -#include -#include -#include -#include - -QDirIterator* PythonQtWrapper_QDirIterator::new_QDirIterator(const QDir& dir, QDirIterator::IteratorFlags flags) -{ -return new PythonQtShell_QDirIterator(dir, flags); } - -QDirIterator* PythonQtWrapper_QDirIterator::new_QDirIterator(const QString& path, QDir::Filters filter, QDirIterator::IteratorFlags flags) -{ -return new PythonQtShell_QDirIterator(path, filter, flags); } - -QDirIterator* PythonQtWrapper_QDirIterator::new_QDirIterator(const QString& path, QDirIterator::IteratorFlags flags) -{ -return new PythonQtShell_QDirIterator(path, flags); } - -QDirIterator* PythonQtWrapper_QDirIterator::new_QDirIterator(const QString& path, const QStringList& nameFilters, QDir::Filters filters, QDirIterator::IteratorFlags flags) -{ -return new PythonQtShell_QDirIterator(path, nameFilters, filters, flags); } - -QString PythonQtWrapper_QDirIterator::next(QDirIterator* theWrappedObject) -{ - return ( theWrappedObject->next()); -} - -QString PythonQtWrapper_QDirIterator::fileName(QDirIterator* theWrappedObject) const -{ - return ( theWrappedObject->fileName()); -} - -QFileInfo PythonQtWrapper_QDirIterator::fileInfo(QDirIterator* theWrappedObject) const -{ - return ( theWrappedObject->fileInfo()); -} - -QString PythonQtWrapper_QDirIterator::filePath(QDirIterator* theWrappedObject) const -{ - return ( theWrappedObject->filePath()); -} - -bool PythonQtWrapper_QDirIterator::hasNext(QDirIterator* theWrappedObject) const -{ - return ( theWrappedObject->hasNext()); -} - -QString PythonQtWrapper_QDirIterator::path(QDirIterator* theWrappedObject) const -{ - return ( theWrappedObject->path()); -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QDirIterator.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QDirIterator.h deleted file mode 100644 index 9f73ceb..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QDirIterator.h +++ /dev/null @@ -1,49 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QDIRITERATOR_H -#define PYTHONQTWRAPPER_QDIRITERATOR_H - -#include -#include - -#include - -#include -#include -#include -#include -#include - -class PythonQtShell_QDirIterator : public QDirIterator -{ -public: - PythonQtShell_QDirIterator(const QDir& dir, QDirIterator::IteratorFlags flags = QDirIterator::NoIteratorFlags):QDirIterator(dir, flags),_wrapper(NULL) {}; - PythonQtShell_QDirIterator(const QString& path, QDir::Filters filter, QDirIterator::IteratorFlags flags = QDirIterator::NoIteratorFlags):QDirIterator(path, filter, flags),_wrapper(NULL) {}; - PythonQtShell_QDirIterator(const QString& path, QDirIterator::IteratorFlags flags = QDirIterator::NoIteratorFlags):QDirIterator(path, flags),_wrapper(NULL) {}; - PythonQtShell_QDirIterator(const QString& path, const QStringList& nameFilters, QDir::Filters filters = QDir::NoFilter, QDirIterator::IteratorFlags flags = QDirIterator::NoIteratorFlags):QDirIterator(path, nameFilters, filters, flags),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QDirIterator : public QObject -{ Q_OBJECT -public: -Q_ENUMS(IteratorFlag ) -Q_FLAGS(IteratorFlags ) -enum IteratorFlag{ - NoIteratorFlags = QDirIterator::NoIteratorFlags, FollowSymlinks = QDirIterator::FollowSymlinks, Subdirectories = QDirIterator::Subdirectories}; -Q_DECLARE_FLAGS(IteratorFlags, IteratorFlag) -public slots: -QDirIterator* new_QDirIterator(const QDir& dir, QDirIterator::IteratorFlags flags = QDirIterator::NoIteratorFlags); -QDirIterator* new_QDirIterator(const QString& path, QDir::Filters filter, QDirIterator::IteratorFlags flags = QDirIterator::NoIteratorFlags); -QDirIterator* new_QDirIterator(const QString& path, QDirIterator::IteratorFlags flags = QDirIterator::NoIteratorFlags); -QDirIterator* new_QDirIterator(const QString& path, const QStringList& nameFilters, QDir::Filters filters = QDir::NoFilter, QDirIterator::IteratorFlags flags = QDirIterator::NoIteratorFlags); -void delete_QDirIterator(QDirIterator* obj) { delete obj; } - QString next(QDirIterator* theWrappedObject); - QString fileName(QDirIterator* theWrappedObject) const; - QFileInfo fileInfo(QDirIterator* theWrappedObject) const; - QString filePath(QDirIterator* theWrappedObject) const; - bool hasNext(QDirIterator* theWrappedObject) const; - QString path(QDirIterator* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QDIRITERATOR_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QDynamicPropertyChangeEvent.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QDynamicPropertyChangeEvent.cpp deleted file mode 100644 index b56aa2e..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QDynamicPropertyChangeEvent.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "PythonQtWrapper_QDynamicPropertyChangeEvent.h" - -#include -#include -#include -#include -#include - -QDynamicPropertyChangeEvent* PythonQtWrapper_QDynamicPropertyChangeEvent::new_QDynamicPropertyChangeEvent(const QByteArray& name) -{ -return new QDynamicPropertyChangeEvent(name); } - -QByteArray PythonQtWrapper_QDynamicPropertyChangeEvent::propertyName(QDynamicPropertyChangeEvent* theWrappedObject) const -{ - return ( theWrappedObject->propertyName()); -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QDynamicPropertyChangeEvent.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QDynamicPropertyChangeEvent.h deleted file mode 100644 index 9e0d9cd..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QDynamicPropertyChangeEvent.h +++ /dev/null @@ -1,21 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QDYNAMICPROPERTYCHANGEEVENT_H -#define PYTHONQTWRAPPER_QDYNAMICPROPERTYCHANGEEVENT_H - -#include -#include - -#include - -#include -#include - -class PythonQtWrapper_QDynamicPropertyChangeEvent : public QObject -{ Q_OBJECT -public: -public slots: -QDynamicPropertyChangeEvent* new_QDynamicPropertyChangeEvent(const QByteArray& name); -void delete_QDynamicPropertyChangeEvent(QDynamicPropertyChangeEvent* obj) { delete obj; } - QByteArray propertyName(QDynamicPropertyChangeEvent* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QDYNAMICPROPERTYCHANGEEVENT_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QEvent.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QEvent.cpp deleted file mode 100644 index 9a1cf63..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QEvent.cpp +++ /dev/null @@ -1,53 +0,0 @@ -#include "PythonQtWrapper_QEvent.h" - -#include -#include -#include -#include - -QEvent* PythonQtWrapper_QEvent::new_QEvent(QEvent::Type type) -{ -return new PythonQtShell_QEvent(type); } - -void PythonQtWrapper_QEvent::accept(QEvent* theWrappedObject) -{ - ( theWrappedObject->accept()); -} - -QEvent::Type PythonQtWrapper_QEvent::type(QEvent* theWrappedObject) const -{ - return ( theWrappedObject->type()); -} - -void PythonQtWrapper_QEvent::setAccepted(QEvent* theWrappedObject, bool accepted) -{ - ( theWrappedObject->setAccepted(accepted)); -} - -void PythonQtWrapper_QEvent::ignore(QEvent* theWrappedObject) -{ - ( theWrappedObject->ignore()); -} - -int PythonQtWrapper_QEvent::static_QEvent_registerEventType(int hint) -{ - return (QEvent::registerEventType(hint)); -} - -bool PythonQtWrapper_QEvent::spontaneous(QEvent* theWrappedObject) const -{ - return ( theWrappedObject->spontaneous()); -} - -bool PythonQtWrapper_QEvent::isAccepted(QEvent* theWrappedObject) const -{ - return ( theWrappedObject->isAccepted()); -} - -QString PythonQtWrapper_QEvent::toString(QEvent* obj) { - QString result; - QDebug d(&result); - d << obj; - return result; -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QEvent.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QEvent.h deleted file mode 100644 index 1637f9b..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QEvent.h +++ /dev/null @@ -1,39 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QEVENT_H -#define PYTHONQTWRAPPER_QEVENT_H - -#include -#include - -#include - -#include - -class PythonQtShell_QEvent : public QEvent -{ -public: - PythonQtShell_QEvent(QEvent::Type type):QEvent(type),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QEvent : public QObject -{ Q_OBJECT -public: -Q_ENUMS(Type ) -enum Type{ - None = QEvent::None, Timer = QEvent::Timer, MouseButtonPress = QEvent::MouseButtonPress, MouseButtonRelease = QEvent::MouseButtonRelease, MouseButtonDblClick = QEvent::MouseButtonDblClick, MouseMove = QEvent::MouseMove, KeyPress = QEvent::KeyPress, KeyRelease = QEvent::KeyRelease, FocusIn = QEvent::FocusIn, FocusOut = QEvent::FocusOut, Enter = QEvent::Enter, Leave = QEvent::Leave, Paint = QEvent::Paint, Move = QEvent::Move, Resize = QEvent::Resize, Create = QEvent::Create, Destroy = QEvent::Destroy, Show = QEvent::Show, Hide = QEvent::Hide, Close = QEvent::Close, Quit = QEvent::Quit, ParentChange = QEvent::ParentChange, ParentAboutToChange = QEvent::ParentAboutToChange, ThreadChange = QEvent::ThreadChange, WindowActivate = QEvent::WindowActivate, WindowDeactivate = QEvent::WindowDeactivate, ShowToParent = QEvent::ShowToParent, HideToParent = QEvent::HideToParent, Wheel = QEvent::Wheel, WindowTitleChange = QEvent::WindowTitleChange, WindowIconChange = QEvent::WindowIconChange, ApplicationWindowIconChange = QEvent::ApplicationWindowIconChange, ApplicationFontChange = QEvent::ApplicationFontChange, ApplicationLayoutDirectionChange = QEvent::ApplicationLayoutDirectionChange, ApplicationPaletteChange = QEvent::ApplicationPaletteChange, PaletteChange = QEvent::PaletteChange, Clipboard = QEvent::Clipboard, Speech = QEvent::Speech, MetaCall = QEvent::MetaCall, SockAct = QEvent::SockAct, WinEventAct = QEvent::WinEventAct, DeferredDelete = QEvent::DeferredDelete, DragEnter = QEvent::DragEnter, DragMove = QEvent::DragMove, DragLeave = QEvent::DragLeave, Drop = QEvent::Drop, DragResponse = QEvent::DragResponse, ChildAdded = QEvent::ChildAdded, ChildPolished = QEvent::ChildPolished, ChildRemoved = QEvent::ChildRemoved, ShowWindowRequest = QEvent::ShowWindowRequest, PolishRequest = QEvent::PolishRequest, Polish = QEvent::Polish, LayoutRequest = QEvent::LayoutRequest, UpdateRequest = QEvent::UpdateRequest, UpdateLater = QEvent::UpdateLater, EmbeddingControl = QEvent::EmbeddingControl, ActivateControl = QEvent::ActivateControl, DeactivateControl = QEvent::DeactivateControl, ContextMenu = QEvent::ContextMenu, InputMethod = QEvent::InputMethod, AccessibilityPrepare = QEvent::AccessibilityPrepare, TabletMove = QEvent::TabletMove, LocaleChange = QEvent::LocaleChange, LanguageChange = QEvent::LanguageChange, LayoutDirectionChange = QEvent::LayoutDirectionChange, Style = QEvent::Style, TabletPress = QEvent::TabletPress, TabletRelease = QEvent::TabletRelease, OkRequest = QEvent::OkRequest, HelpRequest = QEvent::HelpRequest, IconDrag = QEvent::IconDrag, FontChange = QEvent::FontChange, EnabledChange = QEvent::EnabledChange, ActivationChange = QEvent::ActivationChange, StyleChange = QEvent::StyleChange, IconTextChange = QEvent::IconTextChange, ModifiedChange = QEvent::ModifiedChange, MouseTrackingChange = QEvent::MouseTrackingChange, WindowBlocked = QEvent::WindowBlocked, WindowUnblocked = QEvent::WindowUnblocked, WindowStateChange = QEvent::WindowStateChange, ToolTip = QEvent::ToolTip, WhatsThis = QEvent::WhatsThis, StatusTip = QEvent::StatusTip, ActionChanged = QEvent::ActionChanged, ActionAdded = QEvent::ActionAdded, ActionRemoved = QEvent::ActionRemoved, FileOpen = QEvent::FileOpen, Shortcut = QEvent::Shortcut, ShortcutOverride = QEvent::ShortcutOverride, WhatsThisClicked = QEvent::WhatsThisClicked, ToolBarChange = QEvent::ToolBarChange, ApplicationActivate = QEvent::ApplicationActivate, ApplicationActivated = QEvent::ApplicationActivated, ApplicationDeactivate = QEvent::ApplicationDeactivate, ApplicationDeactivated = QEvent::ApplicationDeactivated, QueryWhatsThis = QEvent::QueryWhatsThis, EnterWhatsThisMode = QEvent::EnterWhatsThisMode, LeaveWhatsThisMode = QEvent::LeaveWhatsThisMode, ZOrderChange = QEvent::ZOrderChange, HoverEnter = QEvent::HoverEnter, HoverLeave = QEvent::HoverLeave, HoverMove = QEvent::HoverMove, AccessibilityHelp = QEvent::AccessibilityHelp, AccessibilityDescription = QEvent::AccessibilityDescription, AcceptDropsChange = QEvent::AcceptDropsChange, MenubarUpdated = QEvent::MenubarUpdated, ZeroTimerEvent = QEvent::ZeroTimerEvent, GraphicsSceneMouseMove = QEvent::GraphicsSceneMouseMove, GraphicsSceneMousePress = QEvent::GraphicsSceneMousePress, GraphicsSceneMouseRelease = QEvent::GraphicsSceneMouseRelease, GraphicsSceneMouseDoubleClick = QEvent::GraphicsSceneMouseDoubleClick, GraphicsSceneContextMenu = QEvent::GraphicsSceneContextMenu, GraphicsSceneHoverEnter = QEvent::GraphicsSceneHoverEnter, GraphicsSceneHoverMove = QEvent::GraphicsSceneHoverMove, GraphicsSceneHoverLeave = QEvent::GraphicsSceneHoverLeave, GraphicsSceneHelp = QEvent::GraphicsSceneHelp, GraphicsSceneDragEnter = QEvent::GraphicsSceneDragEnter, GraphicsSceneDragMove = QEvent::GraphicsSceneDragMove, GraphicsSceneDragLeave = QEvent::GraphicsSceneDragLeave, GraphicsSceneDrop = QEvent::GraphicsSceneDrop, GraphicsSceneWheel = QEvent::GraphicsSceneWheel, KeyboardLayoutChange = QEvent::KeyboardLayoutChange, DynamicPropertyChange = QEvent::DynamicPropertyChange, TabletEnterProximity = QEvent::TabletEnterProximity, TabletLeaveProximity = QEvent::TabletLeaveProximity, NonClientAreaMouseMove = QEvent::NonClientAreaMouseMove, NonClientAreaMouseButtonPress = QEvent::NonClientAreaMouseButtonPress, NonClientAreaMouseButtonRelease = QEvent::NonClientAreaMouseButtonRelease, NonClientAreaMouseButtonDblClick = QEvent::NonClientAreaMouseButtonDblClick, MacSizeChange = QEvent::MacSizeChange, ContentsRectChange = QEvent::ContentsRectChange, MacGLWindowChange = QEvent::MacGLWindowChange, FutureCallOut = QEvent::FutureCallOut, GraphicsSceneResize = QEvent::GraphicsSceneResize, GraphicsSceneMove = QEvent::GraphicsSceneMove, CursorChange = QEvent::CursorChange, ToolTipChange = QEvent::ToolTipChange, NetworkReplyUpdated = QEvent::NetworkReplyUpdated, GrabMouse = QEvent::GrabMouse, UngrabMouse = QEvent::UngrabMouse, GrabKeyboard = QEvent::GrabKeyboard, UngrabKeyboard = QEvent::UngrabKeyboard, User = QEvent::User, MaxUser = QEvent::MaxUser}; -public slots: -QEvent* new_QEvent(QEvent::Type type); -void delete_QEvent(QEvent* obj) { delete obj; } - void accept(QEvent* theWrappedObject); - QEvent::Type type(QEvent* theWrappedObject) const; - void setAccepted(QEvent* theWrappedObject, bool accepted); - void ignore(QEvent* theWrappedObject); - int static_QEvent_registerEventType(int hint = -1); - bool spontaneous(QEvent* theWrappedObject) const; - bool isAccepted(QEvent* theWrappedObject) const; - QString toString(QEvent*); -}; - -#endif // PYTHONQTWRAPPER_QEVENT_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QEventLoop.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QEventLoop.cpp deleted file mode 100644 index 94bcfc1..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QEventLoop.cpp +++ /dev/null @@ -1,152 +0,0 @@ -#include "PythonQtWrapper_QEventLoop.h" - -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QEventLoop::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; - } -} - QEventLoop::childEvent(arg__1); -} -void PythonQtShell_QEventLoop::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; - } -} - QEventLoop::customEvent(arg__1); -} -bool PythonQtShell_QEventLoop::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QEventLoop::event(arg__1); -} -bool PythonQtShell_QEventLoop::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QEventLoop::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QEventLoop::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; - } -} - QEventLoop::timerEvent(arg__1); -} -QEventLoop* PythonQtWrapper_QEventLoop::new_QEventLoop(QObject* parent) -{ -return new PythonQtShell_QEventLoop(parent); } - -void PythonQtWrapper_QEventLoop::processEvents(QEventLoop* theWrappedObject, QEventLoop::ProcessEventsFlags flags, int maximumTime) -{ - ( theWrappedObject->processEvents(flags, maximumTime)); -} - -void PythonQtWrapper_QEventLoop::wakeUp(QEventLoop* theWrappedObject) -{ - ( theWrappedObject->wakeUp()); -} - -void PythonQtWrapper_QEventLoop::exit(QEventLoop* theWrappedObject, int returnCode) -{ - ( theWrappedObject->exit(returnCode)); -} - -int PythonQtWrapper_QEventLoop::exec(QEventLoop* theWrappedObject, QEventLoop::ProcessEventsFlags flags) -{ - return ( theWrappedObject->exec(flags)); -} - -bool PythonQtWrapper_QEventLoop::isRunning(QEventLoop* theWrappedObject) const -{ - return ( theWrappedObject->isRunning()); -} - -bool PythonQtWrapper_QEventLoop::processEvents(QEventLoop* theWrappedObject, QEventLoop::ProcessEventsFlags flags) -{ - return ( theWrappedObject->processEvents(flags)); -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QEventLoop.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QEventLoop.h deleted file mode 100644 index da1a58f..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QEventLoop.h +++ /dev/null @@ -1,48 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QEVENTLOOP_H -#define PYTHONQTWRAPPER_QEVENTLOOP_H - -#include -#include - -#include - -#include -#include -#include -#include -#include - -class PythonQtShell_QEventLoop : public QEventLoop -{ -public: - PythonQtShell_QEventLoop(QObject* parent = 0):QEventLoop(parent),_wrapper(NULL) {}; - -virtual void childEvent(QChildEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QEventLoop : public QObject -{ Q_OBJECT -public: -Q_ENUMS(ProcessEventsFlag ) -Q_FLAGS(ProcessEventsFlags ) -enum ProcessEventsFlag{ - AllEvents = QEventLoop::AllEvents, ExcludeUserInputEvents = QEventLoop::ExcludeUserInputEvents, ExcludeSocketNotifiers = QEventLoop::ExcludeSocketNotifiers, WaitForMoreEvents = QEventLoop::WaitForMoreEvents, X11ExcludeTimers = QEventLoop::X11ExcludeTimers, DeferredDeletion = QEventLoop::DeferredDeletion}; -Q_DECLARE_FLAGS(ProcessEventsFlags, ProcessEventsFlag) -public slots: -QEventLoop* new_QEventLoop(QObject* parent = 0); -void delete_QEventLoop(QEventLoop* obj) { delete obj; } - void processEvents(QEventLoop* theWrappedObject, QEventLoop::ProcessEventsFlags flags, int maximumTime); - void wakeUp(QEventLoop* theWrappedObject); - void exit(QEventLoop* theWrappedObject, int returnCode = 0); - int exec(QEventLoop* theWrappedObject, QEventLoop::ProcessEventsFlags flags = QEventLoop::AllEvents); - bool isRunning(QEventLoop* theWrappedObject) const; - bool processEvents(QEventLoop* theWrappedObject, QEventLoop::ProcessEventsFlags flags = QEventLoop::AllEvents); -}; - -#endif // PYTHONQTWRAPPER_QEVENTLOOP_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QFile.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QFile.cpp deleted file mode 100644 index 5b740dd..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QFile.cpp +++ /dev/null @@ -1,785 +0,0 @@ -#include "PythonQtWrapper_QFile.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -bool PythonQtShell_QFile::atEnd() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "atEnd"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFile::atEnd(); -} -qint64 PythonQtShell_QFile::bytesAvailable() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "bytesAvailable"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFile::bytesAvailable(); -} -qint64 PythonQtShell_QFile::bytesToWrite() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "bytesToWrite"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFile::bytesToWrite(); -} -bool PythonQtShell_QFile::canReadLine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "canReadLine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFile::canReadLine(); -} -void PythonQtShell_QFile::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; - } -} - QFile::childEvent(arg__1); -} -void PythonQtShell_QFile::close() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "close"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QFile::close(); -} -void PythonQtShell_QFile::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; - } -} - QFile::customEvent(arg__1); -} -bool PythonQtShell_QFile::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFile::event(arg__1); -} -bool PythonQtShell_QFile::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFile::eventFilter(arg__1, arg__2); -} -QAbstractFileEngine* PythonQtShell_QFile::fileEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "fileEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QAbstractFileEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QAbstractFileEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("fileEngine", methodInfo, result); - } else { - returnValue = *((QAbstractFileEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFile::fileEngine(); -} -bool PythonQtShell_QFile::isSequential() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isSequential"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFile::isSequential(); -} -bool PythonQtShell_QFile::open(QIODevice::OpenMode flags) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "open"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&flags}; - 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("open", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFile::open(flags); -} -qint64 PythonQtShell_QFile::pos() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "pos"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFile::pos(); -} -qint64 PythonQtShell_QFile::readData(char* data, qint64 maxlen) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "readData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - 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}; - 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("readData", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFile::readData(data, maxlen); -} -qint64 PythonQtShell_QFile::readLineData(char* data, qint64 maxlen) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "readLineData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - 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}; - 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("readLineData", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFile::readLineData(data, maxlen); -} -bool PythonQtShell_QFile::reset() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reset"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFile::reset(); -} -bool PythonQtShell_QFile::seek(qint64 offset) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "seek"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&offset}; - 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("seek", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFile::seek(offset); -} -qint64 PythonQtShell_QFile::size() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "size"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFile::size(); -} -void PythonQtShell_QFile::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; - } -} - QFile::timerEvent(arg__1); -} -bool PythonQtShell_QFile::waitForBytesWritten(int msecs) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "waitForBytesWritten"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&msecs}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("waitForBytesWritten", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFile::waitForBytesWritten(msecs); -} -bool PythonQtShell_QFile::waitForReadyRead(int msecs) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "waitForReadyRead"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&msecs}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("waitForReadyRead", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFile::waitForReadyRead(msecs); -} -qint64 PythonQtShell_QFile::writeData(const char* data, qint64 len) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "writeData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - 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}; - 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("writeData", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFile::writeData(data, len); -} -QFile* PythonQtWrapper_QFile::new_QFile() -{ -return new PythonQtShell_QFile(); } - -QFile* PythonQtWrapper_QFile::new_QFile(QObject* parent) -{ -return new PythonQtShell_QFile(parent); } - -QFile* PythonQtWrapper_QFile::new_QFile(const QString& name) -{ -return new PythonQtShell_QFile(name); } - -QFile* PythonQtWrapper_QFile::new_QFile(const QString& name, QObject* parent) -{ -return new PythonQtShell_QFile(name, parent); } - -QByteArray PythonQtWrapper_QFile::static_QFile_encodeName(const QString& fileName) -{ - return (QFile::encodeName(fileName)); -} - -void PythonQtWrapper_QFile::unsetError(QFile* theWrappedObject) -{ - ( theWrappedObject->unsetError()); -} - -QFile::FileError PythonQtWrapper_QFile::error(QFile* theWrappedObject) const -{ - return ( theWrappedObject->error()); -} - -QAbstractFileEngine* PythonQtWrapper_QFile::fileEngine(QFile* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QFile*)theWrappedObject)->promoted_fileEngine()); -} - -qint64 PythonQtWrapper_QFile::pos(QFile* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QFile*)theWrappedObject)->promoted_pos()); -} - -bool PythonQtWrapper_QFile::static_QFile_rename(const QString& oldName, const QString& newName) -{ - return (QFile::rename(oldName, newName)); -} - -void PythonQtWrapper_QFile::close(QFile* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QFile*)theWrappedObject)->promoted_close()); -} - -bool PythonQtWrapper_QFile::isSequential(QFile* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QFile*)theWrappedObject)->promoted_isSequential()); -} - -bool PythonQtWrapper_QFile::remove(QFile* theWrappedObject) -{ - return ( theWrappedObject->remove()); -} - -bool PythonQtWrapper_QFile::setPermissions(QFile* theWrappedObject, QFile::Permissions permissionSpec) -{ - return ( theWrappedObject->setPermissions(permissionSpec)); -} - -bool PythonQtWrapper_QFile::static_QFile_remove(const QString& fileName) -{ - return (QFile::remove(fileName)); -} - -void PythonQtWrapper_QFile::setFileName(QFile* theWrappedObject, const QString& name) -{ - ( theWrappedObject->setFileName(name)); -} - -bool PythonQtWrapper_QFile::static_QFile_exists(const QString& fileName) -{ - return (QFile::exists(fileName)); -} - -bool PythonQtWrapper_QFile::static_QFile_link(const QString& oldname, const QString& newName) -{ - return (QFile::link(oldname, newName)); -} - -QString PythonQtWrapper_QFile::static_QFile_decodeName(const QByteArray& localFileName) -{ - return (QFile::decodeName(localFileName)); -} - -bool PythonQtWrapper_QFile::atEnd(QFile* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QFile*)theWrappedObject)->promoted_atEnd()); -} - -QString PythonQtWrapper_QFile::static_QFile_symLinkTarget(const QString& fileName) -{ - return (QFile::symLinkTarget(fileName)); -} - -qint64 PythonQtWrapper_QFile::size(QFile* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QFile*)theWrappedObject)->promoted_size()); -} - -bool PythonQtWrapper_QFile::static_QFile_setPermissions(const QString& filename, QFile::Permissions permissionSpec) -{ - return (QFile::setPermissions(filename, permissionSpec)); -} - -qint64 PythonQtWrapper_QFile::readLineData(QFile* theWrappedObject, char* data, qint64 maxlen) -{ - return ( ((PythonQtPublicPromoter_QFile*)theWrappedObject)->promoted_readLineData(data, maxlen)); -} - -int PythonQtWrapper_QFile::handle(QFile* theWrappedObject) const -{ - return ( theWrappedObject->handle()); -} - -QString PythonQtWrapper_QFile::symLinkTarget(QFile* theWrappedObject) const -{ - return ( theWrappedObject->symLinkTarget()); -} - -qint64 PythonQtWrapper_QFile::writeData(QFile* theWrappedObject, const char* data, qint64 len) -{ - return ( ((PythonQtPublicPromoter_QFile*)theWrappedObject)->promoted_writeData(data, len)); -} - -bool PythonQtWrapper_QFile::link(QFile* theWrappedObject, const QString& newName) -{ - return ( theWrappedObject->link(newName)); -} - -QString PythonQtWrapper_QFile::fileName(QFile* theWrappedObject) const -{ - return ( theWrappedObject->fileName()); -} - -bool PythonQtWrapper_QFile::static_QFile_copy(const QString& fileName, const QString& newName) -{ - return (QFile::copy(fileName, newName)); -} - -bool PythonQtWrapper_QFile::seek(QFile* theWrappedObject, qint64 offset) -{ - return ( ((PythonQtPublicPromoter_QFile*)theWrappedObject)->promoted_seek(offset)); -} - -bool PythonQtWrapper_QFile::copy(QFile* theWrappedObject, const QString& newName) -{ - return ( theWrappedObject->copy(newName)); -} - -QFile::Permissions PythonQtWrapper_QFile::static_QFile_permissions(const QString& filename) -{ - return (QFile::permissions(filename)); -} - -qint64 PythonQtWrapper_QFile::readData(QFile* theWrappedObject, char* data, qint64 maxlen) -{ - return ( ((PythonQtPublicPromoter_QFile*)theWrappedObject)->promoted_readData(data, maxlen)); -} - -bool PythonQtWrapper_QFile::flush(QFile* theWrappedObject) -{ - return ( theWrappedObject->flush()); -} - -bool PythonQtWrapper_QFile::resize(QFile* theWrappedObject, qint64 sz) -{ - return ( theWrappedObject->resize(sz)); -} - -QFile::Permissions PythonQtWrapper_QFile::permissions(QFile* theWrappedObject) const -{ - return ( theWrappedObject->permissions()); -} - -bool PythonQtWrapper_QFile::static_QFile_resize(const QString& filename, qint64 sz) -{ - return (QFile::resize(filename, sz)); -} - -bool PythonQtWrapper_QFile::exists(QFile* theWrappedObject) const -{ - return ( theWrappedObject->exists()); -} - -bool PythonQtWrapper_QFile::open(QFile* theWrappedObject, QIODevice::OpenMode flags) -{ - return ( ((PythonQtPublicPromoter_QFile*)theWrappedObject)->promoted_open(flags)); -} - -bool PythonQtWrapper_QFile::rename(QFile* theWrappedObject, const QString& newName) -{ - return ( theWrappedObject->rename(newName)); -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QFile.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QFile.h deleted file mode 100644 index c4d5d1f..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QFile.h +++ /dev/null @@ -1,122 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QFILE_H -#define PYTHONQTWRAPPER_QFILE_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QFile : public QFile -{ -public: - PythonQtShell_QFile():QFile(),_wrapper(NULL) {}; - PythonQtShell_QFile(QObject* parent):QFile(parent),_wrapper(NULL) {}; - PythonQtShell_QFile(const QString& name):QFile(name),_wrapper(NULL) {}; - PythonQtShell_QFile(const QString& name, QObject* parent):QFile(name, parent),_wrapper(NULL) {}; - -virtual bool atEnd() const; -virtual qint64 bytesAvailable() const; -virtual qint64 bytesToWrite() const; -virtual bool canReadLine() const; -virtual void childEvent(QChildEvent* arg__1); -virtual void close(); -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual QAbstractFileEngine* fileEngine() const; -virtual bool isSequential() const; -virtual bool open(QIODevice::OpenMode flags); -virtual qint64 pos() const; -virtual qint64 readData(char* data, qint64 maxlen); -virtual qint64 readLineData(char* data, qint64 maxlen); -virtual bool reset(); -virtual bool seek(qint64 offset); -virtual qint64 size() const; -virtual void timerEvent(QTimerEvent* arg__1); -virtual bool waitForBytesWritten(int msecs); -virtual bool waitForReadyRead(int msecs); -virtual qint64 writeData(const char* data, qint64 len); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QFile : public QFile -{ public: -inline QAbstractFileEngine* promoted_fileEngine() const { return QFile::fileEngine(); } -inline qint64 promoted_pos() const { return QFile::pos(); } -inline void promoted_close() { QFile::close(); } -inline bool promoted_isSequential() const { return QFile::isSequential(); } -inline bool promoted_atEnd() const { return QFile::atEnd(); } -inline qint64 promoted_size() const { return QFile::size(); } -inline qint64 promoted_readLineData(char* data, qint64 maxlen) { return QFile::readLineData(data, maxlen); } -inline qint64 promoted_writeData(const char* data, qint64 len) { return QFile::writeData(data, len); } -inline bool promoted_seek(qint64 offset) { return QFile::seek(offset); } -inline qint64 promoted_readData(char* data, qint64 maxlen) { return QFile::readData(data, maxlen); } -inline bool promoted_open(QIODevice::OpenMode flags) { return QFile::open(flags); } -}; - -class PythonQtWrapper_QFile : public QObject -{ Q_OBJECT -public: -Q_ENUMS(FileError MemoryMapFlags Permission ) -Q_FLAGS(Permissions ) -enum FileError{ - NoError = QFile::NoError, ReadError = QFile::ReadError, WriteError = QFile::WriteError, FatalError = QFile::FatalError, ResourceError = QFile::ResourceError, OpenError = QFile::OpenError, AbortError = QFile::AbortError, TimeOutError = QFile::TimeOutError, UnspecifiedError = QFile::UnspecifiedError, RemoveError = QFile::RemoveError, RenameError = QFile::RenameError, PositionError = QFile::PositionError, ResizeError = QFile::ResizeError, PermissionsError = QFile::PermissionsError, CopyError = QFile::CopyError}; -enum MemoryMapFlags{ - NoOptions = QFile::NoOptions}; -enum Permission{ - ReadOwner = QFile::ReadOwner, WriteOwner = QFile::WriteOwner, ExeOwner = QFile::ExeOwner, ReadUser = QFile::ReadUser, WriteUser = QFile::WriteUser, ExeUser = QFile::ExeUser, ReadGroup = QFile::ReadGroup, WriteGroup = QFile::WriteGroup, ExeGroup = QFile::ExeGroup, ReadOther = QFile::ReadOther, WriteOther = QFile::WriteOther, ExeOther = QFile::ExeOther}; -Q_DECLARE_FLAGS(Permissions, Permission) -public slots: -QFile* new_QFile(); -QFile* new_QFile(QObject* parent); -QFile* new_QFile(const QString& name); -QFile* new_QFile(const QString& name, QObject* parent); -void delete_QFile(QFile* obj) { delete obj; } - QByteArray static_QFile_encodeName(const QString& fileName); - void unsetError(QFile* theWrappedObject); - QFile::FileError error(QFile* theWrappedObject) const; - QAbstractFileEngine* fileEngine(QFile* theWrappedObject) const; - qint64 pos(QFile* theWrappedObject) const; - bool static_QFile_rename(const QString& oldName, const QString& newName); - void close(QFile* theWrappedObject); - bool isSequential(QFile* theWrappedObject) const; - bool remove(QFile* theWrappedObject); - bool setPermissions(QFile* theWrappedObject, QFile::Permissions permissionSpec); - bool static_QFile_remove(const QString& fileName); - void setFileName(QFile* theWrappedObject, const QString& name); - bool static_QFile_exists(const QString& fileName); - bool static_QFile_link(const QString& oldname, const QString& newName); - QString static_QFile_decodeName(const QByteArray& localFileName); - bool atEnd(QFile* theWrappedObject) const; - QString static_QFile_symLinkTarget(const QString& fileName); - qint64 size(QFile* theWrappedObject) const; - bool static_QFile_setPermissions(const QString& filename, QFile::Permissions permissionSpec); - qint64 readLineData(QFile* theWrappedObject, char* data, qint64 maxlen); - int handle(QFile* theWrappedObject) const; - QString symLinkTarget(QFile* theWrappedObject) const; - qint64 writeData(QFile* theWrappedObject, const char* data, qint64 len); - bool link(QFile* theWrappedObject, const QString& newName); - QString fileName(QFile* theWrappedObject) const; - bool static_QFile_copy(const QString& fileName, const QString& newName); - bool seek(QFile* theWrappedObject, qint64 offset); - bool copy(QFile* theWrappedObject, const QString& newName); - QFile::Permissions static_QFile_permissions(const QString& filename); - qint64 readData(QFile* theWrappedObject, char* data, qint64 maxlen); - bool flush(QFile* theWrappedObject); - bool resize(QFile* theWrappedObject, qint64 sz); - QFile::Permissions permissions(QFile* theWrappedObject) const; - bool static_QFile_resize(const QString& filename, qint64 sz); - bool exists(QFile* theWrappedObject) const; - bool open(QFile* theWrappedObject, QIODevice::OpenMode flags); - bool rename(QFile* theWrappedObject, const QString& newName); -}; - -#endif // PYTHONQTWRAPPER_QFILE_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QFileInfo.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QFileInfo.cpp deleted file mode 100644 index e251248..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QFileInfo.cpp +++ /dev/null @@ -1,258 +0,0 @@ -#include "PythonQtWrapper_QFileInfo.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QFileInfo* PythonQtWrapper_QFileInfo::new_QFileInfo() -{ -return new QFileInfo(); } - -QFileInfo* PythonQtWrapper_QFileInfo::new_QFileInfo(const QDir& dir, const QString& file) -{ -return new QFileInfo(dir, file); } - -QFileInfo* PythonQtWrapper_QFileInfo::new_QFileInfo(const QFile& file) -{ -return new QFileInfo(file); } - -QFileInfo* PythonQtWrapper_QFileInfo::new_QFileInfo(const QFileInfo& fileinfo) -{ -return new QFileInfo(fileinfo); } - -QFileInfo* PythonQtWrapper_QFileInfo::new_QFileInfo(const QString& file) -{ -return new QFileInfo(file); } - -QString PythonQtWrapper_QFileInfo::absoluteFilePath(QFileInfo* theWrappedObject) const -{ - return ( theWrappedObject->absoluteFilePath()); -} - -bool PythonQtWrapper_QFileInfo::isExecutable(QFileInfo* theWrappedObject) const -{ - return ( theWrappedObject->isExecutable()); -} - -QString PythonQtWrapper_QFileInfo::suffix(QFileInfo* theWrappedObject) const -{ - return ( theWrappedObject->suffix()); -} - -void PythonQtWrapper_QFileInfo::setFile(QFileInfo* theWrappedObject, const QDir& dir, const QString& file) -{ - ( theWrappedObject->setFile(dir, file)); -} - -QString PythonQtWrapper_QFileInfo::bundleName(QFileInfo* theWrappedObject) const -{ - return ( theWrappedObject->bundleName()); -} - -bool PythonQtWrapper_QFileInfo::isDir(QFileInfo* theWrappedObject) const -{ - return ( theWrappedObject->isDir()); -} - -QFile::Permissions PythonQtWrapper_QFileInfo::permissions(QFileInfo* theWrappedObject) const -{ - return ( theWrappedObject->permissions()); -} - -void PythonQtWrapper_QFileInfo::setFile(QFileInfo* theWrappedObject, const QFile& file) -{ - ( theWrappedObject->setFile(file)); -} - -QDir PythonQtWrapper_QFileInfo::absoluteDir(QFileInfo* theWrappedObject) const -{ - return ( theWrappedObject->absoluteDir()); -} - -QString PythonQtWrapper_QFileInfo::owner(QFileInfo* theWrappedObject) const -{ - return ( theWrappedObject->owner()); -} - -void PythonQtWrapper_QFileInfo::setCaching(QFileInfo* theWrappedObject, bool on) -{ - ( theWrappedObject->setCaching(on)); -} - -bool PythonQtWrapper_QFileInfo::isHidden(QFileInfo* theWrappedObject) const -{ - return ( theWrappedObject->isHidden()); -} - -QDir PythonQtWrapper_QFileInfo::dir(QFileInfo* theWrappedObject) const -{ - return ( theWrappedObject->dir()); -} - -uint PythonQtWrapper_QFileInfo::ownerId(QFileInfo* theWrappedObject) const -{ - return ( theWrappedObject->ownerId()); -} - -QString PythonQtWrapper_QFileInfo::baseName(QFileInfo* theWrappedObject) const -{ - return ( theWrappedObject->baseName()); -} - -QString PythonQtWrapper_QFileInfo::fileName(QFileInfo* theWrappedObject) const -{ - return ( theWrappedObject->fileName()); -} - -bool PythonQtWrapper_QFileInfo::isSymLink(QFileInfo* theWrappedObject) const -{ - return ( theWrappedObject->isSymLink()); -} - -QDateTime PythonQtWrapper_QFileInfo::created(QFileInfo* theWrappedObject) const -{ - return ( theWrappedObject->created()); -} - -QString PythonQtWrapper_QFileInfo::canonicalPath(QFileInfo* theWrappedObject) const -{ - return ( theWrappedObject->canonicalPath()); -} - -uint PythonQtWrapper_QFileInfo::groupId(QFileInfo* theWrappedObject) const -{ - return ( theWrappedObject->groupId()); -} - -bool PythonQtWrapper_QFileInfo::isRoot(QFileInfo* theWrappedObject) const -{ - return ( theWrappedObject->isRoot()); -} - -bool PythonQtWrapper_QFileInfo::caching(QFileInfo* theWrappedObject) const -{ - return ( theWrappedObject->caching()); -} - -void PythonQtWrapper_QFileInfo::refresh(QFileInfo* theWrappedObject) -{ - ( theWrappedObject->refresh()); -} - -QString PythonQtWrapper_QFileInfo::absolutePath(QFileInfo* theWrappedObject) const -{ - return ( theWrappedObject->absolutePath()); -} - -QDateTime PythonQtWrapper_QFileInfo::lastModified(QFileInfo* theWrappedObject) const -{ - return ( theWrappedObject->lastModified()); -} - -qint64 PythonQtWrapper_QFileInfo::size(QFileInfo* theWrappedObject) const -{ - return ( theWrappedObject->size()); -} - -bool PythonQtWrapper_QFileInfo::isBundle(QFileInfo* theWrappedObject) const -{ - return ( theWrappedObject->isBundle()); -} - -QString PythonQtWrapper_QFileInfo::symLinkTarget(QFileInfo* theWrappedObject) const -{ - return ( theWrappedObject->symLinkTarget()); -} - -bool PythonQtWrapper_QFileInfo::isFile(QFileInfo* theWrappedObject) const -{ - return ( theWrappedObject->isFile()); -} - -bool PythonQtWrapper_QFileInfo::isRelative(QFileInfo* theWrappedObject) const -{ - return ( theWrappedObject->isRelative()); -} - -bool PythonQtWrapper_QFileInfo::isReadable(QFileInfo* theWrappedObject) const -{ - return ( theWrappedObject->isReadable()); -} - -bool PythonQtWrapper_QFileInfo::isWritable(QFileInfo* theWrappedObject) const -{ - return ( theWrappedObject->isWritable()); -} - -QString PythonQtWrapper_QFileInfo::canonicalFilePath(QFileInfo* theWrappedObject) const -{ - return ( theWrappedObject->canonicalFilePath()); -} - -bool PythonQtWrapper_QFileInfo::isAbsolute(QFileInfo* theWrappedObject) const -{ - return ( theWrappedObject->isAbsolute()); -} - -bool PythonQtWrapper_QFileInfo::exists(QFileInfo* theWrappedObject) const -{ - return ( theWrappedObject->exists()); -} - -QString PythonQtWrapper_QFileInfo::filePath(QFileInfo* theWrappedObject) const -{ - return ( theWrappedObject->filePath()); -} - -bool PythonQtWrapper_QFileInfo::operator_equal(QFileInfo* theWrappedObject, const QFileInfo& fileinfo) -{ - return ( (*theWrappedObject)== fileinfo); -} - -bool PythonQtWrapper_QFileInfo::makeAbsolute(QFileInfo* theWrappedObject) -{ - return ( theWrappedObject->makeAbsolute()); -} - -QString PythonQtWrapper_QFileInfo::group(QFileInfo* theWrappedObject) const -{ - return ( theWrappedObject->group()); -} - -bool PythonQtWrapper_QFileInfo::permission(QFileInfo* theWrappedObject, QFile::Permissions permissions) const -{ - return ( theWrappedObject->permission(permissions)); -} - -QDateTime PythonQtWrapper_QFileInfo::lastRead(QFileInfo* theWrappedObject) const -{ - return ( theWrappedObject->lastRead()); -} - -QString PythonQtWrapper_QFileInfo::completeSuffix(QFileInfo* theWrappedObject) const -{ - return ( theWrappedObject->completeSuffix()); -} - -void PythonQtWrapper_QFileInfo::setFile(QFileInfo* theWrappedObject, const QString& file) -{ - ( theWrappedObject->setFile(file)); -} - -QString PythonQtWrapper_QFileInfo::completeBaseName(QFileInfo* theWrappedObject) const -{ - return ( theWrappedObject->completeBaseName()); -} - -QString PythonQtWrapper_QFileInfo::path(QFileInfo* theWrappedObject) const -{ - return ( theWrappedObject->path()); -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QFileInfo.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QFileInfo.h deleted file mode 100644 index 2956a7c..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QFileInfo.h +++ /dev/null @@ -1,74 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QFILEINFO_H -#define PYTHONQTWRAPPER_QFILEINFO_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include - -class PythonQtWrapper_QFileInfo : public QObject -{ Q_OBJECT -public: -public slots: -QFileInfo* new_QFileInfo(); -QFileInfo* new_QFileInfo(const QDir& dir, const QString& file); -QFileInfo* new_QFileInfo(const QFile& file); -QFileInfo* new_QFileInfo(const QFileInfo& fileinfo); -QFileInfo* new_QFileInfo(const QString& file); -void delete_QFileInfo(QFileInfo* obj) { delete obj; } - QString absoluteFilePath(QFileInfo* theWrappedObject) const; - bool isExecutable(QFileInfo* theWrappedObject) const; - QString suffix(QFileInfo* theWrappedObject) const; - void setFile(QFileInfo* theWrappedObject, const QDir& dir, const QString& file); - QString bundleName(QFileInfo* theWrappedObject) const; - bool isDir(QFileInfo* theWrappedObject) const; - QFile::Permissions permissions(QFileInfo* theWrappedObject) const; - void setFile(QFileInfo* theWrappedObject, const QFile& file); - QDir absoluteDir(QFileInfo* theWrappedObject) const; - QString owner(QFileInfo* theWrappedObject) const; - void setCaching(QFileInfo* theWrappedObject, bool on); - bool isHidden(QFileInfo* theWrappedObject) const; - QDir dir(QFileInfo* theWrappedObject) const; - uint ownerId(QFileInfo* theWrappedObject) const; - QString baseName(QFileInfo* theWrappedObject) const; - QString fileName(QFileInfo* theWrappedObject) const; - bool isSymLink(QFileInfo* theWrappedObject) const; - QDateTime created(QFileInfo* theWrappedObject) const; - QString canonicalPath(QFileInfo* theWrappedObject) const; - uint groupId(QFileInfo* theWrappedObject) const; - bool isRoot(QFileInfo* theWrappedObject) const; - bool caching(QFileInfo* theWrappedObject) const; - void refresh(QFileInfo* theWrappedObject); - QString absolutePath(QFileInfo* theWrappedObject) const; - QDateTime lastModified(QFileInfo* theWrappedObject) const; - qint64 size(QFileInfo* theWrappedObject) const; - bool isBundle(QFileInfo* theWrappedObject) const; - QString symLinkTarget(QFileInfo* theWrappedObject) const; - bool isFile(QFileInfo* theWrappedObject) const; - bool isRelative(QFileInfo* theWrappedObject) const; - bool isReadable(QFileInfo* theWrappedObject) const; - bool isWritable(QFileInfo* theWrappedObject) const; - QString canonicalFilePath(QFileInfo* theWrappedObject) const; - bool isAbsolute(QFileInfo* theWrappedObject) const; - bool exists(QFileInfo* theWrappedObject) const; - QString filePath(QFileInfo* theWrappedObject) const; - bool operator_equal(QFileInfo* theWrappedObject, const QFileInfo& fileinfo); - bool makeAbsolute(QFileInfo* theWrappedObject); - QString group(QFileInfo* theWrappedObject) const; - bool permission(QFileInfo* theWrappedObject, QFile::Permissions permissions) const; - QDateTime lastRead(QFileInfo* theWrappedObject) const; - QString completeSuffix(QFileInfo* theWrappedObject) const; - void setFile(QFileInfo* theWrappedObject, const QString& file); - QString completeBaseName(QFileInfo* theWrappedObject) const; - QString path(QFileInfo* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QFILEINFO_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QFileSystemWatcher.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QFileSystemWatcher.cpp deleted file mode 100644 index 86a6064..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QFileSystemWatcher.cpp +++ /dev/null @@ -1,158 +0,0 @@ -#include "PythonQtWrapper_QFileSystemWatcher.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QFileSystemWatcher::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; - } -} - QFileSystemWatcher::childEvent(arg__1); -} -void PythonQtShell_QFileSystemWatcher::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; - } -} - QFileSystemWatcher::customEvent(arg__1); -} -bool PythonQtShell_QFileSystemWatcher::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFileSystemWatcher::event(arg__1); -} -bool PythonQtShell_QFileSystemWatcher::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFileSystemWatcher::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QFileSystemWatcher::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; - } -} - QFileSystemWatcher::timerEvent(arg__1); -} -QFileSystemWatcher* PythonQtWrapper_QFileSystemWatcher::new_QFileSystemWatcher(QObject* parent) -{ -return new PythonQtShell_QFileSystemWatcher(parent); } - -QFileSystemWatcher* PythonQtWrapper_QFileSystemWatcher::new_QFileSystemWatcher(const QStringList& paths, QObject* parent) -{ -return new PythonQtShell_QFileSystemWatcher(paths, parent); } - -void PythonQtWrapper_QFileSystemWatcher::removePaths(QFileSystemWatcher* theWrappedObject, const QStringList& files) -{ - ( theWrappedObject->removePaths(files)); -} - -void PythonQtWrapper_QFileSystemWatcher::addPaths(QFileSystemWatcher* theWrappedObject, const QStringList& files) -{ - ( theWrappedObject->addPaths(files)); -} - -QStringList PythonQtWrapper_QFileSystemWatcher::directories(QFileSystemWatcher* theWrappedObject) const -{ - return ( theWrappedObject->directories()); -} - -QStringList PythonQtWrapper_QFileSystemWatcher::files(QFileSystemWatcher* theWrappedObject) const -{ - return ( theWrappedObject->files()); -} - -void PythonQtWrapper_QFileSystemWatcher::removePath(QFileSystemWatcher* theWrappedObject, const QString& file) -{ - ( theWrappedObject->removePath(file)); -} - -void PythonQtWrapper_QFileSystemWatcher::addPath(QFileSystemWatcher* theWrappedObject, const QString& file) -{ - ( theWrappedObject->addPath(file)); -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QFileSystemWatcher.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QFileSystemWatcher.h deleted file mode 100644 index d037e4d..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QFileSystemWatcher.h +++ /dev/null @@ -1,47 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QFILESYSTEMWATCHER_H -#define PYTHONQTWRAPPER_QFILESYSTEMWATCHER_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QFileSystemWatcher : public QFileSystemWatcher -{ -public: - PythonQtShell_QFileSystemWatcher(QObject* parent = 0):QFileSystemWatcher(parent),_wrapper(NULL) {}; - PythonQtShell_QFileSystemWatcher(const QStringList& paths, QObject* parent = 0):QFileSystemWatcher(paths, parent),_wrapper(NULL) {}; - -virtual void childEvent(QChildEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QFileSystemWatcher : public QObject -{ Q_OBJECT -public: -public slots: -QFileSystemWatcher* new_QFileSystemWatcher(QObject* parent = 0); -QFileSystemWatcher* new_QFileSystemWatcher(const QStringList& paths, QObject* parent = 0); -void delete_QFileSystemWatcher(QFileSystemWatcher* obj) { delete obj; } - void removePaths(QFileSystemWatcher* theWrappedObject, const QStringList& files); - void addPaths(QFileSystemWatcher* theWrappedObject, const QStringList& files); - QStringList directories(QFileSystemWatcher* theWrappedObject) const; - QStringList files(QFileSystemWatcher* theWrappedObject) const; - void removePath(QFileSystemWatcher* theWrappedObject, const QString& file); - void addPath(QFileSystemWatcher* theWrappedObject, const QString& file); -}; - -#endif // PYTHONQTWRAPPER_QFILESYSTEMWATCHER_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QIODevice.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QIODevice.cpp deleted file mode 100644 index a996162..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QIODevice.cpp +++ /dev/null @@ -1,711 +0,0 @@ -#include "PythonQtWrapper_QIODevice.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -bool PythonQtShell_QIODevice::atEnd() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "atEnd"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QIODevice::atEnd(); -} -qint64 PythonQtShell_QIODevice::bytesAvailable() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "bytesAvailable"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QIODevice::bytesAvailable(); -} -qint64 PythonQtShell_QIODevice::bytesToWrite() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "bytesToWrite"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QIODevice::bytesToWrite(); -} -bool PythonQtShell_QIODevice::canReadLine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "canReadLine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QIODevice::canReadLine(); -} -void PythonQtShell_QIODevice::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; - } -} - QIODevice::childEvent(arg__1); -} -void PythonQtShell_QIODevice::close() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "close"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QIODevice::close(); -} -void PythonQtShell_QIODevice::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; - } -} - QIODevice::customEvent(arg__1); -} -bool PythonQtShell_QIODevice::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QIODevice::event(arg__1); -} -bool PythonQtShell_QIODevice::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QIODevice::eventFilter(arg__1, arg__2); -} -bool PythonQtShell_QIODevice::isSequential() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isSequential"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QIODevice::isSequential(); -} -bool PythonQtShell_QIODevice::open(QIODevice::OpenMode mode) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "open"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&mode}; - 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("open", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QIODevice::open(mode); -} -qint64 PythonQtShell_QIODevice::pos() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "pos"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QIODevice::pos(); -} -qint64 PythonQtShell_QIODevice::readData(char* data, qint64 maxlen) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "readData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - 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}; - 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("readData", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - qint64 result; -return result; -} -qint64 PythonQtShell_QIODevice::readLineData(char* data, qint64 maxlen) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "readLineData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - 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}; - 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("readLineData", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QIODevice::readLineData(data, maxlen); -} -bool PythonQtShell_QIODevice::reset() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reset"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QIODevice::reset(); -} -bool PythonQtShell_QIODevice::seek(qint64 pos) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "seek"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&pos}; - 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("seek", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QIODevice::seek(pos); -} -qint64 PythonQtShell_QIODevice::size() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "size"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QIODevice::size(); -} -void PythonQtShell_QIODevice::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; - } -} - QIODevice::timerEvent(arg__1); -} -bool PythonQtShell_QIODevice::waitForBytesWritten(int msecs) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "waitForBytesWritten"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&msecs}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("waitForBytesWritten", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QIODevice::waitForBytesWritten(msecs); -} -bool PythonQtShell_QIODevice::waitForReadyRead(int msecs) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "waitForReadyRead"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&msecs}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("waitForReadyRead", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QIODevice::waitForReadyRead(msecs); -} -qint64 PythonQtShell_QIODevice::writeData(const char* data, qint64 len) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "writeData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - 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}; - 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("writeData", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - qint64 result; -return result; -} -QIODevice* PythonQtWrapper_QIODevice::new_QIODevice() -{ -return new PythonQtShell_QIODevice(); } - -QIODevice* PythonQtWrapper_QIODevice::new_QIODevice(QObject* parent) -{ -return new PythonQtShell_QIODevice(parent); } - -qint64 PythonQtWrapper_QIODevice::readLineData(QIODevice* theWrappedObject, char* data, qint64 maxlen) -{ - return ( ((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->promoted_readLineData(data, maxlen)); -} - -bool PythonQtWrapper_QIODevice::isOpen(QIODevice* theWrappedObject) const -{ - return ( theWrappedObject->isOpen()); -} - -void PythonQtWrapper_QIODevice::close(QIODevice* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->promoted_close()); -} - -qint64 PythonQtWrapper_QIODevice::bytesAvailable(QIODevice* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->promoted_bytesAvailable()); -} - -QIODevice::OpenMode PythonQtWrapper_QIODevice::openMode(QIODevice* theWrappedObject) const -{ - return ( theWrappedObject->openMode()); -} - -bool PythonQtWrapper_QIODevice::isReadable(QIODevice* theWrappedObject) const -{ - return ( theWrappedObject->isReadable()); -} - -void PythonQtWrapper_QIODevice::setTextModeEnabled(QIODevice* theWrappedObject, bool enabled) -{ - ( theWrappedObject->setTextModeEnabled(enabled)); -} - -bool PythonQtWrapper_QIODevice::open(QIODevice* theWrappedObject, QIODevice::OpenMode mode) -{ - return ( ((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->promoted_open(mode)); -} - -bool PythonQtWrapper_QIODevice::atEnd(QIODevice* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->promoted_atEnd()); -} - -bool PythonQtWrapper_QIODevice::seek(QIODevice* theWrappedObject, qint64 pos) -{ - return ( ((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->promoted_seek(pos)); -} - -bool PythonQtWrapper_QIODevice::getChar(QIODevice* theWrappedObject, char* c) -{ - return ( theWrappedObject->getChar(c)); -} - -bool PythonQtWrapper_QIODevice::isSequential(QIODevice* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->promoted_isSequential()); -} - -QByteArray PythonQtWrapper_QIODevice::readLine(QIODevice* theWrappedObject, qint64 maxlen) -{ - return ( theWrappedObject->readLine(maxlen)); -} - -qint64 PythonQtWrapper_QIODevice::bytesToWrite(QIODevice* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->promoted_bytesToWrite()); -} - -qint64 PythonQtWrapper_QIODevice::write(QIODevice* theWrappedObject, const QByteArray& data) -{ - return ( theWrappedObject->write(data)); -} - -bool PythonQtWrapper_QIODevice::canReadLine(QIODevice* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->promoted_canReadLine()); -} - -void PythonQtWrapper_QIODevice::ungetChar(QIODevice* theWrappedObject, char c) -{ - ( theWrappedObject->ungetChar(c)); -} - -bool PythonQtWrapper_QIODevice::waitForBytesWritten(QIODevice* theWrappedObject, int msecs) -{ - return ( ((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->promoted_waitForBytesWritten(msecs)); -} - -bool PythonQtWrapper_QIODevice::waitForReadyRead(QIODevice* theWrappedObject, int msecs) -{ - return ( ((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->promoted_waitForReadyRead(msecs)); -} - -bool PythonQtWrapper_QIODevice::isWritable(QIODevice* theWrappedObject) const -{ - return ( theWrappedObject->isWritable()); -} - -qint64 PythonQtWrapper_QIODevice::pos(QIODevice* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->promoted_pos()); -} - -bool PythonQtWrapper_QIODevice::putChar(QIODevice* theWrappedObject, char c) -{ - return ( theWrappedObject->putChar(c)); -} - -bool PythonQtWrapper_QIODevice::reset(QIODevice* theWrappedObject) -{ - return ( ((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->promoted_reset()); -} - -QString PythonQtWrapper_QIODevice::errorString(QIODevice* theWrappedObject) const -{ - return ( theWrappedObject->errorString()); -} - -QByteArray PythonQtWrapper_QIODevice::peek(QIODevice* theWrappedObject, qint64 maxlen) -{ - return ( theWrappedObject->peek(maxlen)); -} - -QByteArray PythonQtWrapper_QIODevice::read(QIODevice* theWrappedObject, qint64 maxlen) -{ - return ( theWrappedObject->read(maxlen)); -} - -QByteArray PythonQtWrapper_QIODevice::readAll(QIODevice* theWrappedObject) -{ - return ( theWrappedObject->readAll()); -} - -qint64 PythonQtWrapper_QIODevice::size(QIODevice* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->promoted_size()); -} - -bool PythonQtWrapper_QIODevice::isTextModeEnabled(QIODevice* theWrappedObject) const -{ - return ( theWrappedObject->isTextModeEnabled()); -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QIODevice.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QIODevice.h deleted file mode 100644 index 517462e..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QIODevice.h +++ /dev/null @@ -1,108 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QIODEVICE_H -#define PYTHONQTWRAPPER_QIODEVICE_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QIODevice : public QIODevice -{ -public: - PythonQtShell_QIODevice():QIODevice(),_wrapper(NULL) {}; - PythonQtShell_QIODevice(QObject* parent):QIODevice(parent),_wrapper(NULL) {}; - -virtual bool atEnd() const; -virtual qint64 bytesAvailable() const; -virtual qint64 bytesToWrite() const; -virtual bool canReadLine() const; -virtual void childEvent(QChildEvent* arg__1); -virtual void close(); -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual bool isSequential() const; -virtual bool open(QIODevice::OpenMode mode); -virtual qint64 pos() const; -virtual qint64 readData(char* data, qint64 maxlen); -virtual qint64 readLineData(char* data, qint64 maxlen); -virtual bool reset(); -virtual bool seek(qint64 pos); -virtual qint64 size() const; -virtual void timerEvent(QTimerEvent* arg__1); -virtual bool waitForBytesWritten(int msecs); -virtual bool waitForReadyRead(int msecs); -virtual qint64 writeData(const char* data, qint64 len); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QIODevice : public QIODevice -{ public: -inline qint64 promoted_readLineData(char* data, qint64 maxlen) { return QIODevice::readLineData(data, maxlen); } -inline void promoted_close() { QIODevice::close(); } -inline qint64 promoted_bytesAvailable() const { return QIODevice::bytesAvailable(); } -inline bool promoted_open(QIODevice::OpenMode mode) { return QIODevice::open(mode); } -inline bool promoted_atEnd() const { return QIODevice::atEnd(); } -inline bool promoted_seek(qint64 pos) { return QIODevice::seek(pos); } -inline bool promoted_isSequential() const { return QIODevice::isSequential(); } -inline qint64 promoted_bytesToWrite() const { return QIODevice::bytesToWrite(); } -inline bool promoted_canReadLine() const { return QIODevice::canReadLine(); } -inline bool promoted_waitForBytesWritten(int msecs) { return QIODevice::waitForBytesWritten(msecs); } -inline bool promoted_waitForReadyRead(int msecs) { return QIODevice::waitForReadyRead(msecs); } -inline qint64 promoted_pos() const { return QIODevice::pos(); } -inline bool promoted_reset() { return QIODevice::reset(); } -inline qint64 promoted_size() const { return QIODevice::size(); } -}; - -class PythonQtWrapper_QIODevice : public QObject -{ Q_OBJECT -public: -Q_ENUMS(OpenModeFlag ) -Q_FLAGS(OpenMode ) -enum OpenModeFlag{ - NotOpen = QIODevice::NotOpen, ReadOnly = QIODevice::ReadOnly, WriteOnly = QIODevice::WriteOnly, ReadWrite = QIODevice::ReadWrite, Append = QIODevice::Append, Truncate = QIODevice::Truncate, Text = QIODevice::Text, Unbuffered = QIODevice::Unbuffered}; -Q_DECLARE_FLAGS(OpenMode, OpenModeFlag) -public slots: -QIODevice* new_QIODevice(); -QIODevice* new_QIODevice(QObject* parent); -void delete_QIODevice(QIODevice* obj) { delete obj; } - qint64 readLineData(QIODevice* theWrappedObject, char* data, qint64 maxlen); - bool isOpen(QIODevice* theWrappedObject) const; - void close(QIODevice* theWrappedObject); - qint64 bytesAvailable(QIODevice* theWrappedObject) const; - QIODevice::OpenMode openMode(QIODevice* theWrappedObject) const; - bool isReadable(QIODevice* theWrappedObject) const; - void setTextModeEnabled(QIODevice* theWrappedObject, bool enabled); - bool open(QIODevice* theWrappedObject, QIODevice::OpenMode mode); - bool atEnd(QIODevice* theWrappedObject) const; - bool seek(QIODevice* theWrappedObject, qint64 pos); - bool getChar(QIODevice* theWrappedObject, char* c); - bool isSequential(QIODevice* theWrappedObject) const; - QByteArray readLine(QIODevice* theWrappedObject, qint64 maxlen = 0); - qint64 bytesToWrite(QIODevice* theWrappedObject) const; - qint64 write(QIODevice* theWrappedObject, const QByteArray& data); - bool canReadLine(QIODevice* theWrappedObject) const; - void ungetChar(QIODevice* theWrappedObject, char c); - bool waitForBytesWritten(QIODevice* theWrappedObject, int msecs); - bool waitForReadyRead(QIODevice* theWrappedObject, int msecs); - bool isWritable(QIODevice* theWrappedObject) const; - qint64 pos(QIODevice* theWrappedObject) const; - bool putChar(QIODevice* theWrappedObject, char c); - bool reset(QIODevice* theWrappedObject); - QString errorString(QIODevice* theWrappedObject) const; - QByteArray peek(QIODevice* theWrappedObject, qint64 maxlen); - QByteArray read(QIODevice* theWrappedObject, qint64 maxlen); - QByteArray readAll(QIODevice* theWrappedObject); - qint64 size(QIODevice* theWrappedObject) const; - bool isTextModeEnabled(QIODevice* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QIODEVICE_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QLibraryInfo.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QLibraryInfo.cpp deleted file mode 100644 index 7544162..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QLibraryInfo.cpp +++ /dev/null @@ -1,27 +0,0 @@ -#include "PythonQtWrapper_QLibraryInfo.h" - -#include -#include -#include -#include - -QString PythonQtWrapper_QLibraryInfo::static_QLibraryInfo_location(QLibraryInfo::LibraryLocation arg__1) -{ - return (QLibraryInfo::location(arg__1)); -} - -QString PythonQtWrapper_QLibraryInfo::static_QLibraryInfo_buildKey() -{ - return (QLibraryInfo::buildKey()); -} - -QString PythonQtWrapper_QLibraryInfo::static_QLibraryInfo_licensee() -{ - return (QLibraryInfo::licensee()); -} - -QString PythonQtWrapper_QLibraryInfo::static_QLibraryInfo_licensedProducts() -{ - return (QLibraryInfo::licensedProducts()); -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QLibraryInfo.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QLibraryInfo.h deleted file mode 100644 index dc63fd4..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QLibraryInfo.h +++ /dev/null @@ -1,25 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QLIBRARYINFO_H -#define PYTHONQTWRAPPER_QLIBRARYINFO_H - -#include -#include - -#include - -#include - -class PythonQtWrapper_QLibraryInfo : public QObject -{ Q_OBJECT -public: -Q_ENUMS(LibraryLocation ) -enum LibraryLocation{ - PrefixPath = QLibraryInfo::PrefixPath, DocumentationPath = QLibraryInfo::DocumentationPath, HeadersPath = QLibraryInfo::HeadersPath, LibrariesPath = QLibraryInfo::LibrariesPath, BinariesPath = QLibraryInfo::BinariesPath, PluginsPath = QLibraryInfo::PluginsPath, DataPath = QLibraryInfo::DataPath, TranslationsPath = QLibraryInfo::TranslationsPath, SettingsPath = QLibraryInfo::SettingsPath, DemosPath = QLibraryInfo::DemosPath, ExamplesPath = QLibraryInfo::ExamplesPath}; -public slots: -void delete_QLibraryInfo(QLibraryInfo* obj) { delete obj; } - QString static_QLibraryInfo_location(QLibraryInfo::LibraryLocation arg__1); - QString static_QLibraryInfo_buildKey(); - QString static_QLibraryInfo_licensee(); - QString static_QLibraryInfo_licensedProducts(); -}; - -#endif // PYTHONQTWRAPPER_QLIBRARYINFO_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QLine.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QLine.cpp deleted file mode 100644 index fe748c6..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QLine.cpp +++ /dev/null @@ -1,129 +0,0 @@ -#include "PythonQtWrapper_QLine.h" - -#include -#include -#include -#include -#include -#include -#include - -QLine* PythonQtWrapper_QLine::new_QLine() -{ -return new QLine(); } - -QLine* PythonQtWrapper_QLine::new_QLine(const QPoint& pt1, const QPoint& pt2) -{ -return new QLine(pt1, pt2); } - -QLine* PythonQtWrapper_QLine::new_QLine(int x1, int y1, int x2, int y2) -{ -return new QLine(x1, y1, x2, y2); } - -int PythonQtWrapper_QLine::x1(QLine* theWrappedObject) const -{ - return ( theWrappedObject->x1()); -} - -int PythonQtWrapper_QLine::x2(QLine* theWrappedObject) const -{ - return ( theWrappedObject->x2()); -} - -int PythonQtWrapper_QLine::y1(QLine* theWrappedObject) const -{ - return ( theWrappedObject->y1()); -} - -QPoint PythonQtWrapper_QLine::p2(QLine* theWrappedObject) const -{ - return ( theWrappedObject->p2()); -} - -void PythonQtWrapper_QLine::writeTo(QLine* theWrappedObject, QDataStream& arg__1) -{ - arg__1 << (*theWrappedObject); -} - -void PythonQtWrapper_QLine::setP2(QLine* theWrappedObject, const QPoint& p2) -{ - ( theWrappedObject->setP2(p2)); -} - -bool PythonQtWrapper_QLine::isNull(QLine* theWrappedObject) const -{ - return ( theWrappedObject->isNull()); -} - -void PythonQtWrapper_QLine::setLine(QLine* theWrappedObject, int x1, int y1, int x2, int y2) -{ - ( theWrappedObject->setLine(x1, y1, x2, y2)); -} - -bool PythonQtWrapper_QLine::operator_equal(QLine* theWrappedObject, const QLine& d) const -{ - return ( (*theWrappedObject)== d); -} - -int PythonQtWrapper_QLine::dy(QLine* theWrappedObject) const -{ - return ( theWrappedObject->dy()); -} - -void PythonQtWrapper_QLine::readFrom(QLine* theWrappedObject, QDataStream& arg__1) -{ - arg__1 >> (*theWrappedObject); -} - -QPoint PythonQtWrapper_QLine::p1(QLine* theWrappedObject) const -{ - return ( theWrappedObject->p1()); -} - -QLine PythonQtWrapper_QLine::translated(QLine* theWrappedObject, int dx, int dy) const -{ - return ( theWrappedObject->translated(dx, dy)); -} - -int PythonQtWrapper_QLine::y2(QLine* theWrappedObject) const -{ - return ( theWrappedObject->y2()); -} - -int PythonQtWrapper_QLine::dx(QLine* theWrappedObject) const -{ - return ( theWrappedObject->dx()); -} - -void PythonQtWrapper_QLine::setP1(QLine* theWrappedObject, const QPoint& p1) -{ - ( theWrappedObject->setP1(p1)); -} - -void PythonQtWrapper_QLine::translate(QLine* theWrappedObject, int dx, int dy) -{ - ( theWrappedObject->translate(dx, dy)); -} - -void PythonQtWrapper_QLine::translate(QLine* theWrappedObject, const QPoint& p) -{ - ( theWrappedObject->translate(p)); -} - -void PythonQtWrapper_QLine::setPoints(QLine* theWrappedObject, const QPoint& p1, const QPoint& p2) -{ - ( theWrappedObject->setPoints(p1, p2)); -} - -QLine PythonQtWrapper_QLine::translated(QLine* theWrappedObject, const QPoint& p) const -{ - return ( theWrappedObject->translated(p)); -} - -QString PythonQtWrapper_QLine::toString(QLine* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QLine.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QLine.h deleted file mode 100644 index 4f4b53d..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QLine.h +++ /dev/null @@ -1,49 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QLINE_H -#define PYTHONQTWRAPPER_QLINE_H - -#include -#include - -#include - -#include -#include -#include -#include - -class PythonQtWrapper_QLine : public QObject -{ Q_OBJECT -public: -public slots: -QLine* new_QLine(); -QLine* new_QLine(const QPoint& pt1, const QPoint& pt2); -QLine* new_QLine(int x1, int y1, int x2, int y2); -QLine* new_QLine(const QLine& other) { -QLine* a = new QLine(); -*((QLine*)a) = other; -return a; } -void delete_QLine(QLine* obj) { delete obj; } - int x1(QLine* theWrappedObject) const; - int x2(QLine* theWrappedObject) const; - int y1(QLine* theWrappedObject) const; - QPoint p2(QLine* theWrappedObject) const; - void writeTo(QLine* theWrappedObject, QDataStream& arg__1); - void setP2(QLine* theWrappedObject, const QPoint& p2); - bool isNull(QLine* theWrappedObject) const; - void setLine(QLine* theWrappedObject, int x1, int y1, int x2, int y2); - bool operator_equal(QLine* theWrappedObject, const QLine& d) const; - int dy(QLine* theWrappedObject) const; - void readFrom(QLine* theWrappedObject, QDataStream& arg__1); - QPoint p1(QLine* theWrappedObject) const; - QLine translated(QLine* theWrappedObject, int dx, int dy) const; - int y2(QLine* theWrappedObject) const; - int dx(QLine* theWrappedObject) const; - void setP1(QLine* theWrappedObject, const QPoint& p1); - void translate(QLine* theWrappedObject, int dx, int dy); - void translate(QLine* theWrappedObject, const QPoint& p); - void setPoints(QLine* theWrappedObject, const QPoint& p1, const QPoint& p2); - QLine translated(QLine* theWrappedObject, const QPoint& p) const; - QString toString(QLine*); -}; - -#endif // PYTHONQTWRAPPER_QLINE_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QLineF.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QLineF.cpp deleted file mode 100644 index a16e600..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QLineF.cpp +++ /dev/null @@ -1,193 +0,0 @@ -#include "PythonQtWrapper_QLineF.h" - -#include -#include -#include -#include -#include -#include -#include - -QLineF* PythonQtWrapper_QLineF::new_QLineF() -{ -return new QLineF(); } - -QLineF* PythonQtWrapper_QLineF::new_QLineF(const QLine& line) -{ -return new QLineF(line); } - -QLineF* PythonQtWrapper_QLineF::new_QLineF(const QPointF& pt1, const QPointF& pt2) -{ -return new QLineF(pt1, pt2); } - -QLineF* PythonQtWrapper_QLineF::new_QLineF(qreal x1, qreal y1, qreal x2, qreal y2) -{ -return new QLineF(x1, y1, x2, y2); } - -void PythonQtWrapper_QLineF::translate(QLineF* theWrappedObject, qreal dx, qreal dy) -{ - ( theWrappedObject->translate(dx, dy)); -} - -void PythonQtWrapper_QLineF::setP2(QLineF* theWrappedObject, const QPointF& p2) -{ - ( theWrappedObject->setP2(p2)); -} - -qreal PythonQtWrapper_QLineF::angleTo(QLineF* theWrappedObject, const QLineF& l) const -{ - return ( theWrappedObject->angleTo(l)); -} - -qreal PythonQtWrapper_QLineF::dx(QLineF* theWrappedObject) const -{ - return ( theWrappedObject->dx()); -} - -bool PythonQtWrapper_QLineF::isNull(QLineF* theWrappedObject) const -{ - return ( theWrappedObject->isNull()); -} - -void PythonQtWrapper_QLineF::setLine(QLineF* theWrappedObject, qreal x1, qreal y1, qreal x2, qreal y2) -{ - ( theWrappedObject->setLine(x1, y1, x2, y2)); -} - -QLineF PythonQtWrapper_QLineF::translated(QLineF* theWrappedObject, const QPointF& p) const -{ - return ( theWrappedObject->translated(p)); -} - -qreal PythonQtWrapper_QLineF::angle(QLineF* theWrappedObject) const -{ - return ( theWrappedObject->angle()); -} - -QLineF PythonQtWrapper_QLineF::unitVector(QLineF* theWrappedObject) const -{ - return ( theWrappedObject->unitVector()); -} - -bool PythonQtWrapper_QLineF::operator_equal(QLineF* theWrappedObject, const QLineF& d) const -{ - return ( (*theWrappedObject)== d); -} - -void PythonQtWrapper_QLineF::readFrom(QLineF* theWrappedObject, QDataStream& arg__1) -{ - arg__1 >> (*theWrappedObject); -} - -QLineF PythonQtWrapper_QLineF::normalVector(QLineF* theWrappedObject) const -{ - return ( theWrappedObject->normalVector()); -} - -void PythonQtWrapper_QLineF::translate(QLineF* theWrappedObject, const QPointF& p) -{ - ( theWrappedObject->translate(p)); -} - -qreal PythonQtWrapper_QLineF::angle(QLineF* theWrappedObject, const QLineF& l) const -{ - return ( theWrappedObject->angle(l)); -} - -qreal PythonQtWrapper_QLineF::dy(QLineF* theWrappedObject) const -{ - return ( theWrappedObject->dy()); -} - -void PythonQtWrapper_QLineF::setP1(QLineF* theWrappedObject, const QPointF& p1) -{ - ( theWrappedObject->setP1(p1)); -} - -qreal PythonQtWrapper_QLineF::x1(QLineF* theWrappedObject) const -{ - return ( theWrappedObject->x1()); -} - -qreal PythonQtWrapper_QLineF::y2(QLineF* theWrappedObject) const -{ - return ( theWrappedObject->y2()); -} - -QLineF PythonQtWrapper_QLineF::static_QLineF_fromPolar(qreal length, qreal angle) -{ - return (QLineF::fromPolar(length, angle)); -} - -QPointF PythonQtWrapper_QLineF::p1(QLineF* theWrappedObject) const -{ - return ( theWrappedObject->p1()); -} - -qreal PythonQtWrapper_QLineF::length(QLineF* theWrappedObject) const -{ - return ( theWrappedObject->length()); -} - -void PythonQtWrapper_QLineF::writeTo(QLineF* theWrappedObject, QDataStream& arg__1) -{ - arg__1 << (*theWrappedObject); -} - -QPointF PythonQtWrapper_QLineF::pointAt(QLineF* theWrappedObject, qreal t) const -{ - return ( theWrappedObject->pointAt(t)); -} - -void PythonQtWrapper_QLineF::setPoints(QLineF* theWrappedObject, const QPointF& p1, const QPointF& p2) -{ - ( theWrappedObject->setPoints(p1, p2)); -} - -QPointF PythonQtWrapper_QLineF::p2(QLineF* theWrappedObject) const -{ - return ( theWrappedObject->p2()); -} - -void PythonQtWrapper_QLineF::setLength(QLineF* theWrappedObject, qreal len) -{ - ( theWrappedObject->setLength(len)); -} - -qreal PythonQtWrapper_QLineF::x2(QLineF* theWrappedObject) const -{ - return ( theWrappedObject->x2()); -} - -QLineF::IntersectType PythonQtWrapper_QLineF::intersect(QLineF* theWrappedObject, const QLineF& l, QPointF* intersectionPoint) const -{ - return ( theWrappedObject->intersect(l, intersectionPoint)); -} - -QLine PythonQtWrapper_QLineF::toLine(QLineF* theWrappedObject) const -{ - return ( theWrappedObject->toLine()); -} - -qreal PythonQtWrapper_QLineF::y1(QLineF* theWrappedObject) const -{ - return ( theWrappedObject->y1()); -} - -void PythonQtWrapper_QLineF::setAngle(QLineF* theWrappedObject, qreal angle) -{ - ( theWrappedObject->setAngle(angle)); -} - -QLineF PythonQtWrapper_QLineF::translated(QLineF* theWrappedObject, qreal dx, qreal dy) const -{ - return ( theWrappedObject->translated(dx, dy)); -} - -QString PythonQtWrapper_QLineF::toString(QLineF* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QLineF.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QLineF.h deleted file mode 100644 index 4173a60..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QLineF.h +++ /dev/null @@ -1,65 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QLINEF_H -#define PYTHONQTWRAPPER_QLINEF_H - -#include -#include - -#include - -#include -#include -#include -#include - -class PythonQtWrapper_QLineF : public QObject -{ Q_OBJECT -public: -Q_ENUMS(IntersectType ) -enum IntersectType{ - NoIntersection = QLineF::NoIntersection, BoundedIntersection = QLineF::BoundedIntersection, UnboundedIntersection = QLineF::UnboundedIntersection}; -public slots: -QLineF* new_QLineF(); -QLineF* new_QLineF(const QLine& line); -QLineF* new_QLineF(const QPointF& pt1, const QPointF& pt2); -QLineF* new_QLineF(qreal x1, qreal y1, qreal x2, qreal y2); -QLineF* new_QLineF(const QLineF& other) { -QLineF* a = new QLineF(); -*((QLineF*)a) = other; -return a; } -void delete_QLineF(QLineF* obj) { delete obj; } - void translate(QLineF* theWrappedObject, qreal dx, qreal dy); - void setP2(QLineF* theWrappedObject, const QPointF& p2); - qreal angleTo(QLineF* theWrappedObject, const QLineF& l) const; - qreal dx(QLineF* theWrappedObject) const; - bool isNull(QLineF* theWrappedObject) const; - void setLine(QLineF* theWrappedObject, qreal x1, qreal y1, qreal x2, qreal y2); - QLineF translated(QLineF* theWrappedObject, const QPointF& p) const; - qreal angle(QLineF* theWrappedObject) const; - QLineF unitVector(QLineF* theWrappedObject) const; - bool operator_equal(QLineF* theWrappedObject, const QLineF& d) const; - void readFrom(QLineF* theWrappedObject, QDataStream& arg__1); - QLineF normalVector(QLineF* theWrappedObject) const; - void translate(QLineF* theWrappedObject, const QPointF& p); - qreal angle(QLineF* theWrappedObject, const QLineF& l) const; - qreal dy(QLineF* theWrappedObject) const; - void setP1(QLineF* theWrappedObject, const QPointF& p1); - qreal x1(QLineF* theWrappedObject) const; - qreal y2(QLineF* theWrappedObject) const; - QLineF static_QLineF_fromPolar(qreal length, qreal angle); - QPointF p1(QLineF* theWrappedObject) const; - qreal length(QLineF* theWrappedObject) const; - void writeTo(QLineF* theWrappedObject, QDataStream& arg__1); - QPointF pointAt(QLineF* theWrappedObject, qreal t) const; - void setPoints(QLineF* theWrappedObject, const QPointF& p1, const QPointF& p2); - QPointF p2(QLineF* theWrappedObject) const; - void setLength(QLineF* theWrappedObject, qreal len); - qreal x2(QLineF* theWrappedObject) const; - QLineF::IntersectType intersect(QLineF* theWrappedObject, const QLineF& l, QPointF* intersectionPoint) const; - QLine toLine(QLineF* theWrappedObject) const; - qreal y1(QLineF* theWrappedObject) const; - void setAngle(QLineF* theWrappedObject, qreal angle); - QLineF translated(QLineF* theWrappedObject, qreal dx, qreal dy) const; - QString toString(QLineF*); -}; - -#endif // PYTHONQTWRAPPER_QLINEF_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QLocale.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QLocale.cpp deleted file mode 100644 index 554fe90..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QLocale.cpp +++ /dev/null @@ -1,273 +0,0 @@ -#include "PythonQtWrapper_QLocale.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QLocale* PythonQtWrapper_QLocale::new_QLocale() -{ -return new QLocale(); } - -QLocale* PythonQtWrapper_QLocale::new_QLocale(QLocale::Language language, QLocale::Country country) -{ -return new QLocale(language, country); } - -QLocale* PythonQtWrapper_QLocale::new_QLocale(const QLocale& other) -{ -return new QLocale(other); } - -QLocale* PythonQtWrapper_QLocale::new_QLocale(const QString& name) -{ -return new QLocale(name); } - -QChar PythonQtWrapper_QLocale::groupSeparator(QLocale* theWrappedObject) const -{ - return ( theWrappedObject->groupSeparator()); -} - -float PythonQtWrapper_QLocale::toFloat(QLocale* theWrappedObject, const QString& s, bool* ok) const -{ - return ( theWrappedObject->toFloat(s, ok)); -} - -ushort PythonQtWrapper_QLocale::toUShort(QLocale* theWrappedObject, const QString& s, bool* ok, int base) const -{ - return ( theWrappedObject->toUShort(s, ok, base)); -} - -QDateTime PythonQtWrapper_QLocale::toDateTime(QLocale* theWrappedObject, const QString& string, const QString& format) const -{ - return ( theWrappedObject->toDateTime(string, format)); -} - -QString PythonQtWrapper_QLocale::toString(QLocale* theWrappedObject, float i, char f, int prec) const -{ - return ( theWrappedObject->toString(i, f, prec)); -} - -void PythonQtWrapper_QLocale::writeTo(QLocale* theWrappedObject, QDataStream& arg__1) -{ - arg__1 << (*theWrappedObject); -} - -QTime PythonQtWrapper_QLocale::toTime(QLocale* theWrappedObject, const QString& string, const QString& format) const -{ - return ( theWrappedObject->toTime(string, format)); -} - -QDateTime PythonQtWrapper_QLocale::toDateTime(QLocale* theWrappedObject, const QString& string, QLocale::FormatType format) const -{ - return ( theWrappedObject->toDateTime(string, format)); -} - -bool PythonQtWrapper_QLocale::operator_equal(QLocale* theWrappedObject, const QLocale& other) const -{ - return ( (*theWrappedObject)== other); -} - -QString PythonQtWrapper_QLocale::toString(QLocale* theWrappedObject, short i) const -{ - return ( theWrappedObject->toString(i)); -} - -QLocale::NumberOptions PythonQtWrapper_QLocale::numberOptions(QLocale* theWrappedObject) const -{ - return ( theWrappedObject->numberOptions()); -} - -short PythonQtWrapper_QLocale::toShort(QLocale* theWrappedObject, const QString& s, bool* ok, int base) const -{ - return ( theWrappedObject->toShort(s, ok, base)); -} - -QTime PythonQtWrapper_QLocale::toTime(QLocale* theWrappedObject, const QString& string, QLocale::FormatType arg__2) const -{ - return ( theWrappedObject->toTime(string, arg__2)); -} - -QString PythonQtWrapper_QLocale::static_QLocale_countryToString(QLocale::Country country) -{ - return (QLocale::countryToString(country)); -} - -QChar PythonQtWrapper_QLocale::zeroDigit(QLocale* theWrappedObject) const -{ - return ( theWrappedObject->zeroDigit()); -} - -QDate PythonQtWrapper_QLocale::toDate(QLocale* theWrappedObject, const QString& string, QLocale::FormatType arg__2) const -{ - return ( theWrappedObject->toDate(string, arg__2)); -} - -QString PythonQtWrapper_QLocale::dayName(QLocale* theWrappedObject, int arg__1, QLocale::FormatType format) const -{ - return ( theWrappedObject->dayName(arg__1, format)); -} - -QString PythonQtWrapper_QLocale::toString(QLocale* theWrappedObject, double i, char f, int prec) const -{ - return ( theWrappedObject->toString(i, f, prec)); -} - -QString PythonQtWrapper_QLocale::dateFormat(QLocale* theWrappedObject, QLocale::FormatType format) const -{ - return ( theWrappedObject->dateFormat(format)); -} - -QLocale::Language PythonQtWrapper_QLocale::language(QLocale* theWrappedObject) const -{ - return ( theWrappedObject->language()); -} - -QString PythonQtWrapper_QLocale::toString(QLocale* theWrappedObject, const QTime& time, const QString& formatStr) const -{ - return ( theWrappedObject->toString(time, formatStr)); -} - -QLocale PythonQtWrapper_QLocale::static_QLocale_c() -{ - return (QLocale::c()); -} - -QString PythonQtWrapper_QLocale::toString(QLocale* theWrappedObject, const QDateTime& dateTime, QLocale::FormatType format) const -{ - return ( theWrappedObject->toString(dateTime, format)); -} - -QChar PythonQtWrapper_QLocale::negativeSign(QLocale* theWrappedObject) const -{ - return ( theWrappedObject->negativeSign()); -} - -double PythonQtWrapper_QLocale::toDouble(QLocale* theWrappedObject, const QString& s, bool* ok) const -{ - return ( theWrappedObject->toDouble(s, ok)); -} - -void PythonQtWrapper_QLocale::readFrom(QLocale* theWrappedObject, QDataStream& arg__1) -{ - arg__1 >> (*theWrappedObject); -} - -QString PythonQtWrapper_QLocale::dateTimeFormat(QLocale* theWrappedObject, QLocale::FormatType format) const -{ - return ( theWrappedObject->dateTimeFormat(format)); -} - -QLocale PythonQtWrapper_QLocale::static_QLocale_system() -{ - return (QLocale::system()); -} - -QString PythonQtWrapper_QLocale::monthName(QLocale* theWrappedObject, int arg__1, QLocale::FormatType format) const -{ - return ( theWrappedObject->monthName(arg__1, format)); -} - -QString PythonQtWrapper_QLocale::name(QLocale* theWrappedObject) const -{ - return ( theWrappedObject->name()); -} - -void PythonQtWrapper_QLocale::setNumberOptions(QLocale* theWrappedObject, QLocale::NumberOptions options) -{ - ( theWrappedObject->setNumberOptions(options)); -} - -QString PythonQtWrapper_QLocale::toString(QLocale* theWrappedObject, qulonglong i) const -{ - return ( theWrappedObject->toString(i)); -} - -QChar PythonQtWrapper_QLocale::decimalPoint(QLocale* theWrappedObject) const -{ - return ( theWrappedObject->decimalPoint()); -} - -void PythonQtWrapper_QLocale::static_QLocale_setDefault(const QLocale& locale) -{ - (QLocale::setDefault(locale)); -} - -int PythonQtWrapper_QLocale::toInt(QLocale* theWrappedObject, const QString& s, bool* ok, int base) const -{ - return ( theWrappedObject->toInt(s, ok, base)); -} - -QString PythonQtWrapper_QLocale::toString(QLocale* theWrappedObject, const QDate& date, const QString& formatStr) const -{ - return ( theWrappedObject->toString(date, formatStr)); -} - -QList PythonQtWrapper_QLocale::static_QLocale_countriesForLanguage(QLocale::Language lang) -{ - return (QLocale::countriesForLanguage(lang)); -} - -QLocale::Country PythonQtWrapper_QLocale::country(QLocale* theWrappedObject) const -{ - return ( theWrappedObject->country()); -} - -QString PythonQtWrapper_QLocale::toString(QLocale* theWrappedObject, const QDate& date, QLocale::FormatType format) const -{ - return ( theWrappedObject->toString(date, format)); -} - -QChar PythonQtWrapper_QLocale::exponential(QLocale* theWrappedObject) const -{ - return ( theWrappedObject->exponential()); -} - -QString PythonQtWrapper_QLocale::toString(QLocale* theWrappedObject, const QTime& time, QLocale::FormatType format) const -{ - return ( theWrappedObject->toString(time, format)); -} - -QString PythonQtWrapper_QLocale::toString(QLocale* theWrappedObject, const QDateTime& dateTime, const QString& format) const -{ - return ( theWrappedObject->toString(dateTime, format)); -} - -QDate PythonQtWrapper_QLocale::toDate(QLocale* theWrappedObject, const QString& string, const QString& format) const -{ - return ( theWrappedObject->toDate(string, format)); -} - -QString PythonQtWrapper_QLocale::static_QLocale_languageToString(QLocale::Language language) -{ - return (QLocale::languageToString(language)); -} - -QLocale::MeasurementSystem PythonQtWrapper_QLocale::measurementSystem(QLocale* theWrappedObject) const -{ - return ( theWrappedObject->measurementSystem()); -} - -QChar PythonQtWrapper_QLocale::percent(QLocale* theWrappedObject) const -{ - return ( theWrappedObject->percent()); -} - -QString PythonQtWrapper_QLocale::timeFormat(QLocale* theWrappedObject, QLocale::FormatType format) const -{ - return ( theWrappedObject->timeFormat(format)); -} - -qlonglong PythonQtWrapper_QLocale::toLongLong(QLocale* theWrappedObject, const QString& s, bool* ok, int base) const -{ - return ( theWrappedObject->toLongLong(s, ok, base)); -} - -QString PythonQtWrapper_QLocale::toString(QLocale* theWrappedObject, int i) const -{ - return ( theWrappedObject->toString(i)); -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QLocale.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QLocale.h deleted file mode 100644 index 9e931b8..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QLocale.h +++ /dev/null @@ -1,89 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QLOCALE_H -#define PYTHONQTWRAPPER_QLOCALE_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include - -class PythonQtWrapper_QLocale : public QObject -{ Q_OBJECT -public: -Q_ENUMS(MeasurementSystem NumberOption FormatType Country Language ) -Q_FLAGS(NumberOptions ) -enum MeasurementSystem{ - MetricSystem = QLocale::MetricSystem, ImperialSystem = QLocale::ImperialSystem}; -enum NumberOption{ - OmitGroupSeparator = QLocale::OmitGroupSeparator, RejectGroupSeparator = QLocale::RejectGroupSeparator}; -enum FormatType{ - LongFormat = QLocale::LongFormat, ShortFormat = QLocale::ShortFormat}; -enum Country{ - AnyCountry = QLocale::AnyCountry, Afghanistan = QLocale::Afghanistan, Albania = QLocale::Albania, Algeria = QLocale::Algeria, AmericanSamoa = QLocale::AmericanSamoa, Andorra = QLocale::Andorra, Angola = QLocale::Angola, Anguilla = QLocale::Anguilla, Antarctica = QLocale::Antarctica, AntiguaAndBarbuda = QLocale::AntiguaAndBarbuda, Argentina = QLocale::Argentina, Armenia = QLocale::Armenia, Aruba = QLocale::Aruba, Australia = QLocale::Australia, Austria = QLocale::Austria, Azerbaijan = QLocale::Azerbaijan, Bahamas = QLocale::Bahamas, Bahrain = QLocale::Bahrain, Bangladesh = QLocale::Bangladesh, Barbados = QLocale::Barbados, Belarus = QLocale::Belarus, Belgium = QLocale::Belgium, Belize = QLocale::Belize, Benin = QLocale::Benin, Bermuda = QLocale::Bermuda, Bhutan = QLocale::Bhutan, Bolivia = QLocale::Bolivia, BosniaAndHerzegowina = QLocale::BosniaAndHerzegowina, Botswana = QLocale::Botswana, BouvetIsland = QLocale::BouvetIsland, Brazil = QLocale::Brazil, BritishIndianOceanTerritory = QLocale::BritishIndianOceanTerritory, BruneiDarussalam = QLocale::BruneiDarussalam, Bulgaria = QLocale::Bulgaria, BurkinaFaso = QLocale::BurkinaFaso, Burundi = QLocale::Burundi, Cambodia = QLocale::Cambodia, Cameroon = QLocale::Cameroon, Canada = QLocale::Canada, CapeVerde = QLocale::CapeVerde, CaymanIslands = QLocale::CaymanIslands, CentralAfricanRepublic = QLocale::CentralAfricanRepublic, Chad = QLocale::Chad, Chile = QLocale::Chile, China = QLocale::China, ChristmasIsland = QLocale::ChristmasIsland, CocosIslands = QLocale::CocosIslands, Colombia = QLocale::Colombia, Comoros = QLocale::Comoros, DemocraticRepublicOfCongo = QLocale::DemocraticRepublicOfCongo, PeoplesRepublicOfCongo = QLocale::PeoplesRepublicOfCongo, CookIslands = QLocale::CookIslands, CostaRica = QLocale::CostaRica, IvoryCoast = QLocale::IvoryCoast, Croatia = QLocale::Croatia, Cuba = QLocale::Cuba, Cyprus = QLocale::Cyprus, CzechRepublic = QLocale::CzechRepublic, Denmark = QLocale::Denmark, Djibouti = QLocale::Djibouti, Dominica = QLocale::Dominica, DominicanRepublic = QLocale::DominicanRepublic, EastTimor = QLocale::EastTimor, Ecuador = QLocale::Ecuador, Egypt = QLocale::Egypt, ElSalvador = QLocale::ElSalvador, EquatorialGuinea = QLocale::EquatorialGuinea, Eritrea = QLocale::Eritrea, Estonia = QLocale::Estonia, Ethiopia = QLocale::Ethiopia, FalklandIslands = QLocale::FalklandIslands, FaroeIslands = QLocale::FaroeIslands, FijiCountry = QLocale::FijiCountry, Finland = QLocale::Finland, France = QLocale::France, MetropolitanFrance = QLocale::MetropolitanFrance, FrenchGuiana = QLocale::FrenchGuiana, FrenchPolynesia = QLocale::FrenchPolynesia, FrenchSouthernTerritories = QLocale::FrenchSouthernTerritories, Gabon = QLocale::Gabon, Gambia = QLocale::Gambia, Georgia = QLocale::Georgia, Germany = QLocale::Germany, Ghana = QLocale::Ghana, Gibraltar = QLocale::Gibraltar, Greece = QLocale::Greece, Greenland = QLocale::Greenland, Grenada = QLocale::Grenada, Guadeloupe = QLocale::Guadeloupe, Guam = QLocale::Guam, Guatemala = QLocale::Guatemala, Guinea = QLocale::Guinea, GuineaBissau = QLocale::GuineaBissau, Guyana = QLocale::Guyana, Haiti = QLocale::Haiti, HeardAndMcDonaldIslands = QLocale::HeardAndMcDonaldIslands, Honduras = QLocale::Honduras, HongKong = QLocale::HongKong, Hungary = QLocale::Hungary, Iceland = QLocale::Iceland, India = QLocale::India, Indonesia = QLocale::Indonesia, Iran = QLocale::Iran, Iraq = QLocale::Iraq, Ireland = QLocale::Ireland, Israel = QLocale::Israel, Italy = QLocale::Italy, Jamaica = QLocale::Jamaica, Japan = QLocale::Japan, Jordan = QLocale::Jordan, Kazakhstan = QLocale::Kazakhstan, Kenya = QLocale::Kenya, Kiribati = QLocale::Kiribati, DemocraticRepublicOfKorea = QLocale::DemocraticRepublicOfKorea, RepublicOfKorea = QLocale::RepublicOfKorea, Kuwait = QLocale::Kuwait, Kyrgyzstan = QLocale::Kyrgyzstan, Lao = QLocale::Lao, Latvia = QLocale::Latvia, Lebanon = QLocale::Lebanon, Lesotho = QLocale::Lesotho, Liberia = QLocale::Liberia, LibyanArabJamahiriya = QLocale::LibyanArabJamahiriya, Liechtenstein = QLocale::Liechtenstein, Lithuania = QLocale::Lithuania, Luxembourg = QLocale::Luxembourg, Macau = QLocale::Macau, Macedonia = QLocale::Macedonia, Madagascar = QLocale::Madagascar, Malawi = QLocale::Malawi, Malaysia = QLocale::Malaysia, Maldives = QLocale::Maldives, Mali = QLocale::Mali, Malta = QLocale::Malta, MarshallIslands = QLocale::MarshallIslands, Martinique = QLocale::Martinique, Mauritania = QLocale::Mauritania, Mauritius = QLocale::Mauritius, Mayotte = QLocale::Mayotte, Mexico = QLocale::Mexico, Micronesia = QLocale::Micronesia, Moldova = QLocale::Moldova, Monaco = QLocale::Monaco, Mongolia = QLocale::Mongolia, Montserrat = QLocale::Montserrat, Morocco = QLocale::Morocco, Mozambique = QLocale::Mozambique, Myanmar = QLocale::Myanmar, Namibia = QLocale::Namibia, NauruCountry = QLocale::NauruCountry, Nepal = QLocale::Nepal, Netherlands = QLocale::Netherlands, NetherlandsAntilles = QLocale::NetherlandsAntilles, NewCaledonia = QLocale::NewCaledonia, NewZealand = QLocale::NewZealand, Nicaragua = QLocale::Nicaragua, Niger = QLocale::Niger, Nigeria = QLocale::Nigeria, Niue = QLocale::Niue, NorfolkIsland = QLocale::NorfolkIsland, NorthernMarianaIslands = QLocale::NorthernMarianaIslands, Norway = QLocale::Norway, Oman = QLocale::Oman, Pakistan = QLocale::Pakistan, Palau = QLocale::Palau, PalestinianTerritory = QLocale::PalestinianTerritory, Panama = QLocale::Panama, PapuaNewGuinea = QLocale::PapuaNewGuinea, Paraguay = QLocale::Paraguay, Peru = QLocale::Peru, Philippines = QLocale::Philippines, Pitcairn = QLocale::Pitcairn, Poland = QLocale::Poland, Portugal = QLocale::Portugal, PuertoRico = QLocale::PuertoRico, Qatar = QLocale::Qatar, Reunion = QLocale::Reunion, Romania = QLocale::Romania, RussianFederation = QLocale::RussianFederation, Rwanda = QLocale::Rwanda, SaintKittsAndNevis = QLocale::SaintKittsAndNevis, StLucia = QLocale::StLucia, StVincentAndTheGrenadines = QLocale::StVincentAndTheGrenadines, Samoa = QLocale::Samoa, SanMarino = QLocale::SanMarino, SaoTomeAndPrincipe = QLocale::SaoTomeAndPrincipe, SaudiArabia = QLocale::SaudiArabia, Senegal = QLocale::Senegal, Seychelles = QLocale::Seychelles, SierraLeone = QLocale::SierraLeone, Singapore = QLocale::Singapore, Slovakia = QLocale::Slovakia, Slovenia = QLocale::Slovenia, SolomonIslands = QLocale::SolomonIslands, Somalia = QLocale::Somalia, SouthAfrica = QLocale::SouthAfrica, SouthGeorgiaAndTheSouthSandwichIslands = QLocale::SouthGeorgiaAndTheSouthSandwichIslands, Spain = QLocale::Spain, SriLanka = QLocale::SriLanka, StHelena = QLocale::StHelena, StPierreAndMiquelon = QLocale::StPierreAndMiquelon, Sudan = QLocale::Sudan, Suriname = QLocale::Suriname, SvalbardAndJanMayenIslands = QLocale::SvalbardAndJanMayenIslands, Swaziland = QLocale::Swaziland, Sweden = QLocale::Sweden, Switzerland = QLocale::Switzerland, SyrianArabRepublic = QLocale::SyrianArabRepublic, Taiwan = QLocale::Taiwan, Tajikistan = QLocale::Tajikistan, Tanzania = QLocale::Tanzania, Thailand = QLocale::Thailand, Togo = QLocale::Togo, Tokelau = QLocale::Tokelau, TongaCountry = QLocale::TongaCountry, TrinidadAndTobago = QLocale::TrinidadAndTobago, Tunisia = QLocale::Tunisia, Turkey = QLocale::Turkey, Turkmenistan = QLocale::Turkmenistan, TurksAndCaicosIslands = QLocale::TurksAndCaicosIslands, Tuvalu = QLocale::Tuvalu, Uganda = QLocale::Uganda, Ukraine = QLocale::Ukraine, UnitedArabEmirates = QLocale::UnitedArabEmirates, UnitedKingdom = QLocale::UnitedKingdom, UnitedStates = QLocale::UnitedStates, UnitedStatesMinorOutlyingIslands = QLocale::UnitedStatesMinorOutlyingIslands, Uruguay = QLocale::Uruguay, Uzbekistan = QLocale::Uzbekistan, Vanuatu = QLocale::Vanuatu, VaticanCityState = QLocale::VaticanCityState, Venezuela = QLocale::Venezuela, VietNam = QLocale::VietNam, BritishVirginIslands = QLocale::BritishVirginIslands, USVirginIslands = QLocale::USVirginIslands, WallisAndFutunaIslands = QLocale::WallisAndFutunaIslands, WesternSahara = QLocale::WesternSahara, Yemen = QLocale::Yemen, Yugoslavia = QLocale::Yugoslavia, Zambia = QLocale::Zambia, Zimbabwe = QLocale::Zimbabwe, SerbiaAndMontenegro = QLocale::SerbiaAndMontenegro, LastCountry = QLocale::LastCountry}; -enum Language{ - C = QLocale::C, Abkhazian = QLocale::Abkhazian, Afan = QLocale::Afan, Afar = QLocale::Afar, Afrikaans = QLocale::Afrikaans, Albanian = QLocale::Albanian, Amharic = QLocale::Amharic, Arabic = QLocale::Arabic, Armenian = QLocale::Armenian, Assamese = QLocale::Assamese, Aymara = QLocale::Aymara, Azerbaijani = QLocale::Azerbaijani, Bashkir = QLocale::Bashkir, Basque = QLocale::Basque, Bengali = QLocale::Bengali, Bhutani = QLocale::Bhutani, Bihari = QLocale::Bihari, Bislama = QLocale::Bislama, Breton = QLocale::Breton, Bulgarian = QLocale::Bulgarian, Burmese = QLocale::Burmese, Byelorussian = QLocale::Byelorussian, Cambodian = QLocale::Cambodian, Catalan = QLocale::Catalan, Chinese = QLocale::Chinese, Corsican = QLocale::Corsican, Croatian = QLocale::Croatian, Czech = QLocale::Czech, Danish = QLocale::Danish, Dutch = QLocale::Dutch, English = QLocale::English, Esperanto = QLocale::Esperanto, Estonian = QLocale::Estonian, Faroese = QLocale::Faroese, FijiLanguage = QLocale::FijiLanguage, Finnish = QLocale::Finnish, French = QLocale::French, Frisian = QLocale::Frisian, Gaelic = QLocale::Gaelic, Galician = QLocale::Galician, Georgian = QLocale::Georgian, German = QLocale::German, Greek = QLocale::Greek, Greenlandic = QLocale::Greenlandic, Guarani = QLocale::Guarani, Gujarati = QLocale::Gujarati, Hausa = QLocale::Hausa, Hebrew = QLocale::Hebrew, Hindi = QLocale::Hindi, Hungarian = QLocale::Hungarian, Icelandic = QLocale::Icelandic, Indonesian = QLocale::Indonesian, Interlingua = QLocale::Interlingua, Interlingue = QLocale::Interlingue, Inuktitut = QLocale::Inuktitut, Inupiak = QLocale::Inupiak, Irish = QLocale::Irish, Italian = QLocale::Italian, Japanese = QLocale::Japanese, Javanese = QLocale::Javanese, Kannada = QLocale::Kannada, Kashmiri = QLocale::Kashmiri, Kazakh = QLocale::Kazakh, Kinyarwanda = QLocale::Kinyarwanda, Kirghiz = QLocale::Kirghiz, Korean = QLocale::Korean, Kurdish = QLocale::Kurdish, Kurundi = QLocale::Kurundi, Laothian = QLocale::Laothian, Latin = QLocale::Latin, Latvian = QLocale::Latvian, Lingala = QLocale::Lingala, Lithuanian = QLocale::Lithuanian, Macedonian = QLocale::Macedonian, Malagasy = QLocale::Malagasy, Malay = QLocale::Malay, Malayalam = QLocale::Malayalam, Maltese = QLocale::Maltese, Maori = QLocale::Maori, Marathi = QLocale::Marathi, Moldavian = QLocale::Moldavian, Mongolian = QLocale::Mongolian, NauruLanguage = QLocale::NauruLanguage, Nepali = QLocale::Nepali, Norwegian = QLocale::Norwegian, NorwegianBokmal = QLocale::NorwegianBokmal, Occitan = QLocale::Occitan, Oriya = QLocale::Oriya, Pashto = QLocale::Pashto, Persian = QLocale::Persian, Polish = QLocale::Polish, Portuguese = QLocale::Portuguese, Punjabi = QLocale::Punjabi, Quechua = QLocale::Quechua, RhaetoRomance = QLocale::RhaetoRomance, Romanian = QLocale::Romanian, Russian = QLocale::Russian, Samoan = QLocale::Samoan, Sangho = QLocale::Sangho, Sanskrit = QLocale::Sanskrit, Serbian = QLocale::Serbian, SerboCroatian = QLocale::SerboCroatian, Sesotho = QLocale::Sesotho, Setswana = QLocale::Setswana, Shona = QLocale::Shona, Sindhi = QLocale::Sindhi, Singhalese = QLocale::Singhalese, Siswati = QLocale::Siswati, Slovak = QLocale::Slovak, Slovenian = QLocale::Slovenian, Somali = QLocale::Somali, Spanish = QLocale::Spanish, Sundanese = QLocale::Sundanese, Swahili = QLocale::Swahili, Swedish = QLocale::Swedish, Tagalog = QLocale::Tagalog, Tajik = QLocale::Tajik, Tamil = QLocale::Tamil, Tatar = QLocale::Tatar, Telugu = QLocale::Telugu, Thai = QLocale::Thai, Tibetan = QLocale::Tibetan, Tigrinya = QLocale::Tigrinya, TongaLanguage = QLocale::TongaLanguage, Tsonga = QLocale::Tsonga, Turkish = QLocale::Turkish, Turkmen = QLocale::Turkmen, Twi = QLocale::Twi, Uigur = QLocale::Uigur, Ukrainian = QLocale::Ukrainian, Urdu = QLocale::Urdu, Uzbek = QLocale::Uzbek, Vietnamese = QLocale::Vietnamese, Volapuk = QLocale::Volapuk, Welsh = QLocale::Welsh, Wolof = QLocale::Wolof, Xhosa = QLocale::Xhosa, Yiddish = QLocale::Yiddish, Yoruba = QLocale::Yoruba, Zhuang = QLocale::Zhuang, Zulu = QLocale::Zulu, NorwegianNynorsk = QLocale::NorwegianNynorsk, Nynorsk = QLocale::Nynorsk, Bosnian = QLocale::Bosnian, Divehi = QLocale::Divehi, Manx = QLocale::Manx, Cornish = QLocale::Cornish, Akan = QLocale::Akan, Konkani = QLocale::Konkani, Ga = QLocale::Ga, Igbo = QLocale::Igbo, Kamba = QLocale::Kamba, Syriac = QLocale::Syriac, Blin = QLocale::Blin, Geez = QLocale::Geez, Koro = QLocale::Koro, Sidamo = QLocale::Sidamo, Atsam = QLocale::Atsam, Tigre = QLocale::Tigre, Jju = QLocale::Jju, Friulian = QLocale::Friulian, Venda = QLocale::Venda, Ewe = QLocale::Ewe, Walamo = QLocale::Walamo, Hawaiian = QLocale::Hawaiian, Tyap = QLocale::Tyap, Chewa = QLocale::Chewa, LastLanguage = QLocale::LastLanguage}; -Q_DECLARE_FLAGS(NumberOptions, NumberOption) -public slots: -QLocale* new_QLocale(); -QLocale* new_QLocale(QLocale::Language language, QLocale::Country country = QLocale::AnyCountry); -QLocale* new_QLocale(const QLocale& other); -QLocale* new_QLocale(const QString& name); -void delete_QLocale(QLocale* obj) { delete obj; } - QChar groupSeparator(QLocale* theWrappedObject) const; - float toFloat(QLocale* theWrappedObject, const QString& s, bool* ok = 0) const; - ushort toUShort(QLocale* theWrappedObject, const QString& s, bool* ok = 0, int base = 0) const; - QDateTime toDateTime(QLocale* theWrappedObject, const QString& string, const QString& format) const; - QString toString(QLocale* theWrappedObject, float i, char f = 'g', int prec = 6) const; - void writeTo(QLocale* theWrappedObject, QDataStream& arg__1); - QTime toTime(QLocale* theWrappedObject, const QString& string, const QString& format) const; - QDateTime toDateTime(QLocale* theWrappedObject, const QString& string, QLocale::FormatType format = QLocale::LongFormat) const; - bool operator_equal(QLocale* theWrappedObject, const QLocale& other) const; - QString toString(QLocale* theWrappedObject, short i) const; - QLocale::NumberOptions numberOptions(QLocale* theWrappedObject) const; - short toShort(QLocale* theWrappedObject, const QString& s, bool* ok = 0, int base = 0) const; - QTime toTime(QLocale* theWrappedObject, const QString& string, QLocale::FormatType arg__2 = QLocale::LongFormat) const; - QString static_QLocale_countryToString(QLocale::Country country); - QChar zeroDigit(QLocale* theWrappedObject) const; - QDate toDate(QLocale* theWrappedObject, const QString& string, QLocale::FormatType arg__2 = QLocale::LongFormat) const; - QString dayName(QLocale* theWrappedObject, int arg__1, QLocale::FormatType format = QLocale::LongFormat) const; - QString toString(QLocale* theWrappedObject, double i, char f = 'g', int prec = 6) const; - QString dateFormat(QLocale* theWrappedObject, QLocale::FormatType format = QLocale::LongFormat) const; - QLocale::Language language(QLocale* theWrappedObject) const; - QString toString(QLocale* theWrappedObject, const QTime& time, const QString& formatStr) const; - QLocale static_QLocale_c(); - QString toString(QLocale* theWrappedObject, const QDateTime& dateTime, QLocale::FormatType format = QLocale::LongFormat) const; - QChar negativeSign(QLocale* theWrappedObject) const; - double toDouble(QLocale* theWrappedObject, const QString& s, bool* ok = 0) const; - void readFrom(QLocale* theWrappedObject, QDataStream& arg__1); - QString dateTimeFormat(QLocale* theWrappedObject, QLocale::FormatType format = QLocale::LongFormat) const; - QLocale static_QLocale_system(); - QString monthName(QLocale* theWrappedObject, int arg__1, QLocale::FormatType format = QLocale::LongFormat) const; - QString name(QLocale* theWrappedObject) const; - void setNumberOptions(QLocale* theWrappedObject, QLocale::NumberOptions options); - QString toString(QLocale* theWrappedObject, qulonglong i) const; - QChar decimalPoint(QLocale* theWrappedObject) const; - void static_QLocale_setDefault(const QLocale& locale); - int toInt(QLocale* theWrappedObject, const QString& s, bool* ok = 0, int base = 0) const; - QString toString(QLocale* theWrappedObject, const QDate& date, const QString& formatStr) const; - QList static_QLocale_countriesForLanguage(QLocale::Language lang); - QLocale::Country country(QLocale* theWrappedObject) const; - QString toString(QLocale* theWrappedObject, const QDate& date, QLocale::FormatType format = QLocale::LongFormat) const; - QChar exponential(QLocale* theWrappedObject) const; - QString toString(QLocale* theWrappedObject, const QTime& time, QLocale::FormatType format = QLocale::LongFormat) const; - QString toString(QLocale* theWrappedObject, const QDateTime& dateTime, const QString& format) const; - QDate toDate(QLocale* theWrappedObject, const QString& string, const QString& format) const; - QString static_QLocale_languageToString(QLocale::Language language); - QLocale::MeasurementSystem measurementSystem(QLocale* theWrappedObject) const; - QChar percent(QLocale* theWrappedObject) const; - QString timeFormat(QLocale* theWrappedObject, QLocale::FormatType format = QLocale::LongFormat) const; - qlonglong toLongLong(QLocale* theWrappedObject, const QString& s, bool* ok = 0, int base = 0) const; - QString toString(QLocale* theWrappedObject, int i) const; -}; - -#endif // PYTHONQTWRAPPER_QLOCALE_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QMimeData.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QMimeData.cpp deleted file mode 100644 index e80fe95..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QMimeData.cpp +++ /dev/null @@ -1,321 +0,0 @@ -#include "PythonQtWrapper_QMimeData.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QMimeData::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; - } -} - QMimeData::childEvent(arg__1); -} -void PythonQtShell_QMimeData::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; - } -} - QMimeData::customEvent(arg__1); -} -bool PythonQtShell_QMimeData::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMimeData::event(arg__1); -} -bool PythonQtShell_QMimeData::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMimeData::eventFilter(arg__1, arg__2); -} -QStringList PythonQtShell_QMimeData::formats() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "formats"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QStringList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStringList returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("formats", methodInfo, result); - } else { - returnValue = *((QStringList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMimeData::formats(); -} -bool PythonQtShell_QMimeData::hasFormat(const QString& mimetype) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hasFormat"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&mimetype}; - 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("hasFormat", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMimeData::hasFormat(mimetype); -} -QVariant PythonQtShell_QMimeData::retrieveData(const QString& mimetype, QVariant::Type preferredType) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "retrieveData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "const QString&" , "QVariant::Type"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&mimetype, (void*)&preferredType}; - 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("retrieveData", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMimeData::retrieveData(mimetype, preferredType); -} -void PythonQtShell_QMimeData::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; - } -} - QMimeData::timerEvent(arg__1); -} -QMimeData* PythonQtWrapper_QMimeData::new_QMimeData() -{ -return new PythonQtShell_QMimeData(); } - -void PythonQtWrapper_QMimeData::setColorData(QMimeData* theWrappedObject, const QVariant& color) -{ - ( theWrappedObject->setColorData(color)); -} - -bool PythonQtWrapper_QMimeData::hasImage(QMimeData* theWrappedObject) const -{ - return ( theWrappedObject->hasImage()); -} - -QString PythonQtWrapper_QMimeData::text(QMimeData* theWrappedObject) const -{ - return ( theWrappedObject->text()); -} - -void PythonQtWrapper_QMimeData::setData(QMimeData* theWrappedObject, const QString& mimetype, const QByteArray& data) -{ - ( theWrappedObject->setData(mimetype, data)); -} - -void PythonQtWrapper_QMimeData::removeFormat(QMimeData* theWrappedObject, const QString& mimetype) -{ - ( theWrappedObject->removeFormat(mimetype)); -} - -QVariant PythonQtWrapper_QMimeData::colorData(QMimeData* theWrappedObject) const -{ - return ( theWrappedObject->colorData()); -} - -bool PythonQtWrapper_QMimeData::hasColor(QMimeData* theWrappedObject) const -{ - return ( theWrappedObject->hasColor()); -} - -void PythonQtWrapper_QMimeData::setImageData(QMimeData* theWrappedObject, const QVariant& image) -{ - ( theWrappedObject->setImageData(image)); -} - -QStringList PythonQtWrapper_QMimeData::formats(QMimeData* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QMimeData*)theWrappedObject)->promoted_formats()); -} - -bool PythonQtWrapper_QMimeData::hasText(QMimeData* theWrappedObject) const -{ - return ( theWrappedObject->hasText()); -} - -void PythonQtWrapper_QMimeData::setText(QMimeData* theWrappedObject, const QString& text) -{ - ( theWrappedObject->setText(text)); -} - -QList PythonQtWrapper_QMimeData::urls(QMimeData* theWrappedObject) const -{ - return ( theWrappedObject->urls()); -} - -QByteArray PythonQtWrapper_QMimeData::data(QMimeData* theWrappedObject, const QString& mimetype) const -{ - return ( theWrappedObject->data(mimetype)); -} - -bool PythonQtWrapper_QMimeData::hasHtml(QMimeData* theWrappedObject) const -{ - return ( theWrappedObject->hasHtml()); -} - -void PythonQtWrapper_QMimeData::clear(QMimeData* theWrappedObject) -{ - ( theWrappedObject->clear()); -} - -bool PythonQtWrapper_QMimeData::hasFormat(QMimeData* theWrappedObject, const QString& mimetype) const -{ - return ( ((PythonQtPublicPromoter_QMimeData*)theWrappedObject)->promoted_hasFormat(mimetype)); -} - -bool PythonQtWrapper_QMimeData::hasUrls(QMimeData* theWrappedObject) const -{ - return ( theWrappedObject->hasUrls()); -} - -QVariant PythonQtWrapper_QMimeData::imageData(QMimeData* theWrappedObject) const -{ - return ( theWrappedObject->imageData()); -} - -void PythonQtWrapper_QMimeData::setHtml(QMimeData* theWrappedObject, const QString& html) -{ - ( theWrappedObject->setHtml(html)); -} - -void PythonQtWrapper_QMimeData::setUrls(QMimeData* theWrappedObject, const QList& urls) -{ - ( theWrappedObject->setUrls(urls)); -} - -QVariant PythonQtWrapper_QMimeData::retrieveData(QMimeData* theWrappedObject, const QString& mimetype, QVariant::Type preferredType) const -{ - return ( ((PythonQtPublicPromoter_QMimeData*)theWrappedObject)->promoted_retrieveData(mimetype, preferredType)); -} - -QString PythonQtWrapper_QMimeData::html(QMimeData* theWrappedObject) const -{ - return ( theWrappedObject->html()); -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QMimeData.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QMimeData.h deleted file mode 100644 index 607505a..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QMimeData.h +++ /dev/null @@ -1,74 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QMIMEDATA_H -#define PYTHONQTWRAPPER_QMIMEDATA_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QMimeData : public QMimeData -{ -public: - PythonQtShell_QMimeData():QMimeData(),_wrapper(NULL) {}; - -virtual void childEvent(QChildEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual QStringList formats() const; -virtual bool hasFormat(const QString& mimetype) const; -virtual QVariant retrieveData(const QString& mimetype, QVariant::Type preferredType) const; -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QMimeData : public QMimeData -{ public: -inline QStringList promoted_formats() const { return QMimeData::formats(); } -inline bool promoted_hasFormat(const QString& mimetype) const { return QMimeData::hasFormat(mimetype); } -inline QVariant promoted_retrieveData(const QString& mimetype, QVariant::Type preferredType) const { return QMimeData::retrieveData(mimetype, preferredType); } -}; - -class PythonQtWrapper_QMimeData : public QObject -{ Q_OBJECT -public: -public slots: -QMimeData* new_QMimeData(); -void delete_QMimeData(QMimeData* obj) { delete obj; } - void setColorData(QMimeData* theWrappedObject, const QVariant& color); - bool hasImage(QMimeData* theWrappedObject) const; - QString text(QMimeData* theWrappedObject) const; - void setData(QMimeData* theWrappedObject, const QString& mimetype, const QByteArray& data); - void removeFormat(QMimeData* theWrappedObject, const QString& mimetype); - QVariant colorData(QMimeData* theWrappedObject) const; - bool hasColor(QMimeData* theWrappedObject) const; - void setImageData(QMimeData* theWrappedObject, const QVariant& image); - QStringList formats(QMimeData* theWrappedObject) const; - bool hasText(QMimeData* theWrappedObject) const; - void setText(QMimeData* theWrappedObject, const QString& text); - QList urls(QMimeData* theWrappedObject) const; - QByteArray data(QMimeData* theWrappedObject, const QString& mimetype) const; - bool hasHtml(QMimeData* theWrappedObject) const; - void clear(QMimeData* theWrappedObject); - bool hasFormat(QMimeData* theWrappedObject, const QString& mimetype) const; - bool hasUrls(QMimeData* theWrappedObject) const; - QVariant imageData(QMimeData* theWrappedObject) const; - void setHtml(QMimeData* theWrappedObject, const QString& html); - void setUrls(QMimeData* theWrappedObject, const QList& urls); - QVariant retrieveData(QMimeData* theWrappedObject, const QString& mimetype, QVariant::Type preferredType) const; - QString html(QMimeData* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QMIMEDATA_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QModelIndex.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QModelIndex.cpp deleted file mode 100644 index 48e066e..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QModelIndex.cpp +++ /dev/null @@ -1,88 +0,0 @@ -#include "PythonQtWrapper_QModelIndex.h" - -#include -#include -#include -#include -#include - -QModelIndex* PythonQtWrapper_QModelIndex::new_QModelIndex() -{ -return new QModelIndex(); } - -QModelIndex* PythonQtWrapper_QModelIndex::new_QModelIndex(const QModelIndex& other) -{ -return new QModelIndex(other); } - -Qt::ItemFlags PythonQtWrapper_QModelIndex::flags(QModelIndex* theWrappedObject) const -{ - return ( theWrappedObject->flags()); -} - -void* PythonQtWrapper_QModelIndex::internalPointer(QModelIndex* theWrappedObject) const -{ - return ( theWrappedObject->internalPointer()); -} - -QVariant PythonQtWrapper_QModelIndex::data(QModelIndex* theWrappedObject, int role) const -{ - return ( theWrappedObject->data(role)); -} - -qint64 PythonQtWrapper_QModelIndex::internalId(QModelIndex* theWrappedObject) const -{ - return ( theWrappedObject->internalId()); -} - -QModelIndex PythonQtWrapper_QModelIndex::sibling(QModelIndex* theWrappedObject, int row, int column) const -{ - return ( theWrappedObject->sibling(row, column)); -} - -bool PythonQtWrapper_QModelIndex::operator_equal(QModelIndex* theWrappedObject, const QModelIndex& other) const -{ - return ( (*theWrappedObject)== other); -} - -int PythonQtWrapper_QModelIndex::column(QModelIndex* theWrappedObject) const -{ - return ( theWrappedObject->column()); -} - -bool PythonQtWrapper_QModelIndex::isValid(QModelIndex* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -const QAbstractItemModel* PythonQtWrapper_QModelIndex::model(QModelIndex* theWrappedObject) const -{ - return ( theWrappedObject->model()); -} - -int PythonQtWrapper_QModelIndex::row(QModelIndex* theWrappedObject) const -{ - return ( theWrappedObject->row()); -} - -QModelIndex PythonQtWrapper_QModelIndex::child(QModelIndex* theWrappedObject, int row, int column) const -{ - return ( theWrappedObject->child(row, column)); -} - -bool PythonQtWrapper_QModelIndex::operator_less(QModelIndex* theWrappedObject, const QModelIndex& other) const -{ - return ( (*theWrappedObject)< other); -} - -QModelIndex PythonQtWrapper_QModelIndex::parent(QModelIndex* theWrappedObject) const -{ - return ( theWrappedObject->parent()); -} - -QString PythonQtWrapper_QModelIndex::toString(QModelIndex* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QModelIndex.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QModelIndex.h deleted file mode 100644 index 7b3c74b..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QModelIndex.h +++ /dev/null @@ -1,35 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QMODELINDEX_H -#define PYTHONQTWRAPPER_QMODELINDEX_H - -#include -#include - -#include - -#include -#include - -class PythonQtWrapper_QModelIndex : public QObject -{ Q_OBJECT -public: -public slots: -QModelIndex* new_QModelIndex(); -QModelIndex* new_QModelIndex(const QModelIndex& other); -void delete_QModelIndex(QModelIndex* obj) { delete obj; } - Qt::ItemFlags flags(QModelIndex* theWrappedObject) const; - void* internalPointer(QModelIndex* theWrappedObject) const; - QVariant data(QModelIndex* theWrappedObject, int role = Qt::DisplayRole) const; - qint64 internalId(QModelIndex* theWrappedObject) const; - QModelIndex sibling(QModelIndex* theWrappedObject, int row, int column) const; - bool operator_equal(QModelIndex* theWrappedObject, const QModelIndex& other) const; - int column(QModelIndex* theWrappedObject) const; - bool isValid(QModelIndex* theWrappedObject) const; - const QAbstractItemModel* model(QModelIndex* theWrappedObject) const; - int row(QModelIndex* theWrappedObject) const; - QModelIndex child(QModelIndex* theWrappedObject, int row, int column) const; - bool operator_less(QModelIndex* theWrappedObject, const QModelIndex& other) const; - QModelIndex parent(QModelIndex* theWrappedObject) const; - QString toString(QModelIndex*); -}; - -#endif // PYTHONQTWRAPPER_QMODELINDEX_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QMutex.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QMutex.cpp deleted file mode 100644 index 7d42d88..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QMutex.cpp +++ /dev/null @@ -1,32 +0,0 @@ -#include "PythonQtWrapper_QMutex.h" - -#include -#include -#include -#include -#include - -QMutex* PythonQtWrapper_QMutex::new_QMutex(QMutex::RecursionMode mode) -{ -return new QMutex(mode); } - -bool PythonQtWrapper_QMutex::tryLock(QMutex* theWrappedObject, int timeout) -{ - return ( theWrappedObject->tryLock(timeout)); -} - -void PythonQtWrapper_QMutex::unlock(QMutex* theWrappedObject) -{ - ( theWrappedObject->unlock()); -} - -bool PythonQtWrapper_QMutex::tryLock(QMutex* theWrappedObject) -{ - return ( theWrappedObject->tryLock()); -} - -void PythonQtWrapper_QMutex::lock(QMutex* theWrappedObject) -{ - ( theWrappedObject->lock()); -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QMutex.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QMutex.h deleted file mode 100644 index 405a9da..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QMutex.h +++ /dev/null @@ -1,27 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QMUTEX_H -#define PYTHONQTWRAPPER_QMUTEX_H - -#include -#include - -#include - -#include -#include - -class PythonQtWrapper_QMutex : public QObject -{ Q_OBJECT -public: -Q_ENUMS(RecursionMode ) -enum RecursionMode{ - NonRecursive = QMutex::NonRecursive, Recursive = QMutex::Recursive}; -public slots: -QMutex* new_QMutex(QMutex::RecursionMode mode = QMutex::NonRecursive); -void delete_QMutex(QMutex* obj) { delete obj; } - bool tryLock(QMutex* theWrappedObject, int timeout); - void unlock(QMutex* theWrappedObject); - bool tryLock(QMutex* theWrappedObject); - void lock(QMutex* theWrappedObject); -}; - -#endif // PYTHONQTWRAPPER_QMUTEX_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QObject.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QObject.cpp deleted file mode 100644 index 9ef2c95..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QObject.cpp +++ /dev/null @@ -1,255 +0,0 @@ -#include "PythonQtWrapper_QObject.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QObject::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; - } -} - QObject::childEvent(arg__1); -} -void PythonQtShell_QObject::customEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QObject::customEvent(arg__1); -} -bool PythonQtShell_QObject::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QObject::event(arg__1); -} -bool PythonQtShell_QObject::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QObject::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QObject::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QObject::timerEvent(arg__1); -} -QObject* PythonQtWrapper_QObject::new_QObject(QObject* parent) -{ -return new PythonQtShell_QObject(parent); } - -bool PythonQtWrapper_QObject::blockSignals(QObject* theWrappedObject, bool b) -{ - return ( theWrappedObject->blockSignals(b)); -} - -QList PythonQtWrapper_QObject::dynamicPropertyNames(QObject* theWrappedObject) const -{ - return ( theWrappedObject->dynamicPropertyNames()); -} - -QString PythonQtWrapper_QObject::objectName(QObject* theWrappedObject) const -{ - return ( theWrappedObject->objectName()); -} - -void PythonQtWrapper_QObject::customEvent(QObject* theWrappedObject, QEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QObject*)theWrappedObject)->promoted_customEvent(arg__1)); -} - -QThread* PythonQtWrapper_QObject::thread(QObject* theWrappedObject) const -{ - return ( theWrappedObject->thread()); -} - -bool PythonQtWrapper_QObject::isWidgetType(QObject* theWrappedObject) const -{ - return ( theWrappedObject->isWidgetType()); -} - -void PythonQtWrapper_QObject::moveToThread(QObject* theWrappedObject, QThread* thread) -{ - ( theWrappedObject->moveToThread(thread)); -} - -void PythonQtWrapper_QObject::setObjectName(QObject* theWrappedObject, const QString& name) -{ - ( theWrappedObject->setObjectName(name)); -} - -void PythonQtWrapper_QObject::childEvent(QObject* theWrappedObject, QChildEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QObject*)theWrappedObject)->promoted_childEvent(arg__1)); -} - -void PythonQtWrapper_QObject::dumpObjectInfo(QObject* theWrappedObject) -{ - ( theWrappedObject->dumpObjectInfo()); -} - -const QList* PythonQtWrapper_QObject::children(QObject* theWrappedObject) const -{ - return &( theWrappedObject->children()); -} - -void PythonQtWrapper_QObject::setParent(QObject* theWrappedObject, QObject* arg__1) -{ - ( theWrappedObject->setParent(arg__1)); -} - -bool PythonQtWrapper_QObject::setProperty(QObject* theWrappedObject, const char* name, const QVariant& value) -{ - return ( theWrappedObject->setProperty(name, value)); -} - -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::removeEventFilter(QObject* theWrappedObject, QObject* arg__1) -{ - ( theWrappedObject->removeEventFilter(arg__1)); -} - -bool PythonQtWrapper_QObject::inherits(QObject* theWrappedObject, const char* classname) const -{ - return ( theWrappedObject->inherits(classname)); -} - -void PythonQtWrapper_QObject::dumpObjectTree(QObject* theWrappedObject) -{ - ( theWrappedObject->dumpObjectTree()); -} - -void PythonQtWrapper_QObject::timerEvent(QObject* theWrappedObject, QTimerEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QObject*)theWrappedObject)->promoted_timerEvent(arg__1)); -} - -QObject* PythonQtWrapper_QObject::parent(QObject* theWrappedObject) const -{ - return ( theWrappedObject->parent()); -} - -bool PythonQtWrapper_QObject::signalsBlocked(QObject* theWrappedObject) const -{ - return ( theWrappedObject->signalsBlocked()); -} - -void PythonQtWrapper_QObject::installEventFilter(QObject* theWrappedObject, QObject* arg__1) -{ - ( theWrappedObject->installEventFilter(arg__1)); -} - -bool PythonQtWrapper_QObject::event(QObject* theWrappedObject, QEvent* arg__1) -{ - return ( ((PythonQtPublicPromoter_QObject*)theWrappedObject)->promoted_event(arg__1)); -} - -QVariant PythonQtWrapper_QObject::property(QObject* theWrappedObject, const char* name) const -{ - return ( theWrappedObject->property(name)); -} - -int PythonQtWrapper_QObject::startTimer(QObject* theWrappedObject, int interval) -{ - return ( theWrappedObject->startTimer(interval)); -} - -void PythonQtWrapper_QObject::killTimer(QObject* theWrappedObject, int id) -{ - ( theWrappedObject->killTimer(id)); -} - -QString PythonQtWrapper_QObject::toString(QObject* obj) { - QString result; - QDebug d(&result); - d << obj; - return result; -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QObject.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QObject.h deleted file mode 100644 index 38efa58..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QObject.h +++ /dev/null @@ -1,73 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QOBJECT_H -#define PYTHONQTWRAPPER_QOBJECT_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QObject : public QObject -{ -public: - PythonQtShell_QObject(QObject* parent = 0):QObject(parent),_wrapper(NULL) {}; - -virtual void childEvent(QChildEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QObject : public QObject -{ public: -inline void promoted_customEvent(QEvent* arg__1) { QObject::customEvent(arg__1); } -inline void promoted_childEvent(QChildEvent* arg__1) { QObject::childEvent(arg__1); } -inline bool promoted_eventFilter(QObject* arg__1, QEvent* arg__2) { return QObject::eventFilter(arg__1, arg__2); } -inline void promoted_timerEvent(QTimerEvent* arg__1) { QObject::timerEvent(arg__1); } -inline bool promoted_event(QEvent* arg__1) { return QObject::event(arg__1); } -}; - -class PythonQtWrapper_QObject : public QObject -{ Q_OBJECT -public: -public slots: -QObject* new_QObject(QObject* parent = 0); -void delete_QObject(QObject* obj) { delete obj; } - bool blockSignals(QObject* theWrappedObject, bool b); - QList dynamicPropertyNames(QObject* theWrappedObject) const; - QString objectName(QObject* theWrappedObject) const; - void customEvent(QObject* theWrappedObject, QEvent* arg__1); - QThread* thread(QObject* theWrappedObject) const; - bool isWidgetType(QObject* theWrappedObject) const; - void moveToThread(QObject* theWrappedObject, QThread* thread); - void setObjectName(QObject* theWrappedObject, const QString& name); - void childEvent(QObject* theWrappedObject, QChildEvent* arg__1); - void dumpObjectInfo(QObject* theWrappedObject); - const QList* children(QObject* theWrappedObject) const; - void setParent(QObject* theWrappedObject, QObject* arg__1); - bool setProperty(QObject* theWrappedObject, const char* name, const QVariant& value); - bool eventFilter(QObject* theWrappedObject, QObject* arg__1, QEvent* arg__2); - void removeEventFilter(QObject* theWrappedObject, QObject* arg__1); - bool inherits(QObject* theWrappedObject, const char* classname) const; - void dumpObjectTree(QObject* theWrappedObject); - void timerEvent(QObject* theWrappedObject, QTimerEvent* arg__1); - QObject* parent(QObject* theWrappedObject) const; - bool signalsBlocked(QObject* theWrappedObject) const; - void installEventFilter(QObject* theWrappedObject, QObject* arg__1); - bool event(QObject* theWrappedObject, QEvent* arg__1); - QVariant property(QObject* theWrappedObject, const char* name) const; - int startTimer(QObject* theWrappedObject, int interval); - void killTimer(QObject* theWrappedObject, int id); - QString toString(QObject*); -}; - -#endif // PYTHONQTWRAPPER_QOBJECT_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QPersistentModelIndex.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QPersistentModelIndex.cpp deleted file mode 100644 index 5036f0e..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QPersistentModelIndex.cpp +++ /dev/null @@ -1,97 +0,0 @@ -#include "PythonQtWrapper_QPersistentModelIndex.h" - -#include -#include -#include -#include -#include - -QPersistentModelIndex* PythonQtWrapper_QPersistentModelIndex::new_QPersistentModelIndex() -{ -return new QPersistentModelIndex(); } - -QPersistentModelIndex* PythonQtWrapper_QPersistentModelIndex::new_QPersistentModelIndex(const QModelIndex& index) -{ -return new QPersistentModelIndex(index); } - -QPersistentModelIndex* PythonQtWrapper_QPersistentModelIndex::new_QPersistentModelIndex(const QPersistentModelIndex& other) -{ -return new QPersistentModelIndex(other); } - -bool PythonQtWrapper_QPersistentModelIndex::operator_equal(QPersistentModelIndex* theWrappedObject, const QModelIndex& other) const -{ - return ( (*theWrappedObject)== other); -} - -int PythonQtWrapper_QPersistentModelIndex::row(QPersistentModelIndex* theWrappedObject) const -{ - return ( theWrappedObject->row()); -} - -QModelIndex PythonQtWrapper_QPersistentModelIndex::child(QPersistentModelIndex* theWrappedObject, int row, int column) const -{ - return ( theWrappedObject->child(row, column)); -} - -int PythonQtWrapper_QPersistentModelIndex::column(QPersistentModelIndex* theWrappedObject) const -{ - return ( theWrappedObject->column()); -} - -bool PythonQtWrapper_QPersistentModelIndex::operator_less(QPersistentModelIndex* theWrappedObject, const QPersistentModelIndex& other) const -{ - return ( (*theWrappedObject)< other); -} - -bool PythonQtWrapper_QPersistentModelIndex::operator_equal(QPersistentModelIndex* theWrappedObject, const QPersistentModelIndex& other) const -{ - return ( (*theWrappedObject)== other); -} - -const QAbstractItemModel* PythonQtWrapper_QPersistentModelIndex::model(QPersistentModelIndex* theWrappedObject) const -{ - return ( theWrappedObject->model()); -} - -QModelIndex PythonQtWrapper_QPersistentModelIndex::sibling(QPersistentModelIndex* theWrappedObject, int row, int column) const -{ - return ( theWrappedObject->sibling(row, column)); -} - -bool PythonQtWrapper_QPersistentModelIndex::isValid(QPersistentModelIndex* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -QModelIndex PythonQtWrapper_QPersistentModelIndex::parent(QPersistentModelIndex* theWrappedObject) const -{ - return ( theWrappedObject->parent()); -} - -qint64 PythonQtWrapper_QPersistentModelIndex::internalId(QPersistentModelIndex* theWrappedObject) const -{ - return ( theWrappedObject->internalId()); -} - -QVariant PythonQtWrapper_QPersistentModelIndex::data(QPersistentModelIndex* theWrappedObject, int role) const -{ - return ( theWrappedObject->data(role)); -} - -QModelIndex PythonQtWrapper_QPersistentModelIndex::operator_cast_QModelIndex(QPersistentModelIndex* theWrappedObject) const -{ - return ( theWrappedObject->operator const QModelIndex&()); -} - -Qt::ItemFlags PythonQtWrapper_QPersistentModelIndex::flags(QPersistentModelIndex* theWrappedObject) const -{ - return ( theWrappedObject->flags()); -} - -QString PythonQtWrapper_QPersistentModelIndex::toString(QPersistentModelIndex* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QPersistentModelIndex.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QPersistentModelIndex.h deleted file mode 100644 index b680e08..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QPersistentModelIndex.h +++ /dev/null @@ -1,37 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QPERSISTENTMODELINDEX_H -#define PYTHONQTWRAPPER_QPERSISTENTMODELINDEX_H - -#include -#include - -#include - -#include -#include - -class PythonQtWrapper_QPersistentModelIndex : public QObject -{ Q_OBJECT -public: -public slots: -QPersistentModelIndex* new_QPersistentModelIndex(); -QPersistentModelIndex* new_QPersistentModelIndex(const QModelIndex& index); -QPersistentModelIndex* new_QPersistentModelIndex(const QPersistentModelIndex& other); -void delete_QPersistentModelIndex(QPersistentModelIndex* obj) { delete obj; } - bool operator_equal(QPersistentModelIndex* theWrappedObject, const QModelIndex& other) const; - int row(QPersistentModelIndex* theWrappedObject) const; - QModelIndex child(QPersistentModelIndex* theWrappedObject, int row, int column) const; - int column(QPersistentModelIndex* theWrappedObject) const; - bool operator_less(QPersistentModelIndex* theWrappedObject, const QPersistentModelIndex& other) const; - bool operator_equal(QPersistentModelIndex* theWrappedObject, const QPersistentModelIndex& other) const; - const QAbstractItemModel* model(QPersistentModelIndex* theWrappedObject) const; - QModelIndex sibling(QPersistentModelIndex* theWrappedObject, int row, int column) const; - bool isValid(QPersistentModelIndex* theWrappedObject) const; - QModelIndex parent(QPersistentModelIndex* theWrappedObject) const; - qint64 internalId(QPersistentModelIndex* theWrappedObject) const; - QVariant data(QPersistentModelIndex* theWrappedObject, int role = Qt::DisplayRole) const; - QModelIndex operator_cast_QModelIndex(QPersistentModelIndex* theWrappedObject) const; - Qt::ItemFlags flags(QPersistentModelIndex* theWrappedObject) const; - QString toString(QPersistentModelIndex*); -}; - -#endif // PYTHONQTWRAPPER_QPERSISTENTMODELINDEX_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QPoint.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QPoint.cpp deleted file mode 100644 index 5077aca..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QPoint.cpp +++ /dev/null @@ -1,89 +0,0 @@ -#include "PythonQtWrapper_QPoint.h" - -#include -#include -#include -#include -#include -#include - -QPoint* PythonQtWrapper_QPoint::new_QPoint() -{ -return new QPoint(); } - -QPoint* PythonQtWrapper_QPoint::new_QPoint(int xpos, int ypos) -{ -return new QPoint(xpos, ypos); } - -bool PythonQtWrapper_QPoint::operator_equal(QPoint* theWrappedObject, const QPoint& p2) -{ - return ( (*theWrappedObject)== p2); -} - -void PythonQtWrapper_QPoint::setY(QPoint* theWrappedObject, int y) -{ - ( theWrappedObject->setY(y)); -} - -QPoint* PythonQtWrapper_QPoint::operator_add_assign(QPoint* theWrappedObject, const QPoint& p) -{ - return &( (*theWrappedObject)+= p); -} - -QPoint* PythonQtWrapper_QPoint::operator_multiply_assign(QPoint* theWrappedObject, qreal c) -{ - return &( (*theWrappedObject)*= c); -} - -bool PythonQtWrapper_QPoint::isNull(QPoint* theWrappedObject) const -{ - return ( theWrappedObject->isNull()); -} - -void PythonQtWrapper_QPoint::writeTo(QPoint* theWrappedObject, QDataStream& arg__1) -{ - arg__1 << (*theWrappedObject); -} - -int PythonQtWrapper_QPoint::y(QPoint* theWrappedObject) const -{ - return ( theWrappedObject->y()); -} - -int PythonQtWrapper_QPoint::manhattanLength(QPoint* theWrappedObject) const -{ - return ( theWrappedObject->manhattanLength()); -} - -QPoint* PythonQtWrapper_QPoint::operator_subtract_assign(QPoint* theWrappedObject, const QPoint& p) -{ - return &( (*theWrappedObject)-= p); -} - -void PythonQtWrapper_QPoint::setX(QPoint* theWrappedObject, int x) -{ - ( theWrappedObject->setX(x)); -} - -QPoint* PythonQtWrapper_QPoint::operator_divide_assign(QPoint* theWrappedObject, qreal c) -{ - return &( (*theWrappedObject)/= c); -} - -int PythonQtWrapper_QPoint::x(QPoint* theWrappedObject) const -{ - return ( theWrappedObject->x()); -} - -void PythonQtWrapper_QPoint::readFrom(QPoint* theWrappedObject, QDataStream& arg__1) -{ - arg__1 >> (*theWrappedObject); -} - -QString PythonQtWrapper_QPoint::toString(QPoint* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QPoint.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QPoint.h deleted file mode 100644 index 596b5d4..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QPoint.h +++ /dev/null @@ -1,40 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QPOINT_H -#define PYTHONQTWRAPPER_QPOINT_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtWrapper_QPoint : public QObject -{ Q_OBJECT -public: -public slots: -QPoint* new_QPoint(); -QPoint* new_QPoint(int xpos, int ypos); -QPoint* new_QPoint(const QPoint& other) { -QPoint* a = new QPoint(); -*((QPoint*)a) = other; -return a; } -void delete_QPoint(QPoint* obj) { delete obj; } - bool operator_equal(QPoint* theWrappedObject, const QPoint& p2); - void setY(QPoint* theWrappedObject, int y); - QPoint* operator_add_assign(QPoint* theWrappedObject, const QPoint& p); - QPoint* operator_multiply_assign(QPoint* theWrappedObject, qreal c); - bool isNull(QPoint* theWrappedObject) const; - void writeTo(QPoint* theWrappedObject, QDataStream& arg__1); - int y(QPoint* theWrappedObject) const; - int manhattanLength(QPoint* theWrappedObject) const; - QPoint* operator_subtract_assign(QPoint* theWrappedObject, const QPoint& p); - void setX(QPoint* theWrappedObject, int x); - QPoint* operator_divide_assign(QPoint* theWrappedObject, qreal c); - int x(QPoint* theWrappedObject) const; - void readFrom(QPoint* theWrappedObject, QDataStream& arg__1); - QString toString(QPoint*); -}; - -#endif // PYTHONQTWRAPPER_QPOINT_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QPointF.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QPointF.cpp deleted file mode 100644 index 3111846..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QPointF.cpp +++ /dev/null @@ -1,93 +0,0 @@ -#include "PythonQtWrapper_QPointF.h" - -#include -#include -#include -#include -#include -#include - -QPointF* PythonQtWrapper_QPointF::new_QPointF() -{ -return new QPointF(); } - -QPointF* PythonQtWrapper_QPointF::new_QPointF(const QPoint& p) -{ -return new QPointF(p); } - -QPointF* PythonQtWrapper_QPointF::new_QPointF(qreal xpos, qreal ypos) -{ -return new QPointF(xpos, ypos); } - -QPointF* PythonQtWrapper_QPointF::operator_subtract_assign(QPointF* theWrappedObject, const QPointF& p) -{ - return &( (*theWrappedObject)-= p); -} - -QPointF* PythonQtWrapper_QPointF::operator_divide_assign(QPointF* theWrappedObject, qreal c) -{ - return &( (*theWrappedObject)/= c); -} - -qreal PythonQtWrapper_QPointF::x(QPointF* theWrappedObject) const -{ - return ( theWrappedObject->x()); -} - -QPointF* PythonQtWrapper_QPointF::operator_multiply_assign(QPointF* theWrappedObject, qreal c) -{ - return &( (*theWrappedObject)*= c); -} - -void PythonQtWrapper_QPointF::setX(QPointF* theWrappedObject, qreal x) -{ - ( theWrappedObject->setX(x)); -} - -void PythonQtWrapper_QPointF::writeTo(QPointF* theWrappedObject, QDataStream& arg__1) -{ - arg__1 << (*theWrappedObject); -} - -bool PythonQtWrapper_QPointF::isNull(QPointF* theWrappedObject) const -{ - return ( theWrappedObject->isNull()); -} - -QPoint PythonQtWrapper_QPointF::toPoint(QPointF* theWrappedObject) const -{ - return ( theWrappedObject->toPoint()); -} - -QPointF* PythonQtWrapper_QPointF::operator_add_assign(QPointF* theWrappedObject, const QPointF& p) -{ - return &( (*theWrappedObject)+= p); -} - -qreal PythonQtWrapper_QPointF::y(QPointF* theWrappedObject) const -{ - return ( theWrappedObject->y()); -} - -void PythonQtWrapper_QPointF::setY(QPointF* theWrappedObject, qreal y) -{ - ( theWrappedObject->setY(y)); -} - -bool PythonQtWrapper_QPointF::operator_equal(QPointF* theWrappedObject, const QPointF& p2) -{ - return ( (*theWrappedObject)== p2); -} - -void PythonQtWrapper_QPointF::readFrom(QPointF* theWrappedObject, QDataStream& arg__1) -{ - arg__1 >> (*theWrappedObject); -} - -QString PythonQtWrapper_QPointF::toString(QPointF* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QPointF.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QPointF.h deleted file mode 100644 index 5cead24..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QPointF.h +++ /dev/null @@ -1,41 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QPOINTF_H -#define PYTHONQTWRAPPER_QPOINTF_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtWrapper_QPointF : public QObject -{ Q_OBJECT -public: -public slots: -QPointF* new_QPointF(); -QPointF* new_QPointF(const QPoint& p); -QPointF* new_QPointF(qreal xpos, qreal ypos); -QPointF* new_QPointF(const QPointF& other) { -QPointF* a = new QPointF(); -*((QPointF*)a) = other; -return a; } -void delete_QPointF(QPointF* obj) { delete obj; } - QPointF* operator_subtract_assign(QPointF* theWrappedObject, const QPointF& p); - QPointF* operator_divide_assign(QPointF* theWrappedObject, qreal c); - qreal x(QPointF* theWrappedObject) const; - QPointF* operator_multiply_assign(QPointF* theWrappedObject, qreal c); - void setX(QPointF* theWrappedObject, qreal x); - void writeTo(QPointF* theWrappedObject, QDataStream& arg__1); - bool isNull(QPointF* theWrappedObject) const; - QPoint toPoint(QPointF* theWrappedObject) const; - QPointF* operator_add_assign(QPointF* theWrappedObject, const QPointF& p); - qreal y(QPointF* theWrappedObject) const; - void setY(QPointF* theWrappedObject, qreal y); - bool operator_equal(QPointF* theWrappedObject, const QPointF& p2); - void readFrom(QPointF* theWrappedObject, QDataStream& arg__1); - QString toString(QPointF*); -}; - -#endif // PYTHONQTWRAPPER_QPOINTF_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QProcess.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QProcess.cpp deleted file mode 100644 index 9a2b635..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QProcess.cpp +++ /dev/null @@ -1,783 +0,0 @@ -#include "PythonQtWrapper_QProcess.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -bool PythonQtShell_QProcess::atEnd() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "atEnd"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QProcess::atEnd(); -} -qint64 PythonQtShell_QProcess::bytesAvailable() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "bytesAvailable"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QProcess::bytesAvailable(); -} -qint64 PythonQtShell_QProcess::bytesToWrite() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "bytesToWrite"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QProcess::bytesToWrite(); -} -bool PythonQtShell_QProcess::canReadLine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "canReadLine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QProcess::canReadLine(); -} -void PythonQtShell_QProcess::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; - } -} - QProcess::childEvent(arg__1); -} -void PythonQtShell_QProcess::close() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "close"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QProcess::close(); -} -void PythonQtShell_QProcess::customEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QProcess::customEvent(arg__1); -} -bool PythonQtShell_QProcess::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QProcess::event(arg__1); -} -bool PythonQtShell_QProcess::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QProcess::eventFilter(arg__1, arg__2); -} -bool PythonQtShell_QProcess::isSequential() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isSequential"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QProcess::isSequential(); -} -bool PythonQtShell_QProcess::open(QIODevice::OpenMode mode) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "open"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&mode}; - 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("open", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QProcess::open(mode); -} -qint64 PythonQtShell_QProcess::pos() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "pos"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QProcess::pos(); -} -qint64 PythonQtShell_QProcess::readData(char* data, qint64 maxlen) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "readData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - 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}; - 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("readData", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QProcess::readData(data, maxlen); -} -qint64 PythonQtShell_QProcess::readLineData(char* data, qint64 maxlen) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "readLineData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - 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}; - 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("readLineData", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QProcess::readLineData(data, maxlen); -} -bool PythonQtShell_QProcess::reset() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reset"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QProcess::reset(); -} -bool PythonQtShell_QProcess::seek(qint64 pos) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "seek"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&pos}; - 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("seek", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QProcess::seek(pos); -} -void PythonQtShell_QProcess::setupChildProcess() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setupChildProcess"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QProcess::setupChildProcess(); -} -qint64 PythonQtShell_QProcess::size() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "size"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QProcess::size(); -} -void PythonQtShell_QProcess::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; - } -} - QProcess::timerEvent(arg__1); -} -bool PythonQtShell_QProcess::waitForBytesWritten(int msecs) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "waitForBytesWritten"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&msecs}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("waitForBytesWritten", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QProcess::waitForBytesWritten(msecs); -} -bool PythonQtShell_QProcess::waitForReadyRead(int msecs) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "waitForReadyRead"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&msecs}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("waitForReadyRead", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QProcess::waitForReadyRead(msecs); -} -qint64 PythonQtShell_QProcess::writeData(const char* data, qint64 len) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "writeData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - 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}; - 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("writeData", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QProcess::writeData(data, len); -} -QProcess* PythonQtWrapper_QProcess::new_QProcess(QObject* parent) -{ -return new PythonQtShell_QProcess(parent); } - -qint64 PythonQtWrapper_QProcess::bytesAvailable(QProcess* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QProcess*)theWrappedObject)->promoted_bytesAvailable()); -} - -void PythonQtWrapper_QProcess::closeReadChannel(QProcess* theWrappedObject, QProcess::ProcessChannel channel) -{ - ( theWrappedObject->closeReadChannel(channel)); -} - -void PythonQtWrapper_QProcess::setStandardInputFile(QProcess* theWrappedObject, const QString& fileName) -{ - ( theWrappedObject->setStandardInputFile(fileName)); -} - -bool PythonQtWrapper_QProcess::isSequential(QProcess* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QProcess*)theWrappedObject)->promoted_isSequential()); -} - -QProcess::ProcessError PythonQtWrapper_QProcess::error(QProcess* theWrappedObject) const -{ - return ( theWrappedObject->error()); -} - -QProcess::ProcessChannel PythonQtWrapper_QProcess::readChannel(QProcess* theWrappedObject) const -{ - return ( theWrappedObject->readChannel()); -} - -bool PythonQtWrapper_QProcess::static_QProcess_startDetached(const QString& program, const QStringList& arguments, const QString& workingDirectory, qint64* pid) -{ - return (QProcess::startDetached(program, arguments, workingDirectory, pid)); -} - -bool PythonQtWrapper_QProcess::waitForFinished(QProcess* theWrappedObject, int msecs) -{ - return ( theWrappedObject->waitForFinished(msecs)); -} - -QStringList PythonQtWrapper_QProcess::environment(QProcess* theWrappedObject) const -{ - return ( theWrappedObject->environment()); -} - -void PythonQtWrapper_QProcess::setStandardOutputProcess(QProcess* theWrappedObject, QProcess* destination) -{ - ( theWrappedObject->setStandardOutputProcess(destination)); -} - -QByteArray PythonQtWrapper_QProcess::readAllStandardError(QProcess* theWrappedObject) -{ - return ( theWrappedObject->readAllStandardError()); -} - -void PythonQtWrapper_QProcess::start(QProcess* theWrappedObject, const QString& program, const QStringList& arguments, QIODevice::OpenMode mode) -{ - ( theWrappedObject->start(program, arguments, mode)); -} - -qint64 PythonQtWrapper_QProcess::readData(QProcess* theWrappedObject, char* data, qint64 maxlen) -{ - return ( ((PythonQtPublicPromoter_QProcess*)theWrappedObject)->promoted_readData(data, maxlen)); -} - -QString PythonQtWrapper_QProcess::workingDirectory(QProcess* theWrappedObject) const -{ - return ( theWrappedObject->workingDirectory()); -} - -bool PythonQtWrapper_QProcess::static_QProcess_startDetached(const QString& program) -{ - return (QProcess::startDetached(program)); -} - -bool PythonQtWrapper_QProcess::waitForBytesWritten(QProcess* theWrappedObject, int msecs) -{ - return ( ((PythonQtPublicPromoter_QProcess*)theWrappedObject)->promoted_waitForBytesWritten(msecs)); -} - -void PythonQtWrapper_QProcess::setStandardErrorFile(QProcess* theWrappedObject, const QString& fileName, QIODevice::OpenMode mode) -{ - ( theWrappedObject->setStandardErrorFile(fileName, mode)); -} - -bool PythonQtWrapper_QProcess::waitForReadyRead(QProcess* theWrappedObject, int msecs) -{ - return ( ((PythonQtPublicPromoter_QProcess*)theWrappedObject)->promoted_waitForReadyRead(msecs)); -} - -int PythonQtWrapper_QProcess::exitCode(QProcess* theWrappedObject) const -{ - return ( theWrappedObject->exitCode()); -} - -bool PythonQtWrapper_QProcess::waitForStarted(QProcess* theWrappedObject, int msecs) -{ - return ( theWrappedObject->waitForStarted(msecs)); -} - -int PythonQtWrapper_QProcess::static_QProcess_execute(const QString& program, const QStringList& arguments) -{ - return (QProcess::execute(program, arguments)); -} - -bool PythonQtWrapper_QProcess::static_QProcess_startDetached(const QString& program, const QStringList& arguments) -{ - return (QProcess::startDetached(program, arguments)); -} - -int PythonQtWrapper_QProcess::static_QProcess_execute(const QString& program) -{ - return (QProcess::execute(program)); -} - -void PythonQtWrapper_QProcess::start(QProcess* theWrappedObject, const QString& program, QIODevice::OpenMode mode) -{ - ( theWrappedObject->start(program, mode)); -} - -void PythonQtWrapper_QProcess::setProcessChannelMode(QProcess* theWrappedObject, QProcess::ProcessChannelMode mode) -{ - ( theWrappedObject->setProcessChannelMode(mode)); -} - -void PythonQtWrapper_QProcess::close(QProcess* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QProcess*)theWrappedObject)->promoted_close()); -} - -QStringList PythonQtWrapper_QProcess::static_QProcess_systemEnvironment() -{ - return (QProcess::systemEnvironment()); -} - -void PythonQtWrapper_QProcess::setupChildProcess(QProcess* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QProcess*)theWrappedObject)->promoted_setupChildProcess()); -} - -void PythonQtWrapper_QProcess::setReadChannel(QProcess* theWrappedObject, QProcess::ProcessChannel channel) -{ - ( theWrappedObject->setReadChannel(channel)); -} - -QProcess::ProcessState PythonQtWrapper_QProcess::state(QProcess* theWrappedObject) const -{ - return ( theWrappedObject->state()); -} - -bool PythonQtWrapper_QProcess::canReadLine(QProcess* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QProcess*)theWrappedObject)->promoted_canReadLine()); -} - -void PythonQtWrapper_QProcess::closeWriteChannel(QProcess* theWrappedObject) -{ - ( theWrappedObject->closeWriteChannel()); -} - -QProcess::ProcessChannelMode PythonQtWrapper_QProcess::processChannelMode(QProcess* theWrappedObject) const -{ - return ( theWrappedObject->processChannelMode()); -} - -void PythonQtWrapper_QProcess::setStandardOutputFile(QProcess* theWrappedObject, const QString& fileName, QIODevice::OpenMode mode) -{ - ( theWrappedObject->setStandardOutputFile(fileName, mode)); -} - -bool PythonQtWrapper_QProcess::atEnd(QProcess* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QProcess*)theWrappedObject)->promoted_atEnd()); -} - -QProcess::ExitStatus PythonQtWrapper_QProcess::exitStatus(QProcess* theWrappedObject) const -{ - return ( theWrappedObject->exitStatus()); -} - -QByteArray PythonQtWrapper_QProcess::readAllStandardOutput(QProcess* theWrappedObject) -{ - return ( theWrappedObject->readAllStandardOutput()); -} - -qint64 PythonQtWrapper_QProcess::writeData(QProcess* theWrappedObject, const char* data, qint64 len) -{ - return ( ((PythonQtPublicPromoter_QProcess*)theWrappedObject)->promoted_writeData(data, len)); -} - -void PythonQtWrapper_QProcess::setEnvironment(QProcess* theWrappedObject, const QStringList& environment) -{ - ( theWrappedObject->setEnvironment(environment)); -} - -qint64 PythonQtWrapper_QProcess::bytesToWrite(QProcess* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QProcess*)theWrappedObject)->promoted_bytesToWrite()); -} - -void PythonQtWrapper_QProcess::setWorkingDirectory(QProcess* theWrappedObject, const QString& dir) -{ - ( theWrappedObject->setWorkingDirectory(dir)); -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QProcess.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QProcess.h deleted file mode 100644 index 3f91743..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QProcess.h +++ /dev/null @@ -1,123 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QPROCESS_H -#define PYTHONQTWRAPPER_QPROCESS_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QProcess : public QProcess -{ -public: - PythonQtShell_QProcess(QObject* parent = 0):QProcess(parent),_wrapper(NULL) {}; - -virtual bool atEnd() const; -virtual qint64 bytesAvailable() const; -virtual qint64 bytesToWrite() const; -virtual bool canReadLine() const; -virtual void childEvent(QChildEvent* arg__1); -virtual void close(); -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual bool isSequential() const; -virtual bool open(QIODevice::OpenMode mode); -virtual qint64 pos() const; -virtual qint64 readData(char* data, qint64 maxlen); -virtual qint64 readLineData(char* data, qint64 maxlen); -virtual bool reset(); -virtual bool seek(qint64 pos); -virtual void setupChildProcess(); -virtual qint64 size() const; -virtual void timerEvent(QTimerEvent* arg__1); -virtual bool waitForBytesWritten(int msecs = 30000); -virtual bool waitForReadyRead(int msecs = 30000); -virtual qint64 writeData(const char* data, qint64 len); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QProcess : public QProcess -{ public: -inline qint64 promoted_bytesAvailable() const { return QProcess::bytesAvailable(); } -inline bool promoted_isSequential() const { return QProcess::isSequential(); } -inline qint64 promoted_readData(char* data, qint64 maxlen) { return QProcess::readData(data, maxlen); } -inline bool promoted_waitForBytesWritten(int msecs = 30000) { return QProcess::waitForBytesWritten(msecs); } -inline bool promoted_waitForReadyRead(int msecs = 30000) { return QProcess::waitForReadyRead(msecs); } -inline void promoted_close() { QProcess::close(); } -inline void promoted_setupChildProcess() { QProcess::setupChildProcess(); } -inline bool promoted_canReadLine() const { return QProcess::canReadLine(); } -inline bool promoted_atEnd() const { return QProcess::atEnd(); } -inline qint64 promoted_writeData(const char* data, qint64 len) { return QProcess::writeData(data, len); } -inline qint64 promoted_bytesToWrite() const { return QProcess::bytesToWrite(); } -}; - -class PythonQtWrapper_QProcess : public QObject -{ Q_OBJECT -public: -Q_ENUMS(ProcessError ProcessChannelMode ProcessChannel ProcessState ExitStatus ) -enum ProcessError{ - FailedToStart = QProcess::FailedToStart, Crashed = QProcess::Crashed, Timedout = QProcess::Timedout, ReadError = QProcess::ReadError, WriteError = QProcess::WriteError, UnknownError = QProcess::UnknownError}; -enum ProcessChannelMode{ - SeparateChannels = QProcess::SeparateChannels, MergedChannels = QProcess::MergedChannels, ForwardedChannels = QProcess::ForwardedChannels}; -enum ProcessChannel{ - StandardOutput = QProcess::StandardOutput, StandardError = QProcess::StandardError}; -enum ProcessState{ - NotRunning = QProcess::NotRunning, Starting = QProcess::Starting, Running = QProcess::Running}; -enum ExitStatus{ - NormalExit = QProcess::NormalExit, CrashExit = QProcess::CrashExit}; -public slots: -QProcess* new_QProcess(QObject* parent = 0); -void delete_QProcess(QProcess* obj) { delete obj; } - qint64 bytesAvailable(QProcess* theWrappedObject) const; - void closeReadChannel(QProcess* theWrappedObject, QProcess::ProcessChannel channel); - void setStandardInputFile(QProcess* theWrappedObject, const QString& fileName); - bool isSequential(QProcess* theWrappedObject) const; - QProcess::ProcessError error(QProcess* theWrappedObject) const; - QProcess::ProcessChannel readChannel(QProcess* theWrappedObject) const; - bool static_QProcess_startDetached(const QString& program, const QStringList& arguments, const QString& workingDirectory, qint64* pid = 0); - bool waitForFinished(QProcess* theWrappedObject, int msecs = 30000); - QStringList environment(QProcess* theWrappedObject) const; - void setStandardOutputProcess(QProcess* theWrappedObject, QProcess* destination); - QByteArray readAllStandardError(QProcess* theWrappedObject); - void start(QProcess* theWrappedObject, const QString& program, const QStringList& arguments, QIODevice::OpenMode mode = QIODevice::ReadWrite); - qint64 readData(QProcess* theWrappedObject, char* data, qint64 maxlen); - QString workingDirectory(QProcess* theWrappedObject) const; - bool static_QProcess_startDetached(const QString& program); - bool waitForBytesWritten(QProcess* theWrappedObject, int msecs = 30000); - void setStandardErrorFile(QProcess* theWrappedObject, const QString& fileName, QIODevice::OpenMode mode = QIODevice::Truncate); - bool waitForReadyRead(QProcess* theWrappedObject, int msecs = 30000); - int exitCode(QProcess* theWrappedObject) const; - bool waitForStarted(QProcess* theWrappedObject, int msecs = 30000); - int static_QProcess_execute(const QString& program, const QStringList& arguments); - bool static_QProcess_startDetached(const QString& program, const QStringList& arguments); - int static_QProcess_execute(const QString& program); - void start(QProcess* theWrappedObject, const QString& program, QIODevice::OpenMode mode = QIODevice::ReadWrite); - void setProcessChannelMode(QProcess* theWrappedObject, QProcess::ProcessChannelMode mode); - void close(QProcess* theWrappedObject); - QStringList static_QProcess_systemEnvironment(); - void setupChildProcess(QProcess* theWrappedObject); - void setReadChannel(QProcess* theWrappedObject, QProcess::ProcessChannel channel); - QProcess::ProcessState state(QProcess* theWrappedObject) const; - bool canReadLine(QProcess* theWrappedObject) const; - void closeWriteChannel(QProcess* theWrappedObject); - QProcess::ProcessChannelMode processChannelMode(QProcess* theWrappedObject) const; - void setStandardOutputFile(QProcess* theWrappedObject, const QString& fileName, QIODevice::OpenMode mode = QIODevice::Truncate); - bool atEnd(QProcess* theWrappedObject) const; - QProcess::ExitStatus exitStatus(QProcess* theWrappedObject) const; - QByteArray readAllStandardOutput(QProcess* theWrappedObject); - qint64 writeData(QProcess* theWrappedObject, const char* data, qint64 len); - void setEnvironment(QProcess* theWrappedObject, const QStringList& environment); - qint64 bytesToWrite(QProcess* theWrappedObject) const; - void setWorkingDirectory(QProcess* theWrappedObject, const QString& dir); -}; - -#endif // PYTHONQTWRAPPER_QPROCESS_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QRect.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QRect.cpp deleted file mode 100644 index a603a09..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QRect.cpp +++ /dev/null @@ -1,334 +0,0 @@ -#include "PythonQtWrapper_QRect.h" - -#include -#include -#include -#include -#include -#include -#include -#include - -QRect* PythonQtWrapper_QRect::new_QRect() -{ -return new QRect(); } - -QRect* PythonQtWrapper_QRect::new_QRect(const QPoint& topleft, const QPoint& bottomright) -{ -return new QRect(topleft, bottomright); } - -QRect* PythonQtWrapper_QRect::new_QRect(const QPoint& topleft, const QSize& size) -{ -return new QRect(topleft, size); } - -QRect* PythonQtWrapper_QRect::new_QRect(int left, int top, int width, int height) -{ -return new QRect(left, top, width, height); } - -bool PythonQtWrapper_QRect::contains(QRect* theWrappedObject, int x, int y) const -{ - return ( theWrappedObject->contains(x, y)); -} - -void PythonQtWrapper_QRect::moveTopRight(QRect* theWrappedObject, const QPoint& p) -{ - ( theWrappedObject->moveTopRight(p)); -} - -bool PythonQtWrapper_QRect::isValid(QRect* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -bool PythonQtWrapper_QRect::contains(QRect* theWrappedObject, int x, int y, bool proper) const -{ - return ( theWrappedObject->contains(x, y, proper)); -} - -void PythonQtWrapper_QRect::moveTo(QRect* theWrappedObject, const QPoint& p) -{ - ( theWrappedObject->moveTo(p)); -} - -void PythonQtWrapper_QRect::writeTo(QRect* theWrappedObject, QDataStream& arg__1) -{ - arg__1 << (*theWrappedObject); -} - -void PythonQtWrapper_QRect::setWidth(QRect* theWrappedObject, int w) -{ - ( theWrappedObject->setWidth(w)); -} - -int PythonQtWrapper_QRect::bottom(QRect* theWrappedObject) const -{ - return ( theWrappedObject->bottom()); -} - -QPoint PythonQtWrapper_QRect::bottomLeft(QRect* theWrappedObject) const -{ - return ( theWrappedObject->bottomLeft()); -} - -QRect PythonQtWrapper_QRect::normalized(QRect* theWrappedObject) const -{ - return ( theWrappedObject->normalized()); -} - -void PythonQtWrapper_QRect::moveTop(QRect* theWrappedObject, int pos) -{ - ( theWrappedObject->moveTop(pos)); -} - -void PythonQtWrapper_QRect::setHeight(QRect* theWrappedObject, int h) -{ - ( theWrappedObject->setHeight(h)); -} - -int PythonQtWrapper_QRect::left(QRect* theWrappedObject) const -{ - return ( theWrappedObject->left()); -} - -void PythonQtWrapper_QRect::setBottomLeft(QRect* theWrappedObject, const QPoint& p) -{ - ( theWrappedObject->setBottomLeft(p)); -} - -QRect PythonQtWrapper_QRect::adjusted(QRect* theWrappedObject, int x1, int y1, int x2, int y2) const -{ - return ( theWrappedObject->adjusted(x1, y1, x2, y2)); -} - -void PythonQtWrapper_QRect::setRect(QRect* theWrappedObject, int x, int y, int w, int h) -{ - ( theWrappedObject->setRect(x, y, w, h)); -} - -int PythonQtWrapper_QRect::top(QRect* theWrappedObject) const -{ - return ( theWrappedObject->top()); -} - -void PythonQtWrapper_QRect::moveLeft(QRect* theWrappedObject, int pos) -{ - ( theWrappedObject->moveLeft(pos)); -} - -bool PythonQtWrapper_QRect::contains(QRect* theWrappedObject, const QPoint& p, bool proper) const -{ - return ( theWrappedObject->contains(p, proper)); -} - -bool PythonQtWrapper_QRect::contains(QRect* theWrappedObject, const QRect& r, bool proper) const -{ - return ( theWrappedObject->contains(r, proper)); -} - -void PythonQtWrapper_QRect::setLeft(QRect* theWrappedObject, int pos) -{ - ( theWrappedObject->setLeft(pos)); -} - -QPoint PythonQtWrapper_QRect::topLeft(QRect* theWrappedObject) const -{ - return ( theWrappedObject->topLeft()); -} - -bool PythonQtWrapper_QRect::isNull(QRect* theWrappedObject) const -{ - return ( theWrappedObject->isNull()); -} - -void PythonQtWrapper_QRect::translate(QRect* theWrappedObject, int dx, int dy) -{ - ( theWrappedObject->translate(dx, dy)); -} - -void PythonQtWrapper_QRect::translate(QRect* theWrappedObject, const QPoint& p) -{ - ( theWrappedObject->translate(p)); -} - -void PythonQtWrapper_QRect::adjust(QRect* theWrappedObject, int x1, int y1, int x2, int y2) -{ - ( theWrappedObject->adjust(x1, y1, x2, y2)); -} - -QRect PythonQtWrapper_QRect::intersected(QRect* theWrappedObject, const QRect& other) const -{ - return ( theWrappedObject->intersected(other)); -} - -void PythonQtWrapper_QRect::moveCenter(QRect* theWrappedObject, const QPoint& p) -{ - ( theWrappedObject->moveCenter(p)); -} - -void PythonQtWrapper_QRect::setBottom(QRect* theWrappedObject, int pos) -{ - ( theWrappedObject->setBottom(pos)); -} - -void PythonQtWrapper_QRect::moveTo(QRect* theWrappedObject, int x, int t) -{ - ( theWrappedObject->moveTo(x, t)); -} - -QSize PythonQtWrapper_QRect::size(QRect* theWrappedObject) const -{ - return ( theWrappedObject->size()); -} - -void PythonQtWrapper_QRect::moveBottomLeft(QRect* theWrappedObject, const QPoint& p) -{ - ( theWrappedObject->moveBottomLeft(p)); -} - -int PythonQtWrapper_QRect::y(QRect* theWrappedObject) const -{ - return ( theWrappedObject->y()); -} - -void PythonQtWrapper_QRect::setRight(QRect* theWrappedObject, int pos) -{ - ( theWrappedObject->setRight(pos)); -} - -void PythonQtWrapper_QRect::moveTopLeft(QRect* theWrappedObject, const QPoint& p) -{ - ( theWrappedObject->moveTopLeft(p)); -} - -QRect PythonQtWrapper_QRect::translated(QRect* theWrappedObject, int dx, int dy) const -{ - return ( theWrappedObject->translated(dx, dy)); -} - -void PythonQtWrapper_QRect::readFrom(QRect* theWrappedObject, QDataStream& arg__1) -{ - arg__1 >> (*theWrappedObject); -} - -int PythonQtWrapper_QRect::height(QRect* theWrappedObject) const -{ - return ( theWrappedObject->height()); -} - -void PythonQtWrapper_QRect::setTopRight(QRect* theWrappedObject, const QPoint& p) -{ - ( theWrappedObject->setTopRight(p)); -} - -void PythonQtWrapper_QRect::setX(QRect* theWrappedObject, int x) -{ - ( theWrappedObject->setX(x)); -} - -void PythonQtWrapper_QRect::moveBottom(QRect* theWrappedObject, int pos) -{ - ( theWrappedObject->moveBottom(pos)); -} - -bool PythonQtWrapper_QRect::operator_equal(QRect* theWrappedObject, const QRect& arg__2) -{ - return ( (*theWrappedObject)== arg__2); -} - -int PythonQtWrapper_QRect::right(QRect* theWrappedObject) const -{ - return ( theWrappedObject->right()); -} - -void PythonQtWrapper_QRect::setY(QRect* theWrappedObject, int y) -{ - ( theWrappedObject->setY(y)); -} - -int PythonQtWrapper_QRect::width(QRect* theWrappedObject) const -{ - return ( theWrappedObject->width()); -} - -QPoint PythonQtWrapper_QRect::center(QRect* theWrappedObject) const -{ - return ( theWrappedObject->center()); -} - -bool PythonQtWrapper_QRect::intersects(QRect* theWrappedObject, const QRect& r) const -{ - return ( theWrappedObject->intersects(r)); -} - -void PythonQtWrapper_QRect::setTop(QRect* theWrappedObject, int pos) -{ - ( theWrappedObject->setTop(pos)); -} - -void PythonQtWrapper_QRect::setSize(QRect* theWrappedObject, const QSize& s) -{ - ( theWrappedObject->setSize(s)); -} - -QRect PythonQtWrapper_QRect::united(QRect* theWrappedObject, const QRect& other) const -{ - return ( theWrappedObject->united(other)); -} - -void PythonQtWrapper_QRect::setTopLeft(QRect* theWrappedObject, const QPoint& p) -{ - ( theWrappedObject->setTopLeft(p)); -} - -QPoint PythonQtWrapper_QRect::bottomRight(QRect* theWrappedObject) const -{ - return ( theWrappedObject->bottomRight()); -} - -void PythonQtWrapper_QRect::setBottomRight(QRect* theWrappedObject, const QPoint& p) -{ - ( theWrappedObject->setBottomRight(p)); -} - -QRect PythonQtWrapper_QRect::translated(QRect* theWrappedObject, const QPoint& p) const -{ - return ( theWrappedObject->translated(p)); -} - -QPoint PythonQtWrapper_QRect::topRight(QRect* theWrappedObject) const -{ - return ( theWrappedObject->topRight()); -} - -void PythonQtWrapper_QRect::moveRight(QRect* theWrappedObject, int pos) -{ - ( theWrappedObject->moveRight(pos)); -} - -int PythonQtWrapper_QRect::x(QRect* theWrappedObject) const -{ - return ( theWrappedObject->x()); -} - -bool PythonQtWrapper_QRect::isEmpty(QRect* theWrappedObject) const -{ - return ( theWrappedObject->isEmpty()); -} - -void PythonQtWrapper_QRect::moveBottomRight(QRect* theWrappedObject, const QPoint& p) -{ - ( theWrappedObject->moveBottomRight(p)); -} - -void PythonQtWrapper_QRect::setCoords(QRect* theWrappedObject, int x1, int y1, int x2, int y2) -{ - ( theWrappedObject->setCoords(x1, y1, x2, y2)); -} - -QString PythonQtWrapper_QRect::toString(QRect* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QRect.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QRect.h deleted file mode 100644 index a0d95f9..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QRect.h +++ /dev/null @@ -1,91 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QRECT_H -#define PYTHONQTWRAPPER_QRECT_H - -#include -#include - -#include - -#include -#include -#include -#include -#include - -class PythonQtWrapper_QRect : public QObject -{ Q_OBJECT -public: -public slots: -QRect* new_QRect(); -QRect* new_QRect(const QPoint& topleft, const QPoint& bottomright); -QRect* new_QRect(const QPoint& topleft, const QSize& size); -QRect* new_QRect(int left, int top, int width, int height); -QRect* new_QRect(const QRect& other) { -QRect* a = new QRect(); -*((QRect*)a) = other; -return a; } -void delete_QRect(QRect* obj) { delete obj; } - bool contains(QRect* theWrappedObject, int x, int y) const; - void moveTopRight(QRect* theWrappedObject, const QPoint& p); - bool isValid(QRect* theWrappedObject) const; - bool contains(QRect* theWrappedObject, int x, int y, bool proper) const; - void moveTo(QRect* theWrappedObject, const QPoint& p); - void writeTo(QRect* theWrappedObject, QDataStream& arg__1); - void setWidth(QRect* theWrappedObject, int w); - int bottom(QRect* theWrappedObject) const; - QPoint bottomLeft(QRect* theWrappedObject) const; - QRect normalized(QRect* theWrappedObject) const; - void moveTop(QRect* theWrappedObject, int pos); - void setHeight(QRect* theWrappedObject, int h); - int left(QRect* theWrappedObject) const; - void setBottomLeft(QRect* theWrappedObject, const QPoint& p); - QRect adjusted(QRect* theWrappedObject, int x1, int y1, int x2, int y2) const; - void setRect(QRect* theWrappedObject, int x, int y, int w, int h); - int top(QRect* theWrappedObject) const; - void moveLeft(QRect* theWrappedObject, int pos); - bool contains(QRect* theWrappedObject, const QPoint& p, bool proper = false) const; - bool contains(QRect* theWrappedObject, const QRect& r, bool proper = false) const; - void setLeft(QRect* theWrappedObject, int pos); - QPoint topLeft(QRect* theWrappedObject) const; - bool isNull(QRect* theWrappedObject) const; - void translate(QRect* theWrappedObject, int dx, int dy); - void translate(QRect* theWrappedObject, const QPoint& p); - void adjust(QRect* theWrappedObject, int x1, int y1, int x2, int y2); - QRect intersected(QRect* theWrappedObject, const QRect& other) const; - void moveCenter(QRect* theWrappedObject, const QPoint& p); - void setBottom(QRect* theWrappedObject, int pos); - void moveTo(QRect* theWrappedObject, int x, int t); - QSize size(QRect* theWrappedObject) const; - void moveBottomLeft(QRect* theWrappedObject, const QPoint& p); - int y(QRect* theWrappedObject) const; - void setRight(QRect* theWrappedObject, int pos); - void moveTopLeft(QRect* theWrappedObject, const QPoint& p); - QRect translated(QRect* theWrappedObject, int dx, int dy) const; - void readFrom(QRect* theWrappedObject, QDataStream& arg__1); - int height(QRect* theWrappedObject) const; - void setTopRight(QRect* theWrappedObject, const QPoint& p); - void setX(QRect* theWrappedObject, int x); - void moveBottom(QRect* theWrappedObject, int pos); - bool operator_equal(QRect* theWrappedObject, const QRect& arg__2); - int right(QRect* theWrappedObject) const; - void setY(QRect* theWrappedObject, int y); - int width(QRect* theWrappedObject) const; - QPoint center(QRect* theWrappedObject) const; - bool intersects(QRect* theWrappedObject, const QRect& r) const; - void setTop(QRect* theWrappedObject, int pos); - void setSize(QRect* theWrappedObject, const QSize& s); - QRect united(QRect* theWrappedObject, const QRect& other) const; - void setTopLeft(QRect* theWrappedObject, const QPoint& p); - QPoint bottomRight(QRect* theWrappedObject) const; - void setBottomRight(QRect* theWrappedObject, const QPoint& p); - QRect translated(QRect* theWrappedObject, const QPoint& p) const; - QPoint topRight(QRect* theWrappedObject) const; - void moveRight(QRect* theWrappedObject, int pos); - int x(QRect* theWrappedObject) const; - bool isEmpty(QRect* theWrappedObject) const; - void moveBottomRight(QRect* theWrappedObject, const QPoint& p); - void setCoords(QRect* theWrappedObject, int x1, int y1, int x2, int y2); - QString toString(QRect*); -}; - -#endif // PYTHONQTWRAPPER_QRECT_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QRectF.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QRectF.cpp deleted file mode 100644 index 8b95182..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QRectF.cpp +++ /dev/null @@ -1,343 +0,0 @@ -#include "PythonQtWrapper_QRectF.h" - -#include -#include -#include -#include -#include -#include -#include -#include - -QRectF* PythonQtWrapper_QRectF::new_QRectF() -{ -return new QRectF(); } - -QRectF* PythonQtWrapper_QRectF::new_QRectF(const QPointF& topleft, const QPointF& bottomRight) -{ -return new QRectF(topleft, bottomRight); } - -QRectF* PythonQtWrapper_QRectF::new_QRectF(const QPointF& topleft, const QSizeF& size) -{ -return new QRectF(topleft, size); } - -QRectF* PythonQtWrapper_QRectF::new_QRectF(const QRect& rect) -{ -return new QRectF(rect); } - -QRectF* PythonQtWrapper_QRectF::new_QRectF(qreal left, qreal top, qreal width, qreal height) -{ -return new QRectF(left, top, width, height); } - -qreal PythonQtWrapper_QRectF::left(QRectF* theWrappedObject) const -{ - return ( theWrappedObject->left()); -} - -void PythonQtWrapper_QRectF::setBottomLeft(QRectF* theWrappedObject, const QPointF& p) -{ - ( theWrappedObject->setBottomLeft(p)); -} - -void PythonQtWrapper_QRectF::setCoords(QRectF* theWrappedObject, qreal x1, qreal y1, qreal x2, qreal y2) -{ - ( theWrappedObject->setCoords(x1, y1, x2, y2)); -} - -void PythonQtWrapper_QRectF::setWidth(QRectF* theWrappedObject, qreal w) -{ - ( theWrappedObject->setWidth(w)); -} - -void PythonQtWrapper_QRectF::readFrom(QRectF* theWrappedObject, QDataStream& arg__1) -{ - arg__1 >> (*theWrappedObject); -} - -QRectF PythonQtWrapper_QRectF::translated(QRectF* theWrappedObject, qreal dx, qreal dy) const -{ - return ( theWrappedObject->translated(dx, dy)); -} - -QSizeF PythonQtWrapper_QRectF::size(QRectF* theWrappedObject) const -{ - return ( theWrappedObject->size()); -} - -void PythonQtWrapper_QRectF::translate(QRectF* theWrappedObject, qreal dx, qreal dy) -{ - ( theWrappedObject->translate(dx, dy)); -} - -void PythonQtWrapper_QRectF::adjust(QRectF* theWrappedObject, qreal x1, qreal y1, qreal x2, qreal y2) -{ - ( theWrappedObject->adjust(x1, y1, x2, y2)); -} - -void PythonQtWrapper_QRectF::writeTo(QRectF* theWrappedObject, QDataStream& arg__1) -{ - arg__1 << (*theWrappedObject); -} - -QRect PythonQtWrapper_QRectF::toRect(QRectF* theWrappedObject) const -{ - return ( theWrappedObject->toRect()); -} - -QPointF PythonQtWrapper_QRectF::topRight(QRectF* theWrappedObject) const -{ - return ( theWrappedObject->topRight()); -} - -void PythonQtWrapper_QRectF::setTopRight(QRectF* theWrappedObject, const QPointF& p) -{ - ( theWrappedObject->setTopRight(p)); -} - -void PythonQtWrapper_QRectF::translate(QRectF* theWrappedObject, const QPointF& p) -{ - ( theWrappedObject->translate(p)); -} - -QPointF PythonQtWrapper_QRectF::center(QRectF* theWrappedObject) const -{ - return ( theWrappedObject->center()); -} - -bool PythonQtWrapper_QRectF::isNull(QRectF* theWrappedObject) const -{ - return ( theWrappedObject->isNull()); -} - -QPointF PythonQtWrapper_QRectF::topLeft(QRectF* theWrappedObject) const -{ - return ( theWrappedObject->topLeft()); -} - -QRectF PythonQtWrapper_QRectF::adjusted(QRectF* theWrappedObject, qreal x1, qreal y1, qreal x2, qreal y2) const -{ - return ( theWrappedObject->adjusted(x1, y1, x2, y2)); -} - -qreal PythonQtWrapper_QRectF::top(QRectF* theWrappedObject) const -{ - return ( theWrappedObject->top()); -} - -void PythonQtWrapper_QRectF::moveBottomRight(QRectF* theWrappedObject, const QPointF& p) -{ - ( theWrappedObject->moveBottomRight(p)); -} - -QRectF PythonQtWrapper_QRectF::normalized(QRectF* theWrappedObject) const -{ - return ( theWrappedObject->normalized()); -} - -bool PythonQtWrapper_QRectF::contains(QRectF* theWrappedObject, const QRectF& r) const -{ - return ( theWrappedObject->contains(r)); -} - -bool PythonQtWrapper_QRectF::contains(QRectF* theWrappedObject, const QPointF& p) const -{ - return ( theWrappedObject->contains(p)); -} - -QRectF PythonQtWrapper_QRectF::translated(QRectF* theWrappedObject, const QPointF& p) const -{ - return ( theWrappedObject->translated(p)); -} - -QPointF PythonQtWrapper_QRectF::bottomLeft(QRectF* theWrappedObject) const -{ - return ( theWrappedObject->bottomLeft()); -} - -void PythonQtWrapper_QRectF::setHeight(QRectF* theWrappedObject, qreal h) -{ - ( theWrappedObject->setHeight(h)); -} - -QRectF PythonQtWrapper_QRectF::intersected(QRectF* theWrappedObject, const QRectF& other) const -{ - return ( theWrappedObject->intersected(other)); -} - -qreal PythonQtWrapper_QRectF::y(QRectF* theWrappedObject) const -{ - return ( theWrappedObject->y()); -} - -void PythonQtWrapper_QRectF::moveTopLeft(QRectF* theWrappedObject, const QPointF& p) -{ - ( theWrappedObject->moveTopLeft(p)); -} - -void PythonQtWrapper_QRectF::moveBottom(QRectF* theWrappedObject, qreal pos) -{ - ( theWrappedObject->moveBottom(pos)); -} - -bool PythonQtWrapper_QRectF::intersects(QRectF* theWrappedObject, const QRectF& r) const -{ - return ( theWrappedObject->intersects(r)); -} - -qreal PythonQtWrapper_QRectF::width(QRectF* theWrappedObject) const -{ - return ( theWrappedObject->width()); -} - -QRectF PythonQtWrapper_QRectF::united(QRectF* theWrappedObject, const QRectF& other) const -{ - return ( theWrappedObject->united(other)); -} - -void PythonQtWrapper_QRectF::moveLeft(QRectF* theWrappedObject, qreal pos) -{ - ( theWrappedObject->moveLeft(pos)); -} - -void PythonQtWrapper_QRectF::setRect(QRectF* theWrappedObject, qreal x, qreal y, qreal w, qreal h) -{ - ( theWrappedObject->setRect(x, y, w, h)); -} - -void PythonQtWrapper_QRectF::setTop(QRectF* theWrappedObject, qreal pos) -{ - ( theWrappedObject->setTop(pos)); -} - -void PythonQtWrapper_QRectF::moveTo(QRectF* theWrappedObject, qreal x, qreal t) -{ - ( theWrappedObject->moveTo(x, t)); -} - -bool PythonQtWrapper_QRectF::isValid(QRectF* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -void PythonQtWrapper_QRectF::setRight(QRectF* theWrappedObject, qreal pos) -{ - ( theWrappedObject->setRight(pos)); -} - -void PythonQtWrapper_QRectF::moveTopRight(QRectF* theWrappedObject, const QPointF& p) -{ - ( theWrappedObject->moveTopRight(p)); -} - -bool PythonQtWrapper_QRectF::operator_equal(QRectF* theWrappedObject, const QRectF& arg__2) -{ - return ( (*theWrappedObject)== arg__2); -} - -qreal PythonQtWrapper_QRectF::bottom(QRectF* theWrappedObject) const -{ - return ( theWrappedObject->bottom()); -} - -void PythonQtWrapper_QRectF::moveCenter(QRectF* theWrappedObject, const QPointF& p) -{ - ( theWrappedObject->moveCenter(p)); -} - -void PythonQtWrapper_QRectF::setTopLeft(QRectF* theWrappedObject, const QPointF& p) -{ - ( theWrappedObject->setTopLeft(p)); -} - -qreal PythonQtWrapper_QRectF::x(QRectF* theWrappedObject) const -{ - return ( theWrappedObject->x()); -} - -qreal PythonQtWrapper_QRectF::height(QRectF* theWrappedObject) const -{ - return ( theWrappedObject->height()); -} - -QRect PythonQtWrapper_QRectF::toAlignedRect(QRectF* theWrappedObject) const -{ - return ( theWrappedObject->toAlignedRect()); -} - -bool PythonQtWrapper_QRectF::contains(QRectF* theWrappedObject, qreal x, qreal y) const -{ - return ( theWrappedObject->contains(x, y)); -} - -bool PythonQtWrapper_QRectF::isEmpty(QRectF* theWrappedObject) const -{ - return ( theWrappedObject->isEmpty()); -} - -void PythonQtWrapper_QRectF::setY(QRectF* theWrappedObject, qreal pos) -{ - ( theWrappedObject->setY(pos)); -} - -void PythonQtWrapper_QRectF::setBottom(QRectF* theWrappedObject, qreal pos) -{ - ( theWrappedObject->setBottom(pos)); -} - -void PythonQtWrapper_QRectF::setBottomRight(QRectF* theWrappedObject, const QPointF& p) -{ - ( theWrappedObject->setBottomRight(p)); -} - -void PythonQtWrapper_QRectF::moveTo(QRectF* theWrappedObject, const QPointF& p) -{ - ( theWrappedObject->moveTo(p)); -} - -void PythonQtWrapper_QRectF::moveRight(QRectF* theWrappedObject, qreal pos) -{ - ( theWrappedObject->moveRight(pos)); -} - -void PythonQtWrapper_QRectF::setX(QRectF* theWrappedObject, qreal pos) -{ - ( theWrappedObject->setX(pos)); -} - -void PythonQtWrapper_QRectF::moveTop(QRectF* theWrappedObject, qreal pos) -{ - ( theWrappedObject->moveTop(pos)); -} - -QPointF PythonQtWrapper_QRectF::bottomRight(QRectF* theWrappedObject) const -{ - return ( theWrappedObject->bottomRight()); -} - -void PythonQtWrapper_QRectF::moveBottomLeft(QRectF* theWrappedObject, const QPointF& p) -{ - ( theWrappedObject->moveBottomLeft(p)); -} - -void PythonQtWrapper_QRectF::setSize(QRectF* theWrappedObject, const QSizeF& s) -{ - ( theWrappedObject->setSize(s)); -} - -qreal PythonQtWrapper_QRectF::right(QRectF* theWrappedObject) const -{ - return ( theWrappedObject->right()); -} - -void PythonQtWrapper_QRectF::setLeft(QRectF* theWrappedObject, qreal pos) -{ - ( theWrappedObject->setLeft(pos)); -} - -QString PythonQtWrapper_QRectF::toString(QRectF* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QRectF.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QRectF.h deleted file mode 100644 index 65ebd1e..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QRectF.h +++ /dev/null @@ -1,93 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QRECTF_H -#define PYTHONQTWRAPPER_QRECTF_H - -#include -#include - -#include - -#include -#include -#include -#include -#include - -class PythonQtWrapper_QRectF : public QObject -{ Q_OBJECT -public: -public slots: -QRectF* new_QRectF(); -QRectF* new_QRectF(const QPointF& topleft, const QPointF& bottomRight); -QRectF* new_QRectF(const QPointF& topleft, const QSizeF& size); -QRectF* new_QRectF(const QRect& rect); -QRectF* new_QRectF(qreal left, qreal top, qreal width, qreal height); -QRectF* new_QRectF(const QRectF& other) { -QRectF* a = new QRectF(); -*((QRectF*)a) = other; -return a; } -void delete_QRectF(QRectF* obj) { delete obj; } - qreal left(QRectF* theWrappedObject) const; - void setBottomLeft(QRectF* theWrappedObject, const QPointF& p); - void setCoords(QRectF* theWrappedObject, qreal x1, qreal y1, qreal x2, qreal y2); - void setWidth(QRectF* theWrappedObject, qreal w); - void readFrom(QRectF* theWrappedObject, QDataStream& arg__1); - QRectF translated(QRectF* theWrappedObject, qreal dx, qreal dy) const; - QSizeF size(QRectF* theWrappedObject) const; - void translate(QRectF* theWrappedObject, qreal dx, qreal dy); - void adjust(QRectF* theWrappedObject, qreal x1, qreal y1, qreal x2, qreal y2); - void writeTo(QRectF* theWrappedObject, QDataStream& arg__1); - QRect toRect(QRectF* theWrappedObject) const; - QPointF topRight(QRectF* theWrappedObject) const; - void setTopRight(QRectF* theWrappedObject, const QPointF& p); - void translate(QRectF* theWrappedObject, const QPointF& p); - QPointF center(QRectF* theWrappedObject) const; - bool isNull(QRectF* theWrappedObject) const; - QPointF topLeft(QRectF* theWrappedObject) const; - QRectF adjusted(QRectF* theWrappedObject, qreal x1, qreal y1, qreal x2, qreal y2) const; - qreal top(QRectF* theWrappedObject) const; - void moveBottomRight(QRectF* theWrappedObject, const QPointF& p); - QRectF normalized(QRectF* theWrappedObject) const; - bool contains(QRectF* theWrappedObject, const QRectF& r) const; - bool contains(QRectF* theWrappedObject, const QPointF& p) const; - QRectF translated(QRectF* theWrappedObject, const QPointF& p) const; - QPointF bottomLeft(QRectF* theWrappedObject) const; - void setHeight(QRectF* theWrappedObject, qreal h); - QRectF intersected(QRectF* theWrappedObject, const QRectF& other) const; - qreal y(QRectF* theWrappedObject) const; - void moveTopLeft(QRectF* theWrappedObject, const QPointF& p); - void moveBottom(QRectF* theWrappedObject, qreal pos); - bool intersects(QRectF* theWrappedObject, const QRectF& r) const; - qreal width(QRectF* theWrappedObject) const; - QRectF united(QRectF* theWrappedObject, const QRectF& other) const; - void moveLeft(QRectF* theWrappedObject, qreal pos); - void setRect(QRectF* theWrappedObject, qreal x, qreal y, qreal w, qreal h); - void setTop(QRectF* theWrappedObject, qreal pos); - void moveTo(QRectF* theWrappedObject, qreal x, qreal t); - bool isValid(QRectF* theWrappedObject) const; - void setRight(QRectF* theWrappedObject, qreal pos); - void moveTopRight(QRectF* theWrappedObject, const QPointF& p); - bool operator_equal(QRectF* theWrappedObject, const QRectF& arg__2); - qreal bottom(QRectF* theWrappedObject) const; - void moveCenter(QRectF* theWrappedObject, const QPointF& p); - void setTopLeft(QRectF* theWrappedObject, const QPointF& p); - qreal x(QRectF* theWrappedObject) const; - qreal height(QRectF* theWrappedObject) const; - QRect toAlignedRect(QRectF* theWrappedObject) const; - bool contains(QRectF* theWrappedObject, qreal x, qreal y) const; - bool isEmpty(QRectF* theWrappedObject) const; - void setY(QRectF* theWrappedObject, qreal pos); - void setBottom(QRectF* theWrappedObject, qreal pos); - void setBottomRight(QRectF* theWrappedObject, const QPointF& p); - void moveTo(QRectF* theWrappedObject, const QPointF& p); - void moveRight(QRectF* theWrappedObject, qreal pos); - void setX(QRectF* theWrappedObject, qreal pos); - void moveTop(QRectF* theWrappedObject, qreal pos); - QPointF bottomRight(QRectF* theWrappedObject) const; - void moveBottomLeft(QRectF* theWrappedObject, const QPointF& p); - void setSize(QRectF* theWrappedObject, const QSizeF& s); - qreal right(QRectF* theWrappedObject) const; - void setLeft(QRectF* theWrappedObject, qreal pos); - QString toString(QRectF*); -}; - -#endif // PYTHONQTWRAPPER_QRECTF_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QRegExp.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QRegExp.cpp deleted file mode 100644 index 4ab74a9..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QRegExp.cpp +++ /dev/null @@ -1,138 +0,0 @@ -#include "PythonQtWrapper_QRegExp.h" - -#include -#include -#include -#include -#include -#include -#include -#include - -QRegExp* PythonQtWrapper_QRegExp::new_QRegExp() -{ -return new QRegExp(); } - -QRegExp* PythonQtWrapper_QRegExp::new_QRegExp(const QRegExp& rx) -{ -return new QRegExp(rx); } - -QRegExp* PythonQtWrapper_QRegExp::new_QRegExp(const QString& pattern, Qt::CaseSensitivity cs, QRegExp::PatternSyntax syntax) -{ -return new QRegExp(pattern, cs, syntax); } - -QString PythonQtWrapper_QRegExp::cap(QRegExp* theWrappedObject, int nth) -{ - return ( theWrappedObject->cap(nth)); -} - -Qt::CaseSensitivity PythonQtWrapper_QRegExp::caseSensitivity(QRegExp* theWrappedObject) const -{ - return ( theWrappedObject->caseSensitivity()); -} - -QString PythonQtWrapper_QRegExp::static_QRegExp_escape(const QString& str) -{ - return (QRegExp::escape(str)); -} - -void PythonQtWrapper_QRegExp::writeTo(QRegExp* theWrappedObject, QDataStream& out) -{ - out << (*theWrappedObject); -} - -QString PythonQtWrapper_QRegExp::pattern(QRegExp* theWrappedObject) const -{ - return ( theWrappedObject->pattern()); -} - -void PythonQtWrapper_QRegExp::setMinimal(QRegExp* theWrappedObject, bool minimal) -{ - ( theWrappedObject->setMinimal(minimal)); -} - -bool PythonQtWrapper_QRegExp::operator_equal(QRegExp* theWrappedObject, const QRegExp& rx) const -{ - return ( (*theWrappedObject)== rx); -} - -int PythonQtWrapper_QRegExp::lastIndexIn(QRegExp* theWrappedObject, const QString& str, int offset, QRegExp::CaretMode caretMode) const -{ - return ( theWrappedObject->lastIndexIn(str, offset, caretMode)); -} - -int PythonQtWrapper_QRegExp::numCaptures(QRegExp* theWrappedObject) const -{ - return ( theWrappedObject->numCaptures()); -} - -void PythonQtWrapper_QRegExp::setPatternSyntax(QRegExp* theWrappedObject, QRegExp::PatternSyntax syntax) -{ - ( theWrappedObject->setPatternSyntax(syntax)); -} - -int PythonQtWrapper_QRegExp::matchedLength(QRegExp* theWrappedObject) const -{ - return ( theWrappedObject->matchedLength()); -} - -QRegExp::PatternSyntax PythonQtWrapper_QRegExp::patternSyntax(QRegExp* theWrappedObject) const -{ - return ( theWrappedObject->patternSyntax()); -} - -QString PythonQtWrapper_QRegExp::errorString(QRegExp* theWrappedObject) -{ - return ( theWrappedObject->errorString()); -} - -void PythonQtWrapper_QRegExp::setCaseSensitivity(QRegExp* theWrappedObject, Qt::CaseSensitivity cs) -{ - ( theWrappedObject->setCaseSensitivity(cs)); -} - -void PythonQtWrapper_QRegExp::setPattern(QRegExp* theWrappedObject, const QString& pattern) -{ - ( theWrappedObject->setPattern(pattern)); -} - -bool PythonQtWrapper_QRegExp::isValid(QRegExp* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -QStringList PythonQtWrapper_QRegExp::capturedTexts(QRegExp* theWrappedObject) -{ - return ( theWrappedObject->capturedTexts()); -} - -bool PythonQtWrapper_QRegExp::isEmpty(QRegExp* theWrappedObject) const -{ - return ( theWrappedObject->isEmpty()); -} - -bool PythonQtWrapper_QRegExp::isMinimal(QRegExp* theWrappedObject) const -{ - return ( theWrappedObject->isMinimal()); -} - -int PythonQtWrapper_QRegExp::pos(QRegExp* theWrappedObject, int nth) -{ - return ( theWrappedObject->pos(nth)); -} - -bool PythonQtWrapper_QRegExp::exactMatch(QRegExp* theWrappedObject, const QString& str) const -{ - return ( theWrappedObject->exactMatch(str)); -} - -void PythonQtWrapper_QRegExp::readFrom(QRegExp* theWrappedObject, QDataStream& in) -{ - in >> (*theWrappedObject); -} - -int PythonQtWrapper_QRegExp::indexIn(QRegExp* theWrappedObject, const QString& str, int offset, QRegExp::CaretMode caretMode) const -{ - return ( theWrappedObject->indexIn(str, offset, caretMode)); -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QRegExp.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QRegExp.h deleted file mode 100644 index 9204dde..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QRegExp.h +++ /dev/null @@ -1,53 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QREGEXP_H -#define PYTHONQTWRAPPER_QREGEXP_H - -#include -#include - -#include - -#include -#include -#include -#include -#include - -class PythonQtWrapper_QRegExp : public QObject -{ Q_OBJECT -public: -Q_ENUMS(PatternSyntax CaretMode ) -enum PatternSyntax{ - RegExp = QRegExp::RegExp, Wildcard = QRegExp::Wildcard, FixedString = QRegExp::FixedString, RegExp2 = QRegExp::RegExp2}; -enum CaretMode{ - CaretAtZero = QRegExp::CaretAtZero, CaretAtOffset = QRegExp::CaretAtOffset, CaretWontMatch = QRegExp::CaretWontMatch}; -public slots: -QRegExp* new_QRegExp(); -QRegExp* new_QRegExp(const QRegExp& rx); -QRegExp* new_QRegExp(const QString& pattern, Qt::CaseSensitivity cs = Qt::CaseSensitive, QRegExp::PatternSyntax syntax = QRegExp::RegExp); -void delete_QRegExp(QRegExp* obj) { delete obj; } - QString cap(QRegExp* theWrappedObject, int nth = 0); - Qt::CaseSensitivity caseSensitivity(QRegExp* theWrappedObject) const; - QString static_QRegExp_escape(const QString& str); - void writeTo(QRegExp* theWrappedObject, QDataStream& out); - QString pattern(QRegExp* theWrappedObject) const; - void setMinimal(QRegExp* theWrappedObject, bool minimal); - bool operator_equal(QRegExp* theWrappedObject, const QRegExp& rx) const; - int lastIndexIn(QRegExp* theWrappedObject, const QString& str, int offset = -1, QRegExp::CaretMode caretMode = QRegExp::CaretAtZero) const; - int numCaptures(QRegExp* theWrappedObject) const; - void setPatternSyntax(QRegExp* theWrappedObject, QRegExp::PatternSyntax syntax); - int matchedLength(QRegExp* theWrappedObject) const; - QRegExp::PatternSyntax patternSyntax(QRegExp* theWrappedObject) const; - QString errorString(QRegExp* theWrappedObject); - void setCaseSensitivity(QRegExp* theWrappedObject, Qt::CaseSensitivity cs); - void setPattern(QRegExp* theWrappedObject, const QString& pattern); - bool isValid(QRegExp* theWrappedObject) const; - QStringList capturedTexts(QRegExp* theWrappedObject); - bool isEmpty(QRegExp* theWrappedObject) const; - bool isMinimal(QRegExp* theWrappedObject) const; - int pos(QRegExp* theWrappedObject, int nth = 0); - bool exactMatch(QRegExp* theWrappedObject, const QString& str) const; - void readFrom(QRegExp* theWrappedObject, QDataStream& in); - int indexIn(QRegExp* theWrappedObject, const QString& str, int offset = 0, QRegExp::CaretMode caretMode = QRegExp::CaretAtZero) const; -}; - -#endif // PYTHONQTWRAPPER_QREGEXP_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QRunnable.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QRunnable.cpp deleted file mode 100644 index 79ec74d..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QRunnable.cpp +++ /dev/null @@ -1,38 +0,0 @@ -#include "PythonQtWrapper_QRunnable.h" - -#include -#include -#include -#include - -void PythonQtShell_QRunnable::run() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "run"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - -} -QRunnable* PythonQtWrapper_QRunnable::new_QRunnable() -{ -return new PythonQtShell_QRunnable(); } - -bool PythonQtWrapper_QRunnable::autoDelete(QRunnable* theWrappedObject) const -{ - return ( theWrappedObject->autoDelete()); -} - -void PythonQtWrapper_QRunnable::setAutoDelete(QRunnable* theWrappedObject, bool _autoDelete) -{ - ( theWrappedObject->setAutoDelete(_autoDelete)); -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QRunnable.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QRunnable.h deleted file mode 100644 index bfba226..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QRunnable.h +++ /dev/null @@ -1,31 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QRUNNABLE_H -#define PYTHONQTWRAPPER_QRUNNABLE_H - -#include -#include - -#include - -#include - -class PythonQtShell_QRunnable : public QRunnable -{ -public: - PythonQtShell_QRunnable():QRunnable(),_wrapper(NULL) {}; - -virtual void run(); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QRunnable : public QObject -{ Q_OBJECT -public: -public slots: -QRunnable* new_QRunnable(); -void delete_QRunnable(QRunnable* obj) { delete obj; } - bool autoDelete(QRunnable* theWrappedObject) const; - void setAutoDelete(QRunnable* theWrappedObject, bool _autoDelete); -}; - -#endif // PYTHONQTWRAPPER_QRUNNABLE_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QSemaphore.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QSemaphore.cpp deleted file mode 100644 index 921b42c..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QSemaphore.cpp +++ /dev/null @@ -1,37 +0,0 @@ -#include "PythonQtWrapper_QSemaphore.h" - -#include -#include -#include -#include -#include - -QSemaphore* PythonQtWrapper_QSemaphore::new_QSemaphore(int n) -{ -return new QSemaphore(n); } - -bool PythonQtWrapper_QSemaphore::tryAcquire(QSemaphore* theWrappedObject, int n) -{ - return ( theWrappedObject->tryAcquire(n)); -} - -void PythonQtWrapper_QSemaphore::release(QSemaphore* theWrappedObject, int n) -{ - ( theWrappedObject->release(n)); -} - -int PythonQtWrapper_QSemaphore::available(QSemaphore* theWrappedObject) const -{ - return ( theWrappedObject->available()); -} - -bool PythonQtWrapper_QSemaphore::tryAcquire(QSemaphore* theWrappedObject, int n, int timeout) -{ - return ( theWrappedObject->tryAcquire(n, timeout)); -} - -void PythonQtWrapper_QSemaphore::acquire(QSemaphore* theWrappedObject, int n) -{ - ( theWrappedObject->acquire(n)); -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QSemaphore.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QSemaphore.h deleted file mode 100644 index 7f6a986..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QSemaphore.h +++ /dev/null @@ -1,25 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSEMAPHORE_H -#define PYTHONQTWRAPPER_QSEMAPHORE_H - -#include -#include - -#include - -#include -#include - -class PythonQtWrapper_QSemaphore : public QObject -{ Q_OBJECT -public: -public slots: -QSemaphore* new_QSemaphore(int n = 0); -void delete_QSemaphore(QSemaphore* obj) { delete obj; } - bool tryAcquire(QSemaphore* theWrappedObject, int n = 1); - void release(QSemaphore* theWrappedObject, int n = 1); - int available(QSemaphore* theWrappedObject) const; - bool tryAcquire(QSemaphore* theWrappedObject, int n, int timeout); - void acquire(QSemaphore* theWrappedObject, int n = 1); -}; - -#endif // PYTHONQTWRAPPER_QSEMAPHORE_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QSettings.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QSettings.cpp deleted file mode 100644 index efca3f0..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QSettings.cpp +++ /dev/null @@ -1,286 +0,0 @@ -#include "PythonQtWrapper_QSettings.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -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; - } -} - QSettings::childEvent(arg__1); -} -void PythonQtShell_QSettings::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; - } -} - QSettings::customEvent(arg__1); -} -bool PythonQtShell_QSettings::event(QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSettings::event(event); -} -bool PythonQtShell_QSettings::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSettings::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QSettings::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; - } -} - QSettings::timerEvent(arg__1); -} -QSettings* PythonQtWrapper_QSettings::new_QSettings(QObject* parent) -{ -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); } - -QSettings::Format PythonQtWrapper_QSettings::format(QSettings* theWrappedObject) const -{ - return ( theWrappedObject->format()); -} - -void PythonQtWrapper_QSettings::clear(QSettings* theWrappedObject) -{ - ( theWrappedObject->clear()); -} - -QSettings::Format PythonQtWrapper_QSettings::static_QSettings_defaultFormat() -{ - return (QSettings::defaultFormat()); -} - -QString PythonQtWrapper_QSettings::organizationName(QSettings* theWrappedObject) const -{ - return ( theWrappedObject->organizationName()); -} - -bool PythonQtWrapper_QSettings::contains(QSettings* theWrappedObject, const QString& key) const -{ - return ( theWrappedObject->contains(key)); -} - -QSettings::Scope PythonQtWrapper_QSettings::scope(QSettings* theWrappedObject) const -{ - return ( theWrappedObject->scope()); -} - -void PythonQtWrapper_QSettings::setFallbacksEnabled(QSettings* theWrappedObject, bool b) -{ - ( theWrappedObject->setFallbacksEnabled(b)); -} - -bool PythonQtWrapper_QSettings::event(QSettings* theWrappedObject, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QSettings*)theWrappedObject)->promoted_event(event)); -} - -QStringList PythonQtWrapper_QSettings::childGroups(QSettings* theWrappedObject) const -{ - return ( theWrappedObject->childGroups()); -} - -void PythonQtWrapper_QSettings::static_QSettings_setDefaultFormat(QSettings::Format format) -{ - (QSettings::setDefaultFormat(format)); -} - -void PythonQtWrapper_QSettings::beginGroup(QSettings* theWrappedObject, const QString& prefix) -{ - ( theWrappedObject->beginGroup(prefix)); -} - -bool PythonQtWrapper_QSettings::fallbacksEnabled(QSettings* theWrappedObject) const -{ - return ( theWrappedObject->fallbacksEnabled()); -} - -void PythonQtWrapper_QSettings::beginWriteArray(QSettings* theWrappedObject, const QString& prefix, int size) -{ - ( theWrappedObject->beginWriteArray(prefix, size)); -} - -void PythonQtWrapper_QSettings::endArray(QSettings* theWrappedObject) -{ - ( theWrappedObject->endArray()); -} - -void PythonQtWrapper_QSettings::static_QSettings_setPath(QSettings::Format format, QSettings::Scope scope, const QString& path) -{ - (QSettings::setPath(format, scope, path)); -} - -QString PythonQtWrapper_QSettings::applicationName(QSettings* theWrappedObject) const -{ - return ( theWrappedObject->applicationName()); -} - -QString PythonQtWrapper_QSettings::group(QSettings* theWrappedObject) const -{ - return ( theWrappedObject->group()); -} - -bool PythonQtWrapper_QSettings::isWritable(QSettings* theWrappedObject) const -{ - return ( theWrappedObject->isWritable()); -} - -void PythonQtWrapper_QSettings::setValue(QSettings* theWrappedObject, const QString& key, const QVariant& value) -{ - ( theWrappedObject->setValue(key, value)); -} - -void PythonQtWrapper_QSettings::remove(QSettings* theWrappedObject, const QString& key) -{ - ( theWrappedObject->remove(key)); -} - -QSettings::Status PythonQtWrapper_QSettings::status(QSettings* theWrappedObject) const -{ - return ( theWrappedObject->status()); -} - -QVariant PythonQtWrapper_QSettings::value(QSettings* theWrappedObject, const QString& key, const QVariant& defaultValue) const -{ - return ( theWrappedObject->value(key, defaultValue)); -} - -QStringList PythonQtWrapper_QSettings::allKeys(QSettings* theWrappedObject) const -{ - return ( theWrappedObject->allKeys()); -} - -QStringList PythonQtWrapper_QSettings::childKeys(QSettings* theWrappedObject) const -{ - return ( theWrappedObject->childKeys()); -} - -void PythonQtWrapper_QSettings::setArrayIndex(QSettings* theWrappedObject, int i) -{ - ( theWrappedObject->setArrayIndex(i)); -} - -void PythonQtWrapper_QSettings::endGroup(QSettings* theWrappedObject) -{ - ( theWrappedObject->endGroup()); -} - -int PythonQtWrapper_QSettings::beginReadArray(QSettings* theWrappedObject, const QString& prefix) -{ - return ( theWrappedObject->beginReadArray(prefix)); -} - -void PythonQtWrapper_QSettings::sync(QSettings* theWrappedObject) -{ - ( theWrappedObject->sync()); -} - -QString PythonQtWrapper_QSettings::fileName(QSettings* theWrappedObject) const -{ - return ( theWrappedObject->fileName()); -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QSettings.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QSettings.h deleted file mode 100644 index 5c2abd8..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QSettings.h +++ /dev/null @@ -1,89 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSETTINGS_H -#define PYTHONQTWRAPPER_QSETTINGS_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QSettings : public QSettings -{ -public: - PythonQtShell_QSettings(QObject* parent = 0):QSettings(parent),_wrapper(NULL) {}; - PythonQtShell_QSettings(QSettings::Format format, QSettings::Scope scope, const QString& organization, const QString& application = QString(), QObject* parent = 0):QSettings(format, scope, organization, application, parent),_wrapper(NULL) {}; - PythonQtShell_QSettings(QSettings::Scope scope, const QString& organization, const QString& application = QString(), QObject* parent = 0):QSettings(scope, organization, application, parent),_wrapper(NULL) {}; - PythonQtShell_QSettings(const QString& fileName, QSettings::Format format, QObject* parent = 0):QSettings(fileName, format, parent),_wrapper(NULL) {}; - PythonQtShell_QSettings(const QString& organization, const QString& application = QString(), QObject* parent = 0):QSettings(organization, application, parent),_wrapper(NULL) {}; - -virtual void childEvent(QChildEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QSettings : public QSettings -{ public: -inline bool promoted_event(QEvent* event) { return QSettings::event(event); } -}; - -class PythonQtWrapper_QSettings : public QObject -{ Q_OBJECT -public: -Q_ENUMS(Format Status Scope ) -enum Format{ - NativeFormat = QSettings::NativeFormat, IniFormat = QSettings::IniFormat, InvalidFormat = QSettings::InvalidFormat, CustomFormat1 = QSettings::CustomFormat1, CustomFormat2 = QSettings::CustomFormat2, CustomFormat3 = QSettings::CustomFormat3, CustomFormat4 = QSettings::CustomFormat4, CustomFormat5 = QSettings::CustomFormat5, CustomFormat6 = QSettings::CustomFormat6, CustomFormat7 = QSettings::CustomFormat7, CustomFormat8 = QSettings::CustomFormat8, CustomFormat9 = QSettings::CustomFormat9, CustomFormat10 = QSettings::CustomFormat10, CustomFormat11 = QSettings::CustomFormat11, CustomFormat12 = QSettings::CustomFormat12, CustomFormat13 = QSettings::CustomFormat13, CustomFormat14 = QSettings::CustomFormat14, CustomFormat15 = QSettings::CustomFormat15, CustomFormat16 = QSettings::CustomFormat16}; -enum Status{ - NoError = QSettings::NoError, AccessError = QSettings::AccessError, FormatError = QSettings::FormatError}; -enum Scope{ - UserScope = QSettings::UserScope, SystemScope = QSettings::SystemScope}; -public slots: -QSettings* new_QSettings(QObject* parent = 0); -QSettings* new_QSettings(QSettings::Format format, QSettings::Scope scope, const QString& organization, const QString& application = QString(), QObject* parent = 0); -QSettings* new_QSettings(QSettings::Scope scope, const QString& organization, const QString& application = QString(), QObject* parent = 0); -QSettings* new_QSettings(const QString& fileName, QSettings::Format format, QObject* parent = 0); -QSettings* new_QSettings(const QString& organization, const QString& application = QString(), QObject* parent = 0); -void delete_QSettings(QSettings* obj) { delete obj; } - QSettings::Format format(QSettings* theWrappedObject) const; - void clear(QSettings* theWrappedObject); - QSettings::Format static_QSettings_defaultFormat(); - QString organizationName(QSettings* theWrappedObject) const; - bool contains(QSettings* theWrappedObject, const QString& key) const; - QSettings::Scope scope(QSettings* theWrappedObject) const; - void setFallbacksEnabled(QSettings* theWrappedObject, bool b); - bool event(QSettings* theWrappedObject, QEvent* event); - QStringList childGroups(QSettings* theWrappedObject) const; - void static_QSettings_setDefaultFormat(QSettings::Format format); - void beginGroup(QSettings* theWrappedObject, const QString& prefix); - bool fallbacksEnabled(QSettings* theWrappedObject) const; - void beginWriteArray(QSettings* theWrappedObject, const QString& prefix, int size = -1); - void endArray(QSettings* theWrappedObject); - void static_QSettings_setPath(QSettings::Format format, QSettings::Scope scope, const QString& path); - QString applicationName(QSettings* theWrappedObject) const; - QString group(QSettings* theWrappedObject) const; - bool isWritable(QSettings* theWrappedObject) const; - void setValue(QSettings* theWrappedObject, const QString& key, const QVariant& value); - void remove(QSettings* theWrappedObject, const QString& key); - QSettings::Status status(QSettings* theWrappedObject) const; - QVariant value(QSettings* theWrappedObject, const QString& key, const QVariant& defaultValue = QVariant()) const; - QStringList allKeys(QSettings* theWrappedObject) const; - QStringList childKeys(QSettings* theWrappedObject) const; - void setArrayIndex(QSettings* theWrappedObject, int i); - void endGroup(QSettings* theWrappedObject); - int beginReadArray(QSettings* theWrappedObject, const QString& prefix); - void sync(QSettings* theWrappedObject); - QString fileName(QSettings* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QSETTINGS_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QSignalMapper.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QSignalMapper.cpp deleted file mode 100644 index 1e14582..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QSignalMapper.cpp +++ /dev/null @@ -1,158 +0,0 @@ -#include "PythonQtWrapper_QSignalMapper.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QSignalMapper::childEvent(QChildEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSignalMapper::childEvent(arg__1); -} -void PythonQtShell_QSignalMapper::customEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSignalMapper::customEvent(arg__1); -} -bool PythonQtShell_QSignalMapper::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSignalMapper::event(arg__1); -} -bool PythonQtShell_QSignalMapper::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSignalMapper::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QSignalMapper::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; - } -} - QSignalMapper::timerEvent(arg__1); -} -QSignalMapper* PythonQtWrapper_QSignalMapper::new_QSignalMapper(QObject* parent) -{ -return new PythonQtShell_QSignalMapper(parent); } - -void PythonQtWrapper_QSignalMapper::setMapping(QSignalMapper* theWrappedObject, QObject* sender, QObject* object) -{ - ( theWrappedObject->setMapping(sender, object)); -} - -void PythonQtWrapper_QSignalMapper::setMapping(QSignalMapper* theWrappedObject, QObject* sender, const QString& text) -{ - ( theWrappedObject->setMapping(sender, text)); -} - -QObject* PythonQtWrapper_QSignalMapper::mapping(QSignalMapper* theWrappedObject, QObject* object) const -{ - return ( theWrappedObject->mapping(object)); -} - -QObject* PythonQtWrapper_QSignalMapper::mapping(QSignalMapper* theWrappedObject, int id) const -{ - return ( theWrappedObject->mapping(id)); -} - -QObject* PythonQtWrapper_QSignalMapper::mapping(QSignalMapper* theWrappedObject, const QString& text) const -{ - return ( theWrappedObject->mapping(text)); -} - -void PythonQtWrapper_QSignalMapper::setMapping(QSignalMapper* theWrappedObject, QObject* sender, int id) -{ - ( theWrappedObject->setMapping(sender, id)); -} - -void PythonQtWrapper_QSignalMapper::removeMappings(QSignalMapper* theWrappedObject, QObject* sender) -{ - ( theWrappedObject->removeMappings(sender)); -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QSignalMapper.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QSignalMapper.h deleted file mode 100644 index 62c95db..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QSignalMapper.h +++ /dev/null @@ -1,45 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSIGNALMAPPER_H -#define PYTHONQTWRAPPER_QSIGNALMAPPER_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QSignalMapper : public QSignalMapper -{ -public: - PythonQtShell_QSignalMapper(QObject* parent = 0):QSignalMapper(parent),_wrapper(NULL) {}; - -virtual void childEvent(QChildEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QSignalMapper : public QObject -{ Q_OBJECT -public: -public slots: -QSignalMapper* new_QSignalMapper(QObject* parent = 0); -void delete_QSignalMapper(QSignalMapper* obj) { delete obj; } - void setMapping(QSignalMapper* theWrappedObject, QObject* sender, QObject* object); - void setMapping(QSignalMapper* theWrappedObject, QObject* sender, const QString& text); - QObject* mapping(QSignalMapper* theWrappedObject, QObject* object) const; - QObject* mapping(QSignalMapper* theWrappedObject, int id) const; - QObject* mapping(QSignalMapper* theWrappedObject, const QString& text) const; - void setMapping(QSignalMapper* theWrappedObject, QObject* sender, int id); - void removeMappings(QSignalMapper* theWrappedObject, QObject* sender); -}; - -#endif // PYTHONQTWRAPPER_QSIGNALMAPPER_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QSize.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QSize.cpp deleted file mode 100644 index 6b25259..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QSize.cpp +++ /dev/null @@ -1,119 +0,0 @@ -#include "PythonQtWrapper_QSize.h" - -#include -#include -#include -#include -#include -#include - -QSize* PythonQtWrapper_QSize::new_QSize() -{ -return new QSize(); } - -QSize* PythonQtWrapper_QSize::new_QSize(int w, int h) -{ -return new QSize(w, h); } - -void PythonQtWrapper_QSize::scale(QSize* theWrappedObject, int w, int h, Qt::AspectRatioMode mode) -{ - ( theWrappedObject->scale(w, h, mode)); -} - -int PythonQtWrapper_QSize::width(QSize* theWrappedObject) const -{ - return ( theWrappedObject->width()); -} - -void PythonQtWrapper_QSize::readFrom(QSize* theWrappedObject, QDataStream& arg__1) -{ - arg__1 >> (*theWrappedObject); -} - -bool PythonQtWrapper_QSize::isEmpty(QSize* theWrappedObject) const -{ - return ( theWrappedObject->isEmpty()); -} - -bool PythonQtWrapper_QSize::operator_equal(QSize* theWrappedObject, const QSize& s2) -{ - return ( (*theWrappedObject)== s2); -} - -void PythonQtWrapper_QSize::transpose(QSize* theWrappedObject) -{ - ( theWrappedObject->transpose()); -} - -int PythonQtWrapper_QSize::height(QSize* theWrappedObject) const -{ - return ( theWrappedObject->height()); -} - -bool PythonQtWrapper_QSize::isNull(QSize* theWrappedObject) const -{ - return ( theWrappedObject->isNull()); -} - -QSize* PythonQtWrapper_QSize::operator_subtract_assign(QSize* theWrappedObject, const QSize& arg__1) -{ - return &( (*theWrappedObject)-= arg__1); -} - -bool PythonQtWrapper_QSize::isValid(QSize* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -QSize PythonQtWrapper_QSize::expandedTo(QSize* theWrappedObject, const QSize& arg__1) const -{ - return ( theWrappedObject->expandedTo(arg__1)); -} - -QSize* PythonQtWrapper_QSize::operator_add_assign(QSize* theWrappedObject, const QSize& arg__1) -{ - return &( (*theWrappedObject)+= arg__1); -} - -void PythonQtWrapper_QSize::writeTo(QSize* theWrappedObject, QDataStream& arg__1) -{ - arg__1 << (*theWrappedObject); -} - -QSize* PythonQtWrapper_QSize::operator_multiply_assign(QSize* theWrappedObject, qreal c) -{ - return &( (*theWrappedObject)*= c); -} - -QSize* PythonQtWrapper_QSize::operator_divide_assign(QSize* theWrappedObject, qreal c) -{ - return &( (*theWrappedObject)/= c); -} - -QSize PythonQtWrapper_QSize::boundedTo(QSize* theWrappedObject, const QSize& arg__1) const -{ - return ( theWrappedObject->boundedTo(arg__1)); -} - -void PythonQtWrapper_QSize::setHeight(QSize* theWrappedObject, int h) -{ - ( theWrappedObject->setHeight(h)); -} - -void PythonQtWrapper_QSize::setWidth(QSize* theWrappedObject, int w) -{ - ( theWrappedObject->setWidth(w)); -} - -void PythonQtWrapper_QSize::scale(QSize* theWrappedObject, const QSize& s, Qt::AspectRatioMode mode) -{ - ( theWrappedObject->scale(s, mode)); -} - -QString PythonQtWrapper_QSize::toString(QSize* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QSize.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QSize.h deleted file mode 100644 index 97ced47..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QSize.h +++ /dev/null @@ -1,46 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSIZE_H -#define PYTHONQTWRAPPER_QSIZE_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtWrapper_QSize : public QObject -{ Q_OBJECT -public: -public slots: -QSize* new_QSize(); -QSize* new_QSize(int w, int h); -QSize* new_QSize(const QSize& other) { -QSize* a = new QSize(); -*((QSize*)a) = other; -return a; } -void delete_QSize(QSize* obj) { delete obj; } - void scale(QSize* theWrappedObject, int w, int h, Qt::AspectRatioMode mode); - int width(QSize* theWrappedObject) const; - void readFrom(QSize* theWrappedObject, QDataStream& arg__1); - bool isEmpty(QSize* theWrappedObject) const; - bool operator_equal(QSize* theWrappedObject, const QSize& s2); - void transpose(QSize* theWrappedObject); - int height(QSize* theWrappedObject) const; - bool isNull(QSize* theWrappedObject) const; - QSize* operator_subtract_assign(QSize* theWrappedObject, const QSize& arg__1); - bool isValid(QSize* theWrappedObject) const; - QSize expandedTo(QSize* theWrappedObject, const QSize& arg__1) const; - QSize* operator_add_assign(QSize* theWrappedObject, const QSize& arg__1); - void writeTo(QSize* theWrappedObject, QDataStream& arg__1); - QSize* operator_multiply_assign(QSize* theWrappedObject, qreal c); - QSize* operator_divide_assign(QSize* theWrappedObject, qreal c); - QSize boundedTo(QSize* theWrappedObject, const QSize& arg__1) const; - void setHeight(QSize* theWrappedObject, int h); - void setWidth(QSize* theWrappedObject, int w); - void scale(QSize* theWrappedObject, const QSize& s, Qt::AspectRatioMode mode); - QString toString(QSize*); -}; - -#endif // PYTHONQTWRAPPER_QSIZE_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QSizeF.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QSizeF.cpp deleted file mode 100644 index 0e7b500..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QSizeF.cpp +++ /dev/null @@ -1,128 +0,0 @@ -#include "PythonQtWrapper_QSizeF.h" - -#include -#include -#include -#include -#include -#include - -QSizeF* PythonQtWrapper_QSizeF::new_QSizeF() -{ -return new QSizeF(); } - -QSizeF* PythonQtWrapper_QSizeF::new_QSizeF(const QSize& sz) -{ -return new QSizeF(sz); } - -QSizeF* PythonQtWrapper_QSizeF::new_QSizeF(qreal w, qreal h) -{ -return new QSizeF(w, h); } - -void PythonQtWrapper_QSizeF::transpose(QSizeF* theWrappedObject) -{ - ( theWrappedObject->transpose()); -} - -QSizeF PythonQtWrapper_QSizeF::expandedTo(QSizeF* theWrappedObject, const QSizeF& arg__1) const -{ - return ( theWrappedObject->expandedTo(arg__1)); -} - -QSizeF* PythonQtWrapper_QSizeF::operator_add_assign(QSizeF* theWrappedObject, const QSizeF& arg__1) -{ - return &( (*theWrappedObject)+= arg__1); -} - -void PythonQtWrapper_QSizeF::setHeight(QSizeF* theWrappedObject, qreal h) -{ - ( theWrappedObject->setHeight(h)); -} - -void PythonQtWrapper_QSizeF::scale(QSizeF* theWrappedObject, const QSizeF& s, Qt::AspectRatioMode mode) -{ - ( theWrappedObject->scale(s, mode)); -} - -void PythonQtWrapper_QSizeF::scale(QSizeF* theWrappedObject, qreal w, qreal h, Qt::AspectRatioMode mode) -{ - ( theWrappedObject->scale(w, h, mode)); -} - -QSizeF* PythonQtWrapper_QSizeF::operator_divide_assign(QSizeF* theWrappedObject, qreal c) -{ - return &( (*theWrappedObject)/= c); -} - -QSizeF PythonQtWrapper_QSizeF::boundedTo(QSizeF* theWrappedObject, const QSizeF& arg__1) const -{ - return ( theWrappedObject->boundedTo(arg__1)); -} - -bool PythonQtWrapper_QSizeF::isNull(QSizeF* theWrappedObject) const -{ - return ( theWrappedObject->isNull()); -} - -void PythonQtWrapper_QSizeF::writeTo(QSizeF* theWrappedObject, QDataStream& arg__1) -{ - arg__1 << (*theWrappedObject); -} - -void PythonQtWrapper_QSizeF::setWidth(QSizeF* theWrappedObject, qreal w) -{ - ( theWrappedObject->setWidth(w)); -} - -QSize PythonQtWrapper_QSizeF::toSize(QSizeF* theWrappedObject) const -{ - return ( theWrappedObject->toSize()); -} - -bool PythonQtWrapper_QSizeF::isValid(QSizeF* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -QSizeF* PythonQtWrapper_QSizeF::operator_multiply_assign(QSizeF* theWrappedObject, qreal c) -{ - return &( (*theWrappedObject)*= c); -} - -void PythonQtWrapper_QSizeF::readFrom(QSizeF* theWrappedObject, QDataStream& arg__1) -{ - arg__1 >> (*theWrappedObject); -} - -QSizeF* PythonQtWrapper_QSizeF::operator_subtract_assign(QSizeF* theWrappedObject, const QSizeF& arg__1) -{ - return &( (*theWrappedObject)-= arg__1); -} - -bool PythonQtWrapper_QSizeF::operator_equal(QSizeF* theWrappedObject, const QSizeF& s2) -{ - return ( (*theWrappedObject)== s2); -} - -qreal PythonQtWrapper_QSizeF::height(QSizeF* theWrappedObject) const -{ - return ( theWrappedObject->height()); -} - -bool PythonQtWrapper_QSizeF::isEmpty(QSizeF* theWrappedObject) const -{ - return ( theWrappedObject->isEmpty()); -} - -qreal PythonQtWrapper_QSizeF::width(QSizeF* theWrappedObject) const -{ - return ( theWrappedObject->width()); -} - -QString PythonQtWrapper_QSizeF::toString(QSizeF* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QSizeF.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QSizeF.h deleted file mode 100644 index 5968dc6..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QSizeF.h +++ /dev/null @@ -1,48 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSIZEF_H -#define PYTHONQTWRAPPER_QSIZEF_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtWrapper_QSizeF : public QObject -{ Q_OBJECT -public: -public slots: -QSizeF* new_QSizeF(); -QSizeF* new_QSizeF(const QSize& sz); -QSizeF* new_QSizeF(qreal w, qreal h); -QSizeF* new_QSizeF(const QSizeF& other) { -QSizeF* a = new QSizeF(); -*((QSizeF*)a) = other; -return a; } -void delete_QSizeF(QSizeF* obj) { delete obj; } - void transpose(QSizeF* theWrappedObject); - QSizeF expandedTo(QSizeF* theWrappedObject, const QSizeF& arg__1) const; - QSizeF* operator_add_assign(QSizeF* theWrappedObject, const QSizeF& arg__1); - void setHeight(QSizeF* theWrappedObject, qreal h); - void scale(QSizeF* theWrappedObject, const QSizeF& s, Qt::AspectRatioMode mode); - void scale(QSizeF* theWrappedObject, qreal w, qreal h, Qt::AspectRatioMode mode); - QSizeF* operator_divide_assign(QSizeF* theWrappedObject, qreal c); - QSizeF boundedTo(QSizeF* theWrappedObject, const QSizeF& arg__1) const; - bool isNull(QSizeF* theWrappedObject) const; - void writeTo(QSizeF* theWrappedObject, QDataStream& arg__1); - void setWidth(QSizeF* theWrappedObject, qreal w); - QSize toSize(QSizeF* theWrappedObject) const; - bool isValid(QSizeF* theWrappedObject) const; - QSizeF* operator_multiply_assign(QSizeF* theWrappedObject, qreal c); - void readFrom(QSizeF* theWrappedObject, QDataStream& arg__1); - QSizeF* operator_subtract_assign(QSizeF* theWrappedObject, const QSizeF& arg__1); - bool operator_equal(QSizeF* theWrappedObject, const QSizeF& s2); - qreal height(QSizeF* theWrappedObject) const; - bool isEmpty(QSizeF* theWrappedObject) const; - qreal width(QSizeF* theWrappedObject) const; - QString toString(QSizeF*); -}; - -#endif // PYTHONQTWRAPPER_QSIZEF_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QSocketNotifier.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QSocketNotifier.cpp deleted file mode 100644 index 4c4c052..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QSocketNotifier.cpp +++ /dev/null @@ -1,143 +0,0 @@ -#include "PythonQtWrapper_QSocketNotifier.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QSocketNotifier::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; - } -} - QSocketNotifier::childEvent(arg__1); -} -void PythonQtShell_QSocketNotifier::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; - } -} - QSocketNotifier::customEvent(arg__1); -} -bool PythonQtShell_QSocketNotifier::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSocketNotifier::event(arg__1); -} -bool PythonQtShell_QSocketNotifier::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSocketNotifier::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QSocketNotifier::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; - } -} - QSocketNotifier::timerEvent(arg__1); -} -QSocketNotifier* PythonQtWrapper_QSocketNotifier::new_QSocketNotifier(int socket, QSocketNotifier::Type arg__2, QObject* parent) -{ -return new PythonQtShell_QSocketNotifier(socket, arg__2, parent); } - -bool PythonQtWrapper_QSocketNotifier::isEnabled(QSocketNotifier* theWrappedObject) const -{ - return ( theWrappedObject->isEnabled()); -} - -QSocketNotifier::Type PythonQtWrapper_QSocketNotifier::type(QSocketNotifier* theWrappedObject) const -{ - return ( theWrappedObject->type()); -} - -bool PythonQtWrapper_QSocketNotifier::event(QSocketNotifier* theWrappedObject, QEvent* arg__1) -{ - return ( ((PythonQtPublicPromoter_QSocketNotifier*)theWrappedObject)->promoted_event(arg__1)); -} - -int PythonQtWrapper_QSocketNotifier::socket(QSocketNotifier* theWrappedObject) const -{ - return ( theWrappedObject->socket()); -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QSocketNotifier.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QSocketNotifier.h deleted file mode 100644 index 7739f17..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QSocketNotifier.h +++ /dev/null @@ -1,50 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSOCKETNOTIFIER_H -#define PYTHONQTWRAPPER_QSOCKETNOTIFIER_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QSocketNotifier : public QSocketNotifier -{ -public: - PythonQtShell_QSocketNotifier(int socket, QSocketNotifier::Type arg__2, QObject* parent = 0):QSocketNotifier(socket, arg__2, parent),_wrapper(NULL) {}; - -virtual void childEvent(QChildEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QSocketNotifier : public QSocketNotifier -{ public: -inline bool promoted_event(QEvent* arg__1) { return QSocketNotifier::event(arg__1); } -}; - -class PythonQtWrapper_QSocketNotifier : public QObject -{ Q_OBJECT -public: -Q_ENUMS(Type ) -enum Type{ - Read = QSocketNotifier::Read, Write = QSocketNotifier::Write, Exception = QSocketNotifier::Exception}; -public slots: -QSocketNotifier* new_QSocketNotifier(int socket, QSocketNotifier::Type arg__2, QObject* parent = 0); -void delete_QSocketNotifier(QSocketNotifier* obj) { delete obj; } - bool isEnabled(QSocketNotifier* theWrappedObject) const; - QSocketNotifier::Type type(QSocketNotifier* theWrappedObject) const; - bool event(QSocketNotifier* theWrappedObject, QEvent* arg__1); - int socket(QSocketNotifier* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QSOCKETNOTIFIER_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QStringMatcher.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QStringMatcher.cpp deleted file mode 100644 index a9b567e..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QStringMatcher.cpp +++ /dev/null @@ -1,45 +0,0 @@ -#include "PythonQtWrapper_QStringMatcher.h" - -#include -#include -#include -#include -#include - -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); } - -int PythonQtWrapper_QStringMatcher::indexIn(QStringMatcher* theWrappedObject, const QString& str, int from) const -{ - return ( theWrappedObject->indexIn(str, from)); -} - -Qt::CaseSensitivity PythonQtWrapper_QStringMatcher::caseSensitivity(QStringMatcher* theWrappedObject) const -{ - return ( theWrappedObject->caseSensitivity()); -} - -void PythonQtWrapper_QStringMatcher::setCaseSensitivity(QStringMatcher* theWrappedObject, Qt::CaseSensitivity cs) -{ - ( theWrappedObject->setCaseSensitivity(cs)); -} - -void PythonQtWrapper_QStringMatcher::setPattern(QStringMatcher* theWrappedObject, const QString& pattern) -{ - ( theWrappedObject->setPattern(pattern)); -} - -QString PythonQtWrapper_QStringMatcher::pattern(QStringMatcher* theWrappedObject) const -{ - return ( theWrappedObject->pattern()); -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QStringMatcher.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QStringMatcher.h deleted file mode 100644 index 4a47e07..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QStringMatcher.h +++ /dev/null @@ -1,27 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSTRINGMATCHER_H -#define PYTHONQTWRAPPER_QSTRINGMATCHER_H - -#include -#include - -#include - -#include -#include - -class PythonQtWrapper_QStringMatcher : public QObject -{ Q_OBJECT -public: -public slots: -QStringMatcher* new_QStringMatcher(); -QStringMatcher* new_QStringMatcher(const QString& pattern, Qt::CaseSensitivity cs = Qt::CaseSensitive); -QStringMatcher* new_QStringMatcher(const QStringMatcher& other); -void delete_QStringMatcher(QStringMatcher* obj) { delete obj; } - int indexIn(QStringMatcher* theWrappedObject, const QString& str, int from = 0) const; - Qt::CaseSensitivity caseSensitivity(QStringMatcher* theWrappedObject) const; - void setCaseSensitivity(QStringMatcher* theWrappedObject, Qt::CaseSensitivity cs); - void setPattern(QStringMatcher* theWrappedObject, const QString& pattern); - QString pattern(QStringMatcher* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QSTRINGMATCHER_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QSystemSemaphore.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QSystemSemaphore.cpp deleted file mode 100644 index acb52a0..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QSystemSemaphore.cpp +++ /dev/null @@ -1,42 +0,0 @@ -#include "PythonQtWrapper_QSystemSemaphore.h" - -#include -#include -#include -#include -#include - -QSystemSemaphore* PythonQtWrapper_QSystemSemaphore::new_QSystemSemaphore(const QString& key, int initialValue, QSystemSemaphore::AccessMode mode) -{ -return new QSystemSemaphore(key, initialValue, mode); } - -QSystemSemaphore::SystemSemaphoreError PythonQtWrapper_QSystemSemaphore::error(QSystemSemaphore* theWrappedObject) const -{ - return ( theWrappedObject->error()); -} - -bool PythonQtWrapper_QSystemSemaphore::release(QSystemSemaphore* theWrappedObject, int n) -{ - return ( theWrappedObject->release(n)); -} - -QString PythonQtWrapper_QSystemSemaphore::errorString(QSystemSemaphore* theWrappedObject) const -{ - return ( theWrappedObject->errorString()); -} - -bool PythonQtWrapper_QSystemSemaphore::acquire(QSystemSemaphore* theWrappedObject) -{ - return ( theWrappedObject->acquire()); -} - -void PythonQtWrapper_QSystemSemaphore::setKey(QSystemSemaphore* theWrappedObject, const QString& key, int initialValue, QSystemSemaphore::AccessMode mode) -{ - ( theWrappedObject->setKey(key, initialValue, mode)); -} - -QString PythonQtWrapper_QSystemSemaphore::key(QSystemSemaphore* theWrappedObject) const -{ - return ( theWrappedObject->key()); -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QSystemSemaphore.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QSystemSemaphore.h deleted file mode 100644 index 87d9133..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QSystemSemaphore.h +++ /dev/null @@ -1,31 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSYSTEMSEMAPHORE_H -#define PYTHONQTWRAPPER_QSYSTEMSEMAPHORE_H - -#include -#include - -#include - -#include -#include - -class PythonQtWrapper_QSystemSemaphore : public QObject -{ Q_OBJECT -public: -Q_ENUMS(AccessMode SystemSemaphoreError ) -enum AccessMode{ - Open = QSystemSemaphore::Open, Create = QSystemSemaphore::Create}; -enum SystemSemaphoreError{ - NoError = QSystemSemaphore::NoError, PermissionDenied = QSystemSemaphore::PermissionDenied, KeyError = QSystemSemaphore::KeyError, AlreadyExists = QSystemSemaphore::AlreadyExists, NotFound = QSystemSemaphore::NotFound, OutOfResources = QSystemSemaphore::OutOfResources, UnknownError = QSystemSemaphore::UnknownError}; -public slots: -QSystemSemaphore* new_QSystemSemaphore(const QString& key, int initialValue = 0, QSystemSemaphore::AccessMode mode = QSystemSemaphore::Open); -void delete_QSystemSemaphore(QSystemSemaphore* obj) { delete obj; } - QSystemSemaphore::SystemSemaphoreError error(QSystemSemaphore* theWrappedObject) const; - bool release(QSystemSemaphore* theWrappedObject, int n = 1); - QString errorString(QSystemSemaphore* theWrappedObject) const; - bool acquire(QSystemSemaphore* theWrappedObject); - void setKey(QSystemSemaphore* theWrappedObject, const QString& key, int initialValue = 0, QSystemSemaphore::AccessMode mode = QSystemSemaphore::Open); - QString key(QSystemSemaphore* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QSYSTEMSEMAPHORE_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTemporaryFile.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTemporaryFile.cpp deleted file mode 100644 index 9314911..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTemporaryFile.cpp +++ /dev/null @@ -1,651 +0,0 @@ -#include "PythonQtWrapper_QTemporaryFile.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -bool PythonQtShell_QTemporaryFile::atEnd() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "atEnd"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTemporaryFile::atEnd(); -} -qint64 PythonQtShell_QTemporaryFile::bytesAvailable() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "bytesAvailable"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTemporaryFile::bytesAvailable(); -} -qint64 PythonQtShell_QTemporaryFile::bytesToWrite() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "bytesToWrite"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTemporaryFile::bytesToWrite(); -} -bool PythonQtShell_QTemporaryFile::canReadLine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "canReadLine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTemporaryFile::canReadLine(); -} -void PythonQtShell_QTemporaryFile::childEvent(QChildEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTemporaryFile::childEvent(arg__1); -} -void PythonQtShell_QTemporaryFile::close() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "close"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTemporaryFile::close(); -} -void PythonQtShell_QTemporaryFile::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; - } -} - QTemporaryFile::customEvent(arg__1); -} -bool PythonQtShell_QTemporaryFile::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTemporaryFile::event(arg__1); -} -bool PythonQtShell_QTemporaryFile::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTemporaryFile::eventFilter(arg__1, arg__2); -} -QAbstractFileEngine* PythonQtShell_QTemporaryFile::fileEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "fileEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QAbstractFileEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QAbstractFileEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("fileEngine", methodInfo, result); - } else { - returnValue = *((QAbstractFileEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTemporaryFile::fileEngine(); -} -bool PythonQtShell_QTemporaryFile::isSequential() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isSequential"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTemporaryFile::isSequential(); -} -bool PythonQtShell_QTemporaryFile::open(QIODevice::OpenMode flags) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "open"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&flags}; - 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("open", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTemporaryFile::open(flags); -} -qint64 PythonQtShell_QTemporaryFile::pos() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "pos"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTemporaryFile::pos(); -} -qint64 PythonQtShell_QTemporaryFile::readData(char* data, qint64 maxlen) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "readData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - 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}; - 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("readData", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTemporaryFile::readData(data, maxlen); -} -qint64 PythonQtShell_QTemporaryFile::readLineData(char* data, qint64 maxlen) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "readLineData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - 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}; - 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("readLineData", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTemporaryFile::readLineData(data, maxlen); -} -bool PythonQtShell_QTemporaryFile::reset() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reset"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTemporaryFile::reset(); -} -bool PythonQtShell_QTemporaryFile::seek(qint64 offset) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "seek"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&offset}; - 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("seek", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTemporaryFile::seek(offset); -} -qint64 PythonQtShell_QTemporaryFile::size() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "size"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTemporaryFile::size(); -} -void PythonQtShell_QTemporaryFile::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; - } -} - QTemporaryFile::timerEvent(arg__1); -} -bool PythonQtShell_QTemporaryFile::waitForBytesWritten(int msecs) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "waitForBytesWritten"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&msecs}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("waitForBytesWritten", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTemporaryFile::waitForBytesWritten(msecs); -} -bool PythonQtShell_QTemporaryFile::waitForReadyRead(int msecs) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "waitForReadyRead"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&msecs}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("waitForReadyRead", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTemporaryFile::waitForReadyRead(msecs); -} -qint64 PythonQtShell_QTemporaryFile::writeData(const char* data, qint64 len) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "writeData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - 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}; - 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("writeData", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTemporaryFile::writeData(data, len); -} -QTemporaryFile* PythonQtWrapper_QTemporaryFile::new_QTemporaryFile() -{ -return new PythonQtShell_QTemporaryFile(); } - -QTemporaryFile* PythonQtWrapper_QTemporaryFile::new_QTemporaryFile(QObject* parent) -{ -return new PythonQtShell_QTemporaryFile(parent); } - -QTemporaryFile* PythonQtWrapper_QTemporaryFile::new_QTemporaryFile(const QString& templateName) -{ -return new PythonQtShell_QTemporaryFile(templateName); } - -QTemporaryFile* PythonQtWrapper_QTemporaryFile::new_QTemporaryFile(const QString& templateName, QObject* parent) -{ -return new PythonQtShell_QTemporaryFile(templateName, parent); } - -QString PythonQtWrapper_QTemporaryFile::fileTemplate(QTemporaryFile* theWrappedObject) const -{ - return ( theWrappedObject->fileTemplate()); -} - -QTemporaryFile* PythonQtWrapper_QTemporaryFile::static_QTemporaryFile_createLocalFile(const QString& fileName) -{ - return (QTemporaryFile::createLocalFile(fileName)); -} - -QString PythonQtWrapper_QTemporaryFile::fileName(QTemporaryFile* theWrappedObject) const -{ - return ( theWrappedObject->fileName()); -} - -bool PythonQtWrapper_QTemporaryFile::autoRemove(QTemporaryFile* theWrappedObject) const -{ - return ( theWrappedObject->autoRemove()); -} - -QTemporaryFile* PythonQtWrapper_QTemporaryFile::static_QTemporaryFile_createLocalFile(QFile& file) -{ - return (QTemporaryFile::createLocalFile(file)); -} - -QAbstractFileEngine* PythonQtWrapper_QTemporaryFile::fileEngine(QTemporaryFile* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QTemporaryFile*)theWrappedObject)->promoted_fileEngine()); -} - -void PythonQtWrapper_QTemporaryFile::setFileTemplate(QTemporaryFile* theWrappedObject, const QString& name) -{ - ( theWrappedObject->setFileTemplate(name)); -} - -bool PythonQtWrapper_QTemporaryFile::open(QTemporaryFile* theWrappedObject) -{ - return ( theWrappedObject->open()); -} - -void PythonQtWrapper_QTemporaryFile::setAutoRemove(QTemporaryFile* theWrappedObject, bool b) -{ - ( theWrappedObject->setAutoRemove(b)); -} - -bool PythonQtWrapper_QTemporaryFile::open(QTemporaryFile* theWrappedObject, QIODevice::OpenMode flags) -{ - return ( ((PythonQtPublicPromoter_QTemporaryFile*)theWrappedObject)->promoted_open(flags)); -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTemporaryFile.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTemporaryFile.h deleted file mode 100644 index dc6c775..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTemporaryFile.h +++ /dev/null @@ -1,78 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QTEMPORARYFILE_H -#define PYTHONQTWRAPPER_QTEMPORARYFILE_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QTemporaryFile : public QTemporaryFile -{ -public: - PythonQtShell_QTemporaryFile():QTemporaryFile(),_wrapper(NULL) {}; - PythonQtShell_QTemporaryFile(QObject* parent):QTemporaryFile(parent),_wrapper(NULL) {}; - PythonQtShell_QTemporaryFile(const QString& templateName):QTemporaryFile(templateName),_wrapper(NULL) {}; - PythonQtShell_QTemporaryFile(const QString& templateName, QObject* parent):QTemporaryFile(templateName, parent),_wrapper(NULL) {}; - -virtual bool atEnd() const; -virtual qint64 bytesAvailable() const; -virtual qint64 bytesToWrite() const; -virtual bool canReadLine() const; -virtual void childEvent(QChildEvent* arg__1); -virtual void close(); -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual QAbstractFileEngine* fileEngine() const; -virtual bool isSequential() const; -virtual bool open(QIODevice::OpenMode flags); -virtual qint64 pos() const; -virtual qint64 readData(char* data, qint64 maxlen); -virtual qint64 readLineData(char* data, qint64 maxlen); -virtual bool reset(); -virtual bool seek(qint64 offset); -virtual qint64 size() const; -virtual void timerEvent(QTimerEvent* arg__1); -virtual bool waitForBytesWritten(int msecs); -virtual bool waitForReadyRead(int msecs); -virtual qint64 writeData(const char* data, qint64 len); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QTemporaryFile : public QTemporaryFile -{ public: -inline QAbstractFileEngine* promoted_fileEngine() const { return QTemporaryFile::fileEngine(); } -inline bool promoted_open(QIODevice::OpenMode flags) { return QTemporaryFile::open(flags); } -}; - -class PythonQtWrapper_QTemporaryFile : public QObject -{ Q_OBJECT -public: -public slots: -QTemporaryFile* new_QTemporaryFile(); -QTemporaryFile* new_QTemporaryFile(QObject* parent); -QTemporaryFile* new_QTemporaryFile(const QString& templateName); -QTemporaryFile* new_QTemporaryFile(const QString& templateName, QObject* parent); -void delete_QTemporaryFile(QTemporaryFile* obj) { delete obj; } - QString fileTemplate(QTemporaryFile* theWrappedObject) const; - QTemporaryFile* static_QTemporaryFile_createLocalFile(const QString& fileName); - QString fileName(QTemporaryFile* theWrappedObject) const; - bool autoRemove(QTemporaryFile* theWrappedObject) const; - QTemporaryFile* static_QTemporaryFile_createLocalFile(QFile& file); - QAbstractFileEngine* fileEngine(QTemporaryFile* theWrappedObject) const; - void setFileTemplate(QTemporaryFile* theWrappedObject, const QString& name); - bool open(QTemporaryFile* theWrappedObject); - void setAutoRemove(QTemporaryFile* theWrappedObject, bool b); - bool open(QTemporaryFile* theWrappedObject, QIODevice::OpenMode flags); -}; - -#endif // PYTHONQTWRAPPER_QTEMPORARYFILE_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTextBoundaryFinder.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTextBoundaryFinder.cpp deleted file mode 100644 index edec179..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTextBoundaryFinder.cpp +++ /dev/null @@ -1,75 +0,0 @@ -#include "PythonQtWrapper_QTextBoundaryFinder.h" - -#include -#include -#include -#include -#include - -QTextBoundaryFinder* PythonQtWrapper_QTextBoundaryFinder::new_QTextBoundaryFinder() -{ -return new QTextBoundaryFinder(); } - -QTextBoundaryFinder* PythonQtWrapper_QTextBoundaryFinder::new_QTextBoundaryFinder(QTextBoundaryFinder::BoundaryType type, const QString& string) -{ -return new QTextBoundaryFinder(type, string); } - -QTextBoundaryFinder* PythonQtWrapper_QTextBoundaryFinder::new_QTextBoundaryFinder(const QTextBoundaryFinder& other) -{ -return new QTextBoundaryFinder(other); } - -void PythonQtWrapper_QTextBoundaryFinder::setPosition(QTextBoundaryFinder* theWrappedObject, int position) -{ - ( theWrappedObject->setPosition(position)); -} - -int PythonQtWrapper_QTextBoundaryFinder::position(QTextBoundaryFinder* theWrappedObject) const -{ - return ( theWrappedObject->position()); -} - -int PythonQtWrapper_QTextBoundaryFinder::toPreviousBoundary(QTextBoundaryFinder* theWrappedObject) -{ - return ( theWrappedObject->toPreviousBoundary()); -} - -QTextBoundaryFinder::BoundaryReasons PythonQtWrapper_QTextBoundaryFinder::boundaryReasons(QTextBoundaryFinder* theWrappedObject) const -{ - return ( theWrappedObject->boundaryReasons()); -} - -bool PythonQtWrapper_QTextBoundaryFinder::isValid(QTextBoundaryFinder* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -QTextBoundaryFinder::BoundaryType PythonQtWrapper_QTextBoundaryFinder::type(QTextBoundaryFinder* theWrappedObject) const -{ - return ( theWrappedObject->type()); -} - -QString PythonQtWrapper_QTextBoundaryFinder::string(QTextBoundaryFinder* theWrappedObject) const -{ - return ( theWrappedObject->string()); -} - -bool PythonQtWrapper_QTextBoundaryFinder::isAtBoundary(QTextBoundaryFinder* theWrappedObject) const -{ - return ( theWrappedObject->isAtBoundary()); -} - -void PythonQtWrapper_QTextBoundaryFinder::toEnd(QTextBoundaryFinder* theWrappedObject) -{ - ( theWrappedObject->toEnd()); -} - -int PythonQtWrapper_QTextBoundaryFinder::toNextBoundary(QTextBoundaryFinder* theWrappedObject) -{ - return ( theWrappedObject->toNextBoundary()); -} - -void PythonQtWrapper_QTextBoundaryFinder::toStart(QTextBoundaryFinder* theWrappedObject) -{ - ( theWrappedObject->toStart()); -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTextBoundaryFinder.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTextBoundaryFinder.h deleted file mode 100644 index d78ef2a..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTextBoundaryFinder.h +++ /dev/null @@ -1,40 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QTEXTBOUNDARYFINDER_H -#define PYTHONQTWRAPPER_QTEXTBOUNDARYFINDER_H - -#include -#include - -#include - -#include -#include - -class PythonQtWrapper_QTextBoundaryFinder : public QObject -{ Q_OBJECT -public: -Q_ENUMS(BoundaryReason BoundaryType ) -Q_FLAGS(BoundaryReasons ) -enum BoundaryReason{ - NotAtBoundary = QTextBoundaryFinder::NotAtBoundary, StartWord = QTextBoundaryFinder::StartWord, EndWord = QTextBoundaryFinder::EndWord}; -enum BoundaryType{ - Grapheme = QTextBoundaryFinder::Grapheme, Word = QTextBoundaryFinder::Word, Line = QTextBoundaryFinder::Line, Sentence = QTextBoundaryFinder::Sentence}; -Q_DECLARE_FLAGS(BoundaryReasons, BoundaryReason) -public slots: -QTextBoundaryFinder* new_QTextBoundaryFinder(); -QTextBoundaryFinder* new_QTextBoundaryFinder(QTextBoundaryFinder::BoundaryType type, const QString& string); -QTextBoundaryFinder* new_QTextBoundaryFinder(const QTextBoundaryFinder& other); -void delete_QTextBoundaryFinder(QTextBoundaryFinder* obj) { delete obj; } - void setPosition(QTextBoundaryFinder* theWrappedObject, int position); - int position(QTextBoundaryFinder* theWrappedObject) const; - int toPreviousBoundary(QTextBoundaryFinder* theWrappedObject); - QTextBoundaryFinder::BoundaryReasons boundaryReasons(QTextBoundaryFinder* theWrappedObject) const; - bool isValid(QTextBoundaryFinder* theWrappedObject) const; - QTextBoundaryFinder::BoundaryType type(QTextBoundaryFinder* theWrappedObject) const; - QString string(QTextBoundaryFinder* theWrappedObject) const; - bool isAtBoundary(QTextBoundaryFinder* theWrappedObject) const; - void toEnd(QTextBoundaryFinder* theWrappedObject); - int toNextBoundary(QTextBoundaryFinder* theWrappedObject); - void toStart(QTextBoundaryFinder* theWrappedObject); -}; - -#endif // PYTHONQTWRAPPER_QTEXTBOUNDARYFINDER_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTextCodec.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTextCodec.cpp deleted file mode 100644 index 7c955c9..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTextCodec.cpp +++ /dev/null @@ -1,250 +0,0 @@ -#include "PythonQtWrapper_QTextCodec.h" - -#include -#include -#include -#include -#include -#include -#include -#include - -QList PythonQtShell_QTextCodec::aliases() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "aliases"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QList returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("aliases", methodInfo, result); - } else { - returnValue = *((QList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTextCodec::aliases(); -} -QByteArray PythonQtShell_QTextCodec::convertFromUnicode(const QChar* in, int length, QTextCodec::ConverterState* state) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "convertFromUnicode"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QByteArray" , "const QChar*" , "int" , "QTextCodec::ConverterState*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QByteArray returnValue; - void* args[4] = {NULL, (void*)&in, (void*)&length, (void*)&state}; - 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("convertFromUnicode", methodInfo, result); - } else { - returnValue = *((QByteArray*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QByteArray result; -return result; -} -QString PythonQtShell_QTextCodec::convertToUnicode(const char* in, int length, QTextCodec::ConverterState* state) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "convertToUnicode"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QString" , "const char*" , "int" , "QTextCodec::ConverterState*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QString returnValue; - void* args[4] = {NULL, (void*)&in, (void*)&length, (void*)&state}; - 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("convertToUnicode", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QString result; -return result; -} -int PythonQtShell_QTextCodec::mibEnum() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mibEnum"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mibEnum", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - int result; -return result; -} -QByteArray PythonQtShell_QTextCodec::name() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "name"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QByteArray"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QByteArray returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("name", methodInfo, result); - } else { - returnValue = *((QByteArray*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QByteArray result; -return result; -} -QTextCodec* PythonQtWrapper_QTextCodec::static_QTextCodec_codecForHtml(const QByteArray& ba) -{ - return (QTextCodec::codecForHtml(ba)); -} - -QByteArray PythonQtWrapper_QTextCodec::fromUnicode(QTextCodec* theWrappedObject, const QString& uc) const -{ - return ( theWrappedObject->fromUnicode(uc)); -} - -QTextCodec* PythonQtWrapper_QTextCodec::static_QTextCodec_codecForCStrings() -{ - return (QTextCodec::codecForCStrings()); -} - -void PythonQtWrapper_QTextCodec::static_QTextCodec_setCodecForTr(QTextCodec* c) -{ - (QTextCodec::setCodecForTr(c)); -} - -bool PythonQtWrapper_QTextCodec::canEncode(QTextCodec* theWrappedObject, const QString& arg__1) const -{ - return ( theWrappedObject->canEncode(arg__1)); -} - -QList PythonQtWrapper_QTextCodec::static_QTextCodec_availableMibs() -{ - return (QTextCodec::availableMibs()); -} - -bool PythonQtWrapper_QTextCodec::canEncode(QTextCodec* theWrappedObject, QChar arg__1) const -{ - return ( theWrappedObject->canEncode(arg__1)); -} - -QTextEncoder* PythonQtWrapper_QTextCodec::makeEncoder(QTextCodec* theWrappedObject) const -{ - return ( theWrappedObject->makeEncoder()); -} - -QString PythonQtWrapper_QTextCodec::toUnicode(QTextCodec* theWrappedObject, const QByteArray& arg__1) const -{ - return ( theWrappedObject->toUnicode(arg__1)); -} - -QTextCodec* PythonQtWrapper_QTextCodec::static_QTextCodec_codecForName(const QByteArray& name) -{ - return (QTextCodec::codecForName(name)); -} - -QList PythonQtWrapper_QTextCodec::aliases(QTextCodec* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QTextCodec*)theWrappedObject)->promoted_aliases()); -} - -QTextDecoder* PythonQtWrapper_QTextCodec::makeDecoder(QTextCodec* theWrappedObject) const -{ - return ( theWrappedObject->makeDecoder()); -} - -QTextCodec* PythonQtWrapper_QTextCodec::static_QTextCodec_codecForName(const char* name) -{ - return (QTextCodec::codecForName(name)); -} - -void PythonQtWrapper_QTextCodec::static_QTextCodec_setCodecForLocale(QTextCodec* c) -{ - (QTextCodec::setCodecForLocale(c)); -} - -QTextCodec* PythonQtWrapper_QTextCodec::static_QTextCodec_codecForHtml(const QByteArray& ba, QTextCodec* defaultCodec) -{ - return (QTextCodec::codecForHtml(ba, defaultCodec)); -} - -QTextCodec* PythonQtWrapper_QTextCodec::static_QTextCodec_codecForMib(int mib) -{ - return (QTextCodec::codecForMib(mib)); -} - -QList PythonQtWrapper_QTextCodec::static_QTextCodec_availableCodecs() -{ - return (QTextCodec::availableCodecs()); -} - -QTextCodec* PythonQtWrapper_QTextCodec::static_QTextCodec_codecForLocale() -{ - return (QTextCodec::codecForLocale()); -} - -void PythonQtWrapper_QTextCodec::static_QTextCodec_setCodecForCStrings(QTextCodec* c) -{ - (QTextCodec::setCodecForCStrings(c)); -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTextCodec.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTextCodec.h deleted file mode 100644 index f66e9c4..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTextCodec.h +++ /dev/null @@ -1,64 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QTEXTCODEC_H -#define PYTHONQTWRAPPER_QTEXTCODEC_H - -#include -#include - -#include - -#include -#include -#include -#include -#include - -class PythonQtShell_QTextCodec : public QTextCodec -{ -public: - PythonQtShell_QTextCodec():QTextCodec(),_wrapper(NULL) {}; - -virtual QList aliases() const; -virtual QByteArray convertFromUnicode(const QChar* in, int length, QTextCodec::ConverterState* state) const; -virtual QString convertToUnicode(const char* in, int length, QTextCodec::ConverterState* state) const; -virtual int mibEnum() const; -virtual QByteArray name() const; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QTextCodec : public QTextCodec -{ public: -inline QList promoted_aliases() const { return QTextCodec::aliases(); } -}; - -class PythonQtWrapper_QTextCodec : public QObject -{ Q_OBJECT -public: -Q_ENUMS(ConversionFlag ) -Q_FLAGS(ConversionFlags ) -enum ConversionFlag{ - DefaultConversion = QTextCodec::DefaultConversion, ConvertInvalidToNull = QTextCodec::ConvertInvalidToNull, IgnoreHeader = QTextCodec::IgnoreHeader}; -Q_DECLARE_FLAGS(ConversionFlags, ConversionFlag) -public slots: - QTextCodec* static_QTextCodec_codecForHtml(const QByteArray& ba); - QByteArray fromUnicode(QTextCodec* theWrappedObject, const QString& uc) const; - QTextCodec* static_QTextCodec_codecForCStrings(); - void static_QTextCodec_setCodecForTr(QTextCodec* c); - bool canEncode(QTextCodec* theWrappedObject, const QString& arg__1) const; - QList static_QTextCodec_availableMibs(); - bool canEncode(QTextCodec* theWrappedObject, QChar arg__1) const; - QTextEncoder* makeEncoder(QTextCodec* theWrappedObject) const; - QString toUnicode(QTextCodec* theWrappedObject, const QByteArray& arg__1) const; - QTextCodec* static_QTextCodec_codecForName(const QByteArray& name); - QList aliases(QTextCodec* theWrappedObject) const; - QTextDecoder* makeDecoder(QTextCodec* theWrappedObject) const; - QTextCodec* static_QTextCodec_codecForName(const char* name); - void static_QTextCodec_setCodecForLocale(QTextCodec* c); - QTextCodec* static_QTextCodec_codecForHtml(const QByteArray& ba, QTextCodec* defaultCodec); - QTextCodec* static_QTextCodec_codecForMib(int mib); - QList static_QTextCodec_availableCodecs(); - QTextCodec* static_QTextCodec_codecForLocale(); - void static_QTextCodec_setCodecForCStrings(QTextCodec* c); -}; - -#endif // PYTHONQTWRAPPER_QTEXTCODEC_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTextCodecPlugin.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTextCodecPlugin.cpp deleted file mode 100644 index 236c43f..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTextCodecPlugin.cpp +++ /dev/null @@ -1,269 +0,0 @@ -#include "PythonQtWrapper_QTextCodecPlugin.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QList PythonQtShell_QTextCodecPlugin::aliases() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "aliases"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QList returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("aliases", methodInfo, result); - } else { - returnValue = *((QList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QList result; -return result; -} -void PythonQtShell_QTextCodecPlugin::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; - } -} - QTextCodecPlugin::childEvent(arg__1); -} -QTextCodec* PythonQtShell_QTextCodecPlugin::createForMib(int mib) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "createForMib"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QTextCodec*" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QTextCodec* returnValue; - void* args[2] = {NULL, (void*)&mib}; - 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("createForMib", methodInfo, result); - } else { - returnValue = *((QTextCodec**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QTextCodec* result; -return result; -} -QTextCodec* PythonQtShell_QTextCodecPlugin::createForName(const QByteArray& name) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "createForName"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QTextCodec*" , "const QByteArray&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QTextCodec* returnValue; - void* args[2] = {NULL, (void*)&name}; - 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("createForName", methodInfo, result); - } else { - returnValue = *((QTextCodec**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QTextCodec* result; -return result; -} -void PythonQtShell_QTextCodecPlugin::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; - } -} - QTextCodecPlugin::customEvent(arg__1); -} -bool PythonQtShell_QTextCodecPlugin::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTextCodecPlugin::event(arg__1); -} -bool PythonQtShell_QTextCodecPlugin::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTextCodecPlugin::eventFilter(arg__1, arg__2); -} -QList PythonQtShell_QTextCodecPlugin::mibEnums() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mibEnums"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QList returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mibEnums", methodInfo, result); - } else { - returnValue = *((QList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QList result; -return result; -} -QList PythonQtShell_QTextCodecPlugin::names() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "names"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QList returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("names", methodInfo, result); - } else { - returnValue = *((QList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QList result; -return result; -} -void PythonQtShell_QTextCodecPlugin::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; - } -} - QTextCodecPlugin::timerEvent(arg__1); -} -QTextCodecPlugin* PythonQtWrapper_QTextCodecPlugin::new_QTextCodecPlugin(QObject* parent) -{ -return new PythonQtShell_QTextCodecPlugin(parent); } - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTextCodecPlugin.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTextCodecPlugin.h deleted file mode 100644 index bef568f..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTextCodecPlugin.h +++ /dev/null @@ -1,44 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QTEXTCODECPLUGIN_H -#define PYTHONQTWRAPPER_QTEXTCODECPLUGIN_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QTextCodecPlugin : public QTextCodecPlugin -{ -public: - PythonQtShell_QTextCodecPlugin(QObject* parent = 0):QTextCodecPlugin(parent),_wrapper(NULL) {}; - -virtual QList aliases() const; -virtual void childEvent(QChildEvent* arg__1); -virtual QTextCodec* createForMib(int mib); -virtual QTextCodec* createForName(const QByteArray& name); -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual QList mibEnums() const; -virtual QList names() const; -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QTextCodecPlugin : public QObject -{ Q_OBJECT -public: -public slots: -QTextCodecPlugin* new_QTextCodecPlugin(QObject* parent = 0); -void delete_QTextCodecPlugin(QTextCodecPlugin* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QTEXTCODECPLUGIN_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTextDecoder.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTextDecoder.cpp deleted file mode 100644 index d192344..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTextDecoder.cpp +++ /dev/null @@ -1,23 +0,0 @@ -#include "PythonQtWrapper_QTextDecoder.h" - -#include -#include -#include -#include -#include -#include - -QTextDecoder* PythonQtWrapper_QTextDecoder::new_QTextDecoder(const QTextCodec* codec) -{ -return new QTextDecoder(codec); } - -bool PythonQtWrapper_QTextDecoder::hasFailure(QTextDecoder* theWrappedObject) const -{ - return ( theWrappedObject->hasFailure()); -} - -QString PythonQtWrapper_QTextDecoder::toUnicode(QTextDecoder* theWrappedObject, const QByteArray& ba) -{ - return ( theWrappedObject->toUnicode(ba)); -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTextDecoder.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTextDecoder.h deleted file mode 100644 index 684e0f2..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTextDecoder.h +++ /dev/null @@ -1,23 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QTEXTDECODER_H -#define PYTHONQTWRAPPER_QTEXTDECODER_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtWrapper_QTextDecoder : public QObject -{ Q_OBJECT -public: -public slots: -QTextDecoder* new_QTextDecoder(const QTextCodec* codec); -void delete_QTextDecoder(QTextDecoder* obj) { delete obj; } - bool hasFailure(QTextDecoder* theWrappedObject) const; - QString toUnicode(QTextDecoder* theWrappedObject, const QByteArray& ba); -}; - -#endif // PYTHONQTWRAPPER_QTEXTDECODER_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTextEncoder.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTextEncoder.cpp deleted file mode 100644 index 9698ba3..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTextEncoder.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "PythonQtWrapper_QTextEncoder.h" - -#include -#include -#include -#include -#include -#include - -QTextEncoder* PythonQtWrapper_QTextEncoder::new_QTextEncoder(const QTextCodec* codec) -{ -return new QTextEncoder(codec); } - -QByteArray PythonQtWrapper_QTextEncoder::fromUnicode(QTextEncoder* theWrappedObject, const QString& str) -{ - return ( theWrappedObject->fromUnicode(str)); -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTextEncoder.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTextEncoder.h deleted file mode 100644 index c6ffadf..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTextEncoder.h +++ /dev/null @@ -1,22 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QTEXTENCODER_H -#define PYTHONQTWRAPPER_QTEXTENCODER_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtWrapper_QTextEncoder : public QObject -{ Q_OBJECT -public: -public slots: -QTextEncoder* new_QTextEncoder(const QTextCodec* codec); -void delete_QTextEncoder(QTextEncoder* obj) { delete obj; } - QByteArray fromUnicode(QTextEncoder* theWrappedObject, const QString& str); -}; - -#endif // PYTHONQTWRAPPER_QTEXTENCODER_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTextStream.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTextStream.cpp deleted file mode 100644 index 3b37081..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTextStream.cpp +++ /dev/null @@ -1,278 +0,0 @@ -#include "PythonQtWrapper_QTextStream.h" - -#include -#include -#include -#include -#include -#include -#include -#include - -QTextStream* PythonQtWrapper_QTextStream::new_QTextStream() -{ -return new PythonQtShell_QTextStream(); } - -QTextStream* PythonQtWrapper_QTextStream::new_QTextStream(QIODevice* device) -{ -return new PythonQtShell_QTextStream(device); } - -QTextStream* PythonQtWrapper_QTextStream::new_QTextStream(const QByteArray& array, QIODevice::OpenMode openMode) -{ -return new PythonQtShell_QTextStream(array, openMode); } - -QTextCodec* PythonQtWrapper_QTextStream::codec(QTextStream* theWrappedObject) const -{ - return ( theWrappedObject->codec()); -} - -void PythonQtWrapper_QTextStream::skipWhiteSpace(QTextStream* theWrappedObject) -{ - ( theWrappedObject->skipWhiteSpace()); -} - -bool PythonQtWrapper_QTextStream::generateByteOrderMark(QTextStream* theWrappedObject) const -{ - return ( theWrappedObject->generateByteOrderMark()); -} - -void PythonQtWrapper_QTextStream::setFieldAlignment(QTextStream* theWrappedObject, QTextStream::FieldAlignment alignment) -{ - ( theWrappedObject->setFieldAlignment(alignment)); -} - -void PythonQtWrapper_QTextStream::setGenerateByteOrderMark(QTextStream* theWrappedObject, bool generate) -{ - ( theWrappedObject->setGenerateByteOrderMark(generate)); -} - -QTextStream* PythonQtWrapper_QTextStream::readShort(QTextStream* theWrappedObject, signed short& i) -{ - return &( (*theWrappedObject) >>i); -} - -int PythonQtWrapper_QTextStream::fieldWidth(QTextStream* theWrappedObject) const -{ - return ( theWrappedObject->fieldWidth()); -} - -QTextStream* PythonQtWrapper_QTextStream::writeFloat(QTextStream* theWrappedObject, float f) -{ - return &( (*theWrappedObject) <seek(pos)); -} - -bool PythonQtWrapper_QTextStream::autoDetectUnicode(QTextStream* theWrappedObject) const -{ - return ( theWrappedObject->autoDetectUnicode()); -} - -QTextStream::FieldAlignment PythonQtWrapper_QTextStream::fieldAlignment(QTextStream* theWrappedObject) const -{ - return ( theWrappedObject->fieldAlignment()); -} - -void PythonQtWrapper_QTextStream::setNumberFlags(QTextStream* theWrappedObject, QTextStream::NumberFlags flags) -{ - ( theWrappedObject->setNumberFlags(flags)); -} - -void PythonQtWrapper_QTextStream::setPadChar(QTextStream* theWrappedObject, QChar ch) -{ - ( theWrappedObject->setPadChar(ch)); -} - -int PythonQtWrapper_QTextStream::integerBase(QTextStream* theWrappedObject) const -{ - return ( theWrappedObject->integerBase()); -} - -bool PythonQtWrapper_QTextStream::atEnd(QTextStream* theWrappedObject) const -{ - return ( theWrappedObject->atEnd()); -} - -QTextStream* PythonQtWrapper_QTextStream::writeShort(QTextStream* theWrappedObject, signed short i) -{ - return &( (*theWrappedObject) <read(maxlen)); -} - -QTextStream* PythonQtWrapper_QTextStream::writeBoolean(QTextStream* theWrappedObject, QBool b) -{ - return &( (*theWrappedObject) <readLine(maxlen)); -} - -QTextStream* PythonQtWrapper_QTextStream::readUShort(QTextStream* theWrappedObject, unsigned short& i) -{ - return &( (*theWrappedObject) >>i); -} - -void PythonQtWrapper_QTextStream::resetStatus(QTextStream* theWrappedObject) -{ - ( theWrappedObject->resetStatus()); -} - -QIODevice* PythonQtWrapper_QTextStream::device(QTextStream* theWrappedObject) const -{ - return ( theWrappedObject->device()); -} - -QTextStream* PythonQtWrapper_QTextStream::readLongLong(QTextStream* theWrappedObject, qlonglong& i) -{ - return &( (*theWrappedObject) >>i); -} - -QChar PythonQtWrapper_QTextStream::padChar(QTextStream* theWrappedObject) const -{ - return ( theWrappedObject->padChar()); -} - -QTextStream* PythonQtWrapper_QTextStream::writeInt(QTextStream* theWrappedObject, signed int i) -{ - return &( (*theWrappedObject) <setFieldWidth(width)); -} - -QTextStream* PythonQtWrapper_QTextStream::writeString(QTextStream* theWrappedObject, const QString& s) -{ - return &( (*theWrappedObject) <flush()); -} - -QString PythonQtWrapper_QTextStream::readAll(QTextStream* theWrappedObject) -{ - return ( theWrappedObject->readAll()); -} - -QTextStream* PythonQtWrapper_QTextStream::writeByte(QTextStream* theWrappedObject, char ch) -{ - return &( (*theWrappedObject) <numberFlags()); -} - -QTextStream* PythonQtWrapper_QTextStream::readUInt(QTextStream* theWrappedObject, unsigned int& i) -{ - return &( (*theWrappedObject) >>i); -} - -void PythonQtWrapper_QTextStream::setIntegerBase(QTextStream* theWrappedObject, int base) -{ - ( theWrappedObject->setIntegerBase(base)); -} - -QTextStream::RealNumberNotation PythonQtWrapper_QTextStream::realNumberNotation(QTextStream* theWrappedObject) const -{ - return ( theWrappedObject->realNumberNotation()); -} - -void PythonQtWrapper_QTextStream::setCodec(QTextStream* theWrappedObject, QTextCodec* codec) -{ - ( theWrappedObject->setCodec(codec)); -} - -int PythonQtWrapper_QTextStream::realNumberPrecision(QTextStream* theWrappedObject) const -{ - return ( theWrappedObject->realNumberPrecision()); -} - -void PythonQtWrapper_QTextStream::setCodec(QTextStream* theWrappedObject, const char* codecName) -{ - ( theWrappedObject->setCodec(codecName)); -} - -QTextStream* PythonQtWrapper_QTextStream::writeByteArray(QTextStream* theWrappedObject, const QByteArray& array) -{ - return &( (*theWrappedObject) <>f); -} - -void PythonQtWrapper_QTextStream::setStatus(QTextStream* theWrappedObject, QTextStream::Status status) -{ - ( theWrappedObject->setStatus(status)); -} - -QTextStream* PythonQtWrapper_QTextStream::writeDouble(QTextStream* theWrappedObject, double f) -{ - return &( (*theWrappedObject) <pos()); -} - -void PythonQtWrapper_QTextStream::setDevice(QTextStream* theWrappedObject, QIODevice* device) -{ - ( theWrappedObject->setDevice(device)); -} - -QTextStream* PythonQtWrapper_QTextStream::readFloat(QTextStream* theWrappedObject, float& f) -{ - return &( (*theWrappedObject) >>f); -} - -QTextStream::Status PythonQtWrapper_QTextStream::status(QTextStream* theWrappedObject) const -{ - return ( theWrappedObject->status()); -} - -void PythonQtWrapper_QTextStream::setAutoDetectUnicode(QTextStream* theWrappedObject, bool enabled) -{ - ( theWrappedObject->setAutoDetectUnicode(enabled)); -} - -void PythonQtWrapper_QTextStream::setRealNumberNotation(QTextStream* theWrappedObject, QTextStream::RealNumberNotation notation) -{ - ( theWrappedObject->setRealNumberNotation(notation)); -} - -QTextStream* PythonQtWrapper_QTextStream::readInt(QTextStream* theWrappedObject, signed int& i) -{ - return &( (*theWrappedObject) >>i); -} - -void PythonQtWrapper_QTextStream::reset(QTextStream* theWrappedObject) -{ - ( theWrappedObject->reset()); -} - -void PythonQtWrapper_QTextStream::setRealNumberPrecision(QTextStream* theWrappedObject, int precision) -{ - ( theWrappedObject->setRealNumberPrecision(precision)); -} - -QTextStream* PythonQtWrapper_QTextStream::readByte(QTextStream* theWrappedObject, char& ch) -{ - return &( (*theWrappedObject) >>ch); -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTextStream.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTextStream.h deleted file mode 100644 index 466d6ea..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTextStream.h +++ /dev/null @@ -1,98 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QTEXTSTREAM_H -#define PYTHONQTWRAPPER_QTEXTSTREAM_H - -#include -#include - -#include - -#include -#include -#include -#include -#include - -class PythonQtShell_QTextStream : public QTextStream -{ -public: - PythonQtShell_QTextStream():QTextStream(),_wrapper(NULL) {}; - PythonQtShell_QTextStream(QIODevice* device):QTextStream(device),_wrapper(NULL) {}; - PythonQtShell_QTextStream(const QByteArray& array, QIODevice::OpenMode openMode = QIODevice::ReadOnly):QTextStream(array, openMode),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QTextStream : public QObject -{ Q_OBJECT -public: -Q_ENUMS(RealNumberNotation NumberFlag FieldAlignment Status ) -Q_FLAGS(NumberFlags ) -enum RealNumberNotation{ - SmartNotation = QTextStream::SmartNotation, FixedNotation = QTextStream::FixedNotation, ScientificNotation = QTextStream::ScientificNotation}; -enum NumberFlag{ - ShowBase = QTextStream::ShowBase, ForcePoint = QTextStream::ForcePoint, ForceSign = QTextStream::ForceSign, UppercaseBase = QTextStream::UppercaseBase, UppercaseDigits = QTextStream::UppercaseDigits}; -enum FieldAlignment{ - AlignLeft = QTextStream::AlignLeft, AlignRight = QTextStream::AlignRight, AlignCenter = QTextStream::AlignCenter, AlignAccountingStyle = QTextStream::AlignAccountingStyle}; -enum Status{ - Ok = QTextStream::Ok, ReadPastEnd = QTextStream::ReadPastEnd, ReadCorruptData = QTextStream::ReadCorruptData}; -Q_DECLARE_FLAGS(NumberFlags, NumberFlag) -public slots: -QTextStream* new_QTextStream(); -QTextStream* new_QTextStream(QIODevice* device); -QTextStream* new_QTextStream(const QByteArray& array, QIODevice::OpenMode openMode = QIODevice::ReadOnly); -void delete_QTextStream(QTextStream* obj) { delete obj; } - QTextCodec* codec(QTextStream* theWrappedObject) const; - void skipWhiteSpace(QTextStream* theWrappedObject); - bool generateByteOrderMark(QTextStream* theWrappedObject) const; - void setFieldAlignment(QTextStream* theWrappedObject, QTextStream::FieldAlignment alignment); - void setGenerateByteOrderMark(QTextStream* theWrappedObject, bool generate); - QTextStream* readShort(QTextStream* theWrappedObject, signed short& i); - int fieldWidth(QTextStream* theWrappedObject) const; - QTextStream* writeFloat(QTextStream* theWrappedObject, float f); - bool seek(QTextStream* theWrappedObject, qint64 pos); - bool autoDetectUnicode(QTextStream* theWrappedObject) const; - QTextStream::FieldAlignment fieldAlignment(QTextStream* theWrappedObject) const; - void setNumberFlags(QTextStream* theWrappedObject, QTextStream::NumberFlags flags); - void setPadChar(QTextStream* theWrappedObject, QChar ch); - int integerBase(QTextStream* theWrappedObject) const; - bool atEnd(QTextStream* theWrappedObject) const; - QTextStream* writeShort(QTextStream* theWrappedObject, signed short i); - QString read(QTextStream* theWrappedObject, qint64 maxlen); - QTextStream* writeBoolean(QTextStream* theWrappedObject, QBool b); - QString readLine(QTextStream* theWrappedObject, qint64 maxlen = 0); - QTextStream* readUShort(QTextStream* theWrappedObject, unsigned short& i); - void resetStatus(QTextStream* theWrappedObject); - QIODevice* device(QTextStream* theWrappedObject) const; - QTextStream* readLongLong(QTextStream* theWrappedObject, qlonglong& i); - QChar padChar(QTextStream* theWrappedObject) const; - QTextStream* writeInt(QTextStream* theWrappedObject, signed int i); - void setFieldWidth(QTextStream* theWrappedObject, int width); - QTextStream* writeString(QTextStream* theWrappedObject, const QString& s); - void flush(QTextStream* theWrappedObject); - QString readAll(QTextStream* theWrappedObject); - QTextStream* writeByte(QTextStream* theWrappedObject, char ch); - QTextStream::NumberFlags numberFlags(QTextStream* theWrappedObject) const; - QTextStream* readUInt(QTextStream* theWrappedObject, unsigned int& i); - void setIntegerBase(QTextStream* theWrappedObject, int base); - QTextStream::RealNumberNotation realNumberNotation(QTextStream* theWrappedObject) const; - void setCodec(QTextStream* theWrappedObject, QTextCodec* codec); - int realNumberPrecision(QTextStream* theWrappedObject) const; - void setCodec(QTextStream* theWrappedObject, const char* codecName); - QTextStream* writeByteArray(QTextStream* theWrappedObject, const QByteArray& array); - QTextStream* readDouble(QTextStream* theWrappedObject, double& f); - void setStatus(QTextStream* theWrappedObject, QTextStream::Status status); - QTextStream* writeDouble(QTextStream* theWrappedObject, double f); - qint64 pos(QTextStream* theWrappedObject) const; - void setDevice(QTextStream* theWrappedObject, QIODevice* device); - QTextStream* readFloat(QTextStream* theWrappedObject, float& f); - QTextStream::Status status(QTextStream* theWrappedObject) const; - void setAutoDetectUnicode(QTextStream* theWrappedObject, bool enabled); - void setRealNumberNotation(QTextStream* theWrappedObject, QTextStream::RealNumberNotation notation); - QTextStream* readInt(QTextStream* theWrappedObject, signed int& i); - void reset(QTextStream* theWrappedObject); - void setRealNumberPrecision(QTextStream* theWrappedObject, int precision); - QTextStream* readByte(QTextStream* theWrappedObject, char& ch); -}; - -#endif // PYTHONQTWRAPPER_QTEXTSTREAM_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QThreadPool.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QThreadPool.cpp deleted file mode 100644 index 3d617dc..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QThreadPool.cpp +++ /dev/null @@ -1,179 +0,0 @@ -#include "PythonQtWrapper_QThreadPool.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QThreadPool::childEvent(QChildEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QThreadPool::childEvent(arg__1); -} -void PythonQtShell_QThreadPool::customEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QThreadPool::customEvent(arg__1); -} -bool PythonQtShell_QThreadPool::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QThreadPool::event(arg__1); -} -bool PythonQtShell_QThreadPool::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QThreadPool::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QThreadPool::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; - } -} - QThreadPool::timerEvent(arg__1); -} -QThreadPool* PythonQtWrapper_QThreadPool::new_QThreadPool(QObject* parent) -{ -return new PythonQtShell_QThreadPool(parent); } - -QThreadPool* PythonQtWrapper_QThreadPool::static_QThreadPool_globalInstance() -{ - return (QThreadPool::globalInstance()); -} - -void PythonQtWrapper_QThreadPool::releaseThread(QThreadPool* theWrappedObject) -{ - ( theWrappedObject->releaseThread()); -} - -void PythonQtWrapper_QThreadPool::waitForDone(QThreadPool* theWrappedObject) -{ - ( theWrappedObject->waitForDone()); -} - -void PythonQtWrapper_QThreadPool::setExpiryTimeout(QThreadPool* theWrappedObject, int expiryTimeout) -{ - ( theWrappedObject->setExpiryTimeout(expiryTimeout)); -} - -void PythonQtWrapper_QThreadPool::setMaxThreadCount(QThreadPool* theWrappedObject, int maxThreadCount) -{ - ( theWrappedObject->setMaxThreadCount(maxThreadCount)); -} - -int PythonQtWrapper_QThreadPool::activeThreadCount(QThreadPool* theWrappedObject) const -{ - return ( theWrappedObject->activeThreadCount()); -} - -void PythonQtWrapper_QThreadPool::reserveThread(QThreadPool* theWrappedObject) -{ - ( theWrappedObject->reserveThread()); -} - -int PythonQtWrapper_QThreadPool::expiryTimeout(QThreadPool* theWrappedObject) const -{ - return ( theWrappedObject->expiryTimeout()); -} - -void PythonQtWrapper_QThreadPool::start(QThreadPool* theWrappedObject, QRunnable* runnable, int priority) -{ - ( theWrappedObject->start(runnable, priority)); -} - -bool PythonQtWrapper_QThreadPool::tryStart(QThreadPool* theWrappedObject, QRunnable* runnable) -{ - return ( theWrappedObject->tryStart(runnable)); -} - -int PythonQtWrapper_QThreadPool::maxThreadCount(QThreadPool* theWrappedObject) const -{ - return ( theWrappedObject->maxThreadCount()); -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QThreadPool.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QThreadPool.h deleted file mode 100644 index 0b1e2ca..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QThreadPool.h +++ /dev/null @@ -1,50 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QTHREADPOOL_H -#define PYTHONQTWRAPPER_QTHREADPOOL_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QThreadPool : public QThreadPool -{ -public: - PythonQtShell_QThreadPool(QObject* parent = 0):QThreadPool(parent),_wrapper(NULL) {}; - -virtual void childEvent(QChildEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QThreadPool : public QObject -{ Q_OBJECT -public: -public slots: -QThreadPool* new_QThreadPool(QObject* parent = 0); -void delete_QThreadPool(QThreadPool* obj) { delete obj; } - QThreadPool* static_QThreadPool_globalInstance(); - void releaseThread(QThreadPool* theWrappedObject); - void waitForDone(QThreadPool* theWrappedObject); - void setExpiryTimeout(QThreadPool* theWrappedObject, int expiryTimeout); - void setMaxThreadCount(QThreadPool* theWrappedObject, int maxThreadCount); - int activeThreadCount(QThreadPool* theWrappedObject) const; - void reserveThread(QThreadPool* theWrappedObject); - int expiryTimeout(QThreadPool* theWrappedObject) const; - void start(QThreadPool* theWrappedObject, QRunnable* runnable, int priority = 0); - bool tryStart(QThreadPool* theWrappedObject, QRunnable* runnable); - int maxThreadCount(QThreadPool* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QTHREADPOOL_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTime.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTime.cpp deleted file mode 100644 index e7ac4b0..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTime.cpp +++ /dev/null @@ -1,137 +0,0 @@ -#include "PythonQtWrapper_QTime.h" - -#include -#include -#include -#include -#include -#include - -QTime* PythonQtWrapper_QTime::new_QTime() -{ -return new QTime(); } - -QTime* PythonQtWrapper_QTime::new_QTime(int h, int m, int s, int ms) -{ -return new QTime(h, m, s, ms); } - -bool PythonQtWrapper_QTime::operator_equal(QTime* theWrappedObject, const QTime& other) const -{ - return ( (*theWrappedObject)== other); -} - -void PythonQtWrapper_QTime::start(QTime* theWrappedObject) -{ - ( theWrappedObject->start()); -} - -QTime PythonQtWrapper_QTime::static_QTime_fromString(const QString& s, Qt::DateFormat f) -{ - return (QTime::fromString(s, f)); -} - -bool PythonQtWrapper_QTime::static_QTime_isValid(int h, int m, int s, int ms) -{ - return (QTime::isValid(h, m, s, ms)); -} - -int PythonQtWrapper_QTime::msecsTo(QTime* theWrappedObject, const QTime& arg__1) const -{ - return ( theWrappedObject->msecsTo(arg__1)); -} - -int PythonQtWrapper_QTime::hour(QTime* theWrappedObject) const -{ - return ( theWrappedObject->hour()); -} - -void PythonQtWrapper_QTime::readFrom(QTime* theWrappedObject, QDataStream& arg__1) -{ - arg__1 >> (*theWrappedObject); -} - -int PythonQtWrapper_QTime::elapsed(QTime* theWrappedObject) const -{ - return ( theWrappedObject->elapsed()); -} - -QTime PythonQtWrapper_QTime::static_QTime_fromString(const QString& s, const QString& format) -{ - return (QTime::fromString(s, format)); -} - -int PythonQtWrapper_QTime::secsTo(QTime* theWrappedObject, const QTime& arg__1) const -{ - return ( theWrappedObject->secsTo(arg__1)); -} - -int PythonQtWrapper_QTime::msec(QTime* theWrappedObject) const -{ - return ( theWrappedObject->msec()); -} - -int PythonQtWrapper_QTime::restart(QTime* theWrappedObject) -{ - return ( theWrappedObject->restart()); -} - -QString PythonQtWrapper_QTime::toString(QTime* theWrappedObject, const QString& format) const -{ - return ( theWrappedObject->toString(format)); -} - -void PythonQtWrapper_QTime::writeTo(QTime* theWrappedObject, QDataStream& arg__1) -{ - arg__1 << (*theWrappedObject); -} - -QTime PythonQtWrapper_QTime::static_QTime_currentTime() -{ - return (QTime::currentTime()); -} - -bool PythonQtWrapper_QTime::isValid(QTime* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -bool PythonQtWrapper_QTime::isNull(QTime* theWrappedObject) const -{ - return ( theWrappedObject->isNull()); -} - -int PythonQtWrapper_QTime::second(QTime* theWrappedObject) const -{ - return ( theWrappedObject->second()); -} - -bool PythonQtWrapper_QTime::setHMS(QTime* theWrappedObject, int h, int m, int s, int ms) -{ - return ( theWrappedObject->setHMS(h, m, s, ms)); -} - -QString PythonQtWrapper_QTime::toString(QTime* theWrappedObject, Qt::DateFormat f) const -{ - return ( theWrappedObject->toString(f)); -} - -int PythonQtWrapper_QTime::minute(QTime* theWrappedObject) const -{ - return ( theWrappedObject->minute()); -} - -QTime PythonQtWrapper_QTime::addSecs(QTime* theWrappedObject, int secs) const -{ - return ( theWrappedObject->addSecs(secs)); -} - -bool PythonQtWrapper_QTime::operator_less(QTime* theWrappedObject, const QTime& other) const -{ - return ( (*theWrappedObject)< other); -} - -QTime PythonQtWrapper_QTime::addMSecs(QTime* theWrappedObject, int ms) const -{ - return ( theWrappedObject->addMSecs(ms)); -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTime.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTime.h deleted file mode 100644 index 6c5bc26..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTime.h +++ /dev/null @@ -1,50 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QTIME_H -#define PYTHONQTWRAPPER_QTIME_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtWrapper_QTime : public QObject -{ Q_OBJECT -public: -public slots: -QTime* new_QTime(); -QTime* new_QTime(int h, int m, int s = 0, int ms = 0); -QTime* new_QTime(const QTime& other) { -QTime* a = new QTime(); -*((QTime*)a) = other; -return a; } -void delete_QTime(QTime* obj) { delete obj; } - bool operator_equal(QTime* theWrappedObject, const QTime& other) const; - void start(QTime* theWrappedObject); - QTime static_QTime_fromString(const QString& s, Qt::DateFormat f = Qt::TextDate); - bool static_QTime_isValid(int h, int m, int s, int ms = 0); - int msecsTo(QTime* theWrappedObject, const QTime& arg__1) const; - int hour(QTime* theWrappedObject) const; - void readFrom(QTime* theWrappedObject, QDataStream& arg__1); - int elapsed(QTime* theWrappedObject) const; - QTime static_QTime_fromString(const QString& s, const QString& format); - int secsTo(QTime* theWrappedObject, const QTime& arg__1) const; - int msec(QTime* theWrappedObject) const; - int restart(QTime* theWrappedObject); - QString toString(QTime* theWrappedObject, const QString& format) const; - void writeTo(QTime* theWrappedObject, QDataStream& arg__1); - QTime static_QTime_currentTime(); - bool isValid(QTime* theWrappedObject) const; - bool isNull(QTime* theWrappedObject) const; - int second(QTime* theWrappedObject) const; - bool setHMS(QTime* theWrappedObject, int h, int m, int s, int ms = 0); - QString toString(QTime* theWrappedObject, Qt::DateFormat f = Qt::TextDate) const; - int minute(QTime* theWrappedObject) const; - QTime addSecs(QTime* theWrappedObject, int secs) const; - bool operator_less(QTime* theWrappedObject, const QTime& other) const; - QTime addMSecs(QTime* theWrappedObject, int ms) const; -}; - -#endif // PYTHONQTWRAPPER_QTIME_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTimeLine.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTimeLine.cpp deleted file mode 100644 index 1b64764..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTimeLine.cpp +++ /dev/null @@ -1,261 +0,0 @@ -#include "PythonQtWrapper_QTimeLine.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QTimeLine::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; - } -} - QTimeLine::childEvent(arg__1); -} -void PythonQtShell_QTimeLine::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; - } -} - QTimeLine::customEvent(arg__1); -} -bool PythonQtShell_QTimeLine::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTimeLine::event(arg__1); -} -bool PythonQtShell_QTimeLine::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTimeLine::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QTimeLine::timerEvent(QTimerEvent* event) -{ -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*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTimeLine::timerEvent(event); -} -qreal PythonQtShell_QTimeLine::valueForTime(int msec) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "valueForTime"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"qreal" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - qreal returnValue; - void* args[2] = {NULL, (void*)&msec}; - 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("valueForTime", methodInfo, result); - } else { - returnValue = *((qreal*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTimeLine::valueForTime(msec); -} -QTimeLine* PythonQtWrapper_QTimeLine::new_QTimeLine(int duration, QObject* parent) -{ -return new PythonQtShell_QTimeLine(duration, parent); } - -int PythonQtWrapper_QTimeLine::frameForTime(QTimeLine* theWrappedObject, int msec) const -{ - return ( theWrappedObject->frameForTime(msec)); -} - -qreal PythonQtWrapper_QTimeLine::valueForTime(QTimeLine* theWrappedObject, int msec) const -{ - return ( ((PythonQtPublicPromoter_QTimeLine*)theWrappedObject)->promoted_valueForTime(msec)); -} - -void PythonQtWrapper_QTimeLine::timerEvent(QTimeLine* theWrappedObject, QTimerEvent* event) -{ - ( ((PythonQtPublicPromoter_QTimeLine*)theWrappedObject)->promoted_timerEvent(event)); -} - -QTimeLine::CurveShape PythonQtWrapper_QTimeLine::curveShape(QTimeLine* theWrappedObject) const -{ - return ( theWrappedObject->curveShape()); -} - -void PythonQtWrapper_QTimeLine::setDuration(QTimeLine* theWrappedObject, int duration) -{ - ( theWrappedObject->setDuration(duration)); -} - -QTimeLine::State PythonQtWrapper_QTimeLine::state(QTimeLine* theWrappedObject) const -{ - return ( theWrappedObject->state()); -} - -void PythonQtWrapper_QTimeLine::setStartFrame(QTimeLine* theWrappedObject, int frame) -{ - ( theWrappedObject->setStartFrame(frame)); -} - -void PythonQtWrapper_QTimeLine::setFrameRange(QTimeLine* theWrappedObject, int startFrame, int endFrame) -{ - ( theWrappedObject->setFrameRange(startFrame, endFrame)); -} - -void PythonQtWrapper_QTimeLine::setEndFrame(QTimeLine* theWrappedObject, int frame) -{ - ( theWrappedObject->setEndFrame(frame)); -} - -void PythonQtWrapper_QTimeLine::setLoopCount(QTimeLine* theWrappedObject, int count) -{ - ( theWrappedObject->setLoopCount(count)); -} - -int PythonQtWrapper_QTimeLine::duration(QTimeLine* theWrappedObject) const -{ - return ( theWrappedObject->duration()); -} - -int PythonQtWrapper_QTimeLine::loopCount(QTimeLine* theWrappedObject) const -{ - return ( theWrappedObject->loopCount()); -} - -void PythonQtWrapper_QTimeLine::setDirection(QTimeLine* theWrappedObject, QTimeLine::Direction direction) -{ - ( theWrappedObject->setDirection(direction)); -} - -QTimeLine::Direction PythonQtWrapper_QTimeLine::direction(QTimeLine* theWrappedObject) const -{ - return ( theWrappedObject->direction()); -} - -void PythonQtWrapper_QTimeLine::setCurveShape(QTimeLine* theWrappedObject, QTimeLine::CurveShape shape) -{ - ( theWrappedObject->setCurveShape(shape)); -} - -void PythonQtWrapper_QTimeLine::setUpdateInterval(QTimeLine* theWrappedObject, int interval) -{ - ( theWrappedObject->setUpdateInterval(interval)); -} - -int PythonQtWrapper_QTimeLine::startFrame(QTimeLine* theWrappedObject) const -{ - return ( theWrappedObject->startFrame()); -} - -int PythonQtWrapper_QTimeLine::currentTime(QTimeLine* theWrappedObject) const -{ - return ( theWrappedObject->currentTime()); -} - -qreal PythonQtWrapper_QTimeLine::currentValue(QTimeLine* theWrappedObject) const -{ - return ( theWrappedObject->currentValue()); -} - -int PythonQtWrapper_QTimeLine::endFrame(QTimeLine* theWrappedObject) const -{ - return ( theWrappedObject->endFrame()); -} - -int PythonQtWrapper_QTimeLine::updateInterval(QTimeLine* theWrappedObject) const -{ - return ( theWrappedObject->updateInterval()); -} - -int PythonQtWrapper_QTimeLine::currentFrame(QTimeLine* theWrappedObject) const -{ - return ( theWrappedObject->currentFrame()); -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTimeLine.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTimeLine.h deleted file mode 100644 index 71acd1e..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTimeLine.h +++ /dev/null @@ -1,74 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QTIMELINE_H -#define PYTHONQTWRAPPER_QTIMELINE_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QTimeLine : public QTimeLine -{ -public: - PythonQtShell_QTimeLine(int duration = 1000, QObject* parent = 0):QTimeLine(duration, parent),_wrapper(NULL) {}; - -virtual void childEvent(QChildEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void timerEvent(QTimerEvent* event); -virtual qreal valueForTime(int msec) const; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QTimeLine : public QTimeLine -{ public: -inline qreal promoted_valueForTime(int msec) const { return QTimeLine::valueForTime(msec); } -inline void promoted_timerEvent(QTimerEvent* event) { QTimeLine::timerEvent(event); } -}; - -class PythonQtWrapper_QTimeLine : public QObject -{ Q_OBJECT -public: -Q_ENUMS(Direction CurveShape State ) -enum Direction{ - Forward = QTimeLine::Forward, Backward = QTimeLine::Backward}; -enum CurveShape{ - EaseInCurve = QTimeLine::EaseInCurve, EaseOutCurve = QTimeLine::EaseOutCurve, EaseInOutCurve = QTimeLine::EaseInOutCurve, LinearCurve = QTimeLine::LinearCurve, SineCurve = QTimeLine::SineCurve, CosineCurve = QTimeLine::CosineCurve}; -enum State{ - NotRunning = QTimeLine::NotRunning, Paused = QTimeLine::Paused, Running = QTimeLine::Running}; -public slots: -QTimeLine* new_QTimeLine(int duration = 1000, QObject* parent = 0); -void delete_QTimeLine(QTimeLine* obj) { delete obj; } - int frameForTime(QTimeLine* theWrappedObject, int msec) const; - qreal valueForTime(QTimeLine* theWrappedObject, int msec) const; - void timerEvent(QTimeLine* theWrappedObject, QTimerEvent* event); - QTimeLine::CurveShape curveShape(QTimeLine* theWrappedObject) const; - void setDuration(QTimeLine* theWrappedObject, int duration); - QTimeLine::State state(QTimeLine* theWrappedObject) const; - void setStartFrame(QTimeLine* theWrappedObject, int frame); - void setFrameRange(QTimeLine* theWrappedObject, int startFrame, int endFrame); - void setEndFrame(QTimeLine* theWrappedObject, int frame); - void setLoopCount(QTimeLine* theWrappedObject, int count); - int duration(QTimeLine* theWrappedObject) const; - int loopCount(QTimeLine* theWrappedObject) const; - void setDirection(QTimeLine* theWrappedObject, QTimeLine::Direction direction); - QTimeLine::Direction direction(QTimeLine* theWrappedObject) const; - void setCurveShape(QTimeLine* theWrappedObject, QTimeLine::CurveShape shape); - void setUpdateInterval(QTimeLine* theWrappedObject, int interval); - int startFrame(QTimeLine* theWrappedObject) const; - int currentTime(QTimeLine* theWrappedObject) const; - qreal currentValue(QTimeLine* theWrappedObject) const; - int endFrame(QTimeLine* theWrappedObject) const; - int updateInterval(QTimeLine* theWrappedObject) const; - int currentFrame(QTimeLine* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QTIMELINE_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTimer.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTimer.cpp deleted file mode 100644 index cfb972f..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTimer.cpp +++ /dev/null @@ -1,163 +0,0 @@ -#include "PythonQtWrapper_QTimer.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QTimer::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; - } -} - QTimer::childEvent(arg__1); -} -void PythonQtShell_QTimer::customEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTimer::customEvent(arg__1); -} -bool PythonQtShell_QTimer::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTimer::event(arg__1); -} -bool PythonQtShell_QTimer::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTimer::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QTimer::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTimer::timerEvent(arg__1); -} -QTimer* PythonQtWrapper_QTimer::new_QTimer(QObject* parent) -{ -return new PythonQtShell_QTimer(parent); } - -void PythonQtWrapper_QTimer::setInterval(QTimer* theWrappedObject, int msec) -{ - ( theWrappedObject->setInterval(msec)); -} - -void PythonQtWrapper_QTimer::static_QTimer_singleShot(int msec, QObject* receiver, const char* member) -{ - (QTimer::singleShot(msec, receiver, member)); -} - -bool PythonQtWrapper_QTimer::isActive(QTimer* theWrappedObject) const -{ - return ( theWrappedObject->isActive()); -} - -int PythonQtWrapper_QTimer::interval(QTimer* theWrappedObject) const -{ - return ( theWrappedObject->interval()); -} - -bool PythonQtWrapper_QTimer::isSingleShot(QTimer* theWrappedObject) const -{ - return ( theWrappedObject->isSingleShot()); -} - -int PythonQtWrapper_QTimer::timerId(QTimer* theWrappedObject) const -{ - return ( theWrappedObject->timerId()); -} - -void PythonQtWrapper_QTimer::setSingleShot(QTimer* theWrappedObject, bool singleShot) -{ - ( theWrappedObject->setSingleShot(singleShot)); -} - -void PythonQtWrapper_QTimer::timerEvent(QTimer* theWrappedObject, QTimerEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QTimer*)theWrappedObject)->promoted_timerEvent(arg__1)); -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTimer.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTimer.h deleted file mode 100644 index 48df703..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTimer.h +++ /dev/null @@ -1,51 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QTIMER_H -#define PYTHONQTWRAPPER_QTIMER_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QTimer : public QTimer -{ -public: - PythonQtShell_QTimer(QObject* parent = 0):QTimer(parent),_wrapper(NULL) {}; - -virtual void childEvent(QChildEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QTimer : public QTimer -{ public: -inline void promoted_timerEvent(QTimerEvent* arg__1) { QTimer::timerEvent(arg__1); } -}; - -class PythonQtWrapper_QTimer : public QObject -{ Q_OBJECT -public: -public slots: -QTimer* new_QTimer(QObject* parent = 0); -void delete_QTimer(QTimer* obj) { delete obj; } - void setInterval(QTimer* theWrappedObject, int msec); - void static_QTimer_singleShot(int msec, QObject* receiver, const char* member); - bool isActive(QTimer* theWrappedObject) const; - int interval(QTimer* theWrappedObject) const; - bool isSingleShot(QTimer* theWrappedObject) const; - int timerId(QTimer* theWrappedObject) const; - void setSingleShot(QTimer* theWrappedObject, bool singleShot); - void timerEvent(QTimer* theWrappedObject, QTimerEvent* arg__1); -}; - -#endif // PYTHONQTWRAPPER_QTIMER_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTimerEvent.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTimerEvent.cpp deleted file mode 100644 index 86d8624..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTimerEvent.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include "PythonQtWrapper_QTimerEvent.h" - -#include -#include -#include -#include - -QTimerEvent* PythonQtWrapper_QTimerEvent::new_QTimerEvent(int timerId) -{ -return new PythonQtShell_QTimerEvent(timerId); } - -int PythonQtWrapper_QTimerEvent::timerId(QTimerEvent* theWrappedObject) const -{ - return ( theWrappedObject->timerId()); -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTimerEvent.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTimerEvent.h deleted file mode 100644 index b279d2d..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTimerEvent.h +++ /dev/null @@ -1,29 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QTIMEREVENT_H -#define PYTHONQTWRAPPER_QTIMEREVENT_H - -#include -#include - -#include - -#include - -class PythonQtShell_QTimerEvent : public QTimerEvent -{ -public: - PythonQtShell_QTimerEvent(int timerId):QTimerEvent(timerId),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QTimerEvent : public QObject -{ Q_OBJECT -public: -public slots: -QTimerEvent* new_QTimerEvent(int timerId); -void delete_QTimerEvent(QTimerEvent* obj) { delete obj; } - int timerId(QTimerEvent* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QTIMEREVENT_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTranslator.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTranslator.cpp deleted file mode 100644 index c6f4882..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTranslator.cpp +++ /dev/null @@ -1,199 +0,0 @@ -#include "PythonQtWrapper_QTranslator.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QTranslator::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; - } -} - QTranslator::childEvent(arg__1); -} -void PythonQtShell_QTranslator::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; - } -} - QTranslator::customEvent(arg__1); -} -bool PythonQtShell_QTranslator::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTranslator::event(arg__1); -} -bool PythonQtShell_QTranslator::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTranslator::eventFilter(arg__1, arg__2); -} -bool PythonQtShell_QTranslator::isEmpty() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isEmpty"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTranslator::isEmpty(); -} -void PythonQtShell_QTranslator::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; - } -} - QTranslator::timerEvent(arg__1); -} -QString PythonQtShell_QTranslator::translate(const char* context, const char* sourceText, const char* comment) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "translate"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QString" , "const char*" , "const char*" , "const char*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QString returnValue; - void* args[4] = {NULL, (void*)&context, (void*)&sourceText, (void*)&comment}; - 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("translate", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTranslator::translate(context, sourceText, comment); -} -QTranslator* PythonQtWrapper_QTranslator::new_QTranslator(QObject* parent) -{ -return new PythonQtShell_QTranslator(parent); } - -bool PythonQtWrapper_QTranslator::isEmpty(QTranslator* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QTranslator*)theWrappedObject)->promoted_isEmpty()); -} - -QString PythonQtWrapper_QTranslator::translate(QTranslator* theWrappedObject, const char* context, const char* sourceText, const char* comment) const -{ - return ( ((PythonQtPublicPromoter_QTranslator*)theWrappedObject)->promoted_translate(context, sourceText, comment)); -} - -bool PythonQtWrapper_QTranslator::load(QTranslator* theWrappedObject, const uchar* data, int len) -{ - return ( theWrappedObject->load(data, len)); -} - -bool PythonQtWrapper_QTranslator::load(QTranslator* theWrappedObject, const QString& filename, const QString& directory, const QString& search_delimiters, const QString& suffix) -{ - return ( theWrappedObject->load(filename, directory, search_delimiters, suffix)); -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTranslator.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTranslator.h deleted file mode 100644 index a2500a2..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTranslator.h +++ /dev/null @@ -1,50 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QTRANSLATOR_H -#define PYTHONQTWRAPPER_QTRANSLATOR_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QTranslator : public QTranslator -{ -public: - PythonQtShell_QTranslator(QObject* parent = 0):QTranslator(parent),_wrapper(NULL) {}; - -virtual void childEvent(QChildEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual bool isEmpty() const; -virtual void timerEvent(QTimerEvent* arg__1); -virtual QString translate(const char* context, const char* sourceText, const char* comment = 0) const; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QTranslator : public QTranslator -{ public: -inline bool promoted_isEmpty() const { return QTranslator::isEmpty(); } -inline QString promoted_translate(const char* context, const char* sourceText, const char* comment = 0) const { return QTranslator::translate(context, sourceText, comment); } -}; - -class PythonQtWrapper_QTranslator : public QObject -{ Q_OBJECT -public: -public slots: -QTranslator* new_QTranslator(QObject* parent = 0); -void delete_QTranslator(QTranslator* obj) { delete obj; } - bool isEmpty(QTranslator* theWrappedObject) const; - QString translate(QTranslator* theWrappedObject, const char* context, const char* sourceText, const char* comment = 0) const; - bool load(QTranslator* theWrappedObject, const uchar* data, int len); - bool load(QTranslator* theWrappedObject, const QString& filename, const QString& directory = QString(), const QString& search_delimiters = QString(), const QString& suffix = QString()); -}; - -#endif // PYTHONQTWRAPPER_QTRANSLATOR_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QUrl.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QUrl.cpp deleted file mode 100644 index fdbe826..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QUrl.cpp +++ /dev/null @@ -1,425 +0,0 @@ -#include "PythonQtWrapper_QUrl.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QUrl* PythonQtWrapper_QUrl::new_QUrl() -{ -return new QUrl(); } - -QUrl* PythonQtWrapper_QUrl::new_QUrl(const QString& url) -{ -return new QUrl(url); } - -QUrl* PythonQtWrapper_QUrl::new_QUrl(const QString& url, QUrl::ParsingMode mode) -{ -return new QUrl(url, mode); } - -QUrl* PythonQtWrapper_QUrl::new_QUrl(const QUrl& copy) -{ -return new QUrl(copy); } - -void PythonQtWrapper_QUrl::setPassword(QUrl* theWrappedObject, const QString& password) -{ - ( theWrappedObject->setPassword(password)); -} - -void PythonQtWrapper_QUrl::removeQueryItem(QUrl* theWrappedObject, const QString& key) -{ - ( theWrappedObject->removeQueryItem(key)); -} - -void PythonQtWrapper_QUrl::setHost(QUrl* theWrappedObject, const QString& host) -{ - ( theWrappedObject->setHost(host)); -} - -QString PythonQtWrapper_QUrl::queryItemValue(QUrl* theWrappedObject, const QString& key) const -{ - return ( theWrappedObject->queryItemValue(key)); -} - -QString PythonQtWrapper_QUrl::scheme(QUrl* theWrappedObject) const -{ - return ( theWrappedObject->scheme()); -} - -void PythonQtWrapper_QUrl::setEncodedQueryItems(QUrl* theWrappedObject, const QList >& query) -{ - ( theWrappedObject->setEncodedQueryItems(query)); -} - -QByteArray PythonQtWrapper_QUrl::static_QUrl_toPercentEncoding(const QString& arg__1, const QByteArray& exclude, const QByteArray& include) -{ - return (QUrl::toPercentEncoding(arg__1, exclude, include)); -} - -bool PythonQtWrapper_QUrl::operator_equal(QUrl* theWrappedObject, const QUrl& url) const -{ - return ( (*theWrappedObject)== url); -} - -void PythonQtWrapper_QUrl::setScheme(QUrl* theWrappedObject, const QString& scheme) -{ - ( theWrappedObject->setScheme(scheme)); -} - -void PythonQtWrapper_QUrl::addEncodedQueryItem(QUrl* theWrappedObject, const QByteArray& key, const QByteArray& value) -{ - ( theWrappedObject->addEncodedQueryItem(key, value)); -} - -QByteArray PythonQtWrapper_QUrl::encodedPassword(QUrl* theWrappedObject) const -{ - return ( theWrappedObject->encodedPassword()); -} - -QString PythonQtWrapper_QUrl::authority(QUrl* theWrappedObject) const -{ - return ( theWrappedObject->authority()); -} - -void PythonQtWrapper_QUrl::setEncodedFragment(QUrl* theWrappedObject, const QByteArray& fragment) -{ - ( theWrappedObject->setEncodedFragment(fragment)); -} - -QString PythonQtWrapper_QUrl::path(QUrl* theWrappedObject) const -{ - return ( theWrappedObject->path()); -} - -void PythonQtWrapper_QUrl::readFrom(QUrl* theWrappedObject, QDataStream& arg__1) -{ - arg__1 >> (*theWrappedObject); -} - -QUrl PythonQtWrapper_QUrl::resolved(QUrl* theWrappedObject, const QUrl& relative) const -{ - return ( theWrappedObject->resolved(relative)); -} - -QUrl PythonQtWrapper_QUrl::static_QUrl_fromEncoded(const QByteArray& url, QUrl::ParsingMode mode) -{ - return (QUrl::fromEncoded(url, mode)); -} - -void PythonQtWrapper_QUrl::writeTo(QUrl* theWrappedObject, QDataStream& arg__1) -{ - arg__1 << (*theWrappedObject); -} - -QString PythonQtWrapper_QUrl::static_QUrl_fromPercentEncoding(const QByteArray& arg__1) -{ - return (QUrl::fromPercentEncoding(arg__1)); -} - -void PythonQtWrapper_QUrl::setEncodedPassword(QUrl* theWrappedObject, const QByteArray& password) -{ - ( theWrappedObject->setEncodedPassword(password)); -} - -QUrl PythonQtWrapper_QUrl::static_QUrl_fromLocalFile(const QString& localfile) -{ - return (QUrl::fromLocalFile(localfile)); -} - -QString PythonQtWrapper_QUrl::fragment(QUrl* theWrappedObject) const -{ - return ( theWrappedObject->fragment()); -} - -QString PythonQtWrapper_QUrl::userName(QUrl* theWrappedObject) const -{ - return ( theWrappedObject->userName()); -} - -void PythonQtWrapper_QUrl::addQueryItem(QUrl* theWrappedObject, const QString& key, const QString& value) -{ - ( theWrappedObject->addQueryItem(key, value)); -} - -bool PythonQtWrapper_QUrl::hasQuery(QUrl* theWrappedObject) const -{ - return ( theWrappedObject->hasQuery()); -} - -bool PythonQtWrapper_QUrl::hasFragment(QUrl* theWrappedObject) const -{ - return ( theWrappedObject->hasFragment()); -} - -bool PythonQtWrapper_QUrl::operator_less(QUrl* theWrappedObject, const QUrl& url) const -{ - return ( (*theWrappedObject)< url); -} - -void PythonQtWrapper_QUrl::setEncodedHost(QUrl* theWrappedObject, const QByteArray& host) -{ - ( theWrappedObject->setEncodedHost(host)); -} - -QString PythonQtWrapper_QUrl::errorString(QUrl* theWrappedObject) const -{ - return ( theWrappedObject->errorString()); -} - -bool PythonQtWrapper_QUrl::isParentOf(QUrl* theWrappedObject, const QUrl& url) const -{ - return ( theWrappedObject->isParentOf(url)); -} - -QUrl PythonQtWrapper_QUrl::static_QUrl_fromEncoded(const QByteArray& url) -{ - return (QUrl::fromEncoded(url)); -} - -bool PythonQtWrapper_QUrl::hasQueryItem(QUrl* theWrappedObject, const QString& key) const -{ - return ( theWrappedObject->hasQueryItem(key)); -} - -QByteArray PythonQtWrapper_QUrl::static_QUrl_toAce(const QString& arg__1) -{ - return (QUrl::toAce(arg__1)); -} - -void PythonQtWrapper_QUrl::setAuthority(QUrl* theWrappedObject, const QString& authority) -{ - ( theWrappedObject->setAuthority(authority)); -} - -void PythonQtWrapper_QUrl::setEncodedUrl(QUrl* theWrappedObject, const QByteArray& url, QUrl::ParsingMode mode) -{ - ( theWrappedObject->setEncodedUrl(url, mode)); -} - -QList > PythonQtWrapper_QUrl::queryItems(QUrl* theWrappedObject) const -{ - return ( theWrappedObject->queryItems()); -} - -char PythonQtWrapper_QUrl::queryPairDelimiter(QUrl* theWrappedObject) const -{ - return ( theWrappedObject->queryPairDelimiter()); -} - -void PythonQtWrapper_QUrl::setPort(QUrl* theWrappedObject, int port) -{ - ( theWrappedObject->setPort(port)); -} - -void PythonQtWrapper_QUrl::setUserInfo(QUrl* theWrappedObject, const QString& userInfo) -{ - ( theWrappedObject->setUserInfo(userInfo)); -} - -int PythonQtWrapper_QUrl::port(QUrl* theWrappedObject) const -{ - return ( theWrappedObject->port()); -} - -QByteArray PythonQtWrapper_QUrl::encodedFragment(QUrl* theWrappedObject) const -{ - return ( theWrappedObject->encodedFragment()); -} - -QByteArray PythonQtWrapper_QUrl::encodedHost(QUrl* theWrappedObject) const -{ - return ( theWrappedObject->encodedHost()); -} - -void PythonQtWrapper_QUrl::setPath(QUrl* theWrappedObject, const QString& path) -{ - ( theWrappedObject->setPath(path)); -} - -QByteArray PythonQtWrapper_QUrl::encodedUserName(QUrl* theWrappedObject) const -{ - return ( theWrappedObject->encodedUserName()); -} - -QList > PythonQtWrapper_QUrl::encodedQueryItems(QUrl* theWrappedObject) const -{ - return ( theWrappedObject->encodedQueryItems()); -} - -void PythonQtWrapper_QUrl::removeAllQueryItems(QUrl* theWrappedObject, const QString& key) -{ - ( theWrappedObject->removeAllQueryItems(key)); -} - -void PythonQtWrapper_QUrl::setEncodedUserName(QUrl* theWrappedObject, const QByteArray& userName) -{ - ( theWrappedObject->setEncodedUserName(userName)); -} - -void PythonQtWrapper_QUrl::setEncodedUrl(QUrl* theWrappedObject, const QByteArray& url) -{ - ( theWrappedObject->setEncodedUrl(url)); -} - -QByteArray PythonQtWrapper_QUrl::encodedPath(QUrl* theWrappedObject) const -{ - return ( theWrappedObject->encodedPath()); -} - -void PythonQtWrapper_QUrl::setFragment(QUrl* theWrappedObject, const QString& fragment) -{ - ( theWrappedObject->setFragment(fragment)); -} - -QString PythonQtWrapper_QUrl::host(QUrl* theWrappedObject) const -{ - return ( theWrappedObject->host()); -} - -QString PythonQtWrapper_QUrl::userInfo(QUrl* theWrappedObject) const -{ - return ( theWrappedObject->userInfo()); -} - -QByteArray PythonQtWrapper_QUrl::encodedQuery(QUrl* theWrappedObject) const -{ - return ( theWrappedObject->encodedQuery()); -} - -void PythonQtWrapper_QUrl::setUserName(QUrl* theWrappedObject, const QString& userName) -{ - ( theWrappedObject->setUserName(userName)); -} - -bool PythonQtWrapper_QUrl::hasEncodedQueryItem(QUrl* theWrappedObject, const QByteArray& key) const -{ - return ( theWrappedObject->hasEncodedQueryItem(key)); -} - -void PythonQtWrapper_QUrl::setQueryItems(QUrl* theWrappedObject, const QList >& query) -{ - ( theWrappedObject->setQueryItems(query)); -} - -QString PythonQtWrapper_QUrl::toString(QUrl* theWrappedObject, QUrl::FormattingOptions options) const -{ - return ( theWrappedObject->toString(options)); -} - -void PythonQtWrapper_QUrl::setUrl(QUrl* theWrappedObject, const QString& url, QUrl::ParsingMode mode) -{ - ( theWrappedObject->setUrl(url, mode)); -} - -QByteArray PythonQtWrapper_QUrl::toEncoded(QUrl* theWrappedObject, QUrl::FormattingOptions options) const -{ - return ( theWrappedObject->toEncoded(options)); -} - -QList PythonQtWrapper_QUrl::allEncodedQueryItemValues(QUrl* theWrappedObject, const QByteArray& key) const -{ - return ( theWrappedObject->allEncodedQueryItemValues(key)); -} - -void PythonQtWrapper_QUrl::clear(QUrl* theWrappedObject) -{ - ( theWrappedObject->clear()); -} - -QByteArray PythonQtWrapper_QUrl::encodedQueryItemValue(QUrl* theWrappedObject, const QByteArray& key) const -{ - return ( theWrappedObject->encodedQueryItemValue(key)); -} - -bool PythonQtWrapper_QUrl::isRelative(QUrl* theWrappedObject) const -{ - return ( theWrappedObject->isRelative()); -} - -void PythonQtWrapper_QUrl::removeAllEncodedQueryItems(QUrl* theWrappedObject, const QByteArray& key) -{ - ( theWrappedObject->removeAllEncodedQueryItems(key)); -} - -bool PythonQtWrapper_QUrl::isEmpty(QUrl* theWrappedObject) const -{ - return ( theWrappedObject->isEmpty()); -} - -QStringList PythonQtWrapper_QUrl::allQueryItemValues(QUrl* theWrappedObject, const QString& key) const -{ - return ( theWrappedObject->allQueryItemValues(key)); -} - -int PythonQtWrapper_QUrl::port(QUrl* theWrappedObject, int defaultPort) const -{ - return ( theWrappedObject->port(defaultPort)); -} - -QString PythonQtWrapper_QUrl::static_QUrl_fromAce(const QByteArray& arg__1) -{ - return (QUrl::fromAce(arg__1)); -} - -void PythonQtWrapper_QUrl::removeEncodedQueryItem(QUrl* theWrappedObject, const QByteArray& key) -{ - ( theWrappedObject->removeEncodedQueryItem(key)); -} - -void PythonQtWrapper_QUrl::setEncodedQuery(QUrl* theWrappedObject, const QByteArray& query) -{ - ( theWrappedObject->setEncodedQuery(query)); -} - -bool PythonQtWrapper_QUrl::isValid(QUrl* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -QStringList PythonQtWrapper_QUrl::static_QUrl_idnWhitelist() -{ - return (QUrl::idnWhitelist()); -} - -QString PythonQtWrapper_QUrl::toLocalFile(QUrl* theWrappedObject) const -{ - return ( theWrappedObject->toLocalFile()); -} - -QString PythonQtWrapper_QUrl::password(QUrl* theWrappedObject) const -{ - return ( theWrappedObject->password()); -} - -char PythonQtWrapper_QUrl::queryValueDelimiter(QUrl* theWrappedObject) const -{ - return ( theWrappedObject->queryValueDelimiter()); -} - -void PythonQtWrapper_QUrl::setEncodedPath(QUrl* theWrappedObject, const QByteArray& path) -{ - ( theWrappedObject->setEncodedPath(path)); -} - -void PythonQtWrapper_QUrl::setQueryDelimiters(QUrl* theWrappedObject, char valueDelimiter, char pairDelimiter) -{ - ( theWrappedObject->setQueryDelimiters(valueDelimiter, pairDelimiter)); -} - -void PythonQtWrapper_QUrl::static_QUrl_setIdnWhitelist(const QStringList& arg__1) -{ - (QUrl::setIdnWhitelist(arg__1)); -} - -void PythonQtWrapper_QUrl::setUrl(QUrl* theWrappedObject, const QString& url) -{ - ( theWrappedObject->setUrl(url)); -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QUrl.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QUrl.h deleted file mode 100644 index 133d5b1..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QUrl.h +++ /dev/null @@ -1,115 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QURL_H -#define PYTHONQTWRAPPER_QURL_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtWrapper_QUrl : public QObject -{ Q_OBJECT -public: -Q_ENUMS(ParsingMode FormattingOption ) -Q_FLAGS(FormattingOptions ) -enum ParsingMode{ - TolerantMode = QUrl::TolerantMode, StrictMode = QUrl::StrictMode}; -enum FormattingOption{ - None = QUrl::None, RemoveScheme = QUrl::RemoveScheme, RemovePassword = QUrl::RemovePassword, RemoveUserInfo = QUrl::RemoveUserInfo, RemovePort = QUrl::RemovePort, RemoveAuthority = QUrl::RemoveAuthority, RemovePath = QUrl::RemovePath, RemoveQuery = QUrl::RemoveQuery, RemoveFragment = QUrl::RemoveFragment, StripTrailingSlash = QUrl::StripTrailingSlash}; -Q_DECLARE_FLAGS(FormattingOptions, FormattingOption) -public slots: -QUrl* new_QUrl(); -QUrl* new_QUrl(const QString& url); -QUrl* new_QUrl(const QString& url, QUrl::ParsingMode mode); -QUrl* new_QUrl(const QUrl& copy); -void delete_QUrl(QUrl* obj) { delete obj; } - void setPassword(QUrl* theWrappedObject, const QString& password); - void removeQueryItem(QUrl* theWrappedObject, const QString& key); - void setHost(QUrl* theWrappedObject, const QString& host); - QString queryItemValue(QUrl* theWrappedObject, const QString& key) const; - QString scheme(QUrl* theWrappedObject) const; - void setEncodedQueryItems(QUrl* theWrappedObject, const QList >& query); - QByteArray static_QUrl_toPercentEncoding(const QString& arg__1, const QByteArray& exclude = QByteArray(), const QByteArray& include = QByteArray()); - bool operator_equal(QUrl* theWrappedObject, const QUrl& url) const; - void setScheme(QUrl* theWrappedObject, const QString& scheme); - void addEncodedQueryItem(QUrl* theWrappedObject, const QByteArray& key, const QByteArray& value); - QByteArray encodedPassword(QUrl* theWrappedObject) const; - QString authority(QUrl* theWrappedObject) const; - void setEncodedFragment(QUrl* theWrappedObject, const QByteArray& fragment); - QString path(QUrl* theWrappedObject) const; - void readFrom(QUrl* theWrappedObject, QDataStream& arg__1); - QUrl resolved(QUrl* theWrappedObject, const QUrl& relative) const; - QUrl static_QUrl_fromEncoded(const QByteArray& url, QUrl::ParsingMode mode); - void writeTo(QUrl* theWrappedObject, QDataStream& arg__1); - QString static_QUrl_fromPercentEncoding(const QByteArray& arg__1); - void setEncodedPassword(QUrl* theWrappedObject, const QByteArray& password); - QUrl static_QUrl_fromLocalFile(const QString& localfile); - QString fragment(QUrl* theWrappedObject) const; - QString userName(QUrl* theWrappedObject) const; - void addQueryItem(QUrl* theWrappedObject, const QString& key, const QString& value); - bool hasQuery(QUrl* theWrappedObject) const; - bool hasFragment(QUrl* theWrappedObject) const; - bool operator_less(QUrl* theWrappedObject, const QUrl& url) const; - void setEncodedHost(QUrl* theWrappedObject, const QByteArray& host); - QString errorString(QUrl* theWrappedObject) const; - bool isParentOf(QUrl* theWrappedObject, const QUrl& url) const; - QUrl static_QUrl_fromEncoded(const QByteArray& url); - bool hasQueryItem(QUrl* theWrappedObject, const QString& key) const; - QByteArray static_QUrl_toAce(const QString& arg__1); - void setAuthority(QUrl* theWrappedObject, const QString& authority); - void setEncodedUrl(QUrl* theWrappedObject, const QByteArray& url, QUrl::ParsingMode mode); - QList > queryItems(QUrl* theWrappedObject) const; - char queryPairDelimiter(QUrl* theWrappedObject) const; - void setPort(QUrl* theWrappedObject, int port); - void setUserInfo(QUrl* theWrappedObject, const QString& userInfo); - int port(QUrl* theWrappedObject) const; - QByteArray encodedFragment(QUrl* theWrappedObject) const; - QByteArray encodedHost(QUrl* theWrappedObject) const; - void setPath(QUrl* theWrappedObject, const QString& path); - QByteArray encodedUserName(QUrl* theWrappedObject) const; - QList > encodedQueryItems(QUrl* theWrappedObject) const; - void removeAllQueryItems(QUrl* theWrappedObject, const QString& key); - void setEncodedUserName(QUrl* theWrappedObject, const QByteArray& userName); - void setEncodedUrl(QUrl* theWrappedObject, const QByteArray& url); - QByteArray encodedPath(QUrl* theWrappedObject) const; - void setFragment(QUrl* theWrappedObject, const QString& fragment); - QString host(QUrl* theWrappedObject) const; - QString userInfo(QUrl* theWrappedObject) const; - QByteArray encodedQuery(QUrl* theWrappedObject) const; - void setUserName(QUrl* theWrappedObject, const QString& userName); - bool hasEncodedQueryItem(QUrl* theWrappedObject, const QByteArray& key) const; - void setQueryItems(QUrl* theWrappedObject, const QList >& query); - QString toString(QUrl* theWrappedObject, QUrl::FormattingOptions options = QUrl::None) const; - void setUrl(QUrl* theWrappedObject, const QString& url, QUrl::ParsingMode mode); - QByteArray toEncoded(QUrl* theWrappedObject, QUrl::FormattingOptions options = QUrl::None) const; - QList allEncodedQueryItemValues(QUrl* theWrappedObject, const QByteArray& key) const; - void clear(QUrl* theWrappedObject); - QByteArray encodedQueryItemValue(QUrl* theWrappedObject, const QByteArray& key) const; - bool isRelative(QUrl* theWrappedObject) const; - void removeAllEncodedQueryItems(QUrl* theWrappedObject, const QByteArray& key); - bool isEmpty(QUrl* theWrappedObject) const; - QStringList allQueryItemValues(QUrl* theWrappedObject, const QString& key) const; - int port(QUrl* theWrappedObject, int defaultPort) const; - QString static_QUrl_fromAce(const QByteArray& arg__1); - void removeEncodedQueryItem(QUrl* theWrappedObject, const QByteArray& key); - void setEncodedQuery(QUrl* theWrappedObject, const QByteArray& query); - bool isValid(QUrl* theWrappedObject) const; - QStringList static_QUrl_idnWhitelist(); - QString toLocalFile(QUrl* theWrappedObject) const; - QString password(QUrl* theWrappedObject) const; - char queryValueDelimiter(QUrl* theWrappedObject) const; - void setEncodedPath(QUrl* theWrappedObject, const QByteArray& path); - void setQueryDelimiters(QUrl* theWrappedObject, char valueDelimiter, char pairDelimiter); - void static_QUrl_setIdnWhitelist(const QStringList& arg__1); - void setUrl(QUrl* theWrappedObject, const QString& url); -}; - -#endif // PYTHONQTWRAPPER_QURL_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QUuid.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QUuid.cpp deleted file mode 100644 index 022e8c7..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QUuid.cpp +++ /dev/null @@ -1,66 +0,0 @@ -#include "PythonQtWrapper_QUuid.h" - -#include -#include -#include -#include -#include -#include - -QUuid* PythonQtWrapper_QUuid::new_QUuid() -{ -return new PythonQtShell_QUuid(); } - -QUuid* PythonQtWrapper_QUuid::new_QUuid(const QString& arg__1) -{ -return new PythonQtShell_QUuid(arg__1); } - -QUuid* PythonQtWrapper_QUuid::new_QUuid(uint l, ushort w1, ushort w2, uchar b1, uchar b2, uchar b3, uchar b4, uchar b5, uchar b6, uchar b7, uchar b8) -{ -return new PythonQtShell_QUuid(l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8); } - -void PythonQtWrapper_QUuid::writeTo(QUuid* theWrappedObject, QDataStream& arg__1) -{ - arg__1 << (*theWrappedObject); -} - -bool PythonQtWrapper_QUuid::operator_less(QUuid* theWrappedObject, const QUuid& other) const -{ - return ( (*theWrappedObject)< other); -} - -void PythonQtWrapper_QUuid::readFrom(QUuid* theWrappedObject, QDataStream& arg__1) -{ - arg__1 >> (*theWrappedObject); -} - -bool PythonQtWrapper_QUuid::isNull(QUuid* theWrappedObject) const -{ - return ( theWrappedObject->isNull()); -} - -QUuid PythonQtWrapper_QUuid::static_QUuid_createUuid() -{ - return (QUuid::createUuid()); -} - -bool PythonQtWrapper_QUuid::operator_equal(QUuid* theWrappedObject, const QUuid& orig) const -{ - return ( (*theWrappedObject)== orig); -} - -QUuid::Version PythonQtWrapper_QUuid::version(QUuid* theWrappedObject) const -{ - return ( theWrappedObject->version()); -} - -QString PythonQtWrapper_QUuid::toString(QUuid* theWrappedObject) const -{ - return ( theWrappedObject->toString()); -} - -QUuid::Variant PythonQtWrapper_QUuid::variant(QUuid* theWrappedObject) const -{ - return ( theWrappedObject->variant()); -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QUuid.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QUuid.h deleted file mode 100644 index ec255d0..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QUuid.h +++ /dev/null @@ -1,52 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QUUID_H -#define PYTHONQTWRAPPER_QUUID_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtShell_QUuid : public QUuid -{ -public: - PythonQtShell_QUuid():QUuid(),_wrapper(NULL) {}; - PythonQtShell_QUuid(const QString& arg__1):QUuid(arg__1),_wrapper(NULL) {}; - PythonQtShell_QUuid(uint l, ushort w1, ushort w2, uchar b1, uchar b2, uchar b3, uchar b4, uchar b5, uchar b6, uchar b7, uchar b8):QUuid(l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QUuid : public QObject -{ Q_OBJECT -public: -Q_ENUMS(Variant Version ) -enum Variant{ - VarUnknown = QUuid::VarUnknown, NCS = QUuid::NCS, DCE = QUuid::DCE, Microsoft = QUuid::Microsoft, Reserved = QUuid::Reserved}; -enum Version{ - VerUnknown = QUuid::VerUnknown, Time = QUuid::Time, EmbeddedPOSIX = QUuid::EmbeddedPOSIX, Name = QUuid::Name, Random = QUuid::Random}; -public slots: -QUuid* new_QUuid(); -QUuid* new_QUuid(const QString& arg__1); -QUuid* new_QUuid(uint l, ushort w1, ushort w2, uchar b1, uchar b2, uchar b3, uchar b4, uchar b5, uchar b6, uchar b7, uchar b8); -QUuid* new_QUuid(const QUuid& other) { -PythonQtShell_QUuid* a = new PythonQtShell_QUuid(); -*((QUuid*)a) = other; -return a; } -void delete_QUuid(QUuid* obj) { delete obj; } - void writeTo(QUuid* theWrappedObject, QDataStream& arg__1); - bool operator_less(QUuid* theWrappedObject, const QUuid& other) const; - void readFrom(QUuid* theWrappedObject, QDataStream& arg__1); - bool isNull(QUuid* theWrappedObject) const; - QUuid static_QUuid_createUuid(); - bool operator_equal(QUuid* theWrappedObject, const QUuid& orig) const; - QUuid::Version version(QUuid* theWrappedObject) const; - QString toString(QUuid* theWrappedObject) const; - QUuid::Variant variant(QUuid* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QUUID_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QWaitCondition.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QWaitCondition.cpp deleted file mode 100644 index 2144e41..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QWaitCondition.cpp +++ /dev/null @@ -1,34 +0,0 @@ -#include "PythonQtWrapper_QWaitCondition.h" - -#include -#include -#include -#include -#include -#include -#include - -QWaitCondition* PythonQtWrapper_QWaitCondition::new_QWaitCondition() -{ -return new QWaitCondition(); } - -bool PythonQtWrapper_QWaitCondition::wait(QWaitCondition* theWrappedObject, QReadWriteLock* readWriteLock, unsigned long time) -{ - return ( theWrappedObject->wait(readWriteLock, time)); -} - -void PythonQtWrapper_QWaitCondition::wakeAll(QWaitCondition* theWrappedObject) -{ - ( theWrappedObject->wakeAll()); -} - -void PythonQtWrapper_QWaitCondition::wakeOne(QWaitCondition* theWrappedObject) -{ - ( theWrappedObject->wakeOne()); -} - -bool PythonQtWrapper_QWaitCondition::wait(QWaitCondition* theWrappedObject, QMutex* mutex, unsigned long time) -{ - return ( theWrappedObject->wait(mutex, time)); -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QWaitCondition.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QWaitCondition.h deleted file mode 100644 index c77e657..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QWaitCondition.h +++ /dev/null @@ -1,26 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QWAITCONDITION_H -#define PYTHONQTWRAPPER_QWAITCONDITION_H - -#include -#include - -#include - -#include -#include -#include -#include - -class PythonQtWrapper_QWaitCondition : public QObject -{ Q_OBJECT -public: -public slots: -QWaitCondition* new_QWaitCondition(); -void delete_QWaitCondition(QWaitCondition* obj) { delete obj; } - bool wait(QWaitCondition* theWrappedObject, QReadWriteLock* readWriteLock, unsigned long time = 0xffffffffUL); - void wakeAll(QWaitCondition* theWrappedObject); - void wakeOne(QWaitCondition* theWrappedObject); - bool wait(QWaitCondition* theWrappedObject, QMutex* mutex, unsigned long time = 0xffffffffUL); -}; - -#endif // PYTHONQTWRAPPER_QWAITCONDITION_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QXmlStreamAttribute.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QXmlStreamAttribute.cpp deleted file mode 100644 index e5256bc..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QXmlStreamAttribute.cpp +++ /dev/null @@ -1,59 +0,0 @@ -#include "PythonQtWrapper_QXmlStreamAttribute.h" - -#include -#include -#include -#include -#include - -QXmlStreamAttribute* PythonQtWrapper_QXmlStreamAttribute::new_QXmlStreamAttribute() -{ -return new QXmlStreamAttribute(); } - -QXmlStreamAttribute* PythonQtWrapper_QXmlStreamAttribute::new_QXmlStreamAttribute(const QString& namespaceUri, const QString& name, const QString& value) -{ -return new QXmlStreamAttribute(namespaceUri, name, value); } - -QXmlStreamAttribute* PythonQtWrapper_QXmlStreamAttribute::new_QXmlStreamAttribute(const QString& qualifiedName, const QString& value) -{ -return new QXmlStreamAttribute(qualifiedName, value); } - -QXmlStreamAttribute* PythonQtWrapper_QXmlStreamAttribute::new_QXmlStreamAttribute(const QXmlStreamAttribute& arg__1) -{ -return new QXmlStreamAttribute(arg__1); } - -QStringRef PythonQtWrapper_QXmlStreamAttribute::prefix(QXmlStreamAttribute* theWrappedObject) const -{ - return ( theWrappedObject->prefix()); -} - -QStringRef PythonQtWrapper_QXmlStreamAttribute::namespaceUri(QXmlStreamAttribute* theWrappedObject) const -{ - return ( theWrappedObject->namespaceUri()); -} - -QStringRef PythonQtWrapper_QXmlStreamAttribute::value(QXmlStreamAttribute* theWrappedObject) const -{ - return ( theWrappedObject->value()); -} - -bool PythonQtWrapper_QXmlStreamAttribute::operator_equal(QXmlStreamAttribute* theWrappedObject, const QXmlStreamAttribute& other) const -{ - return ( (*theWrappedObject)== other); -} - -bool PythonQtWrapper_QXmlStreamAttribute::isDefault(QXmlStreamAttribute* theWrappedObject) const -{ - return ( theWrappedObject->isDefault()); -} - -QStringRef PythonQtWrapper_QXmlStreamAttribute::name(QXmlStreamAttribute* theWrappedObject) const -{ - return ( theWrappedObject->name()); -} - -QStringRef PythonQtWrapper_QXmlStreamAttribute::qualifiedName(QXmlStreamAttribute* theWrappedObject) const -{ - return ( theWrappedObject->qualifiedName()); -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QXmlStreamAttribute.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QXmlStreamAttribute.h deleted file mode 100644 index 1a6d5a7..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QXmlStreamAttribute.h +++ /dev/null @@ -1,30 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QXMLSTREAMATTRIBUTE_H -#define PYTHONQTWRAPPER_QXMLSTREAMATTRIBUTE_H - -#include -#include - -#include - -#include -#include - -class PythonQtWrapper_QXmlStreamAttribute : public QObject -{ Q_OBJECT -public: -public slots: -QXmlStreamAttribute* new_QXmlStreamAttribute(); -QXmlStreamAttribute* new_QXmlStreamAttribute(const QString& namespaceUri, const QString& name, const QString& value); -QXmlStreamAttribute* new_QXmlStreamAttribute(const QString& qualifiedName, const QString& value); -QXmlStreamAttribute* new_QXmlStreamAttribute(const QXmlStreamAttribute& arg__1); -void delete_QXmlStreamAttribute(QXmlStreamAttribute* obj) { delete obj; } - QStringRef prefix(QXmlStreamAttribute* theWrappedObject) const; - QStringRef namespaceUri(QXmlStreamAttribute* theWrappedObject) const; - QStringRef value(QXmlStreamAttribute* theWrappedObject) const; - bool operator_equal(QXmlStreamAttribute* theWrappedObject, const QXmlStreamAttribute& other) const; - bool isDefault(QXmlStreamAttribute* theWrappedObject) const; - QStringRef name(QXmlStreamAttribute* theWrappedObject) const; - QStringRef qualifiedName(QXmlStreamAttribute* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QXMLSTREAMATTRIBUTE_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QXmlStreamAttributes.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QXmlStreamAttributes.cpp deleted file mode 100644 index 460c4de..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QXmlStreamAttributes.cpp +++ /dev/null @@ -1,169 +0,0 @@ -#include "PythonQtWrapper_QXmlStreamAttributes.h" - -#include -#include -#include -#include -#include -#include -#include - -QXmlStreamAttributes* PythonQtWrapper_QXmlStreamAttributes::new_QXmlStreamAttributes() -{ -return new PythonQtShell_QXmlStreamAttributes(); } - -void PythonQtWrapper_QXmlStreamAttributes::setSharable(QXmlStreamAttributes* theWrappedObject, bool sharable) -{ - ( theWrappedObject->setSharable(sharable)); -} - -void PythonQtWrapper_QXmlStreamAttributes::squeeze(QXmlStreamAttributes* theWrappedObject) -{ - ( theWrappedObject->squeeze()); -} - -void PythonQtWrapper_QXmlStreamAttributes::append(QXmlStreamAttributes* theWrappedObject, const QString& namespaceUri, const QString& name, const QString& value) -{ - ( theWrappedObject->append(namespaceUri, name, value)); -} - -int PythonQtWrapper_QXmlStreamAttributes::count(QXmlStreamAttributes* theWrappedObject) const -{ - return ( theWrappedObject->count()); -} - -void PythonQtWrapper_QXmlStreamAttributes::append(QXmlStreamAttributes* theWrappedObject, const QString& qualifiedName, const QString& value) -{ - ( theWrappedObject->append(qualifiedName, value)); -} - -bool PythonQtWrapper_QXmlStreamAttributes::contains(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t) const -{ - return ( theWrappedObject->contains(t)); -} - -QList PythonQtWrapper_QXmlStreamAttributes::toList(QXmlStreamAttributes* theWrappedObject) const -{ - return ( theWrappedObject->toList()); -} - -bool PythonQtWrapper_QXmlStreamAttributes::operator_equal(QXmlStreamAttributes* theWrappedObject, const QVector& v) const -{ - return ( (*theWrappedObject)== v); -} - -const QXmlStreamAttribute* PythonQtWrapper_QXmlStreamAttributes::at(QXmlStreamAttributes* theWrappedObject, int i) const -{ - return &( theWrappedObject->at(i)); -} - -void PythonQtWrapper_QXmlStreamAttributes::clear(QXmlStreamAttributes* theWrappedObject) -{ - ( theWrappedObject->clear()); -} - -int PythonQtWrapper_QXmlStreamAttributes::indexOf(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t, int from) const -{ - return ( theWrappedObject->indexOf(t, from)); -} - -QVector PythonQtWrapper_QXmlStreamAttributes::static_QXmlStreamAttributes_fromList(const QList& list) -{ - return (QXmlStreamAttributes::fromList(list)); -} - -const QXmlStreamAttribute* PythonQtWrapper_QXmlStreamAttributes::last(QXmlStreamAttributes* theWrappedObject) const -{ - return &( theWrappedObject->last()); -} - -const QXmlStreamAttribute* PythonQtWrapper_QXmlStreamAttributes::first(QXmlStreamAttributes* theWrappedObject) const -{ - return &( theWrappedObject->first()); -} - -void PythonQtWrapper_QXmlStreamAttributes::remove(QXmlStreamAttributes* theWrappedObject, int i) -{ - ( theWrappedObject->remove(i)); -} - -void PythonQtWrapper_QXmlStreamAttributes::reserve(QXmlStreamAttributes* theWrappedObject, int size) -{ - ( theWrappedObject->reserve(size)); -} - -void PythonQtWrapper_QXmlStreamAttributes::replace(QXmlStreamAttributes* theWrappedObject, int i, const QXmlStreamAttribute& t) -{ - ( theWrappedObject->replace(i, t)); -} - -bool PythonQtWrapper_QXmlStreamAttributes::empty(QXmlStreamAttributes* theWrappedObject) const -{ - return ( theWrappedObject->empty()); -} - -int PythonQtWrapper_QXmlStreamAttributes::count(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t) const -{ - return ( theWrappedObject->count(t)); -} - -void PythonQtWrapper_QXmlStreamAttributes::prepend(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t) -{ - ( theWrappedObject->prepend(t)); -} - -void PythonQtWrapper_QXmlStreamAttributes::remove(QXmlStreamAttributes* theWrappedObject, int i, int n) -{ - ( theWrappedObject->remove(i, n)); -} - -void PythonQtWrapper_QXmlStreamAttributes::append(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& attribute) -{ - ( theWrappedObject->append(attribute)); -} - -int PythonQtWrapper_QXmlStreamAttributes::capacity(QXmlStreamAttributes* theWrappedObject) const -{ - return ( theWrappedObject->capacity()); -} - -QStringRef PythonQtWrapper_QXmlStreamAttributes::value(QXmlStreamAttributes* theWrappedObject, const QString& qualifiedName) const -{ - return ( theWrappedObject->value(qualifiedName)); -} - -QVector PythonQtWrapper_QXmlStreamAttributes::mid(QXmlStreamAttributes* theWrappedObject, int pos, int length) const -{ - return ( theWrappedObject->mid(pos, length)); -} - -QStringRef PythonQtWrapper_QXmlStreamAttributes::value(QXmlStreamAttributes* theWrappedObject, const QString& namespaceUri, const QString& name) const -{ - return ( theWrappedObject->value(namespaceUri, name)); -} - -QVector* PythonQtWrapper_QXmlStreamAttributes::fill(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t, int size) -{ - return &( theWrappedObject->fill(t, size)); -} - -bool PythonQtWrapper_QXmlStreamAttributes::isEmpty(QXmlStreamAttributes* theWrappedObject) const -{ - return ( theWrappedObject->isEmpty()); -} - -int PythonQtWrapper_QXmlStreamAttributes::size(QXmlStreamAttributes* theWrappedObject) const -{ - return ( theWrappedObject->size()); -} - -void PythonQtWrapper_QXmlStreamAttributes::resize(QXmlStreamAttributes* theWrappedObject, int size) -{ - ( theWrappedObject->resize(size)); -} - -int PythonQtWrapper_QXmlStreamAttributes::lastIndexOf(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t, int from) const -{ - return ( theWrappedObject->lastIndexOf(t, from)); -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QXmlStreamAttributes.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QXmlStreamAttributes.h deleted file mode 100644 index 4e11a95..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QXmlStreamAttributes.h +++ /dev/null @@ -1,66 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QXMLSTREAMATTRIBUTES_H -#define PYTHONQTWRAPPER_QXMLSTREAMATTRIBUTES_H - -#include -#include - -#include - -#include -#include -#include -#include - -class PythonQtShell_QXmlStreamAttributes : public QXmlStreamAttributes -{ -public: - PythonQtShell_QXmlStreamAttributes():QXmlStreamAttributes(),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QXmlStreamAttributes : public QObject -{ Q_OBJECT -public: -public slots: -QXmlStreamAttributes* new_QXmlStreamAttributes(); -QXmlStreamAttributes* new_QXmlStreamAttributes(const QXmlStreamAttributes& other) { -PythonQtShell_QXmlStreamAttributes* a = new PythonQtShell_QXmlStreamAttributes(); -*((QXmlStreamAttributes*)a) = other; -return a; } -void delete_QXmlStreamAttributes(QXmlStreamAttributes* obj) { delete obj; } - void setSharable(QXmlStreamAttributes* theWrappedObject, bool sharable); - void squeeze(QXmlStreamAttributes* theWrappedObject); - void append(QXmlStreamAttributes* theWrappedObject, const QString& namespaceUri, const QString& name, const QString& value); - int count(QXmlStreamAttributes* theWrappedObject) const; - void append(QXmlStreamAttributes* theWrappedObject, const QString& qualifiedName, const QString& value); - bool contains(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t) const; - QList toList(QXmlStreamAttributes* theWrappedObject) const; - bool operator_equal(QXmlStreamAttributes* theWrappedObject, const QVector& v) const; - const QXmlStreamAttribute* at(QXmlStreamAttributes* theWrappedObject, int i) const; - void clear(QXmlStreamAttributes* theWrappedObject); - int indexOf(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t, int from) const; - QVector static_QXmlStreamAttributes_fromList(const QList& list); - const QXmlStreamAttribute* last(QXmlStreamAttributes* theWrappedObject) const; - const QXmlStreamAttribute* first(QXmlStreamAttributes* theWrappedObject) const; - void remove(QXmlStreamAttributes* theWrappedObject, int i); - void reserve(QXmlStreamAttributes* theWrappedObject, int size); - void replace(QXmlStreamAttributes* theWrappedObject, int i, const QXmlStreamAttribute& t); - bool empty(QXmlStreamAttributes* theWrappedObject) const; - int count(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t) const; - void prepend(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t); - void remove(QXmlStreamAttributes* theWrappedObject, int i, int n); - void append(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& attribute); - int capacity(QXmlStreamAttributes* theWrappedObject) const; - QStringRef value(QXmlStreamAttributes* theWrappedObject, const QString& qualifiedName) const; - QVector mid(QXmlStreamAttributes* theWrappedObject, int pos, int length) const; - QStringRef value(QXmlStreamAttributes* theWrappedObject, const QString& namespaceUri, const QString& name) const; - QVector* fill(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t, int size); - bool isEmpty(QXmlStreamAttributes* theWrappedObject) const; - int size(QXmlStreamAttributes* theWrappedObject) const; - void resize(QXmlStreamAttributes* theWrappedObject, int size); - int lastIndexOf(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t, int from) const; -}; - -#endif // PYTHONQTWRAPPER_QXMLSTREAMATTRIBUTES_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QXmlStreamEntityDeclaration.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QXmlStreamEntityDeclaration.cpp deleted file mode 100644 index a34aab8..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QXmlStreamEntityDeclaration.cpp +++ /dev/null @@ -1,46 +0,0 @@ -#include "PythonQtWrapper_QXmlStreamEntityDeclaration.h" - -#include -#include -#include -#include -#include - -QXmlStreamEntityDeclaration* PythonQtWrapper_QXmlStreamEntityDeclaration::new_QXmlStreamEntityDeclaration() -{ -return new QXmlStreamEntityDeclaration(); } - -QXmlStreamEntityDeclaration* PythonQtWrapper_QXmlStreamEntityDeclaration::new_QXmlStreamEntityDeclaration(const QXmlStreamEntityDeclaration& arg__1) -{ -return new QXmlStreamEntityDeclaration(arg__1); } - -QStringRef PythonQtWrapper_QXmlStreamEntityDeclaration::value(QXmlStreamEntityDeclaration* theWrappedObject) const -{ - return ( theWrappedObject->value()); -} - -QStringRef PythonQtWrapper_QXmlStreamEntityDeclaration::name(QXmlStreamEntityDeclaration* theWrappedObject) const -{ - return ( theWrappedObject->name()); -} - -QStringRef PythonQtWrapper_QXmlStreamEntityDeclaration::systemId(QXmlStreamEntityDeclaration* theWrappedObject) const -{ - return ( theWrappedObject->systemId()); -} - -QStringRef PythonQtWrapper_QXmlStreamEntityDeclaration::notationName(QXmlStreamEntityDeclaration* theWrappedObject) const -{ - return ( theWrappedObject->notationName()); -} - -bool PythonQtWrapper_QXmlStreamEntityDeclaration::operator_equal(QXmlStreamEntityDeclaration* theWrappedObject, const QXmlStreamEntityDeclaration& other) const -{ - return ( (*theWrappedObject)== other); -} - -QStringRef PythonQtWrapper_QXmlStreamEntityDeclaration::publicId(QXmlStreamEntityDeclaration* theWrappedObject) const -{ - return ( theWrappedObject->publicId()); -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QXmlStreamEntityDeclaration.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QXmlStreamEntityDeclaration.h deleted file mode 100644 index b53a91a..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QXmlStreamEntityDeclaration.h +++ /dev/null @@ -1,27 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QXMLSTREAMENTITYDECLARATION_H -#define PYTHONQTWRAPPER_QXMLSTREAMENTITYDECLARATION_H - -#include -#include - -#include - -#include -#include - -class PythonQtWrapper_QXmlStreamEntityDeclaration : public QObject -{ Q_OBJECT -public: -public slots: -QXmlStreamEntityDeclaration* new_QXmlStreamEntityDeclaration(); -QXmlStreamEntityDeclaration* new_QXmlStreamEntityDeclaration(const QXmlStreamEntityDeclaration& arg__1); -void delete_QXmlStreamEntityDeclaration(QXmlStreamEntityDeclaration* obj) { delete obj; } - QStringRef value(QXmlStreamEntityDeclaration* theWrappedObject) const; - QStringRef name(QXmlStreamEntityDeclaration* theWrappedObject) const; - QStringRef systemId(QXmlStreamEntityDeclaration* theWrappedObject) const; - QStringRef notationName(QXmlStreamEntityDeclaration* theWrappedObject) const; - bool operator_equal(QXmlStreamEntityDeclaration* theWrappedObject, const QXmlStreamEntityDeclaration& other) const; - QStringRef publicId(QXmlStreamEntityDeclaration* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QXMLSTREAMENTITYDECLARATION_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QXmlStreamEntityResolver.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QXmlStreamEntityResolver.cpp deleted file mode 100644 index 1e7773b..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QXmlStreamEntityResolver.cpp +++ /dev/null @@ -1,77 +0,0 @@ -#include "PythonQtWrapper_QXmlStreamEntityResolver.h" - -#include -#include -#include -#include - -QString PythonQtShell_QXmlStreamEntityResolver::resolveEntity(const QString& publicId, const QString& systemId) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resolveEntity"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QString" , "const QString&" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QString returnValue; - void* args[3] = {NULL, (void*)&publicId, (void*)&systemId}; - 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("resolveEntity", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QXmlStreamEntityResolver::resolveEntity(publicId, systemId); -} -QString PythonQtShell_QXmlStreamEntityResolver::resolveUndeclaredEntity(const QString& name) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resolveUndeclaredEntity"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QString" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QString returnValue; - void* args[2] = {NULL, (void*)&name}; - 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("resolveUndeclaredEntity", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QXmlStreamEntityResolver::resolveUndeclaredEntity(name); -} -QXmlStreamEntityResolver* PythonQtWrapper_QXmlStreamEntityResolver::new_QXmlStreamEntityResolver() -{ -return new PythonQtShell_QXmlStreamEntityResolver(); } - -QString PythonQtWrapper_QXmlStreamEntityResolver::resolveEntity(QXmlStreamEntityResolver* theWrappedObject, const QString& publicId, const QString& systemId) -{ - return ( ((PythonQtPublicPromoter_QXmlStreamEntityResolver*)theWrappedObject)->promoted_resolveEntity(publicId, systemId)); -} - -QString PythonQtWrapper_QXmlStreamEntityResolver::resolveUndeclaredEntity(QXmlStreamEntityResolver* theWrappedObject, const QString& name) -{ - return ( ((PythonQtPublicPromoter_QXmlStreamEntityResolver*)theWrappedObject)->promoted_resolveUndeclaredEntity(name)); -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QXmlStreamEntityResolver.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QXmlStreamEntityResolver.h deleted file mode 100644 index a7b6c3e..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QXmlStreamEntityResolver.h +++ /dev/null @@ -1,38 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QXMLSTREAMENTITYRESOLVER_H -#define PYTHONQTWRAPPER_QXMLSTREAMENTITYRESOLVER_H - -#include -#include - -#include - -#include - -class PythonQtShell_QXmlStreamEntityResolver : public QXmlStreamEntityResolver -{ -public: - PythonQtShell_QXmlStreamEntityResolver():QXmlStreamEntityResolver(),_wrapper(NULL) {}; - -virtual QString resolveEntity(const QString& publicId, const QString& systemId); -virtual QString resolveUndeclaredEntity(const QString& name); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QXmlStreamEntityResolver : public QXmlStreamEntityResolver -{ public: -inline QString promoted_resolveEntity(const QString& publicId, const QString& systemId) { return QXmlStreamEntityResolver::resolveEntity(publicId, systemId); } -inline QString promoted_resolveUndeclaredEntity(const QString& name) { return QXmlStreamEntityResolver::resolveUndeclaredEntity(name); } -}; - -class PythonQtWrapper_QXmlStreamEntityResolver : public QObject -{ Q_OBJECT -public: -public slots: -QXmlStreamEntityResolver* new_QXmlStreamEntityResolver(); -void delete_QXmlStreamEntityResolver(QXmlStreamEntityResolver* obj) { delete obj; } - QString resolveEntity(QXmlStreamEntityResolver* theWrappedObject, const QString& publicId, const QString& systemId); - QString resolveUndeclaredEntity(QXmlStreamEntityResolver* theWrappedObject, const QString& name); -}; - -#endif // PYTHONQTWRAPPER_QXMLSTREAMENTITYRESOLVER_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QXmlStreamNamespaceDeclaration.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QXmlStreamNamespaceDeclaration.cpp deleted file mode 100644 index 84ea8a9..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QXmlStreamNamespaceDeclaration.cpp +++ /dev/null @@ -1,35 +0,0 @@ -#include "PythonQtWrapper_QXmlStreamNamespaceDeclaration.h" - -#include -#include -#include -#include -#include - -QXmlStreamNamespaceDeclaration* PythonQtWrapper_QXmlStreamNamespaceDeclaration::new_QXmlStreamNamespaceDeclaration() -{ -return new QXmlStreamNamespaceDeclaration(); } - -QXmlStreamNamespaceDeclaration* PythonQtWrapper_QXmlStreamNamespaceDeclaration::new_QXmlStreamNamespaceDeclaration(const QString& prefix, const QString& namespaceUri) -{ -return new QXmlStreamNamespaceDeclaration(prefix, namespaceUri); } - -QXmlStreamNamespaceDeclaration* PythonQtWrapper_QXmlStreamNamespaceDeclaration::new_QXmlStreamNamespaceDeclaration(const QXmlStreamNamespaceDeclaration& arg__1) -{ -return new QXmlStreamNamespaceDeclaration(arg__1); } - -bool PythonQtWrapper_QXmlStreamNamespaceDeclaration::operator_equal(QXmlStreamNamespaceDeclaration* theWrappedObject, const QXmlStreamNamespaceDeclaration& other) const -{ - return ( (*theWrappedObject)== other); -} - -QStringRef PythonQtWrapper_QXmlStreamNamespaceDeclaration::prefix(QXmlStreamNamespaceDeclaration* theWrappedObject) const -{ - return ( theWrappedObject->prefix()); -} - -QStringRef PythonQtWrapper_QXmlStreamNamespaceDeclaration::namespaceUri(QXmlStreamNamespaceDeclaration* theWrappedObject) const -{ - return ( theWrappedObject->namespaceUri()); -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QXmlStreamNamespaceDeclaration.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QXmlStreamNamespaceDeclaration.h deleted file mode 100644 index a84893a..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QXmlStreamNamespaceDeclaration.h +++ /dev/null @@ -1,25 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QXMLSTREAMNAMESPACEDECLARATION_H -#define PYTHONQTWRAPPER_QXMLSTREAMNAMESPACEDECLARATION_H - -#include -#include - -#include - -#include -#include - -class PythonQtWrapper_QXmlStreamNamespaceDeclaration : public QObject -{ Q_OBJECT -public: -public slots: -QXmlStreamNamespaceDeclaration* new_QXmlStreamNamespaceDeclaration(); -QXmlStreamNamespaceDeclaration* new_QXmlStreamNamespaceDeclaration(const QString& prefix, const QString& namespaceUri); -QXmlStreamNamespaceDeclaration* new_QXmlStreamNamespaceDeclaration(const QXmlStreamNamespaceDeclaration& arg__1); -void delete_QXmlStreamNamespaceDeclaration(QXmlStreamNamespaceDeclaration* obj) { delete obj; } - bool operator_equal(QXmlStreamNamespaceDeclaration* theWrappedObject, const QXmlStreamNamespaceDeclaration& other) const; - QStringRef prefix(QXmlStreamNamespaceDeclaration* theWrappedObject) const; - QStringRef namespaceUri(QXmlStreamNamespaceDeclaration* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QXMLSTREAMNAMESPACEDECLARATION_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QXmlStreamNotationDeclaration.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QXmlStreamNotationDeclaration.cpp deleted file mode 100644 index 4a5444c..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QXmlStreamNotationDeclaration.cpp +++ /dev/null @@ -1,36 +0,0 @@ -#include "PythonQtWrapper_QXmlStreamNotationDeclaration.h" - -#include -#include -#include -#include -#include - -QXmlStreamNotationDeclaration* PythonQtWrapper_QXmlStreamNotationDeclaration::new_QXmlStreamNotationDeclaration() -{ -return new QXmlStreamNotationDeclaration(); } - -QXmlStreamNotationDeclaration* PythonQtWrapper_QXmlStreamNotationDeclaration::new_QXmlStreamNotationDeclaration(const QXmlStreamNotationDeclaration& arg__1) -{ -return new QXmlStreamNotationDeclaration(arg__1); } - -bool PythonQtWrapper_QXmlStreamNotationDeclaration::operator_equal(QXmlStreamNotationDeclaration* theWrappedObject, const QXmlStreamNotationDeclaration& other) const -{ - return ( (*theWrappedObject)== other); -} - -QStringRef PythonQtWrapper_QXmlStreamNotationDeclaration::name(QXmlStreamNotationDeclaration* theWrappedObject) const -{ - return ( theWrappedObject->name()); -} - -QStringRef PythonQtWrapper_QXmlStreamNotationDeclaration::systemId(QXmlStreamNotationDeclaration* theWrappedObject) const -{ - return ( theWrappedObject->systemId()); -} - -QStringRef PythonQtWrapper_QXmlStreamNotationDeclaration::publicId(QXmlStreamNotationDeclaration* theWrappedObject) const -{ - return ( theWrappedObject->publicId()); -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QXmlStreamNotationDeclaration.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QXmlStreamNotationDeclaration.h deleted file mode 100644 index 46ec0e0..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QXmlStreamNotationDeclaration.h +++ /dev/null @@ -1,25 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QXMLSTREAMNOTATIONDECLARATION_H -#define PYTHONQTWRAPPER_QXMLSTREAMNOTATIONDECLARATION_H - -#include -#include - -#include - -#include -#include - -class PythonQtWrapper_QXmlStreamNotationDeclaration : public QObject -{ Q_OBJECT -public: -public slots: -QXmlStreamNotationDeclaration* new_QXmlStreamNotationDeclaration(); -QXmlStreamNotationDeclaration* new_QXmlStreamNotationDeclaration(const QXmlStreamNotationDeclaration& arg__1); -void delete_QXmlStreamNotationDeclaration(QXmlStreamNotationDeclaration* obj) { delete obj; } - bool operator_equal(QXmlStreamNotationDeclaration* theWrappedObject, const QXmlStreamNotationDeclaration& other) const; - QStringRef name(QXmlStreamNotationDeclaration* theWrappedObject) const; - QStringRef systemId(QXmlStreamNotationDeclaration* theWrappedObject) const; - QStringRef publicId(QXmlStreamNotationDeclaration* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QXMLSTREAMNOTATIONDECLARATION_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QXmlStreamReader.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QXmlStreamReader.cpp deleted file mode 100644 index d9561df..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QXmlStreamReader.cpp +++ /dev/null @@ -1,282 +0,0 @@ -#include "PythonQtWrapper_QXmlStreamReader.h" - -#include -#include -#include -#include -#include -#include -#include -#include - -QXmlStreamReader* PythonQtWrapper_QXmlStreamReader::new_QXmlStreamReader() -{ -return new QXmlStreamReader(); } - -QXmlStreamReader* PythonQtWrapper_QXmlStreamReader::new_QXmlStreamReader(QIODevice* device) -{ -return new QXmlStreamReader(device); } - -QXmlStreamReader* PythonQtWrapper_QXmlStreamReader::new_QXmlStreamReader(const QByteArray& data) -{ -return new QXmlStreamReader(data); } - -QXmlStreamReader* PythonQtWrapper_QXmlStreamReader::new_QXmlStreamReader(const QString& data) -{ -return new QXmlStreamReader(data); } - -QStringRef PythonQtWrapper_QXmlStreamReader::qualifiedName(QXmlStreamReader* theWrappedObject) const -{ - return ( theWrappedObject->qualifiedName()); -} - -void PythonQtWrapper_QXmlStreamReader::setDevice(QXmlStreamReader* theWrappedObject, QIODevice* device) -{ - ( theWrappedObject->setDevice(device)); -} - -QStringRef PythonQtWrapper_QXmlStreamReader::dtdName(QXmlStreamReader* theWrappedObject) const -{ - return ( theWrappedObject->dtdName()); -} - -bool PythonQtWrapper_QXmlStreamReader::isProcessingInstruction(QXmlStreamReader* theWrappedObject) const -{ - return ( theWrappedObject->isProcessingInstruction()); -} - -bool PythonQtWrapper_QXmlStreamReader::isEndElement(QXmlStreamReader* theWrappedObject) const -{ - return ( theWrappedObject->isEndElement()); -} - -bool PythonQtWrapper_QXmlStreamReader::isStandaloneDocument(QXmlStreamReader* theWrappedObject) const -{ - return ( theWrappedObject->isStandaloneDocument()); -} - -QStringRef PythonQtWrapper_QXmlStreamReader::dtdPublicId(QXmlStreamReader* theWrappedObject) const -{ - return ( theWrappedObject->dtdPublicId()); -} - -QXmlStreamReader::Error PythonQtWrapper_QXmlStreamReader::error(QXmlStreamReader* theWrappedObject) const -{ - return ( theWrappedObject->error()); -} - -bool PythonQtWrapper_QXmlStreamReader::isEntityReference(QXmlStreamReader* theWrappedObject) const -{ - return ( theWrappedObject->isEntityReference()); -} - -QXmlStreamEntityResolver* PythonQtWrapper_QXmlStreamReader::entityResolver(QXmlStreamReader* theWrappedObject) const -{ - return ( theWrappedObject->entityResolver()); -} - -bool PythonQtWrapper_QXmlStreamReader::isCDATA(QXmlStreamReader* theWrappedObject) const -{ - return ( theWrappedObject->isCDATA()); -} - -QStringRef PythonQtWrapper_QXmlStreamReader::documentEncoding(QXmlStreamReader* theWrappedObject) const -{ - return ( theWrappedObject->documentEncoding()); -} - -QXmlStreamAttributes PythonQtWrapper_QXmlStreamReader::attributes(QXmlStreamReader* theWrappedObject) const -{ - return ( theWrappedObject->attributes()); -} - -QStringRef PythonQtWrapper_QXmlStreamReader::documentVersion(QXmlStreamReader* theWrappedObject) const -{ - return ( theWrappedObject->documentVersion()); -} - -qint64 PythonQtWrapper_QXmlStreamReader::lineNumber(QXmlStreamReader* theWrappedObject) const -{ - return ( theWrappedObject->lineNumber()); -} - -QVector PythonQtWrapper_QXmlStreamReader::namespaceDeclarations(QXmlStreamReader* theWrappedObject) const -{ - return ( theWrappedObject->namespaceDeclarations()); -} - -QXmlStreamReader::TokenType PythonQtWrapper_QXmlStreamReader::tokenType(QXmlStreamReader* theWrappedObject) const -{ - return ( theWrappedObject->tokenType()); -} - -void PythonQtWrapper_QXmlStreamReader::setNamespaceProcessing(QXmlStreamReader* theWrappedObject, bool arg__1) -{ - ( theWrappedObject->setNamespaceProcessing(arg__1)); -} - -QStringRef PythonQtWrapper_QXmlStreamReader::namespaceUri(QXmlStreamReader* theWrappedObject) const -{ - return ( theWrappedObject->namespaceUri()); -} - -QStringRef PythonQtWrapper_QXmlStreamReader::text(QXmlStreamReader* theWrappedObject) const -{ - return ( theWrappedObject->text()); -} - -void PythonQtWrapper_QXmlStreamReader::addData(QXmlStreamReader* theWrappedObject, const QString& data) -{ - ( theWrappedObject->addData(data)); -} - -bool PythonQtWrapper_QXmlStreamReader::hasError(QXmlStreamReader* theWrappedObject) const -{ - return ( theWrappedObject->hasError()); -} - -bool PythonQtWrapper_QXmlStreamReader::isDTD(QXmlStreamReader* theWrappedObject) const -{ - return ( theWrappedObject->isDTD()); -} - -QString PythonQtWrapper_QXmlStreamReader::readElementText(QXmlStreamReader* theWrappedObject) -{ - return ( theWrappedObject->readElementText()); -} - -bool PythonQtWrapper_QXmlStreamReader::isEndDocument(QXmlStreamReader* theWrappedObject) const -{ - return ( theWrappedObject->isEndDocument()); -} - -bool PythonQtWrapper_QXmlStreamReader::isStartDocument(QXmlStreamReader* theWrappedObject) const -{ - return ( theWrappedObject->isStartDocument()); -} - -void PythonQtWrapper_QXmlStreamReader::addData(QXmlStreamReader* theWrappedObject, const QByteArray& data) -{ - ( theWrappedObject->addData(data)); -} - -QVector PythonQtWrapper_QXmlStreamReader::notationDeclarations(QXmlStreamReader* theWrappedObject) const -{ - return ( theWrappedObject->notationDeclarations()); -} - -QStringRef PythonQtWrapper_QXmlStreamReader::processingInstructionTarget(QXmlStreamReader* theWrappedObject) const -{ - return ( theWrappedObject->processingInstructionTarget()); -} - -QString PythonQtWrapper_QXmlStreamReader::tokenString(QXmlStreamReader* theWrappedObject) const -{ - return ( theWrappedObject->tokenString()); -} - -void PythonQtWrapper_QXmlStreamReader::setEntityResolver(QXmlStreamReader* theWrappedObject, QXmlStreamEntityResolver* resolver) -{ - ( theWrappedObject->setEntityResolver(resolver)); -} - -void PythonQtWrapper_QXmlStreamReader::addExtraNamespaceDeclarations(QXmlStreamReader* theWrappedObject, const QVector& extraNamespaceDeclaractions) -{ - ( theWrappedObject->addExtraNamespaceDeclarations(extraNamespaceDeclaractions)); -} - -QIODevice* PythonQtWrapper_QXmlStreamReader::device(QXmlStreamReader* theWrappedObject) const -{ - return ( theWrappedObject->device()); -} - -void PythonQtWrapper_QXmlStreamReader::addExtraNamespaceDeclaration(QXmlStreamReader* theWrappedObject, const QXmlStreamNamespaceDeclaration& extraNamespaceDeclaraction) -{ - ( theWrappedObject->addExtraNamespaceDeclaration(extraNamespaceDeclaraction)); -} - -bool PythonQtWrapper_QXmlStreamReader::atEnd(QXmlStreamReader* theWrappedObject) const -{ - return ( theWrappedObject->atEnd()); -} - -bool PythonQtWrapper_QXmlStreamReader::isWhitespace(QXmlStreamReader* theWrappedObject) const -{ - return ( theWrappedObject->isWhitespace()); -} - -QStringRef PythonQtWrapper_QXmlStreamReader::dtdSystemId(QXmlStreamReader* theWrappedObject) const -{ - return ( theWrappedObject->dtdSystemId()); -} - -QStringRef PythonQtWrapper_QXmlStreamReader::processingInstructionData(QXmlStreamReader* theWrappedObject) const -{ - return ( theWrappedObject->processingInstructionData()); -} - -void PythonQtWrapper_QXmlStreamReader::clear(QXmlStreamReader* theWrappedObject) -{ - ( theWrappedObject->clear()); -} - -QString PythonQtWrapper_QXmlStreamReader::errorString(QXmlStreamReader* theWrappedObject) const -{ - return ( theWrappedObject->errorString()); -} - -qint64 PythonQtWrapper_QXmlStreamReader::columnNumber(QXmlStreamReader* theWrappedObject) const -{ - return ( theWrappedObject->columnNumber()); -} - -bool PythonQtWrapper_QXmlStreamReader::isStartElement(QXmlStreamReader* theWrappedObject) const -{ - return ( theWrappedObject->isStartElement()); -} - -void PythonQtWrapper_QXmlStreamReader::raiseError(QXmlStreamReader* theWrappedObject, const QString& message) -{ - ( theWrappedObject->raiseError(message)); -} - -QStringRef PythonQtWrapper_QXmlStreamReader::prefix(QXmlStreamReader* theWrappedObject) const -{ - return ( theWrappedObject->prefix()); -} - -QXmlStreamReader::TokenType PythonQtWrapper_QXmlStreamReader::readNext(QXmlStreamReader* theWrappedObject) -{ - return ( theWrappedObject->readNext()); -} - -bool PythonQtWrapper_QXmlStreamReader::isComment(QXmlStreamReader* theWrappedObject) const -{ - return ( theWrappedObject->isComment()); -} - -bool PythonQtWrapper_QXmlStreamReader::isCharacters(QXmlStreamReader* theWrappedObject) const -{ - return ( theWrappedObject->isCharacters()); -} - -bool PythonQtWrapper_QXmlStreamReader::namespaceProcessing(QXmlStreamReader* theWrappedObject) const -{ - return ( theWrappedObject->namespaceProcessing()); -} - -QVector PythonQtWrapper_QXmlStreamReader::entityDeclarations(QXmlStreamReader* theWrappedObject) const -{ - return ( theWrappedObject->entityDeclarations()); -} - -QStringRef PythonQtWrapper_QXmlStreamReader::name(QXmlStreamReader* theWrappedObject) const -{ - return ( theWrappedObject->name()); -} - -qint64 PythonQtWrapper_QXmlStreamReader::characterOffset(QXmlStreamReader* theWrappedObject) const -{ - return ( theWrappedObject->characterOffset()); -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QXmlStreamReader.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QXmlStreamReader.h deleted file mode 100644 index 779868c..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QXmlStreamReader.h +++ /dev/null @@ -1,82 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QXMLSTREAMREADER_H -#define PYTHONQTWRAPPER_QXMLSTREAMREADER_H - -#include -#include - -#include - -#include -#include -#include -#include -#include - -class PythonQtWrapper_QXmlStreamReader : public QObject -{ Q_OBJECT -public: -Q_ENUMS(Error TokenType ) -enum Error{ - NoError = QXmlStreamReader::NoError, UnexpectedElementError = QXmlStreamReader::UnexpectedElementError, CustomError = QXmlStreamReader::CustomError, NotWellFormedError = QXmlStreamReader::NotWellFormedError, PrematureEndOfDocumentError = QXmlStreamReader::PrematureEndOfDocumentError}; -enum TokenType{ - NoToken = QXmlStreamReader::NoToken, Invalid = QXmlStreamReader::Invalid, StartDocument = QXmlStreamReader::StartDocument, EndDocument = QXmlStreamReader::EndDocument, StartElement = QXmlStreamReader::StartElement, EndElement = QXmlStreamReader::EndElement, Characters = QXmlStreamReader::Characters, Comment = QXmlStreamReader::Comment, DTD = QXmlStreamReader::DTD, EntityReference = QXmlStreamReader::EntityReference, ProcessingInstruction = QXmlStreamReader::ProcessingInstruction}; -public slots: -QXmlStreamReader* new_QXmlStreamReader(); -QXmlStreamReader* new_QXmlStreamReader(QIODevice* device); -QXmlStreamReader* new_QXmlStreamReader(const QByteArray& data); -QXmlStreamReader* new_QXmlStreamReader(const QString& data); -void delete_QXmlStreamReader(QXmlStreamReader* obj) { delete obj; } - QStringRef qualifiedName(QXmlStreamReader* theWrappedObject) const; - void setDevice(QXmlStreamReader* theWrappedObject, QIODevice* device); - QStringRef dtdName(QXmlStreamReader* theWrappedObject) const; - bool isProcessingInstruction(QXmlStreamReader* theWrappedObject) const; - bool isEndElement(QXmlStreamReader* theWrappedObject) const; - bool isStandaloneDocument(QXmlStreamReader* theWrappedObject) const; - QStringRef dtdPublicId(QXmlStreamReader* theWrappedObject) const; - QXmlStreamReader::Error error(QXmlStreamReader* theWrappedObject) const; - bool isEntityReference(QXmlStreamReader* theWrappedObject) const; - QXmlStreamEntityResolver* entityResolver(QXmlStreamReader* theWrappedObject) const; - bool isCDATA(QXmlStreamReader* theWrappedObject) const; - QStringRef documentEncoding(QXmlStreamReader* theWrappedObject) const; - QXmlStreamAttributes attributes(QXmlStreamReader* theWrappedObject) const; - QStringRef documentVersion(QXmlStreamReader* theWrappedObject) const; - qint64 lineNumber(QXmlStreamReader* theWrappedObject) const; - QVector namespaceDeclarations(QXmlStreamReader* theWrappedObject) const; - QXmlStreamReader::TokenType tokenType(QXmlStreamReader* theWrappedObject) const; - void setNamespaceProcessing(QXmlStreamReader* theWrappedObject, bool arg__1); - QStringRef namespaceUri(QXmlStreamReader* theWrappedObject) const; - QStringRef text(QXmlStreamReader* theWrappedObject) const; - void addData(QXmlStreamReader* theWrappedObject, const QString& data); - bool hasError(QXmlStreamReader* theWrappedObject) const; - bool isDTD(QXmlStreamReader* theWrappedObject) const; - QString readElementText(QXmlStreamReader* theWrappedObject); - bool isEndDocument(QXmlStreamReader* theWrappedObject) const; - bool isStartDocument(QXmlStreamReader* theWrappedObject) const; - void addData(QXmlStreamReader* theWrappedObject, const QByteArray& data); - QVector notationDeclarations(QXmlStreamReader* theWrappedObject) const; - QStringRef processingInstructionTarget(QXmlStreamReader* theWrappedObject) const; - QString tokenString(QXmlStreamReader* theWrappedObject) const; - void setEntityResolver(QXmlStreamReader* theWrappedObject, QXmlStreamEntityResolver* resolver); - void addExtraNamespaceDeclarations(QXmlStreamReader* theWrappedObject, const QVector& extraNamespaceDeclaractions); - QIODevice* device(QXmlStreamReader* theWrappedObject) const; - void addExtraNamespaceDeclaration(QXmlStreamReader* theWrappedObject, const QXmlStreamNamespaceDeclaration& extraNamespaceDeclaraction); - bool atEnd(QXmlStreamReader* theWrappedObject) const; - bool isWhitespace(QXmlStreamReader* theWrappedObject) const; - QStringRef dtdSystemId(QXmlStreamReader* theWrappedObject) const; - QStringRef processingInstructionData(QXmlStreamReader* theWrappedObject) const; - void clear(QXmlStreamReader* theWrappedObject); - QString errorString(QXmlStreamReader* theWrappedObject) const; - qint64 columnNumber(QXmlStreamReader* theWrappedObject) const; - bool isStartElement(QXmlStreamReader* theWrappedObject) const; - void raiseError(QXmlStreamReader* theWrappedObject, const QString& message = QString()); - QStringRef prefix(QXmlStreamReader* theWrappedObject) const; - QXmlStreamReader::TokenType readNext(QXmlStreamReader* theWrappedObject); - bool isComment(QXmlStreamReader* theWrappedObject) const; - bool isCharacters(QXmlStreamReader* theWrappedObject) const; - bool namespaceProcessing(QXmlStreamReader* theWrappedObject) const; - QVector entityDeclarations(QXmlStreamReader* theWrappedObject) const; - QStringRef name(QXmlStreamReader* theWrappedObject) const; - qint64 characterOffset(QXmlStreamReader* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QXMLSTREAMREADER_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QXmlStreamWriter.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QXmlStreamWriter.cpp deleted file mode 100644 index d344a91..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QXmlStreamWriter.cpp +++ /dev/null @@ -1,183 +0,0 @@ -#include "PythonQtWrapper_QXmlStreamWriter.h" - -#include -#include -#include -#include -#include -#include -#include -#include - -QXmlStreamWriter* PythonQtWrapper_QXmlStreamWriter::new_QXmlStreamWriter() -{ -return new QXmlStreamWriter(); } - -QXmlStreamWriter* PythonQtWrapper_QXmlStreamWriter::new_QXmlStreamWriter(QByteArray* array) -{ -return new QXmlStreamWriter(array); } - -QXmlStreamWriter* PythonQtWrapper_QXmlStreamWriter::new_QXmlStreamWriter(QIODevice* device) -{ -return new QXmlStreamWriter(device); } - -void PythonQtWrapper_QXmlStreamWriter::setAutoFormattingIndent(QXmlStreamWriter* theWrappedObject, int spaces) -{ - ( theWrappedObject->setAutoFormattingIndent(spaces)); -} - -void PythonQtWrapper_QXmlStreamWriter::writeCharacters(QXmlStreamWriter* theWrappedObject, const QString& text) -{ - ( theWrappedObject->writeCharacters(text)); -} - -void PythonQtWrapper_QXmlStreamWriter::writeEndDocument(QXmlStreamWriter* theWrappedObject) -{ - ( theWrappedObject->writeEndDocument()); -} - -void PythonQtWrapper_QXmlStreamWriter::setDevice(QXmlStreamWriter* theWrappedObject, QIODevice* device) -{ - ( theWrappedObject->setDevice(device)); -} - -void PythonQtWrapper_QXmlStreamWriter::writeAttribute(QXmlStreamWriter* theWrappedObject, const QString& namespaceUri, const QString& name, const QString& value) -{ - ( theWrappedObject->writeAttribute(namespaceUri, name, value)); -} - -void PythonQtWrapper_QXmlStreamWriter::writeEmptyElement(QXmlStreamWriter* theWrappedObject, const QString& namespaceUri, const QString& name) -{ - ( theWrappedObject->writeEmptyElement(namespaceUri, name)); -} - -void PythonQtWrapper_QXmlStreamWriter::writeStartElement(QXmlStreamWriter* theWrappedObject, const QString& namespaceUri, const QString& name) -{ - ( theWrappedObject->writeStartElement(namespaceUri, name)); -} - -void PythonQtWrapper_QXmlStreamWriter::writeTextElement(QXmlStreamWriter* theWrappedObject, const QString& namespaceUri, const QString& name, const QString& text) -{ - ( theWrappedObject->writeTextElement(namespaceUri, name, text)); -} - -void PythonQtWrapper_QXmlStreamWriter::writeTextElement(QXmlStreamWriter* theWrappedObject, const QString& qualifiedName, const QString& text) -{ - ( theWrappedObject->writeTextElement(qualifiedName, text)); -} - -void PythonQtWrapper_QXmlStreamWriter::writeAttribute(QXmlStreamWriter* theWrappedObject, const QString& qualifiedName, const QString& value) -{ - ( theWrappedObject->writeAttribute(qualifiedName, value)); -} - -void PythonQtWrapper_QXmlStreamWriter::writeAttribute(QXmlStreamWriter* theWrappedObject, const QXmlStreamAttribute& attribute) -{ - ( theWrappedObject->writeAttribute(attribute)); -} - -void PythonQtWrapper_QXmlStreamWriter::writeEmptyElement(QXmlStreamWriter* theWrappedObject, const QString& qualifiedName) -{ - ( theWrappedObject->writeEmptyElement(qualifiedName)); -} - -void PythonQtWrapper_QXmlStreamWriter::writeStartElement(QXmlStreamWriter* theWrappedObject, const QString& qualifiedName) -{ - ( theWrappedObject->writeStartElement(qualifiedName)); -} - -void PythonQtWrapper_QXmlStreamWriter::writeCDATA(QXmlStreamWriter* theWrappedObject, const QString& text) -{ - ( theWrappedObject->writeCDATA(text)); -} - -QTextCodec* PythonQtWrapper_QXmlStreamWriter::codec(QXmlStreamWriter* theWrappedObject) const -{ - return ( theWrappedObject->codec()); -} - -void PythonQtWrapper_QXmlStreamWriter::writeCurrentToken(QXmlStreamWriter* theWrappedObject, const QXmlStreamReader& reader) -{ - ( theWrappedObject->writeCurrentToken(reader)); -} - -void PythonQtWrapper_QXmlStreamWriter::writeAttributes(QXmlStreamWriter* theWrappedObject, const QXmlStreamAttributes& attributes) -{ - ( theWrappedObject->writeAttributes(attributes)); -} - -int PythonQtWrapper_QXmlStreamWriter::autoFormattingIndent(QXmlStreamWriter* theWrappedObject) const -{ - return ( theWrappedObject->autoFormattingIndent()); -} - -void PythonQtWrapper_QXmlStreamWriter::writeComment(QXmlStreamWriter* theWrappedObject, const QString& text) -{ - ( theWrappedObject->writeComment(text)); -} - -void PythonQtWrapper_QXmlStreamWriter::writeDefaultNamespace(QXmlStreamWriter* theWrappedObject, const QString& namespaceUri) -{ - ( theWrappedObject->writeDefaultNamespace(namespaceUri)); -} - -bool PythonQtWrapper_QXmlStreamWriter::autoFormatting(QXmlStreamWriter* theWrappedObject) const -{ - return ( theWrappedObject->autoFormatting()); -} - -void PythonQtWrapper_QXmlStreamWriter::setCodec(QXmlStreamWriter* theWrappedObject, QTextCodec* codec) -{ - ( theWrappedObject->setCodec(codec)); -} - -void PythonQtWrapper_QXmlStreamWriter::writeEntityReference(QXmlStreamWriter* theWrappedObject, const QString& name) -{ - ( theWrappedObject->writeEntityReference(name)); -} - -void PythonQtWrapper_QXmlStreamWriter::writeStartDocument(QXmlStreamWriter* theWrappedObject, const QString& version) -{ - ( theWrappedObject->writeStartDocument(version)); -} - -void PythonQtWrapper_QXmlStreamWriter::setAutoFormatting(QXmlStreamWriter* theWrappedObject, bool arg__1) -{ - ( theWrappedObject->setAutoFormatting(arg__1)); -} - -QIODevice* PythonQtWrapper_QXmlStreamWriter::device(QXmlStreamWriter* theWrappedObject) const -{ - return ( theWrappedObject->device()); -} - -void PythonQtWrapper_QXmlStreamWriter::setCodec(QXmlStreamWriter* theWrappedObject, const char* codecName) -{ - ( theWrappedObject->setCodec(codecName)); -} - -void PythonQtWrapper_QXmlStreamWriter::writeNamespace(QXmlStreamWriter* theWrappedObject, const QString& namespaceUri, const QString& prefix) -{ - ( theWrappedObject->writeNamespace(namespaceUri, prefix)); -} - -void PythonQtWrapper_QXmlStreamWriter::writeEndElement(QXmlStreamWriter* theWrappedObject) -{ - ( theWrappedObject->writeEndElement()); -} - -void PythonQtWrapper_QXmlStreamWriter::writeProcessingInstruction(QXmlStreamWriter* theWrappedObject, const QString& target, const QString& data) -{ - ( theWrappedObject->writeProcessingInstruction(target, data)); -} - -void PythonQtWrapper_QXmlStreamWriter::writeDTD(QXmlStreamWriter* theWrappedObject, const QString& dtd) -{ - ( theWrappedObject->writeDTD(dtd)); -} - -void PythonQtWrapper_QXmlStreamWriter::writeStartDocument(QXmlStreamWriter* theWrappedObject) -{ - ( theWrappedObject->writeStartDocument()); -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QXmlStreamWriter.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QXmlStreamWriter.h deleted file mode 100644 index e9a2349..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QXmlStreamWriter.h +++ /dev/null @@ -1,57 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QXMLSTREAMWRITER_H -#define PYTHONQTWRAPPER_QXMLSTREAMWRITER_H - -#include -#include - -#include - -#include -#include -#include -#include -#include - -class PythonQtWrapper_QXmlStreamWriter : public QObject -{ Q_OBJECT -public: -public slots: -QXmlStreamWriter* new_QXmlStreamWriter(); -QXmlStreamWriter* new_QXmlStreamWriter(QByteArray* array); -QXmlStreamWriter* new_QXmlStreamWriter(QIODevice* device); -void delete_QXmlStreamWriter(QXmlStreamWriter* obj) { delete obj; } - void setAutoFormattingIndent(QXmlStreamWriter* theWrappedObject, int spaces); - void writeCharacters(QXmlStreamWriter* theWrappedObject, const QString& text); - void writeEndDocument(QXmlStreamWriter* theWrappedObject); - void setDevice(QXmlStreamWriter* theWrappedObject, QIODevice* device); - void writeAttribute(QXmlStreamWriter* theWrappedObject, const QString& namespaceUri, const QString& name, const QString& value); - void writeEmptyElement(QXmlStreamWriter* theWrappedObject, const QString& namespaceUri, const QString& name); - void writeStartElement(QXmlStreamWriter* theWrappedObject, const QString& namespaceUri, const QString& name); - void writeTextElement(QXmlStreamWriter* theWrappedObject, const QString& namespaceUri, const QString& name, const QString& text); - void writeTextElement(QXmlStreamWriter* theWrappedObject, const QString& qualifiedName, const QString& text); - void writeAttribute(QXmlStreamWriter* theWrappedObject, const QString& qualifiedName, const QString& value); - void writeAttribute(QXmlStreamWriter* theWrappedObject, const QXmlStreamAttribute& attribute); - void writeEmptyElement(QXmlStreamWriter* theWrappedObject, const QString& qualifiedName); - void writeStartElement(QXmlStreamWriter* theWrappedObject, const QString& qualifiedName); - void writeCDATA(QXmlStreamWriter* theWrappedObject, const QString& text); - QTextCodec* codec(QXmlStreamWriter* theWrappedObject) const; - void writeCurrentToken(QXmlStreamWriter* theWrappedObject, const QXmlStreamReader& reader); - void writeAttributes(QXmlStreamWriter* theWrappedObject, const QXmlStreamAttributes& attributes); - int autoFormattingIndent(QXmlStreamWriter* theWrappedObject) const; - void writeComment(QXmlStreamWriter* theWrappedObject, const QString& text); - void writeDefaultNamespace(QXmlStreamWriter* theWrappedObject, const QString& namespaceUri); - bool autoFormatting(QXmlStreamWriter* theWrappedObject) const; - void setCodec(QXmlStreamWriter* theWrappedObject, QTextCodec* codec); - void writeEntityReference(QXmlStreamWriter* theWrappedObject, const QString& name); - void writeStartDocument(QXmlStreamWriter* theWrappedObject, const QString& version); - void setAutoFormatting(QXmlStreamWriter* theWrappedObject, bool arg__1); - QIODevice* device(QXmlStreamWriter* theWrappedObject) const; - void setCodec(QXmlStreamWriter* theWrappedObject, const char* codecName); - void writeNamespace(QXmlStreamWriter* theWrappedObject, const QString& namespaceUri, const QString& prefix = QString()); - void writeEndElement(QXmlStreamWriter* theWrappedObject); - void writeProcessingInstruction(QXmlStreamWriter* theWrappedObject, const QString& target, const QString& data = QString()); - void writeDTD(QXmlStreamWriter* theWrappedObject, const QString& dtd); - void writeStartDocument(QXmlStreamWriter* theWrappedObject); -}; - -#endif // PYTHONQTWRAPPER_QXMLSTREAMWRITER_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_Qt.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_Qt.cpp deleted file mode 100644 index 2a0b3f7..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_Qt.cpp +++ /dev/null @@ -1,30 +0,0 @@ -#include "PythonQtWrapper_Qt.h" - -#include -#include -#include -#include -#include -#include -#include - -QString PythonQtWrapper_Qt::static_Qt_convertFromPlainText(const QString& plain, Qt::WhiteSpaceMode mode) -{ - return (Qt::convertFromPlainText(plain, mode)); -} - -QString PythonQtWrapper_Qt::static_Qt_escape(const QString& plain) -{ - return (Qt::escape(plain)); -} - -bool PythonQtWrapper_Qt::static_Qt_mightBeRichText(const QString& arg__1) -{ - return (Qt::mightBeRichText(arg__1)); -} - -QTextCodec* PythonQtWrapper_Qt::static_Qt_codecForHtml(const QByteArray& ba) -{ - return (Qt::codecForHtml(ba)); -} - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_Qt.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_Qt.h deleted file mode 100644 index 5a32369..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_Qt.h +++ /dev/null @@ -1,165 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QT_H -#define PYTHONQTWRAPPER_QT_H - -#include -#include - -#include - -#include -#include -#include -#include - -class PythonQtWrapper_Qt : public QObject -{ Q_OBJECT -public: -Q_ENUMS(CursorShape Corner Axis Orientation LayoutDirection BGMode AspectRatioMode TextElideMode SizeMode WindowType ItemDataRole SortOrder MatchFlag PenJoinStyle CaseSensitivity BrushStyle ClipOperation FocusReason ToolBarArea KeyboardModifier WhiteSpaceMode DayOfWeek EventPriority DateFormat MaskMode UIEffect ContextMenuPolicy AnchorAttribute ScrollBarPolicy ToolButtonStyle TextFlag ItemSelectionMode SizeHint Key ToolBarAreaSizes ArrowType FocusPolicy WindowFrameSection InputMethodQuery DropAction FillRule GlobalColor ConnectionType PenCapStyle TransformationMode DockWidgetAreaSizes ApplicationAttribute ShortcutContext TextInteractionFlag CheckState DockWidgetArea TimeSpec ImageConversionFlag WindowModality Modifier AlignmentFlag WidgetAttribute TextFormat MouseButton WindowState PenStyle ItemFlag HitTestAccuracy ) -Q_FLAGS(Orientations WindowFlags MatchFlags ToolBarAreas KeyboardModifiers DropActions TextInteractionFlags DockWidgetAreas ImageConversionFlags Alignment MouseButtons WindowStates ItemFlags ) -enum CursorShape{ - ArrowCursor = Qt::ArrowCursor, UpArrowCursor = Qt::UpArrowCursor, CrossCursor = Qt::CrossCursor, WaitCursor = Qt::WaitCursor, IBeamCursor = Qt::IBeamCursor, SizeVerCursor = Qt::SizeVerCursor, SizeHorCursor = Qt::SizeHorCursor, SizeBDiagCursor = Qt::SizeBDiagCursor, SizeFDiagCursor = Qt::SizeFDiagCursor, SizeAllCursor = Qt::SizeAllCursor, BlankCursor = Qt::BlankCursor, SplitVCursor = Qt::SplitVCursor, SplitHCursor = Qt::SplitHCursor, PointingHandCursor = Qt::PointingHandCursor, ForbiddenCursor = Qt::ForbiddenCursor, WhatsThisCursor = Qt::WhatsThisCursor, BusyCursor = Qt::BusyCursor, OpenHandCursor = Qt::OpenHandCursor, ClosedHandCursor = Qt::ClosedHandCursor, LastCursor = Qt::LastCursor, BitmapCursor = Qt::BitmapCursor, CustomCursor = Qt::CustomCursor}; -enum Corner{ - TopLeftCorner = Qt::TopLeftCorner, TopRightCorner = Qt::TopRightCorner, BottomLeftCorner = Qt::BottomLeftCorner, BottomRightCorner = Qt::BottomRightCorner}; -enum Axis{ - XAxis = Qt::XAxis, YAxis = Qt::YAxis, ZAxis = Qt::ZAxis}; -enum Orientation{ - Horizontal = Qt::Horizontal, Vertical = Qt::Vertical}; -enum LayoutDirection{ - LeftToRight = Qt::LeftToRight, RightToLeft = Qt::RightToLeft}; -enum BGMode{ - TransparentMode = Qt::TransparentMode, OpaqueMode = Qt::OpaqueMode}; -enum AspectRatioMode{ - IgnoreAspectRatio = Qt::IgnoreAspectRatio, KeepAspectRatio = Qt::KeepAspectRatio, KeepAspectRatioByExpanding = Qt::KeepAspectRatioByExpanding}; -enum TextElideMode{ - ElideLeft = Qt::ElideLeft, ElideRight = Qt::ElideRight, ElideMiddle = Qt::ElideMiddle, ElideNone = Qt::ElideNone}; -enum SizeMode{ - AbsoluteSize = Qt::AbsoluteSize, RelativeSize = Qt::RelativeSize}; -enum WindowType{ - Widget = Qt::Widget, Window = Qt::Window, Dialog = Qt::Dialog, Sheet = Qt::Sheet, Drawer = Qt::Drawer, Popup = Qt::Popup, Tool = Qt::Tool, ToolTip = Qt::ToolTip, SplashScreen = Qt::SplashScreen, Desktop = Qt::Desktop, SubWindow = Qt::SubWindow, WindowType_Mask = Qt::WindowType_Mask, MSWindowsFixedSizeDialogHint = Qt::MSWindowsFixedSizeDialogHint, MSWindowsOwnDC = Qt::MSWindowsOwnDC, X11BypassWindowManagerHint = Qt::X11BypassWindowManagerHint, FramelessWindowHint = Qt::FramelessWindowHint, WindowTitleHint = Qt::WindowTitleHint, WindowSystemMenuHint = Qt::WindowSystemMenuHint, WindowMinimizeButtonHint = Qt::WindowMinimizeButtonHint, WindowMaximizeButtonHint = Qt::WindowMaximizeButtonHint, WindowMinMaxButtonsHint = Qt::WindowMinMaxButtonsHint, WindowContextHelpButtonHint = Qt::WindowContextHelpButtonHint, WindowShadeButtonHint = Qt::WindowShadeButtonHint, WindowStaysOnTopHint = Qt::WindowStaysOnTopHint, WindowOkButtonHint = Qt::WindowOkButtonHint, WindowCancelButtonHint = Qt::WindowCancelButtonHint, CustomizeWindowHint = Qt::CustomizeWindowHint}; -enum ItemDataRole{ - DisplayRole = Qt::DisplayRole, DecorationRole = Qt::DecorationRole, EditRole = Qt::EditRole, ToolTipRole = Qt::ToolTipRole, StatusTipRole = Qt::StatusTipRole, WhatsThisRole = Qt::WhatsThisRole, FontRole = Qt::FontRole, TextAlignmentRole = Qt::TextAlignmentRole, BackgroundColorRole = Qt::BackgroundColorRole, BackgroundRole = Qt::BackgroundRole, TextColorRole = Qt::TextColorRole, ForegroundRole = Qt::ForegroundRole, CheckStateRole = Qt::CheckStateRole, AccessibleTextRole = Qt::AccessibleTextRole, AccessibleDescriptionRole = Qt::AccessibleDescriptionRole, SizeHintRole = Qt::SizeHintRole, UserRole = Qt::UserRole}; -enum SortOrder{ - AscendingOrder = Qt::AscendingOrder, DescendingOrder = Qt::DescendingOrder}; -enum MatchFlag{ - MatchExactly = Qt::MatchExactly, MatchContains = Qt::MatchContains, MatchStartsWith = Qt::MatchStartsWith, MatchEndsWith = Qt::MatchEndsWith, MatchRegExp = Qt::MatchRegExp, MatchWildcard = Qt::MatchWildcard, MatchFixedString = Qt::MatchFixedString, MatchCaseSensitive = Qt::MatchCaseSensitive, MatchWrap = Qt::MatchWrap, MatchRecursive = Qt::MatchRecursive}; -enum PenJoinStyle{ - MiterJoin = Qt::MiterJoin, BevelJoin = Qt::BevelJoin, RoundJoin = Qt::RoundJoin, SvgMiterJoin = Qt::SvgMiterJoin, MPenJoinStyle = Qt::MPenJoinStyle}; -enum CaseSensitivity{ - CaseInsensitive = Qt::CaseInsensitive, CaseSensitive = Qt::CaseSensitive}; -enum BrushStyle{ - NoBrush = Qt::NoBrush, SolidPattern = Qt::SolidPattern, Dense1Pattern = Qt::Dense1Pattern, Dense2Pattern = Qt::Dense2Pattern, Dense3Pattern = Qt::Dense3Pattern, Dense4Pattern = Qt::Dense4Pattern, Dense5Pattern = Qt::Dense5Pattern, Dense6Pattern = Qt::Dense6Pattern, Dense7Pattern = Qt::Dense7Pattern, HorPattern = Qt::HorPattern, VerPattern = Qt::VerPattern, CrossPattern = Qt::CrossPattern, BDiagPattern = Qt::BDiagPattern, FDiagPattern = Qt::FDiagPattern, DiagCrossPattern = Qt::DiagCrossPattern, LinearGradientPattern = Qt::LinearGradientPattern, RadialGradientPattern = Qt::RadialGradientPattern, ConicalGradientPattern = Qt::ConicalGradientPattern, TexturePattern = Qt::TexturePattern}; -enum ClipOperation{ - NoClip = Qt::NoClip, ReplaceClip = Qt::ReplaceClip, IntersectClip = Qt::IntersectClip, UniteClip = Qt::UniteClip}; -enum FocusReason{ - MouseFocusReason = Qt::MouseFocusReason, TabFocusReason = Qt::TabFocusReason, BacktabFocusReason = Qt::BacktabFocusReason, ActiveWindowFocusReason = Qt::ActiveWindowFocusReason, PopupFocusReason = Qt::PopupFocusReason, ShortcutFocusReason = Qt::ShortcutFocusReason, MenuBarFocusReason = Qt::MenuBarFocusReason, OtherFocusReason = Qt::OtherFocusReason, NoFocusReason = Qt::NoFocusReason}; -enum ToolBarArea{ - LeftToolBarArea = Qt::LeftToolBarArea, RightToolBarArea = Qt::RightToolBarArea, TopToolBarArea = Qt::TopToolBarArea, BottomToolBarArea = Qt::BottomToolBarArea, ToolBarArea_Mask = Qt::ToolBarArea_Mask, AllToolBarAreas = Qt::AllToolBarAreas, NoToolBarArea = Qt::NoToolBarArea}; -enum KeyboardModifier{ - NoModifier = Qt::NoModifier, ShiftModifier = Qt::ShiftModifier, ControlModifier = Qt::ControlModifier, AltModifier = Qt::AltModifier, MetaModifier = Qt::MetaModifier, KeypadModifier = Qt::KeypadModifier, GroupSwitchModifier = Qt::GroupSwitchModifier, KeyboardModifierMask = Qt::KeyboardModifierMask}; -enum WhiteSpaceMode{ - WhiteSpaceNormal = Qt::WhiteSpaceNormal, WhiteSpacePre = Qt::WhiteSpacePre, WhiteSpaceNoWrap = Qt::WhiteSpaceNoWrap, WhiteSpaceModeUndefined = Qt::WhiteSpaceModeUndefined}; -enum DayOfWeek{ - Monday = Qt::Monday, Tuesday = Qt::Tuesday, Wednesday = Qt::Wednesday, Thursday = Qt::Thursday, Friday = Qt::Friday, Saturday = Qt::Saturday, Sunday = Qt::Sunday}; -enum EventPriority{ - HighEventPriority = Qt::HighEventPriority, NormalEventPriority = Qt::NormalEventPriority, LowEventPriority = Qt::LowEventPriority}; -enum DateFormat{ - TextDate = Qt::TextDate, ISODate = Qt::ISODate, SystemLocaleDate = Qt::SystemLocaleDate, LocalDate = Qt::LocalDate, LocaleDate = Qt::LocaleDate, SystemLocaleShortDate = Qt::SystemLocaleShortDate, SystemLocaleLongDate = Qt::SystemLocaleLongDate, DefaultLocaleShortDate = Qt::DefaultLocaleShortDate, DefaultLocaleLongDate = Qt::DefaultLocaleLongDate}; -enum MaskMode{ - MaskInColor = Qt::MaskInColor, MaskOutColor = Qt::MaskOutColor}; -enum UIEffect{ - UI_General = Qt::UI_General, UI_AnimateMenu = Qt::UI_AnimateMenu, UI_FadeMenu = Qt::UI_FadeMenu, UI_AnimateCombo = Qt::UI_AnimateCombo, UI_AnimateTooltip = Qt::UI_AnimateTooltip, UI_FadeTooltip = Qt::UI_FadeTooltip, UI_AnimateToolBox = Qt::UI_AnimateToolBox}; -enum ContextMenuPolicy{ - NoContextMenu = Qt::NoContextMenu, DefaultContextMenu = Qt::DefaultContextMenu, ActionsContextMenu = Qt::ActionsContextMenu, CustomContextMenu = Qt::CustomContextMenu, PreventContextMenu = Qt::PreventContextMenu}; -enum AnchorAttribute{ - AnchorName = Qt::AnchorName, AnchorHref = Qt::AnchorHref}; -enum ScrollBarPolicy{ - ScrollBarAsNeeded = Qt::ScrollBarAsNeeded, ScrollBarAlwaysOff = Qt::ScrollBarAlwaysOff, ScrollBarAlwaysOn = Qt::ScrollBarAlwaysOn}; -enum ToolButtonStyle{ - ToolButtonIconOnly = Qt::ToolButtonIconOnly, ToolButtonTextOnly = Qt::ToolButtonTextOnly, ToolButtonTextBesideIcon = Qt::ToolButtonTextBesideIcon, ToolButtonTextUnderIcon = Qt::ToolButtonTextUnderIcon}; -enum TextFlag{ - TextSingleLine = Qt::TextSingleLine, TextDontClip = Qt::TextDontClip, TextExpandTabs = Qt::TextExpandTabs, TextShowMnemonic = Qt::TextShowMnemonic, TextWordWrap = Qt::TextWordWrap, TextWrapAnywhere = Qt::TextWrapAnywhere, TextDontPrint = Qt::TextDontPrint, TextIncludeTrailingSpaces = Qt::TextIncludeTrailingSpaces, TextHideMnemonic = Qt::TextHideMnemonic, TextJustificationForced = Qt::TextJustificationForced, TextForceLeftToRight = Qt::TextForceLeftToRight, TextForceRightToLeft = Qt::TextForceRightToLeft}; -enum ItemSelectionMode{ - ContainsItemShape = Qt::ContainsItemShape, IntersectsItemShape = Qt::IntersectsItemShape, ContainsItemBoundingRect = Qt::ContainsItemBoundingRect, IntersectsItemBoundingRect = Qt::IntersectsItemBoundingRect}; -enum SizeHint{ - MinimumSize = Qt::MinimumSize, PreferredSize = Qt::PreferredSize, MaximumSize = Qt::MaximumSize, MinimumDescent = Qt::MinimumDescent, NSizeHints = Qt::NSizeHints}; -enum Key{ - Key_Escape = Qt::Key_Escape, Key_Tab = Qt::Key_Tab, Key_Backtab = Qt::Key_Backtab, Key_Backspace = Qt::Key_Backspace, Key_Return = Qt::Key_Return, Key_Enter = Qt::Key_Enter, Key_Insert = Qt::Key_Insert, Key_Delete = Qt::Key_Delete, Key_Pause = Qt::Key_Pause, Key_Print = Qt::Key_Print, Key_SysReq = Qt::Key_SysReq, Key_Clear = Qt::Key_Clear, Key_Home = Qt::Key_Home, Key_End = Qt::Key_End, Key_Left = Qt::Key_Left, Key_Up = Qt::Key_Up, Key_Right = Qt::Key_Right, Key_Down = Qt::Key_Down, Key_PageUp = Qt::Key_PageUp, Key_PageDown = Qt::Key_PageDown, Key_Shift = Qt::Key_Shift, Key_Control = Qt::Key_Control, Key_Meta = Qt::Key_Meta, Key_Alt = Qt::Key_Alt, Key_CapsLock = Qt::Key_CapsLock, Key_NumLock = Qt::Key_NumLock, Key_ScrollLock = Qt::Key_ScrollLock, Key_F1 = Qt::Key_F1, Key_F2 = Qt::Key_F2, Key_F3 = Qt::Key_F3, Key_F4 = Qt::Key_F4, Key_F5 = Qt::Key_F5, Key_F6 = Qt::Key_F6, Key_F7 = Qt::Key_F7, Key_F8 = Qt::Key_F8, Key_F9 = Qt::Key_F9, Key_F10 = Qt::Key_F10, Key_F11 = Qt::Key_F11, Key_F12 = Qt::Key_F12, Key_F13 = Qt::Key_F13, Key_F14 = Qt::Key_F14, Key_F15 = Qt::Key_F15, Key_F16 = Qt::Key_F16, Key_F17 = Qt::Key_F17, Key_F18 = Qt::Key_F18, Key_F19 = Qt::Key_F19, Key_F20 = Qt::Key_F20, Key_F21 = Qt::Key_F21, Key_F22 = Qt::Key_F22, Key_F23 = Qt::Key_F23, Key_F24 = Qt::Key_F24, Key_F25 = Qt::Key_F25, Key_F26 = Qt::Key_F26, Key_F27 = Qt::Key_F27, Key_F28 = Qt::Key_F28, Key_F29 = Qt::Key_F29, Key_F30 = Qt::Key_F30, Key_F31 = Qt::Key_F31, Key_F32 = Qt::Key_F32, Key_F33 = Qt::Key_F33, Key_F34 = Qt::Key_F34, Key_F35 = Qt::Key_F35, Key_Super_L = Qt::Key_Super_L, Key_Super_R = Qt::Key_Super_R, Key_Menu = Qt::Key_Menu, Key_Hyper_L = Qt::Key_Hyper_L, Key_Hyper_R = Qt::Key_Hyper_R, Key_Help = Qt::Key_Help, Key_Direction_L = Qt::Key_Direction_L, Key_Direction_R = Qt::Key_Direction_R, Key_Space = Qt::Key_Space, Key_Any = Qt::Key_Any, Key_Exclam = Qt::Key_Exclam, Key_QuoteDbl = Qt::Key_QuoteDbl, Key_NumberSign = Qt::Key_NumberSign, Key_Dollar = Qt::Key_Dollar, Key_Percent = Qt::Key_Percent, Key_Ampersand = Qt::Key_Ampersand, Key_Apostrophe = Qt::Key_Apostrophe, Key_ParenLeft = Qt::Key_ParenLeft, Key_ParenRight = Qt::Key_ParenRight, Key_Asterisk = Qt::Key_Asterisk, Key_Plus = Qt::Key_Plus, Key_Comma = Qt::Key_Comma, Key_Minus = Qt::Key_Minus, Key_Period = Qt::Key_Period, Key_Slash = Qt::Key_Slash, Key_0 = Qt::Key_0, Key_1 = Qt::Key_1, Key_2 = Qt::Key_2, Key_3 = Qt::Key_3, Key_4 = Qt::Key_4, Key_5 = Qt::Key_5, Key_6 = Qt::Key_6, Key_7 = Qt::Key_7, Key_8 = Qt::Key_8, Key_9 = Qt::Key_9, Key_Colon = Qt::Key_Colon, Key_Semicolon = Qt::Key_Semicolon, Key_Less = Qt::Key_Less, Key_Equal = Qt::Key_Equal, Key_Greater = Qt::Key_Greater, Key_Question = Qt::Key_Question, Key_At = Qt::Key_At, Key_A = Qt::Key_A, Key_B = Qt::Key_B, Key_C = Qt::Key_C, Key_D = Qt::Key_D, Key_E = Qt::Key_E, Key_F = Qt::Key_F, Key_G = Qt::Key_G, Key_H = Qt::Key_H, Key_I = Qt::Key_I, Key_J = Qt::Key_J, Key_K = Qt::Key_K, Key_L = Qt::Key_L, Key_M = Qt::Key_M, Key_N = Qt::Key_N, Key_O = Qt::Key_O, Key_P = Qt::Key_P, Key_Q = Qt::Key_Q, Key_R = Qt::Key_R, Key_S = Qt::Key_S, Key_T = Qt::Key_T, Key_U = Qt::Key_U, Key_V = Qt::Key_V, Key_W = Qt::Key_W, Key_X = Qt::Key_X, Key_Y = Qt::Key_Y, Key_Z = Qt::Key_Z, Key_BracketLeft = Qt::Key_BracketLeft, Key_Backslash = Qt::Key_Backslash, Key_BracketRight = Qt::Key_BracketRight, Key_AsciiCircum = Qt::Key_AsciiCircum, Key_Underscore = Qt::Key_Underscore, Key_QuoteLeft = Qt::Key_QuoteLeft, Key_BraceLeft = Qt::Key_BraceLeft, Key_Bar = Qt::Key_Bar, Key_BraceRight = Qt::Key_BraceRight, Key_AsciiTilde = Qt::Key_AsciiTilde, Key_nobreakspace = Qt::Key_nobreakspace, Key_exclamdown = Qt::Key_exclamdown, Key_cent = Qt::Key_cent, Key_sterling = Qt::Key_sterling, Key_currency = Qt::Key_currency, Key_yen = Qt::Key_yen, Key_brokenbar = Qt::Key_brokenbar, Key_section = Qt::Key_section, Key_diaeresis = Qt::Key_diaeresis, Key_copyright = Qt::Key_copyright, Key_ordfeminine = Qt::Key_ordfeminine, Key_guillemotleft = Qt::Key_guillemotleft, Key_notsign = Qt::Key_notsign, Key_hyphen = Qt::Key_hyphen, Key_registered = Qt::Key_registered, Key_macron = Qt::Key_macron, Key_degree = Qt::Key_degree, Key_plusminus = Qt::Key_plusminus, Key_twosuperior = Qt::Key_twosuperior, Key_threesuperior = Qt::Key_threesuperior, Key_acute = Qt::Key_acute, Key_mu = Qt::Key_mu, Key_paragraph = Qt::Key_paragraph, Key_periodcentered = Qt::Key_periodcentered, Key_cedilla = Qt::Key_cedilla, Key_onesuperior = Qt::Key_onesuperior, Key_masculine = Qt::Key_masculine, Key_guillemotright = Qt::Key_guillemotright, Key_onequarter = Qt::Key_onequarter, Key_onehalf = Qt::Key_onehalf, Key_threequarters = Qt::Key_threequarters, Key_questiondown = Qt::Key_questiondown, Key_Agrave = Qt::Key_Agrave, Key_Aacute = Qt::Key_Aacute, Key_Acircumflex = Qt::Key_Acircumflex, Key_Atilde = Qt::Key_Atilde, Key_Adiaeresis = Qt::Key_Adiaeresis, Key_Aring = Qt::Key_Aring, Key_AE = Qt::Key_AE, Key_Ccedilla = Qt::Key_Ccedilla, Key_Egrave = Qt::Key_Egrave, Key_Eacute = Qt::Key_Eacute, Key_Ecircumflex = Qt::Key_Ecircumflex, Key_Ediaeresis = Qt::Key_Ediaeresis, Key_Igrave = Qt::Key_Igrave, Key_Iacute = Qt::Key_Iacute, Key_Icircumflex = Qt::Key_Icircumflex, Key_Idiaeresis = Qt::Key_Idiaeresis, Key_ETH = Qt::Key_ETH, Key_Ntilde = Qt::Key_Ntilde, Key_Ograve = Qt::Key_Ograve, Key_Oacute = Qt::Key_Oacute, Key_Ocircumflex = Qt::Key_Ocircumflex, Key_Otilde = Qt::Key_Otilde, Key_Odiaeresis = Qt::Key_Odiaeresis, Key_multiply = Qt::Key_multiply, Key_Ooblique = Qt::Key_Ooblique, Key_Ugrave = Qt::Key_Ugrave, Key_Uacute = Qt::Key_Uacute, Key_Ucircumflex = Qt::Key_Ucircumflex, Key_Udiaeresis = Qt::Key_Udiaeresis, Key_Yacute = Qt::Key_Yacute, Key_THORN = Qt::Key_THORN, Key_ssharp = Qt::Key_ssharp, Key_division = Qt::Key_division, Key_ydiaeresis = Qt::Key_ydiaeresis, Key_AltGr = Qt::Key_AltGr, Key_Multi_key = Qt::Key_Multi_key, Key_Codeinput = Qt::Key_Codeinput, Key_SingleCandidate = Qt::Key_SingleCandidate, Key_MultipleCandidate = Qt::Key_MultipleCandidate, Key_PreviousCandidate = Qt::Key_PreviousCandidate, Key_Mode_switch = Qt::Key_Mode_switch, Key_Kanji = Qt::Key_Kanji, Key_Muhenkan = Qt::Key_Muhenkan, Key_Henkan = Qt::Key_Henkan, Key_Romaji = Qt::Key_Romaji, Key_Hiragana = Qt::Key_Hiragana, Key_Katakana = Qt::Key_Katakana, Key_Hiragana_Katakana = Qt::Key_Hiragana_Katakana, Key_Zenkaku = Qt::Key_Zenkaku, Key_Hankaku = Qt::Key_Hankaku, Key_Zenkaku_Hankaku = Qt::Key_Zenkaku_Hankaku, Key_Touroku = Qt::Key_Touroku, Key_Massyo = Qt::Key_Massyo, Key_Kana_Lock = Qt::Key_Kana_Lock, Key_Kana_Shift = Qt::Key_Kana_Shift, Key_Eisu_Shift = Qt::Key_Eisu_Shift, Key_Eisu_toggle = Qt::Key_Eisu_toggle, Key_Hangul = Qt::Key_Hangul, Key_Hangul_Start = Qt::Key_Hangul_Start, Key_Hangul_End = Qt::Key_Hangul_End, Key_Hangul_Hanja = Qt::Key_Hangul_Hanja, Key_Hangul_Jamo = Qt::Key_Hangul_Jamo, Key_Hangul_Romaja = Qt::Key_Hangul_Romaja, Key_Hangul_Jeonja = Qt::Key_Hangul_Jeonja, Key_Hangul_Banja = Qt::Key_Hangul_Banja, Key_Hangul_PreHanja = Qt::Key_Hangul_PreHanja, Key_Hangul_PostHanja = Qt::Key_Hangul_PostHanja, Key_Hangul_Special = Qt::Key_Hangul_Special, Key_Dead_Grave = Qt::Key_Dead_Grave, Key_Dead_Acute = Qt::Key_Dead_Acute, Key_Dead_Circumflex = Qt::Key_Dead_Circumflex, Key_Dead_Tilde = Qt::Key_Dead_Tilde, Key_Dead_Macron = Qt::Key_Dead_Macron, Key_Dead_Breve = Qt::Key_Dead_Breve, Key_Dead_Abovedot = Qt::Key_Dead_Abovedot, Key_Dead_Diaeresis = Qt::Key_Dead_Diaeresis, Key_Dead_Abovering = Qt::Key_Dead_Abovering, Key_Dead_Doubleacute = Qt::Key_Dead_Doubleacute, Key_Dead_Caron = Qt::Key_Dead_Caron, Key_Dead_Cedilla = Qt::Key_Dead_Cedilla, Key_Dead_Ogonek = Qt::Key_Dead_Ogonek, Key_Dead_Iota = Qt::Key_Dead_Iota, Key_Dead_Voiced_Sound = Qt::Key_Dead_Voiced_Sound, Key_Dead_Semivoiced_Sound = Qt::Key_Dead_Semivoiced_Sound, Key_Dead_Belowdot = Qt::Key_Dead_Belowdot, Key_Dead_Hook = Qt::Key_Dead_Hook, Key_Dead_Horn = Qt::Key_Dead_Horn, Key_Back = Qt::Key_Back, Key_Forward = Qt::Key_Forward, Key_Stop = Qt::Key_Stop, Key_Refresh = Qt::Key_Refresh, Key_VolumeDown = Qt::Key_VolumeDown, Key_VolumeMute = Qt::Key_VolumeMute, Key_VolumeUp = Qt::Key_VolumeUp, Key_BassBoost = Qt::Key_BassBoost, Key_BassUp = Qt::Key_BassUp, Key_BassDown = Qt::Key_BassDown, Key_TrebleUp = Qt::Key_TrebleUp, Key_TrebleDown = Qt::Key_TrebleDown, Key_MediaPlay = Qt::Key_MediaPlay, Key_MediaStop = Qt::Key_MediaStop, Key_MediaPrevious = Qt::Key_MediaPrevious, Key_MediaNext = Qt::Key_MediaNext, Key_MediaRecord = Qt::Key_MediaRecord, Key_HomePage = Qt::Key_HomePage, Key_Favorites = Qt::Key_Favorites, Key_Search = Qt::Key_Search, Key_Standby = Qt::Key_Standby, Key_OpenUrl = Qt::Key_OpenUrl, Key_LaunchMail = Qt::Key_LaunchMail, Key_LaunchMedia = Qt::Key_LaunchMedia, Key_Launch0 = Qt::Key_Launch0, Key_Launch1 = Qt::Key_Launch1, Key_Launch2 = Qt::Key_Launch2, Key_Launch3 = Qt::Key_Launch3, Key_Launch4 = Qt::Key_Launch4, Key_Launch5 = Qt::Key_Launch5, Key_Launch6 = Qt::Key_Launch6, Key_Launch7 = Qt::Key_Launch7, Key_Launch8 = Qt::Key_Launch8, Key_Launch9 = Qt::Key_Launch9, Key_LaunchA = Qt::Key_LaunchA, Key_LaunchB = Qt::Key_LaunchB, Key_LaunchC = Qt::Key_LaunchC, Key_LaunchD = Qt::Key_LaunchD, Key_LaunchE = Qt::Key_LaunchE, Key_LaunchF = Qt::Key_LaunchF, Key_MediaLast = Qt::Key_MediaLast, Key_Select = Qt::Key_Select, Key_Yes = Qt::Key_Yes, Key_No = Qt::Key_No, Key_Cancel = Qt::Key_Cancel, Key_Printer = Qt::Key_Printer, Key_Execute = Qt::Key_Execute, Key_Sleep = Qt::Key_Sleep, Key_Play = Qt::Key_Play, Key_Zoom = Qt::Key_Zoom, Key_Context1 = Qt::Key_Context1, Key_Context2 = Qt::Key_Context2, Key_Context3 = Qt::Key_Context3, Key_Context4 = Qt::Key_Context4, Key_Call = Qt::Key_Call, Key_Hangup = Qt::Key_Hangup, Key_Flip = Qt::Key_Flip, Key_unknown = Qt::Key_unknown}; -enum ToolBarAreaSizes{ - NToolBarAreas = Qt::NToolBarAreas}; -enum ArrowType{ - NoArrow = Qt::NoArrow, UpArrow = Qt::UpArrow, DownArrow = Qt::DownArrow, LeftArrow = Qt::LeftArrow, RightArrow = Qt::RightArrow}; -enum FocusPolicy{ - NoFocus = Qt::NoFocus, TabFocus = Qt::TabFocus, ClickFocus = Qt::ClickFocus, StrongFocus = Qt::StrongFocus, WheelFocus = Qt::WheelFocus}; -enum WindowFrameSection{ - NoSection = Qt::NoSection, LeftSection = Qt::LeftSection, TopLeftSection = Qt::TopLeftSection, TopSection = Qt::TopSection, TopRightSection = Qt::TopRightSection, RightSection = Qt::RightSection, BottomRightSection = Qt::BottomRightSection, BottomSection = Qt::BottomSection, BottomLeftSection = Qt::BottomLeftSection, TitleBarArea = Qt::TitleBarArea}; -enum InputMethodQuery{ - ImMicroFocus = Qt::ImMicroFocus, ImFont = Qt::ImFont, ImCursorPosition = Qt::ImCursorPosition, ImSurroundingText = Qt::ImSurroundingText, ImCurrentSelection = Qt::ImCurrentSelection}; -enum DropAction{ - CopyAction = Qt::CopyAction, MoveAction = Qt::MoveAction, LinkAction = Qt::LinkAction, ActionMask = Qt::ActionMask, TargetMoveAction = Qt::TargetMoveAction, IgnoreAction = Qt::IgnoreAction}; -enum FillRule{ - OddEvenFill = Qt::OddEvenFill, WindingFill = Qt::WindingFill}; -enum GlobalColor{ - color0 = Qt::color0, color1 = Qt::color1, black = Qt::black, white = Qt::white, darkGray = Qt::darkGray, gray = Qt::gray, lightGray = Qt::lightGray, red = Qt::red, green = Qt::green, blue = Qt::blue, cyan = Qt::cyan, magenta = Qt::magenta, yellow = Qt::yellow, darkRed = Qt::darkRed, darkGreen = Qt::darkGreen, darkBlue = Qt::darkBlue, darkCyan = Qt::darkCyan, darkMagenta = Qt::darkMagenta, darkYellow = Qt::darkYellow, transparent = Qt::transparent}; -enum ConnectionType{ - AutoConnection = Qt::AutoConnection, DirectConnection = Qt::DirectConnection, QueuedConnection = Qt::QueuedConnection, AutoCompatConnection = Qt::AutoCompatConnection, BlockingQueuedConnection = Qt::BlockingQueuedConnection}; -enum PenCapStyle{ - FlatCap = Qt::FlatCap, SquareCap = Qt::SquareCap, RoundCap = Qt::RoundCap, MPenCapStyle = Qt::MPenCapStyle}; -enum TransformationMode{ - FastTransformation = Qt::FastTransformation, SmoothTransformation = Qt::SmoothTransformation}; -enum DockWidgetAreaSizes{ - NDockWidgetAreas = Qt::NDockWidgetAreas}; -enum ApplicationAttribute{ - AA_ImmediateWidgetCreation = Qt::AA_ImmediateWidgetCreation, AA_MSWindowsUseDirect3DByDefault = Qt::AA_MSWindowsUseDirect3DByDefault, AA_DontShowIconsInMenus = Qt::AA_DontShowIconsInMenus, AA_NativeWindows = Qt::AA_NativeWindows, AA_DontCreateNativeWidgetSiblings = Qt::AA_DontCreateNativeWidgetSiblings, AA_AttributeCount = Qt::AA_AttributeCount}; -enum ShortcutContext{ - WidgetShortcut = Qt::WidgetShortcut, WindowShortcut = Qt::WindowShortcut, ApplicationShortcut = Qt::ApplicationShortcut, WidgetWithChildrenShortcut = Qt::WidgetWithChildrenShortcut}; -enum TextInteractionFlag{ - NoTextInteraction = Qt::NoTextInteraction, TextSelectableByMouse = Qt::TextSelectableByMouse, TextSelectableByKeyboard = Qt::TextSelectableByKeyboard, LinksAccessibleByMouse = Qt::LinksAccessibleByMouse, LinksAccessibleByKeyboard = Qt::LinksAccessibleByKeyboard, TextEditable = Qt::TextEditable, TextEditorInteraction = Qt::TextEditorInteraction, TextBrowserInteraction = Qt::TextBrowserInteraction}; -enum CheckState{ - Unchecked = Qt::Unchecked, PartiallyChecked = Qt::PartiallyChecked, Checked = Qt::Checked}; -enum DockWidgetArea{ - LeftDockWidgetArea = Qt::LeftDockWidgetArea, RightDockWidgetArea = Qt::RightDockWidgetArea, TopDockWidgetArea = Qt::TopDockWidgetArea, BottomDockWidgetArea = Qt::BottomDockWidgetArea, DockWidgetArea_Mask = Qt::DockWidgetArea_Mask, AllDockWidgetAreas = Qt::AllDockWidgetAreas, NoDockWidgetArea = Qt::NoDockWidgetArea}; -enum TimeSpec{ - LocalTime = Qt::LocalTime, UTC = Qt::UTC, OffsetFromUTC = Qt::OffsetFromUTC}; -enum ImageConversionFlag{ - ColorMode_Mask = Qt::ColorMode_Mask, AutoColor = Qt::AutoColor, ColorOnly = Qt::ColorOnly, MonoOnly = Qt::MonoOnly, AlphaDither_Mask = Qt::AlphaDither_Mask, ThresholdAlphaDither = Qt::ThresholdAlphaDither, OrderedAlphaDither = Qt::OrderedAlphaDither, DiffuseAlphaDither = Qt::DiffuseAlphaDither, NoAlpha = Qt::NoAlpha, Dither_Mask = Qt::Dither_Mask, DiffuseDither = Qt::DiffuseDither, OrderedDither = Qt::OrderedDither, ThresholdDither = Qt::ThresholdDither, DitherMode_Mask = Qt::DitherMode_Mask, AutoDither = Qt::AutoDither, PreferDither = Qt::PreferDither, AvoidDither = Qt::AvoidDither}; -enum WindowModality{ - NonModal = Qt::NonModal, WindowModal = Qt::WindowModal, ApplicationModal = Qt::ApplicationModal}; -enum Modifier{ - META = Qt::META, SHIFT = Qt::SHIFT, CTRL = Qt::CTRL, ALT = Qt::ALT, MODIFIER_MASK = Qt::MODIFIER_MASK, UNICODE_ACCEL = Qt::UNICODE_ACCEL}; -enum AlignmentFlag{ - AlignLeft = Qt::AlignLeft, AlignLeading = Qt::AlignLeading, AlignRight = Qt::AlignRight, AlignTrailing = Qt::AlignTrailing, AlignHCenter = Qt::AlignHCenter, AlignJustify = Qt::AlignJustify, AlignAbsolute = Qt::AlignAbsolute, AlignHorizontal_Mask = Qt::AlignHorizontal_Mask, AlignTop = Qt::AlignTop, AlignBottom = Qt::AlignBottom, AlignVCenter = Qt::AlignVCenter, AlignVertical_Mask = Qt::AlignVertical_Mask, AlignCenter = Qt::AlignCenter}; -enum WidgetAttribute{ - WA_Disabled = Qt::WA_Disabled, WA_UnderMouse = Qt::WA_UnderMouse, WA_MouseTracking = Qt::WA_MouseTracking, WA_ContentsPropagated = Qt::WA_ContentsPropagated, WA_OpaquePaintEvent = Qt::WA_OpaquePaintEvent, WA_NoBackground = Qt::WA_NoBackground, WA_StaticContents = Qt::WA_StaticContents, WA_LaidOut = Qt::WA_LaidOut, WA_PaintOnScreen = Qt::WA_PaintOnScreen, WA_NoSystemBackground = Qt::WA_NoSystemBackground, WA_UpdatesDisabled = Qt::WA_UpdatesDisabled, WA_Mapped = Qt::WA_Mapped, WA_MacNoClickThrough = Qt::WA_MacNoClickThrough, WA_PaintOutsidePaintEvent = Qt::WA_PaintOutsidePaintEvent, WA_InputMethodEnabled = Qt::WA_InputMethodEnabled, WA_WState_Visible = Qt::WA_WState_Visible, WA_WState_Hidden = Qt::WA_WState_Hidden, WA_ForceDisabled = Qt::WA_ForceDisabled, WA_KeyCompression = Qt::WA_KeyCompression, WA_PendingMoveEvent = Qt::WA_PendingMoveEvent, WA_PendingResizeEvent = Qt::WA_PendingResizeEvent, WA_SetPalette = Qt::WA_SetPalette, WA_SetFont = Qt::WA_SetFont, WA_SetCursor = Qt::WA_SetCursor, WA_NoChildEventsFromChildren = Qt::WA_NoChildEventsFromChildren, WA_WindowModified = Qt::WA_WindowModified, WA_Resized = Qt::WA_Resized, WA_Moved = Qt::WA_Moved, WA_PendingUpdate = Qt::WA_PendingUpdate, WA_InvalidSize = Qt::WA_InvalidSize, WA_MacBrushedMetal = Qt::WA_MacBrushedMetal, WA_MacMetalStyle = Qt::WA_MacMetalStyle, WA_CustomWhatsThis = Qt::WA_CustomWhatsThis, WA_LayoutOnEntireRect = Qt::WA_LayoutOnEntireRect, WA_OutsideWSRange = Qt::WA_OutsideWSRange, WA_GrabbedShortcut = Qt::WA_GrabbedShortcut, WA_TransparentForMouseEvents = Qt::WA_TransparentForMouseEvents, WA_PaintUnclipped = Qt::WA_PaintUnclipped, WA_SetWindowIcon = Qt::WA_SetWindowIcon, WA_NoMouseReplay = Qt::WA_NoMouseReplay, WA_DeleteOnClose = Qt::WA_DeleteOnClose, WA_RightToLeft = Qt::WA_RightToLeft, WA_SetLayoutDirection = Qt::WA_SetLayoutDirection, WA_NoChildEventsForParent = Qt::WA_NoChildEventsForParent, WA_ForceUpdatesDisabled = Qt::WA_ForceUpdatesDisabled, WA_WState_Created = Qt::WA_WState_Created, WA_WState_CompressKeys = Qt::WA_WState_CompressKeys, WA_WState_InPaintEvent = Qt::WA_WState_InPaintEvent, WA_WState_Reparented = Qt::WA_WState_Reparented, WA_WState_ConfigPending = Qt::WA_WState_ConfigPending, WA_WState_Polished = Qt::WA_WState_Polished, WA_WState_DND = Qt::WA_WState_DND, WA_WState_OwnSizePolicy = Qt::WA_WState_OwnSizePolicy, WA_WState_ExplicitShowHide = Qt::WA_WState_ExplicitShowHide, WA_ShowModal = Qt::WA_ShowModal, WA_MouseNoMask = Qt::WA_MouseNoMask, WA_GroupLeader = Qt::WA_GroupLeader, WA_NoMousePropagation = Qt::WA_NoMousePropagation, WA_Hover = Qt::WA_Hover, WA_InputMethodTransparent = Qt::WA_InputMethodTransparent, WA_QuitOnClose = Qt::WA_QuitOnClose, WA_KeyboardFocusChange = Qt::WA_KeyboardFocusChange, WA_AcceptDrops = Qt::WA_AcceptDrops, WA_DropSiteRegistered = Qt::WA_DropSiteRegistered, WA_ForceAcceptDrops = Qt::WA_ForceAcceptDrops, WA_WindowPropagation = Qt::WA_WindowPropagation, WA_NoX11EventCompression = Qt::WA_NoX11EventCompression, WA_TintedBackground = Qt::WA_TintedBackground, WA_X11OpenGLOverlay = Qt::WA_X11OpenGLOverlay, WA_AlwaysShowToolTips = Qt::WA_AlwaysShowToolTips, WA_MacOpaqueSizeGrip = Qt::WA_MacOpaqueSizeGrip, WA_SetStyle = Qt::WA_SetStyle, WA_SetLocale = Qt::WA_SetLocale, WA_MacShowFocusRect = Qt::WA_MacShowFocusRect, WA_MacNormalSize = Qt::WA_MacNormalSize, WA_MacSmallSize = Qt::WA_MacSmallSize, WA_MacMiniSize = Qt::WA_MacMiniSize, WA_LayoutUsesWidgetRect = Qt::WA_LayoutUsesWidgetRect, WA_StyledBackground = Qt::WA_StyledBackground, WA_MSWindowsUseDirect3D = Qt::WA_MSWindowsUseDirect3D, WA_CanHostQMdiSubWindowTitleBar = Qt::WA_CanHostQMdiSubWindowTitleBar, WA_MacAlwaysShowToolWindow = Qt::WA_MacAlwaysShowToolWindow, WA_StyleSheet = Qt::WA_StyleSheet, WA_ShowWithoutActivating = Qt::WA_ShowWithoutActivating, WA_X11BypassTransientForHint = Qt::WA_X11BypassTransientForHint, WA_NativeWindow = Qt::WA_NativeWindow, WA_DontCreateNativeAncestors = Qt::WA_DontCreateNativeAncestors, WA_MacVariableSize = Qt::WA_MacVariableSize, WA_DontShowOnScreen = Qt::WA_DontShowOnScreen, WA_X11NetWmWindowTypeDesktop = Qt::WA_X11NetWmWindowTypeDesktop, WA_X11NetWmWindowTypeDock = Qt::WA_X11NetWmWindowTypeDock, WA_X11NetWmWindowTypeToolBar = Qt::WA_X11NetWmWindowTypeToolBar, WA_X11NetWmWindowTypeMenu = Qt::WA_X11NetWmWindowTypeMenu, WA_X11NetWmWindowTypeUtility = Qt::WA_X11NetWmWindowTypeUtility, WA_X11NetWmWindowTypeSplash = Qt::WA_X11NetWmWindowTypeSplash, WA_X11NetWmWindowTypeDialog = Qt::WA_X11NetWmWindowTypeDialog, WA_X11NetWmWindowTypeDropDownMenu = Qt::WA_X11NetWmWindowTypeDropDownMenu, WA_X11NetWmWindowTypePopupMenu = Qt::WA_X11NetWmWindowTypePopupMenu, WA_X11NetWmWindowTypeToolTip = Qt::WA_X11NetWmWindowTypeToolTip, WA_X11NetWmWindowTypeNotification = Qt::WA_X11NetWmWindowTypeNotification, WA_X11NetWmWindowTypeCombo = Qt::WA_X11NetWmWindowTypeCombo, WA_X11NetWmWindowTypeDND = Qt::WA_X11NetWmWindowTypeDND, WA_AttributeCount = Qt::WA_AttributeCount}; -enum TextFormat{ - PlainText = Qt::PlainText, RichText = Qt::RichText, AutoText = Qt::AutoText, LogText = Qt::LogText}; -enum MouseButton{ - NoButton = Qt::NoButton, LeftButton = Qt::LeftButton, RightButton = Qt::RightButton, MidButton = Qt::MidButton, XButton1 = Qt::XButton1, XButton2 = Qt::XButton2, MouseButtonMask = Qt::MouseButtonMask}; -enum WindowState{ - WindowNoState = Qt::WindowNoState, WindowMinimized = Qt::WindowMinimized, WindowMaximized = Qt::WindowMaximized, WindowFullScreen = Qt::WindowFullScreen, WindowActive = Qt::WindowActive}; -enum PenStyle{ - NoPen = Qt::NoPen, SolidLine = Qt::SolidLine, DashLine = Qt::DashLine, DotLine = Qt::DotLine, DashDotLine = Qt::DashDotLine, DashDotDotLine = Qt::DashDotDotLine, CustomDashLine = Qt::CustomDashLine, MPenStyle = Qt::MPenStyle}; -enum ItemFlag{ - NoItemFlags = Qt::NoItemFlags, ItemIsSelectable = Qt::ItemIsSelectable, ItemIsEditable = Qt::ItemIsEditable, ItemIsDragEnabled = Qt::ItemIsDragEnabled, ItemIsDropEnabled = Qt::ItemIsDropEnabled, ItemIsUserCheckable = Qt::ItemIsUserCheckable, ItemIsEnabled = Qt::ItemIsEnabled, ItemIsTristate = Qt::ItemIsTristate}; -enum HitTestAccuracy{ - ExactHit = Qt::ExactHit, FuzzyHit = Qt::FuzzyHit}; -Q_DECLARE_FLAGS(Orientations, Orientation) -Q_DECLARE_FLAGS(WindowFlags, WindowType) -Q_DECLARE_FLAGS(MatchFlags, MatchFlag) -Q_DECLARE_FLAGS(ToolBarAreas, ToolBarArea) -Q_DECLARE_FLAGS(KeyboardModifiers, KeyboardModifier) -Q_DECLARE_FLAGS(DropActions, DropAction) -Q_DECLARE_FLAGS(TextInteractionFlags, TextInteractionFlag) -Q_DECLARE_FLAGS(DockWidgetAreas, DockWidgetArea) -Q_DECLARE_FLAGS(ImageConversionFlags, ImageConversionFlag) -Q_DECLARE_FLAGS(Alignment, AlignmentFlag) -Q_DECLARE_FLAGS(MouseButtons, MouseButton) -Q_DECLARE_FLAGS(WindowStates, WindowState) -Q_DECLARE_FLAGS(ItemFlags, ItemFlag) -public slots: - QString static_Qt_convertFromPlainText(const QString& plain, Qt::WhiteSpaceMode mode = Qt::WhiteSpacePre); - QString static_Qt_escape(const QString& plain); - bool static_Qt_mightBeRichText(const QString& arg__1); - QTextCodec* static_Qt_codecForHtml(const QByteArray& ba); -}; - -#endif // PYTHONQTWRAPPER_QT_H diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QtConcurrent.cpp b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QtConcurrent.cpp deleted file mode 100644 index fe8d85f..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QtConcurrent.cpp +++ /dev/null @@ -1,9 +0,0 @@ -#include "PythonQtWrapper_QtConcurrent.h" - -#include -#include -#include -#include -#include -#include - diff --git a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QtConcurrent.h b/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QtConcurrent.h deleted file mode 100644 index a3c7ea8..0000000 --- a/generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QtConcurrent.h +++ /dev/null @@ -1,26 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QTCONCURRENT_H -#define PYTHONQTWRAPPER_QTCONCURRENT_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtWrapper_QtConcurrent : public QObject -{ Q_OBJECT -public: -Q_ENUMS(ReduceOption ThreadFunctionResult ) -Q_FLAGS(ReduceOptions ) -enum ReduceOption{ - UnorderedReduce = QtConcurrent::UnorderedReduce, OrderedReduce = QtConcurrent::OrderedReduce, SequentialReduce = QtConcurrent::SequentialReduce}; -enum ThreadFunctionResult{ - ThrottleThread = QtConcurrent::ThrottleThread, ThreadFinished = QtConcurrent::ThreadFinished}; -Q_DECLARE_FLAGS(ReduceOptions, ReduceOption) -public slots: -}; - -#endif // PYTHONQTWRAPPER_QTCONCURRENT_H diff --git a/generated_cpp/com_trolltech_qt_core/com_trolltech_qt_core.pri b/generated_cpp/com_trolltech_qt_core/com_trolltech_qt_core.pri deleted file mode 100644 index 59dbe88..0000000 --- a/generated_cpp/com_trolltech_qt_core/com_trolltech_qt_core.pri +++ /dev/null @@ -1,120 +0,0 @@ -HEADERS += \ - $$PWD/PythonQtWrapper_QAbstractItemModel.h \ - $$PWD/PythonQtWrapper_QAbstractListModel.h \ - $$PWD/PythonQtWrapper_QAbstractTableModel.h \ - $$PWD/PythonQtWrapper_QBasicTimer.h \ - $$PWD/PythonQtWrapper_QBitArray.h \ - $$PWD/PythonQtWrapper_QBuffer.h \ - $$PWD/PythonQtWrapper_QByteArray.h \ - $$PWD/PythonQtWrapper_QByteArrayMatcher.h \ - $$PWD/PythonQtWrapper_QChildEvent.h \ - $$PWD/PythonQtWrapper_QCoreApplication.h \ - $$PWD/PythonQtWrapper_QCryptographicHash.h \ - $$PWD/PythonQtWrapper_QDataStream.h \ - $$PWD/PythonQtWrapper_QDir.h \ - $$PWD/PythonQtWrapper_QDirIterator.h \ - $$PWD/PythonQtWrapper_QDynamicPropertyChangeEvent.h \ - $$PWD/PythonQtWrapper_QEvent.h \ - $$PWD/PythonQtWrapper_QEventLoop.h \ - $$PWD/PythonQtWrapper_QFile.h \ - $$PWD/PythonQtWrapper_QFileInfo.h \ - $$PWD/PythonQtWrapper_QFileSystemWatcher.h \ - $$PWD/PythonQtWrapper_QIODevice.h \ - $$PWD/PythonQtWrapper_QLibraryInfo.h \ - $$PWD/PythonQtWrapper_QMimeData.h \ - $$PWD/PythonQtWrapper_QModelIndex.h \ - $$PWD/PythonQtWrapper_QMutex.h \ - $$PWD/PythonQtWrapper_QObject.h \ - $$PWD/PythonQtWrapper_QPersistentModelIndex.h \ - $$PWD/PythonQtWrapper_QProcess.h \ - $$PWD/PythonQtWrapper_QRunnable.h \ - $$PWD/PythonQtWrapper_QSemaphore.h \ - $$PWD/PythonQtWrapper_QSettings.h \ - $$PWD/PythonQtWrapper_QSignalMapper.h \ - $$PWD/PythonQtWrapper_QSocketNotifier.h \ - $$PWD/PythonQtWrapper_QStringMatcher.h \ - $$PWD/PythonQtWrapper_QSystemSemaphore.h \ - $$PWD/PythonQtWrapper_QTemporaryFile.h \ - $$PWD/PythonQtWrapper_QTextBoundaryFinder.h \ - $$PWD/PythonQtWrapper_QTextCodec.h \ - $$PWD/PythonQtWrapper_QTextCodecPlugin.h \ - $$PWD/PythonQtWrapper_QTextDecoder.h \ - $$PWD/PythonQtWrapper_QTextEncoder.h \ - $$PWD/PythonQtWrapper_QTextStream.h \ - $$PWD/PythonQtWrapper_QThreadPool.h \ - $$PWD/PythonQtWrapper_QTimeLine.h \ - $$PWD/PythonQtWrapper_QTimer.h \ - $$PWD/PythonQtWrapper_QTimerEvent.h \ - $$PWD/PythonQtWrapper_QTranslator.h \ - $$PWD/PythonQtWrapper_QUuid.h \ - $$PWD/PythonQtWrapper_QWaitCondition.h \ - $$PWD/PythonQtWrapper_QXmlStreamAttribute.h \ - $$PWD/PythonQtWrapper_QXmlStreamAttributes.h \ - $$PWD/PythonQtWrapper_QXmlStreamEntityDeclaration.h \ - $$PWD/PythonQtWrapper_QXmlStreamEntityResolver.h \ - $$PWD/PythonQtWrapper_QXmlStreamNamespaceDeclaration.h \ - $$PWD/PythonQtWrapper_QXmlStreamNotationDeclaration.h \ - $$PWD/PythonQtWrapper_QXmlStreamReader.h \ - $$PWD/PythonQtWrapper_QXmlStreamWriter.h \ - $$PWD/PythonQtWrapper_QtConcurrent.h \ - -SOURCES += \ - $$PWD/PythonQtWrapper_QAbstractItemModel.cpp \ - $$PWD/PythonQtWrapper_QAbstractListModel.cpp \ - $$PWD/PythonQtWrapper_QAbstractTableModel.cpp \ - $$PWD/PythonQtWrapper_QBasicTimer.cpp \ - $$PWD/PythonQtWrapper_QBitArray.cpp \ - $$PWD/PythonQtWrapper_QBuffer.cpp \ - $$PWD/PythonQtWrapper_QByteArray.cpp \ - $$PWD/PythonQtWrapper_QByteArrayMatcher.cpp \ - $$PWD/PythonQtWrapper_QChildEvent.cpp \ - $$PWD/PythonQtWrapper_QCoreApplication.cpp \ - $$PWD/PythonQtWrapper_QCryptographicHash.cpp \ - $$PWD/PythonQtWrapper_QDataStream.cpp \ - $$PWD/PythonQtWrapper_QDir.cpp \ - $$PWD/PythonQtWrapper_QDirIterator.cpp \ - $$PWD/PythonQtWrapper_QDynamicPropertyChangeEvent.cpp \ - $$PWD/PythonQtWrapper_QEvent.cpp \ - $$PWD/PythonQtWrapper_QEventLoop.cpp \ - $$PWD/PythonQtWrapper_QFile.cpp \ - $$PWD/PythonQtWrapper_QFileInfo.cpp \ - $$PWD/PythonQtWrapper_QFileSystemWatcher.cpp \ - $$PWD/PythonQtWrapper_QIODevice.cpp \ - $$PWD/PythonQtWrapper_QLibraryInfo.cpp \ - $$PWD/PythonQtWrapper_QMimeData.cpp \ - $$PWD/PythonQtWrapper_QModelIndex.cpp \ - $$PWD/PythonQtWrapper_QMutex.cpp \ - $$PWD/PythonQtWrapper_QObject.cpp \ - $$PWD/PythonQtWrapper_QPersistentModelIndex.cpp \ - $$PWD/PythonQtWrapper_QProcess.cpp \ - $$PWD/PythonQtWrapper_QRunnable.cpp \ - $$PWD/PythonQtWrapper_QSemaphore.cpp \ - $$PWD/PythonQtWrapper_QSettings.cpp \ - $$PWD/PythonQtWrapper_QSignalMapper.cpp \ - $$PWD/PythonQtWrapper_QSocketNotifier.cpp \ - $$PWD/PythonQtWrapper_QStringMatcher.cpp \ - $$PWD/PythonQtWrapper_QSystemSemaphore.cpp \ - $$PWD/PythonQtWrapper_QTemporaryFile.cpp \ - $$PWD/PythonQtWrapper_QTextBoundaryFinder.cpp \ - $$PWD/PythonQtWrapper_QTextCodec.cpp \ - $$PWD/PythonQtWrapper_QTextCodecPlugin.cpp \ - $$PWD/PythonQtWrapper_QTextDecoder.cpp \ - $$PWD/PythonQtWrapper_QTextEncoder.cpp \ - $$PWD/PythonQtWrapper_QTextStream.cpp \ - $$PWD/PythonQtWrapper_QThreadPool.cpp \ - $$PWD/PythonQtWrapper_QTimeLine.cpp \ - $$PWD/PythonQtWrapper_QTimer.cpp \ - $$PWD/PythonQtWrapper_QTimerEvent.cpp \ - $$PWD/PythonQtWrapper_QTranslator.cpp \ - $$PWD/PythonQtWrapper_QUuid.cpp \ - $$PWD/PythonQtWrapper_QWaitCondition.cpp \ - $$PWD/PythonQtWrapper_QXmlStreamAttribute.cpp \ - $$PWD/PythonQtWrapper_QXmlStreamAttributes.cpp \ - $$PWD/PythonQtWrapper_QXmlStreamEntityDeclaration.cpp \ - $$PWD/PythonQtWrapper_QXmlStreamEntityResolver.cpp \ - $$PWD/PythonQtWrapper_QXmlStreamNamespaceDeclaration.cpp \ - $$PWD/PythonQtWrapper_QXmlStreamNotationDeclaration.cpp \ - $$PWD/PythonQtWrapper_QXmlStreamReader.cpp \ - $$PWD/PythonQtWrapper_QXmlStreamWriter.cpp \ - $$PWD/PythonQtWrapper_QtConcurrent.cpp \ - $$PWD/com_trolltech_qt_core_init.cpp diff --git a/generated_cpp/com_trolltech_qt_core/com_trolltech_qt_core_init.cpp b/generated_cpp/com_trolltech_qt_core/com_trolltech_qt_core_init.cpp deleted file mode 100644 index 4a36c16..0000000 --- a/generated_cpp/com_trolltech_qt_core/com_trolltech_qt_core_init.cpp +++ /dev/null @@ -1,160 +0,0 @@ -#include -#include "PythonQtWrapper_QSizeF.h" -#include "PythonQtWrapper_QPointF.h" -#include "PythonQtWrapper_QtConcurrent.h" -#include "PythonQtWrapper_QUrl.h" -#include "PythonQtWrapper_QTextBoundaryFinder.h" -#include "PythonQtWrapper_QBitArray.h" -#include "PythonQtWrapper_QRegExp.h" -#include "PythonQtWrapper_QDateTime.h" -#include "PythonQtWrapper_QFileInfo.h" -#include "PythonQtWrapper_QWaitCondition.h" -#include "PythonQtWrapper_QStringMatcher.h" -#include "PythonQtWrapper_QXmlStreamEntityDeclaration.h" -#include "PythonQtWrapper_QUuid.h" -#include "PythonQtWrapper_QLocale.h" -#include "PythonQtWrapper_QXmlStreamEntityResolver.h" -#include "PythonQtWrapper_QXmlStreamWriter.h" -#include "PythonQtWrapper_QTime.h" -#include "PythonQtWrapper_QXmlStreamAttribute.h" -#include "PythonQtWrapper_QModelIndex.h" -#include "PythonQtWrapper_QTextEncoder.h" -#include "PythonQtWrapper_QLine.h" -#include "PythonQtWrapper_QCryptographicHash.h" -#include "PythonQtWrapper_QMutex.h" -#include "PythonQtWrapper_QByteArray.h" -#include "PythonQtWrapper_QSize.h" -#include "PythonQtWrapper_QDir.h" -#include "PythonQtWrapper_QBasicTimer.h" -#include "PythonQtWrapper_QSystemSemaphore.h" -#include "PythonQtWrapper_QEvent.h" -#include "PythonQtWrapper_QPoint.h" -#include "PythonQtWrapper_QRectF.h" -#include "PythonQtWrapper_QDataStream.h" -#include "PythonQtWrapper_Qt.h" -#include "PythonQtWrapper_QSemaphore.h" -#include "PythonQtWrapper_QLineF.h" -#include "PythonQtWrapper_QDirIterator.h" -#include "PythonQtWrapper_QXmlStreamNamespaceDeclaration.h" -#include "PythonQtWrapper_QXmlStreamReader.h" -#include "PythonQtWrapper_QRect.h" -#include "PythonQtWrapper_QLibraryInfo.h" -#include "PythonQtWrapper_QObject.h" -#include "PythonQtWrapper_QPersistentModelIndex.h" -#include "PythonQtWrapper_QXmlStreamNotationDeclaration.h" -#include "PythonQtWrapper_QXmlStreamAttributes.h" -#include "PythonQtWrapper_QTextDecoder.h" -#include "PythonQtWrapper_QDate.h" -#include "PythonQtWrapper_QRunnable.h" -#include "PythonQtWrapper_QByteArrayMatcher.h" -#include "PythonQtWrapper_QTextCodec.h" -#include "PythonQtWrapper_QTextStream.h" -#include "PythonQtWrapper_QCoreApplication.h" -#include "PythonQtWrapper_QFileSystemWatcher.h" -#include "PythonQtWrapper_QEventLoop.h" -#include "PythonQtWrapper_QMimeData.h" -#include "PythonQtWrapper_QThreadPool.h" -#include "PythonQtWrapper_QTextCodecPlugin.h" -#include "PythonQtWrapper_QSignalMapper.h" -#include "PythonQtWrapper_QDynamicPropertyChangeEvent.h" -#include "PythonQtWrapper_QTimer.h" -#include "PythonQtWrapper_QChildEvent.h" -#include "PythonQtWrapper_QSettings.h" -#include "PythonQtWrapper_QIODevice.h" -#include "PythonQtWrapper_QAbstractItemModel.h" -#include "PythonQtWrapper_QTimeLine.h" -#include "PythonQtWrapper_QTimerEvent.h" -#include "PythonQtWrapper_QSocketNotifier.h" -#include "PythonQtWrapper_QTranslator.h" -#include "PythonQtWrapper_QAbstractListModel.h" -#include "PythonQtWrapper_QProcess.h" -#include "PythonQtWrapper_QBuffer.h" -#include "PythonQtWrapper_QFile.h" -#include "PythonQtWrapper_QAbstractTableModel.h" -#include "PythonQtWrapper_QTemporaryFile.h" - -static void* polymorphichandler_QEvent(const void *ptr, char **class_name) -{ - Q_ASSERT(ptr != 0); - QEvent *object = (QEvent *)ptr; - if (object->type() == QEvent::None) { - *class_name = "QEvent"; - return (QEvent*)object; - } - if (object->type() == QEvent::DynamicPropertyChange) { - *class_name = "QDynamicPropertyChangeEvent"; - return (QDynamicPropertyChangeEvent*)object; - } - if (object->type() == QEvent::ChildAdded || object->type() == QEvent::ChildPolished || object->type() == QEvent::ChildRemoved) { - *class_name = "QChildEvent"; - return (QChildEvent*)object; - } - if (object->type() == QEvent::Timer) { - *class_name = "QTimerEvent"; - return (QTimerEvent*)object; - } - return NULL; -} - -void PythonQt_init_QtCore() { -PythonQt::self()->registerCPPClass("QtConcurrent", "", "QtCore", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QTextBoundaryFinder", "", "QtCore", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QBitArray", "", "QtCore", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QFileInfo", "", "QtCore", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QWaitCondition", "", "QtCore", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QStringMatcher", "", "QtCore", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QXmlStreamEntityDeclaration", "", "QtCore", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QUuid", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QXmlStreamEntityResolver", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QXmlStreamWriter", "", "QtCore", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QXmlStreamAttribute", "", "QtCore", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QModelIndex", "", "QtCore", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QTextEncoder", "", "QtCore", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QCryptographicHash", "", "QtCore", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QMutex", "", "QtCore", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QByteArray", "", "QtCore", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QDir", "", "QtCore", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QBasicTimer", "", "QtCore", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QSystemSemaphore", "", "QtCore", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QEvent", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QDataStream", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QSemaphore", "", "QtCore", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QDirIterator", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QXmlStreamNamespaceDeclaration", "", "QtCore", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QXmlStreamReader", "", "QtCore", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QLibraryInfo", "", "QtCore", PythonQtCreateObject); -PythonQt::self()->registerClass(&QObject::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QPersistentModelIndex", "", "QtCore", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QXmlStreamNotationDeclaration", "", "QtCore", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QXmlStreamAttributes", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QTextDecoder", "", "QtCore", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QRunnable", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QByteArrayMatcher", "", "QtCore", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QTextCodec", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QTextStream", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QCoreApplication::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QFileSystemWatcher::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QEventLoop::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QMimeData::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QThreadPool::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QTextCodecPlugin::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QSignalMapper::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QDynamicPropertyChangeEvent", "QEvent", "QtCore", PythonQtCreateObject); -PythonQt::self()->registerClass(&QTimer::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QChildEvent", "QEvent", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QSettings::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QIODevice::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QAbstractItemModel::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QTimeLine::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QTimerEvent", "QEvent", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QSocketNotifier::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QTranslator::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QAbstractListModel::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QProcess::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QBuffer::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QFile::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QAbstractTableModel::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QTemporaryFile::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); - -PythonQt::self()->addPolymorphicHandler("QEvent", polymorphichandler_QEvent); -} diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAbstractButton.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAbstractButton.cpp deleted file mode 100644 index e72bc08..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAbstractButton.cpp +++ /dev/null @@ -1,1060 +0,0 @@ -#include "PythonQtWrapper_QAbstractButton.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QAbstractButton::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QAbstractButton::actionEvent(arg__1); -} -void PythonQtShell_QAbstractButton::changeEvent(QEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractButton::changeEvent(e); -} -void PythonQtShell_QAbstractButton::checkStateSet() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "checkStateSet"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractButton::checkStateSet(); -} -void PythonQtShell_QAbstractButton::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; - } -} - QAbstractButton::childEvent(arg__1); -} -void PythonQtShell_QAbstractButton::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QAbstractButton::closeEvent(arg__1); -} -void PythonQtShell_QAbstractButton::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractButton::contextMenuEvent(arg__1); -} -void PythonQtShell_QAbstractButton::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; - } -} - QAbstractButton::customEvent(arg__1); -} -int PythonQtShell_QAbstractButton::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractButton::devType(); -} -void PythonQtShell_QAbstractButton::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QAbstractButton::dragEnterEvent(arg__1); -} -void PythonQtShell_QAbstractButton::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QAbstractButton::dragLeaveEvent(arg__1); -} -void PythonQtShell_QAbstractButton::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QAbstractButton::dragMoveEvent(arg__1); -} -void PythonQtShell_QAbstractButton::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QAbstractButton::dropEvent(arg__1); -} -void PythonQtShell_QAbstractButton::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QAbstractButton::enterEvent(arg__1); -} -bool PythonQtShell_QAbstractButton::event(QEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractButton::event(e); -} -bool PythonQtShell_QAbstractButton::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractButton::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QAbstractButton::focusInEvent(QFocusEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractButton::focusInEvent(e); -} -bool PythonQtShell_QAbstractButton::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractButton::focusNextPrevChild(next); -} -void PythonQtShell_QAbstractButton::focusOutEvent(QFocusEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractButton::focusOutEvent(e); -} -int PythonQtShell_QAbstractButton::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractButton::heightForWidth(arg__1); -} -void PythonQtShell_QAbstractButton::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QAbstractButton::hideEvent(arg__1); -} -bool PythonQtShell_QAbstractButton::hitButton(const QPoint& pos) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hitButton"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QPoint&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&pos}; - 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("hitButton", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractButton::hitButton(pos); -} -void PythonQtShell_QAbstractButton::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QAbstractButton::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QAbstractButton::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractButton::inputMethodQuery(arg__1); -} -void PythonQtShell_QAbstractButton::keyPressEvent(QKeyEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractButton::keyPressEvent(e); -} -void PythonQtShell_QAbstractButton::keyReleaseEvent(QKeyEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractButton::keyReleaseEvent(e); -} -void PythonQtShell_QAbstractButton::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractButton::languageChange(); -} -void PythonQtShell_QAbstractButton::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QAbstractButton::leaveEvent(arg__1); -} -int PythonQtShell_QAbstractButton::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractButton::metric(arg__1); -} -QSize PythonQtShell_QAbstractButton::minimumSizeHint() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractButton::minimumSizeHint(); -} -void PythonQtShell_QAbstractButton::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QAbstractButton::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QAbstractButton::mouseMoveEvent(QMouseEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractButton::mouseMoveEvent(e); -} -void PythonQtShell_QAbstractButton::mousePressEvent(QMouseEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractButton::mousePressEvent(e); -} -void PythonQtShell_QAbstractButton::mouseReleaseEvent(QMouseEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractButton::mouseReleaseEvent(e); -} -void PythonQtShell_QAbstractButton::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractButton::moveEvent(arg__1); -} -void PythonQtShell_QAbstractButton::nextCheckState() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "nextCheckState"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractButton::nextCheckState(); -} -QPaintEngine* PythonQtShell_QAbstractButton::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractButton::paintEngine(); -} -void PythonQtShell_QAbstractButton::paintEvent(QPaintEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - -} -void PythonQtShell_QAbstractButton::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - 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; - } -} - QAbstractButton::resizeEvent(arg__1); -} -void PythonQtShell_QAbstractButton::showEvent(QShowEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QAbstractButton::showEvent(arg__1); -} -QSize PythonQtShell_QAbstractButton::sizeHint() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getSizeHint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractButton::sizeHint(); -} -void PythonQtShell_QAbstractButton::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QAbstractButton::tabletEvent(arg__1); -} -void PythonQtShell_QAbstractButton::timerEvent(QTimerEvent* e) -{ -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*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractButton::timerEvent(e); -} -void PythonQtShell_QAbstractButton::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractButton::wheelEvent(arg__1); -} -QAbstractButton* PythonQtWrapper_QAbstractButton::new_QAbstractButton(QWidget* parent) -{ -return new PythonQtShell_QAbstractButton(parent); } - -void PythonQtWrapper_QAbstractButton::setAutoRepeatInterval(QAbstractButton* theWrappedObject, int arg__1) -{ - ( theWrappedObject->setAutoRepeatInterval(arg__1)); -} - -void PythonQtWrapper_QAbstractButton::timerEvent(QAbstractButton* theWrappedObject, QTimerEvent* e) -{ - ( ((PythonQtPublicPromoter_QAbstractButton*)theWrappedObject)->promoted_timerEvent(e)); -} - -void PythonQtWrapper_QAbstractButton::focusOutEvent(QAbstractButton* theWrappedObject, QFocusEvent* e) -{ - ( ((PythonQtPublicPromoter_QAbstractButton*)theWrappedObject)->promoted_focusOutEvent(e)); -} - -void PythonQtWrapper_QAbstractButton::checkStateSet(QAbstractButton* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QAbstractButton*)theWrappedObject)->promoted_checkStateSet()); -} - -bool PythonQtWrapper_QAbstractButton::hitButton(QAbstractButton* theWrappedObject, const QPoint& pos) const -{ - return ( ((PythonQtPublicPromoter_QAbstractButton*)theWrappedObject)->promoted_hitButton(pos)); -} - -void PythonQtWrapper_QAbstractButton::mouseReleaseEvent(QAbstractButton* theWrappedObject, QMouseEvent* e) -{ - ( ((PythonQtPublicPromoter_QAbstractButton*)theWrappedObject)->promoted_mouseReleaseEvent(e)); -} - -void PythonQtWrapper_QAbstractButton::setAutoExclusive(QAbstractButton* theWrappedObject, bool arg__1) -{ - ( theWrappedObject->setAutoExclusive(arg__1)); -} - -void PythonQtWrapper_QAbstractButton::setText(QAbstractButton* theWrappedObject, const QString& text) -{ - ( theWrappedObject->setText(text)); -} - -void PythonQtWrapper_QAbstractButton::setCheckable(QAbstractButton* theWrappedObject, bool arg__1) -{ - ( theWrappedObject->setCheckable(arg__1)); -} - -QSize PythonQtWrapper_QAbstractButton::iconSize(QAbstractButton* theWrappedObject) const -{ - return ( theWrappedObject->iconSize()); -} - -QKeySequence PythonQtWrapper_QAbstractButton::shortcut(QAbstractButton* theWrappedObject) const -{ - return ( theWrappedObject->shortcut()); -} - -int PythonQtWrapper_QAbstractButton::autoRepeatInterval(QAbstractButton* theWrappedObject) const -{ - return ( theWrappedObject->autoRepeatInterval()); -} - -void PythonQtWrapper_QAbstractButton::keyPressEvent(QAbstractButton* theWrappedObject, QKeyEvent* e) -{ - ( ((PythonQtPublicPromoter_QAbstractButton*)theWrappedObject)->promoted_keyPressEvent(e)); -} - -QString PythonQtWrapper_QAbstractButton::text(QAbstractButton* theWrappedObject) const -{ - return ( theWrappedObject->text()); -} - -void PythonQtWrapper_QAbstractButton::setShortcut(QAbstractButton* theWrappedObject, const QKeySequence& key) -{ - ( theWrappedObject->setShortcut(key)); -} - -void PythonQtWrapper_QAbstractButton::keyReleaseEvent(QAbstractButton* theWrappedObject, QKeyEvent* e) -{ - ( ((PythonQtPublicPromoter_QAbstractButton*)theWrappedObject)->promoted_keyReleaseEvent(e)); -} - -bool PythonQtWrapper_QAbstractButton::isDown(QAbstractButton* theWrappedObject) const -{ - return ( theWrappedObject->isDown()); -} - -bool PythonQtWrapper_QAbstractButton::autoExclusive(QAbstractButton* theWrappedObject) const -{ - return ( theWrappedObject->autoExclusive()); -} - -void PythonQtWrapper_QAbstractButton::nextCheckState(QAbstractButton* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QAbstractButton*)theWrappedObject)->promoted_nextCheckState()); -} - -void PythonQtWrapper_QAbstractButton::setDown(QAbstractButton* theWrappedObject, bool arg__1) -{ - ( theWrappedObject->setDown(arg__1)); -} - -void PythonQtWrapper_QAbstractButton::focusInEvent(QAbstractButton* theWrappedObject, QFocusEvent* e) -{ - ( ((PythonQtPublicPromoter_QAbstractButton*)theWrappedObject)->promoted_focusInEvent(e)); -} - -void PythonQtWrapper_QAbstractButton::setAutoRepeat(QAbstractButton* theWrappedObject, bool arg__1) -{ - ( theWrappedObject->setAutoRepeat(arg__1)); -} - -bool PythonQtWrapper_QAbstractButton::isChecked(QAbstractButton* theWrappedObject) const -{ - return ( theWrappedObject->isChecked()); -} - -bool PythonQtWrapper_QAbstractButton::autoRepeat(QAbstractButton* theWrappedObject) const -{ - return ( theWrappedObject->autoRepeat()); -} - -QIcon PythonQtWrapper_QAbstractButton::icon(QAbstractButton* theWrappedObject) const -{ - return ( theWrappedObject->icon()); -} - -void PythonQtWrapper_QAbstractButton::mouseMoveEvent(QAbstractButton* theWrappedObject, QMouseEvent* e) -{ - ( ((PythonQtPublicPromoter_QAbstractButton*)theWrappedObject)->promoted_mouseMoveEvent(e)); -} - -void PythonQtWrapper_QAbstractButton::mousePressEvent(QAbstractButton* theWrappedObject, QMouseEvent* e) -{ - ( ((PythonQtPublicPromoter_QAbstractButton*)theWrappedObject)->promoted_mousePressEvent(e)); -} - -void PythonQtWrapper_QAbstractButton::changeEvent(QAbstractButton* theWrappedObject, QEvent* e) -{ - ( ((PythonQtPublicPromoter_QAbstractButton*)theWrappedObject)->promoted_changeEvent(e)); -} - -bool PythonQtWrapper_QAbstractButton::isCheckable(QAbstractButton* theWrappedObject) const -{ - return ( theWrappedObject->isCheckable()); -} - -bool PythonQtWrapper_QAbstractButton::event(QAbstractButton* theWrappedObject, QEvent* e) -{ - return ( ((PythonQtPublicPromoter_QAbstractButton*)theWrappedObject)->promoted_event(e)); -} - -void PythonQtWrapper_QAbstractButton::setAutoRepeatDelay(QAbstractButton* theWrappedObject, int arg__1) -{ - ( theWrappedObject->setAutoRepeatDelay(arg__1)); -} - -void PythonQtWrapper_QAbstractButton::setIcon(QAbstractButton* theWrappedObject, const QIcon& icon) -{ - ( theWrappedObject->setIcon(icon)); -} - -int PythonQtWrapper_QAbstractButton::autoRepeatDelay(QAbstractButton* theWrappedObject) const -{ - return ( theWrappedObject->autoRepeatDelay()); -} - -QButtonGroup* PythonQtWrapper_QAbstractButton::group(QAbstractButton* theWrappedObject) const -{ - return ( theWrappedObject->group()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAbstractButton.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAbstractButton.h deleted file mode 100644 index 35e1776..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAbstractButton.h +++ /dev/null @@ -1,149 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QABSTRACTBUTTON_H -#define PYTHONQTWRAPPER_QABSTRACTBUTTON_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QAbstractButton : public QAbstractButton -{ -public: - PythonQtShell_QAbstractButton(QWidget* parent = 0):QAbstractButton(parent),_wrapper(NULL) {}; - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* e); -virtual void checkStateSet(); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* e); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* e); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual bool hitButton(const QPoint& pos) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* e); -virtual void keyReleaseEvent(QKeyEvent* e); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* e); -virtual void mousePressEvent(QMouseEvent* e); -virtual void mouseReleaseEvent(QMouseEvent* e); -virtual void moveEvent(QMoveEvent* arg__1); -virtual void nextCheckState(); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* e); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* e); -virtual void wheelEvent(QWheelEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QAbstractButton : public QAbstractButton -{ public: -inline void promoted_timerEvent(QTimerEvent* e) { QAbstractButton::timerEvent(e); } -inline void promoted_focusOutEvent(QFocusEvent* e) { QAbstractButton::focusOutEvent(e); } -inline void promoted_checkStateSet() { QAbstractButton::checkStateSet(); } -inline bool promoted_hitButton(const QPoint& pos) const { return QAbstractButton::hitButton(pos); } -inline void promoted_mouseReleaseEvent(QMouseEvent* e) { QAbstractButton::mouseReleaseEvent(e); } -inline void promoted_keyPressEvent(QKeyEvent* e) { QAbstractButton::keyPressEvent(e); } -inline void promoted_keyReleaseEvent(QKeyEvent* e) { QAbstractButton::keyReleaseEvent(e); } -inline void promoted_nextCheckState() { QAbstractButton::nextCheckState(); } -inline void promoted_focusInEvent(QFocusEvent* e) { QAbstractButton::focusInEvent(e); } -inline void promoted_mouseMoveEvent(QMouseEvent* e) { QAbstractButton::mouseMoveEvent(e); } -inline void promoted_mousePressEvent(QMouseEvent* e) { QAbstractButton::mousePressEvent(e); } -inline void promoted_changeEvent(QEvent* e) { QAbstractButton::changeEvent(e); } -inline bool promoted_event(QEvent* e) { return QAbstractButton::event(e); } -}; - -class PythonQtWrapper_QAbstractButton : public QObject -{ Q_OBJECT -public: -public slots: -QAbstractButton* new_QAbstractButton(QWidget* parent = 0); -void delete_QAbstractButton(QAbstractButton* obj) { delete obj; } - void setAutoRepeatInterval(QAbstractButton* theWrappedObject, int arg__1); - void timerEvent(QAbstractButton* theWrappedObject, QTimerEvent* e); - void focusOutEvent(QAbstractButton* theWrappedObject, QFocusEvent* e); - void checkStateSet(QAbstractButton* theWrappedObject); - bool hitButton(QAbstractButton* theWrappedObject, const QPoint& pos) const; - void mouseReleaseEvent(QAbstractButton* theWrappedObject, QMouseEvent* e); - void setAutoExclusive(QAbstractButton* theWrappedObject, bool arg__1); - void setText(QAbstractButton* theWrappedObject, const QString& text); - void setCheckable(QAbstractButton* theWrappedObject, bool arg__1); - QSize iconSize(QAbstractButton* theWrappedObject) const; - QKeySequence shortcut(QAbstractButton* theWrappedObject) const; - int autoRepeatInterval(QAbstractButton* theWrappedObject) const; - void keyPressEvent(QAbstractButton* theWrappedObject, QKeyEvent* e); - QString text(QAbstractButton* theWrappedObject) const; - void setShortcut(QAbstractButton* theWrappedObject, const QKeySequence& key); - void keyReleaseEvent(QAbstractButton* theWrappedObject, QKeyEvent* e); - bool isDown(QAbstractButton* theWrappedObject) const; - bool autoExclusive(QAbstractButton* theWrappedObject) const; - void nextCheckState(QAbstractButton* theWrappedObject); - void setDown(QAbstractButton* theWrappedObject, bool arg__1); - void focusInEvent(QAbstractButton* theWrappedObject, QFocusEvent* e); - void setAutoRepeat(QAbstractButton* theWrappedObject, bool arg__1); - bool isChecked(QAbstractButton* theWrappedObject) const; - bool autoRepeat(QAbstractButton* theWrappedObject) const; - QIcon icon(QAbstractButton* theWrappedObject) const; - void mouseMoveEvent(QAbstractButton* theWrappedObject, QMouseEvent* e); - void mousePressEvent(QAbstractButton* theWrappedObject, QMouseEvent* e); - void changeEvent(QAbstractButton* theWrappedObject, QEvent* e); - bool isCheckable(QAbstractButton* theWrappedObject) const; - bool event(QAbstractButton* theWrappedObject, QEvent* e); - void setAutoRepeatDelay(QAbstractButton* theWrappedObject, int arg__1); - void setIcon(QAbstractButton* theWrappedObject, const QIcon& icon); - int autoRepeatDelay(QAbstractButton* theWrappedObject) const; - QButtonGroup* group(QAbstractButton* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QABSTRACTBUTTON_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAbstractGraphicsShapeItem.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAbstractGraphicsShapeItem.cpp deleted file mode 100644 index 27b96db..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAbstractGraphicsShapeItem.cpp +++ /dev/null @@ -1,811 +0,0 @@ -#include "PythonQtWrapper_QAbstractGraphicsShapeItem.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QAbstractGraphicsShapeItem::advance(int phase) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "advance"); - 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*)&phase}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractGraphicsShapeItem::advance(phase); -} -QRectF PythonQtShell_QAbstractGraphicsShapeItem::boundingRect() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "boundingRect"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QRectF"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRectF returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); - } else { - returnValue = *((QRectF*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QRectF result; -return result; -} -bool PythonQtShell_QAbstractGraphicsShapeItem::collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "collidesWithItem"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QGraphicsItem*" , "Qt::ItemSelectionMode"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&other, (void*)&mode}; - 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("collidesWithItem", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractGraphicsShapeItem::collidesWithItem(other, mode); -} -bool PythonQtShell_QAbstractGraphicsShapeItem::collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "collidesWithPath"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&path, (void*)&mode}; - 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("collidesWithPath", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractGraphicsShapeItem::collidesWithPath(path, mode); -} -bool PythonQtShell_QAbstractGraphicsShapeItem::contains(const QPointF& point) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contains"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QPointF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&point}; - 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("contains", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractGraphicsShapeItem::contains(point); -} -void PythonQtShell_QAbstractGraphicsShapeItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; - 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; - } -} - QAbstractGraphicsShapeItem::contextMenuEvent(event); -} -void PythonQtShell_QAbstractGraphicsShapeItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractGraphicsShapeItem::dragEnterEvent(event); -} -void PythonQtShell_QAbstractGraphicsShapeItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractGraphicsShapeItem::dragLeaveEvent(event); -} -void PythonQtShell_QAbstractGraphicsShapeItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractGraphicsShapeItem::dragMoveEvent(event); -} -void PythonQtShell_QAbstractGraphicsShapeItem::dropEvent(QGraphicsSceneDragDropEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractGraphicsShapeItem::dropEvent(event); -} -QVariant PythonQtShell_QAbstractGraphicsShapeItem::extension(const QVariant& variant) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "extension"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&variant}; - 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("extension", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractGraphicsShapeItem::extension(variant); -} -void PythonQtShell_QAbstractGraphicsShapeItem::focusInEvent(QFocusEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QAbstractGraphicsShapeItem::focusInEvent(event); -} -void PythonQtShell_QAbstractGraphicsShapeItem::focusOutEvent(QFocusEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QAbstractGraphicsShapeItem::focusOutEvent(event); -} -void PythonQtShell_QAbstractGraphicsShapeItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hoverEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; - 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; - } -} - QAbstractGraphicsShapeItem::hoverEnterEvent(event); -} -void PythonQtShell_QAbstractGraphicsShapeItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hoverLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; - 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; - } -} - QAbstractGraphicsShapeItem::hoverLeaveEvent(event); -} -void PythonQtShell_QAbstractGraphicsShapeItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hoverMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; - 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; - } -} - QAbstractGraphicsShapeItem::hoverMoveEvent(event); -} -void PythonQtShell_QAbstractGraphicsShapeItem::inputMethodEvent(QInputMethodEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QAbstractGraphicsShapeItem::inputMethodEvent(event); -} -QVariant PythonQtShell_QAbstractGraphicsShapeItem::inputMethodQuery(Qt::InputMethodQuery query) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&query}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractGraphicsShapeItem::inputMethodQuery(query); -} -bool PythonQtShell_QAbstractGraphicsShapeItem::isObscuredBy(const QGraphicsItem* item) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isObscuredBy"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&item}; - 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("isObscuredBy", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractGraphicsShapeItem::isObscuredBy(item); -} -QVariant PythonQtShell_QAbstractGraphicsShapeItem::itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&change, (void*)&value}; - 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("itemChange", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractGraphicsShapeItem::itemChange(change, value); -} -void PythonQtShell_QAbstractGraphicsShapeItem::keyPressEvent(QKeyEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractGraphicsShapeItem::keyPressEvent(event); -} -void PythonQtShell_QAbstractGraphicsShapeItem::keyReleaseEvent(QKeyEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractGraphicsShapeItem::keyReleaseEvent(event); -} -void PythonQtShell_QAbstractGraphicsShapeItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractGraphicsShapeItem::mouseDoubleClickEvent(event); -} -void PythonQtShell_QAbstractGraphicsShapeItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractGraphicsShapeItem::mouseMoveEvent(event); -} -void PythonQtShell_QAbstractGraphicsShapeItem::mousePressEvent(QGraphicsSceneMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractGraphicsShapeItem::mousePressEvent(event); -} -void PythonQtShell_QAbstractGraphicsShapeItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractGraphicsShapeItem::mouseReleaseEvent(event); -} -QPainterPath PythonQtShell_QAbstractGraphicsShapeItem::opaqueArea() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "opaqueArea"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); - } else { - returnValue = *((QPainterPath*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractGraphicsShapeItem::opaqueArea(); -} -void PythonQtShell_QAbstractGraphicsShapeItem::paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter, (void*)&option, (void*)&widget}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - -} -bool PythonQtShell_QAbstractGraphicsShapeItem::sceneEvent(QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sceneEvent"); - 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("sceneEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractGraphicsShapeItem::sceneEvent(event); -} -bool PythonQtShell_QAbstractGraphicsShapeItem::sceneEventFilter(QGraphicsItem* watched, QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sceneEventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&watched, (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("sceneEventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractGraphicsShapeItem::sceneEventFilter(watched, event); -} -void PythonQtShell_QAbstractGraphicsShapeItem::setExtension(QGraphicsItem::Extension extension, const QVariant& variant) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setExtension"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&extension, (void*)&variant}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractGraphicsShapeItem::setExtension(extension, variant); -} -QPainterPath PythonQtShell_QAbstractGraphicsShapeItem::shape() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "shape"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); - } else { - returnValue = *((QPainterPath*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractGraphicsShapeItem::shape(); -} -bool PythonQtShell_QAbstractGraphicsShapeItem::supportsExtension(QGraphicsItem::Extension extension) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "supportsExtension"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&extension}; - 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("supportsExtension", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractGraphicsShapeItem::supportsExtension(extension); -} -int PythonQtShell_QAbstractGraphicsShapeItem::type() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "type"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractGraphicsShapeItem::type(); -} -void PythonQtShell_QAbstractGraphicsShapeItem::wheelEvent(QGraphicsSceneWheelEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; - 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; - } -} - QAbstractGraphicsShapeItem::wheelEvent(event); -} -QAbstractGraphicsShapeItem* PythonQtWrapper_QAbstractGraphicsShapeItem::new_QAbstractGraphicsShapeItem(QGraphicsItem* parent, QGraphicsScene* scene) -{ -return new PythonQtShell_QAbstractGraphicsShapeItem(parent, scene); } - -QPainterPath PythonQtWrapper_QAbstractGraphicsShapeItem::opaqueArea(QAbstractGraphicsShapeItem* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QAbstractGraphicsShapeItem*)theWrappedObject)->promoted_opaqueArea()); -} - -bool PythonQtWrapper_QAbstractGraphicsShapeItem::isObscuredBy(QAbstractGraphicsShapeItem* theWrappedObject, const QGraphicsItem* item) const -{ - return ( ((PythonQtPublicPromoter_QAbstractGraphicsShapeItem*)theWrappedObject)->promoted_isObscuredBy(item)); -} - -QPen PythonQtWrapper_QAbstractGraphicsShapeItem::pen(QAbstractGraphicsShapeItem* theWrappedObject) const -{ - return ( theWrappedObject->pen()); -} - -void PythonQtWrapper_QAbstractGraphicsShapeItem::setBrush(QAbstractGraphicsShapeItem* theWrappedObject, const QBrush& brush) -{ - ( theWrappedObject->setBrush(brush)); -} - -void PythonQtWrapper_QAbstractGraphicsShapeItem::setPen(QAbstractGraphicsShapeItem* theWrappedObject, const QPen& pen) -{ - ( theWrappedObject->setPen(pen)); -} - -QBrush PythonQtWrapper_QAbstractGraphicsShapeItem::brush(QAbstractGraphicsShapeItem* theWrappedObject) const -{ - return ( theWrappedObject->brush()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAbstractGraphicsShapeItem.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAbstractGraphicsShapeItem.h deleted file mode 100644 index 06381b7..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAbstractGraphicsShapeItem.h +++ /dev/null @@ -1,95 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QABSTRACTGRAPHICSSHAPEITEM_H -#define PYTHONQTWRAPPER_QABSTRACTGRAPHICSSHAPEITEM_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QAbstractGraphicsShapeItem : public QAbstractGraphicsShapeItem -{ -public: - PythonQtShell_QAbstractGraphicsShapeItem(QGraphicsItem* parent = 0, QGraphicsScene* scene = 0):QAbstractGraphicsShapeItem(parent, scene),_wrapper(NULL) {}; - -virtual void advance(int phase); -virtual QRectF boundingRect() const; -virtual bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode) const; -virtual bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode) const; -virtual bool contains(const QPointF& point) const; -virtual void contextMenuEvent(QGraphicsSceneContextMenuEvent* event); -virtual void dragEnterEvent(QGraphicsSceneDragDropEvent* event); -virtual void dragLeaveEvent(QGraphicsSceneDragDropEvent* event); -virtual void dragMoveEvent(QGraphicsSceneDragDropEvent* event); -virtual void dropEvent(QGraphicsSceneDragDropEvent* event); -virtual QVariant extension(const QVariant& variant) const; -virtual void focusInEvent(QFocusEvent* event); -virtual void focusOutEvent(QFocusEvent* event); -virtual void hoverEnterEvent(QGraphicsSceneHoverEvent* event); -virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent* event); -virtual void hoverMoveEvent(QGraphicsSceneHoverEvent* event); -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual bool isObscuredBy(const QGraphicsItem* item) const; -virtual QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value); -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event); -virtual void mouseMoveEvent(QGraphicsSceneMouseEvent* event); -virtual void mousePressEvent(QGraphicsSceneMouseEvent* event); -virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent* event); -virtual QPainterPath opaqueArea() const; -virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget); -virtual bool sceneEvent(QEvent* event); -virtual bool sceneEventFilter(QGraphicsItem* watched, QEvent* event); -virtual void setExtension(QGraphicsItem::Extension extension, const QVariant& variant); -virtual QPainterPath shape() const; -virtual bool supportsExtension(QGraphicsItem::Extension extension) const; -virtual int type() const; -virtual void wheelEvent(QGraphicsSceneWheelEvent* event); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QAbstractGraphicsShapeItem : public QAbstractGraphicsShapeItem -{ public: -inline QPainterPath promoted_opaqueArea() const { return QAbstractGraphicsShapeItem::opaqueArea(); } -inline bool promoted_isObscuredBy(const QGraphicsItem* item) const { return QAbstractGraphicsShapeItem::isObscuredBy(item); } -}; - -class PythonQtWrapper_QAbstractGraphicsShapeItem : public QObject -{ Q_OBJECT -public: -public slots: -QAbstractGraphicsShapeItem* new_QAbstractGraphicsShapeItem(QGraphicsItem* parent = 0, QGraphicsScene* scene = 0); -void delete_QAbstractGraphicsShapeItem(QAbstractGraphicsShapeItem* obj) { delete obj; } - QPainterPath opaqueArea(QAbstractGraphicsShapeItem* theWrappedObject) const; - bool isObscuredBy(QAbstractGraphicsShapeItem* theWrappedObject, const QGraphicsItem* item) const; - QPen pen(QAbstractGraphicsShapeItem* theWrappedObject) const; - void setBrush(QAbstractGraphicsShapeItem* theWrappedObject, const QBrush& brush); - void setPen(QAbstractGraphicsShapeItem* theWrappedObject, const QPen& pen); - QBrush brush(QAbstractGraphicsShapeItem* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QABSTRACTGRAPHICSSHAPEITEM_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAbstractItemDelegate.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAbstractItemDelegate.cpp deleted file mode 100644 index 9d78bc9..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAbstractItemDelegate.cpp +++ /dev/null @@ -1,307 +0,0 @@ -#include "PythonQtWrapper_QAbstractItemDelegate.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QAbstractItemDelegate::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; - } -} - QAbstractItemDelegate::childEvent(arg__1); -} -QWidget* PythonQtShell_QAbstractItemDelegate::createEditor(QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "createEditor"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QWidget*" , "QWidget*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QWidget* returnValue; - void* args[4] = {NULL, (void*)&parent, (void*)&option, (void*)&index}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("createEditor", methodInfo, result); - } else { - returnValue = *((QWidget**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractItemDelegate::createEditor(parent, option, index); -} -void PythonQtShell_QAbstractItemDelegate::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; - } -} - QAbstractItemDelegate::customEvent(arg__1); -} -bool PythonQtShell_QAbstractItemDelegate::editorEvent(QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "editorEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*" , "QAbstractItemModel*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - bool returnValue; - void* args[5] = {NULL, (void*)&event, (void*)&model, (void*)&option, (void*)&index}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("editorEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractItemDelegate::editorEvent(event, model, option, index); -} -bool PythonQtShell_QAbstractItemDelegate::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractItemDelegate::event(arg__1); -} -bool PythonQtShell_QAbstractItemDelegate::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractItemDelegate::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QAbstractItemDelegate::paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter, (void*)&option, (void*)&index}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - -} -void PythonQtShell_QAbstractItemDelegate::setEditorData(QWidget* editor, const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setEditorData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWidget*" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&editor, (void*)&index}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractItemDelegate::setEditorData(editor, index); -} -void PythonQtShell_QAbstractItemDelegate::setModelData(QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setModelData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemModel*" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&editor, (void*)&model, (void*)&index}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractItemDelegate::setModelData(editor, model, index); -} -QSize PythonQtShell_QAbstractItemDelegate::sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeHint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QSize returnValue; - void* args[3] = {NULL, (void*)&option, (void*)&index}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QSize result; -return result; -} -void PythonQtShell_QAbstractItemDelegate::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; - } -} - QAbstractItemDelegate::timerEvent(arg__1); -} -void PythonQtShell_QAbstractItemDelegate::updateEditorGeometry(QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateEditorGeometry"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWidget*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&editor, (void*)&option, (void*)&index}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractItemDelegate::updateEditorGeometry(editor, option, index); -} -QAbstractItemDelegate* PythonQtWrapper_QAbstractItemDelegate::new_QAbstractItemDelegate(QObject* parent) -{ -return new PythonQtShell_QAbstractItemDelegate(parent); } - -QWidget* PythonQtWrapper_QAbstractItemDelegate::createEditor(QAbstractItemDelegate* theWrappedObject, QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const -{ - return ( ((PythonQtPublicPromoter_QAbstractItemDelegate*)theWrappedObject)->promoted_createEditor(parent, option, index)); -} - -bool PythonQtWrapper_QAbstractItemDelegate::editorEvent(QAbstractItemDelegate* theWrappedObject, QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index) -{ - return ( ((PythonQtPublicPromoter_QAbstractItemDelegate*)theWrappedObject)->promoted_editorEvent(event, model, option, index)); -} - -void PythonQtWrapper_QAbstractItemDelegate::setEditorData(QAbstractItemDelegate* theWrappedObject, QWidget* editor, const QModelIndex& index) const -{ - ( ((PythonQtPublicPromoter_QAbstractItemDelegate*)theWrappedObject)->promoted_setEditorData(editor, index)); -} - -void PythonQtWrapper_QAbstractItemDelegate::updateEditorGeometry(QAbstractItemDelegate* theWrappedObject, QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const -{ - ( ((PythonQtPublicPromoter_QAbstractItemDelegate*)theWrappedObject)->promoted_updateEditorGeometry(editor, option, index)); -} - -void PythonQtWrapper_QAbstractItemDelegate::setModelData(QAbstractItemDelegate* theWrappedObject, QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const -{ - ( ((PythonQtPublicPromoter_QAbstractItemDelegate*)theWrappedObject)->promoted_setModelData(editor, model, index)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAbstractItemDelegate.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAbstractItemDelegate.h deleted file mode 100644 index 2cc6894..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAbstractItemDelegate.h +++ /dev/null @@ -1,68 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QABSTRACTITEMDELEGATE_H -#define PYTHONQTWRAPPER_QABSTRACTITEMDELEGATE_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QAbstractItemDelegate : public QAbstractItemDelegate -{ -public: - PythonQtShell_QAbstractItemDelegate(QObject* parent = 0):QAbstractItemDelegate(parent),_wrapper(NULL) {}; - -virtual void childEvent(QChildEvent* arg__1); -virtual QWidget* createEditor(QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const; -virtual void customEvent(QEvent* arg__1); -virtual bool editorEvent(QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const; -virtual void setEditorData(QWidget* editor, const QModelIndex& index) const; -virtual void setModelData(QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const; -virtual QSize sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const; -virtual void timerEvent(QTimerEvent* arg__1); -virtual void updateEditorGeometry(QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QAbstractItemDelegate : public QAbstractItemDelegate -{ public: -inline QWidget* promoted_createEditor(QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const { return QAbstractItemDelegate::createEditor(parent, option, index); } -inline bool promoted_editorEvent(QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index) { return QAbstractItemDelegate::editorEvent(event, model, option, index); } -inline void promoted_setEditorData(QWidget* editor, const QModelIndex& index) const { QAbstractItemDelegate::setEditorData(editor, index); } -inline void promoted_updateEditorGeometry(QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const { QAbstractItemDelegate::updateEditorGeometry(editor, option, index); } -inline void promoted_setModelData(QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const { QAbstractItemDelegate::setModelData(editor, model, index); } -}; - -class PythonQtWrapper_QAbstractItemDelegate : public QObject -{ Q_OBJECT -public: -Q_ENUMS(EndEditHint ) -enum EndEditHint{ - NoHint = QAbstractItemDelegate::NoHint, EditNextItem = QAbstractItemDelegate::EditNextItem, EditPreviousItem = QAbstractItemDelegate::EditPreviousItem, SubmitModelCache = QAbstractItemDelegate::SubmitModelCache, RevertModelCache = QAbstractItemDelegate::RevertModelCache}; -public slots: -QAbstractItemDelegate* new_QAbstractItemDelegate(QObject* parent = 0); -void delete_QAbstractItemDelegate(QAbstractItemDelegate* obj) { delete obj; } - QWidget* createEditor(QAbstractItemDelegate* theWrappedObject, QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const; - bool editorEvent(QAbstractItemDelegate* theWrappedObject, QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index); - void setEditorData(QAbstractItemDelegate* theWrappedObject, QWidget* editor, const QModelIndex& index) const; - void updateEditorGeometry(QAbstractItemDelegate* theWrappedObject, QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const; - void setModelData(QAbstractItemDelegate* theWrappedObject, QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const; -}; - -#endif // PYTHONQTWRAPPER_QABSTRACTITEMDELEGATE_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAbstractItemView.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAbstractItemView.cpp deleted file mode 100644 index 501dcaf..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAbstractItemView.cpp +++ /dev/null @@ -1,1987 +0,0 @@ -#include "PythonQtWrapper_QAbstractItemView.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QAbstractItemView::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QAbstractItemView::actionEvent(arg__1); -} -void PythonQtShell_QAbstractItemView::changeEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractItemView::changeEvent(arg__1); -} -void PythonQtShell_QAbstractItemView::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; - } -} - QAbstractItemView::childEvent(arg__1); -} -void PythonQtShell_QAbstractItemView::closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEditor"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&editor, (void*)&hint}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractItemView::closeEditor(editor, hint); -} -void PythonQtShell_QAbstractItemView::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QAbstractItemView::closeEvent(arg__1); -} -void PythonQtShell_QAbstractItemView::commitData(QWidget* editor) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "commitData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractItemView::commitData(editor); -} -void PythonQtShell_QAbstractItemView::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractItemView::contextMenuEvent(arg__1); -} -void PythonQtShell_QAbstractItemView::currentChanged(const QModelIndex& current, const QModelIndex& previous) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "currentChanged"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)¤t, (void*)&previous}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractItemView::currentChanged(current, previous); -} -void PythonQtShell_QAbstractItemView::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; - } -} - QAbstractItemView::customEvent(arg__1); -} -void PythonQtShell_QAbstractItemView::dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dataChanged"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&topLeft, (void*)&bottomRight}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractItemView::dataChanged(topLeft, bottomRight); -} -int PythonQtShell_QAbstractItemView::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractItemView::devType(); -} -void PythonQtShell_QAbstractItemView::doItemsLayout() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "doItemsLayout"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractItemView::doItemsLayout(); -} -void PythonQtShell_QAbstractItemView::dragEnterEvent(QDragEnterEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QAbstractItemView::dragEnterEvent(event); -} -void PythonQtShell_QAbstractItemView::dragLeaveEvent(QDragLeaveEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QAbstractItemView::dragLeaveEvent(event); -} -void PythonQtShell_QAbstractItemView::dragMoveEvent(QDragMoveEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QAbstractItemView::dragMoveEvent(event); -} -void PythonQtShell_QAbstractItemView::dropEvent(QDropEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QAbstractItemView::dropEvent(event); -} -bool PythonQtShell_QAbstractItemView::edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "edit"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&index, (void*)&trigger, (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("edit", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractItemView::edit(index, trigger, event); -} -void PythonQtShell_QAbstractItemView::editorDestroyed(QObject* editor) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "editorDestroyed"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QObject*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractItemView::editorDestroyed(editor); -} -void PythonQtShell_QAbstractItemView::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QAbstractItemView::enterEvent(arg__1); -} -bool PythonQtShell_QAbstractItemView::event(QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractItemView::event(event); -} -bool PythonQtShell_QAbstractItemView::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractItemView::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QAbstractItemView::focusInEvent(QFocusEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QAbstractItemView::focusInEvent(event); -} -bool PythonQtShell_QAbstractItemView::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractItemView::focusNextPrevChild(next); -} -void PythonQtShell_QAbstractItemView::focusOutEvent(QFocusEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QAbstractItemView::focusOutEvent(event); -} -int PythonQtShell_QAbstractItemView::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractItemView::heightForWidth(arg__1); -} -void PythonQtShell_QAbstractItemView::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QAbstractItemView::hideEvent(arg__1); -} -int PythonQtShell_QAbstractItemView::horizontalOffset() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "horizontalOffset"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - int result; -return result; -} -void PythonQtShell_QAbstractItemView::horizontalScrollbarAction(int action) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "horizontalScrollbarAction"); - 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*)&action}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractItemView::horizontalScrollbarAction(action); -} -void PythonQtShell_QAbstractItemView::horizontalScrollbarValueChanged(int value) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "horizontalScrollbarValueChanged"); - 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*)&value}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractItemView::horizontalScrollbarValueChanged(value); -} -QModelIndex PythonQtShell_QAbstractItemView::indexAt(const QPoint& point) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "indexAt"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&point}; - 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("indexAt", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QModelIndex result; -return result; -} -void PythonQtShell_QAbstractItemView::inputMethodEvent(QInputMethodEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QAbstractItemView::inputMethodEvent(event); -} -QVariant PythonQtShell_QAbstractItemView::inputMethodQuery(Qt::InputMethodQuery query) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&query}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractItemView::inputMethodQuery(query); -} -bool PythonQtShell_QAbstractItemView::isIndexHidden(const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isIndexHidden"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool 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) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - bool result; -return result; -} -void PythonQtShell_QAbstractItemView::keyPressEvent(QKeyEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractItemView::keyPressEvent(event); -} -void PythonQtShell_QAbstractItemView::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractItemView::keyReleaseEvent(arg__1); -} -void PythonQtShell_QAbstractItemView::keyboardSearch(const QString& search) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyboardSearch"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&search}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractItemView::keyboardSearch(search); -} -void PythonQtShell_QAbstractItemView::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractItemView::languageChange(); -} -void PythonQtShell_QAbstractItemView::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QAbstractItemView::leaveEvent(arg__1); -} -int PythonQtShell_QAbstractItemView::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractItemView::metric(arg__1); -} -void PythonQtShell_QAbstractItemView::mouseDoubleClickEvent(QMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QAbstractItemView::mouseDoubleClickEvent(event); -} -void PythonQtShell_QAbstractItemView::mouseMoveEvent(QMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QAbstractItemView::mouseMoveEvent(event); -} -void PythonQtShell_QAbstractItemView::mousePressEvent(QMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QAbstractItemView::mousePressEvent(event); -} -void PythonQtShell_QAbstractItemView::mouseReleaseEvent(QMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QAbstractItemView::mouseReleaseEvent(event); -} -QModelIndex PythonQtShell_QAbstractItemView::moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveCursor"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QModelIndex" , "QAbstractItemView::CursorAction" , "Qt::KeyboardModifiers"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QModelIndex returnValue; - void* args[3] = {NULL, (void*)&cursorAction, (void*)&modifiers}; - 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("moveCursor", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QModelIndex result; -return result; -} -void PythonQtShell_QAbstractItemView::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractItemView::moveEvent(arg__1); -} -QPaintEngine* PythonQtShell_QAbstractItemView::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractItemView::paintEngine(); -} -void PythonQtShell_QAbstractItemView::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - 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; - } -} - QAbstractItemView::paintEvent(arg__1); -} -void PythonQtShell_QAbstractItemView::reset() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reset"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractItemView::reset(); -} -void PythonQtShell_QAbstractItemView::resizeEvent(QResizeEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - 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; - } -} - QAbstractItemView::resizeEvent(event); -} -void PythonQtShell_QAbstractItemView::rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowsAboutToBeRemoved"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent, (void*)&start, (void*)&end}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractItemView::rowsAboutToBeRemoved(parent, start, end); -} -void PythonQtShell_QAbstractItemView::rowsInserted(const QModelIndex& parent, int start, int end) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowsInserted"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent, (void*)&start, (void*)&end}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractItemView::rowsInserted(parent, start, end); -} -void PythonQtShell_QAbstractItemView::scrollContentsBy(int dx, int dy) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "scrollContentsBy"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&dx, (void*)&dy}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractItemView::scrollContentsBy(dx, dy); -} -void PythonQtShell_QAbstractItemView::scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "scrollTo"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&index, (void*)&hint}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - -} -void PythonQtShell_QAbstractItemView::selectAll() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectAll"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractItemView::selectAll(); -} -QList PythonQtShell_QAbstractItemView::selectedIndexes() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectedIndexes"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QList returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); - } else { - returnValue = *((QList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractItemView::selectedIndexes(); -} -void PythonQtShell_QAbstractItemView::selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectionChanged"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&selected, (void*)&deselected}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractItemView::selectionChanged(selected, deselected); -} -QItemSelectionModel::SelectionFlags PythonQtShell_QAbstractItemView::selectionCommand(const QModelIndex& index, const QEvent* event) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectionCommand"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QItemSelectionModel::SelectionFlags" , "const QModelIndex&" , "const QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QItemSelectionModel::SelectionFlags returnValue; - void* args[3] = {NULL, (void*)&index, (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("selectionCommand", methodInfo, result); - } else { - returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractItemView::selectionCommand(index, event); -} -void PythonQtShell_QAbstractItemView::setModel(QAbstractItemModel* model) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setModel"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QAbstractItemModel*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&model}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractItemView::setModel(model); -} -void PythonQtShell_QAbstractItemView::setRootIndex(const QModelIndex& index) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setRootIndex"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractItemView::setRootIndex(index); -} -void PythonQtShell_QAbstractItemView::setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setSelection"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&rect, (void*)&command}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - -} -void PythonQtShell_QAbstractItemView::setSelectionModel(QItemSelectionModel* selectionModel) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setSelectionModel"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QItemSelectionModel*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&selectionModel}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractItemView::setSelectionModel(selectionModel); -} -void PythonQtShell_QAbstractItemView::showEvent(QShowEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QAbstractItemView::showEvent(arg__1); -} -int PythonQtShell_QAbstractItemView::sizeHintForColumn(int column) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeHintForColumn"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&column}; - 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("sizeHintForColumn", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractItemView::sizeHintForColumn(column); -} -int PythonQtShell_QAbstractItemView::sizeHintForRow(int row) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeHintForRow"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&row}; - 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("sizeHintForRow", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractItemView::sizeHintForRow(row); -} -void PythonQtShell_QAbstractItemView::startDrag(Qt::DropActions supportedActions) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "startDrag"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "Qt::DropActions"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&supportedActions}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractItemView::startDrag(supportedActions); -} -void PythonQtShell_QAbstractItemView::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QAbstractItemView::tabletEvent(arg__1); -} -void PythonQtShell_QAbstractItemView::timerEvent(QTimerEvent* event) -{ -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*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractItemView::timerEvent(event); -} -void PythonQtShell_QAbstractItemView::updateEditorData() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateEditorData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractItemView::updateEditorData(); -} -void PythonQtShell_QAbstractItemView::updateEditorGeometries() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateEditorGeometries"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractItemView::updateEditorGeometries(); -} -void PythonQtShell_QAbstractItemView::updateGeometries() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateGeometries"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractItemView::updateGeometries(); -} -int PythonQtShell_QAbstractItemView::verticalOffset() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "verticalOffset"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - int result; -return result; -} -void PythonQtShell_QAbstractItemView::verticalScrollbarAction(int action) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "verticalScrollbarAction"); - 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*)&action}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractItemView::verticalScrollbarAction(action); -} -void PythonQtShell_QAbstractItemView::verticalScrollbarValueChanged(int value) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "verticalScrollbarValueChanged"); - 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*)&value}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractItemView::verticalScrollbarValueChanged(value); -} -QStyleOptionViewItem PythonQtShell_QAbstractItemView::viewOptions() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "viewOptions"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QStyleOptionViewItem"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStyleOptionViewItem returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); - } else { - returnValue = *((QStyleOptionViewItem*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractItemView::viewOptions(); -} -bool PythonQtShell_QAbstractItemView::viewportEvent(QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "viewportEvent"); - 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("viewportEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractItemView::viewportEvent(event); -} -QRect PythonQtShell_QAbstractItemView::visualRect(const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "visualRect"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRect 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) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QRect result; -return result; -} -QRegion PythonQtShell_QAbstractItemView::visualRegionForSelection(const QItemSelection& selection) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "visualRegionForSelection"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRegion returnValue; - void* args[2] = {NULL, (void*)&selection}; - 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("visualRegionForSelection", methodInfo, result); - } else { - returnValue = *((QRegion*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QRegion result; -return result; -} -void PythonQtShell_QAbstractItemView::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractItemView::wheelEvent(arg__1); -} -QAbstractItemView* PythonQtWrapper_QAbstractItemView::new_QAbstractItemView(QWidget* parent) -{ -return new PythonQtShell_QAbstractItemView(parent); } - -bool PythonQtWrapper_QAbstractItemView::dragEnabled(QAbstractItemView* theWrappedObject) const -{ - return ( theWrappedObject->dragEnabled()); -} - -void PythonQtWrapper_QAbstractItemView::setItemDelegate(QAbstractItemView* theWrappedObject, QAbstractItemDelegate* delegate) -{ - ( theWrappedObject->setItemDelegate(delegate)); -} - -void PythonQtWrapper_QAbstractItemView::focusInEvent(QAbstractItemView* theWrappedObject, QFocusEvent* event) -{ - ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_focusInEvent(event)); -} - -void PythonQtWrapper_QAbstractItemView::dragLeaveEvent(QAbstractItemView* theWrappedObject, QDragLeaveEvent* event) -{ - ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_dragLeaveEvent(event)); -} - -QAbstractItemView::ScrollMode PythonQtWrapper_QAbstractItemView::verticalScrollMode(QAbstractItemView* theWrappedObject) const -{ - return ( theWrappedObject->verticalScrollMode()); -} - -Qt::TextElideMode PythonQtWrapper_QAbstractItemView::textElideMode(QAbstractItemView* theWrappedObject) const -{ - return ( theWrappedObject->textElideMode()); -} - -QAbstractItemView::ScrollMode PythonQtWrapper_QAbstractItemView::horizontalScrollMode(QAbstractItemView* theWrappedObject) const -{ - return ( theWrappedObject->horizontalScrollMode()); -} - -void PythonQtWrapper_QAbstractItemView::setEditTriggers(QAbstractItemView* theWrappedObject, QAbstractItemView::EditTriggers triggers) -{ - ( theWrappedObject->setEditTriggers(triggers)); -} - -QModelIndex PythonQtWrapper_QAbstractItemView::rootIndex(QAbstractItemView* theWrappedObject) const -{ - return ( theWrappedObject->rootIndex()); -} - -void PythonQtWrapper_QAbstractItemView::closePersistentEditor(QAbstractItemView* theWrappedObject, const QModelIndex& index) -{ - ( theWrappedObject->closePersistentEditor(index)); -} - -QAbstractItemModel* PythonQtWrapper_QAbstractItemView::model(QAbstractItemView* theWrappedObject) const -{ - return ( theWrappedObject->model()); -} - -void PythonQtWrapper_QAbstractItemView::setSelectionModel(QAbstractItemView* theWrappedObject, QItemSelectionModel* selectionModel) -{ - ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_setSelectionModel(selectionModel)); -} - -void PythonQtWrapper_QAbstractItemView::dropEvent(QAbstractItemView* theWrappedObject, QDropEvent* event) -{ - ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_dropEvent(event)); -} - -QModelIndex PythonQtWrapper_QAbstractItemView::currentIndex(QAbstractItemView* theWrappedObject) const -{ - return ( theWrappedObject->currentIndex()); -} - -void PythonQtWrapper_QAbstractItemView::resizeEvent(QAbstractItemView* theWrappedObject, QResizeEvent* event) -{ - ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_resizeEvent(event)); -} - -bool PythonQtWrapper_QAbstractItemView::dragDropOverwriteMode(QAbstractItemView* theWrappedObject) const -{ - return ( theWrappedObject->dragDropOverwriteMode()); -} - -bool PythonQtWrapper_QAbstractItemView::viewportEvent(QAbstractItemView* theWrappedObject, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_viewportEvent(event)); -} - -void PythonQtWrapper_QAbstractItemView::setDropIndicatorShown(QAbstractItemView* theWrappedObject, bool enable) -{ - ( theWrappedObject->setDropIndicatorShown(enable)); -} - -QItemSelectionModel* PythonQtWrapper_QAbstractItemView::selectionModel(QAbstractItemView* theWrappedObject) const -{ - return ( theWrappedObject->selectionModel()); -} - -QAbstractItemDelegate* PythonQtWrapper_QAbstractItemView::itemDelegateForColumn(QAbstractItemView* theWrappedObject, int column) const -{ - return ( theWrappedObject->itemDelegateForColumn(column)); -} - -bool PythonQtWrapper_QAbstractItemView::alternatingRowColors(QAbstractItemView* theWrappedObject) const -{ - return ( theWrappedObject->alternatingRowColors()); -} - -void PythonQtWrapper_QAbstractItemView::setModel(QAbstractItemView* theWrappedObject, QAbstractItemModel* model) -{ - ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_setModel(model)); -} - -bool PythonQtWrapper_QAbstractItemView::edit(QAbstractItemView* theWrappedObject, const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_edit(index, trigger, event)); -} - -void PythonQtWrapper_QAbstractItemView::mouseDoubleClickEvent(QAbstractItemView* theWrappedObject, QMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_mouseDoubleClickEvent(event)); -} - -int PythonQtWrapper_QAbstractItemView::sizeHintForColumn(QAbstractItemView* theWrappedObject, int column) const -{ - return ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_sizeHintForColumn(column)); -} - -void PythonQtWrapper_QAbstractItemView::setSelectionMode(QAbstractItemView* theWrappedObject, QAbstractItemView::SelectionMode mode) -{ - ( theWrappedObject->setSelectionMode(mode)); -} - -void PythonQtWrapper_QAbstractItemView::dragEnterEvent(QAbstractItemView* theWrappedObject, QDragEnterEvent* event) -{ - ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_dragEnterEvent(event)); -} - -QAbstractItemDelegate* PythonQtWrapper_QAbstractItemView::itemDelegate(QAbstractItemView* theWrappedObject) const -{ - return ( theWrappedObject->itemDelegate()); -} - -void PythonQtWrapper_QAbstractItemView::setTabKeyNavigation(QAbstractItemView* theWrappedObject, bool enable) -{ - ( theWrappedObject->setTabKeyNavigation(enable)); -} - -void PythonQtWrapper_QAbstractItemView::setSelectionBehavior(QAbstractItemView* theWrappedObject, QAbstractItemView::SelectionBehavior behavior) -{ - ( theWrappedObject->setSelectionBehavior(behavior)); -} - -void PythonQtWrapper_QAbstractItemView::openPersistentEditor(QAbstractItemView* theWrappedObject, const QModelIndex& index) -{ - ( theWrappedObject->openPersistentEditor(index)); -} - -void PythonQtWrapper_QAbstractItemView::keyboardSearch(QAbstractItemView* theWrappedObject, const QString& search) -{ - ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_keyboardSearch(search)); -} - -int PythonQtWrapper_QAbstractItemView::autoScrollMargin(QAbstractItemView* theWrappedObject) const -{ - return ( theWrappedObject->autoScrollMargin()); -} - -QAbstractItemDelegate* PythonQtWrapper_QAbstractItemView::itemDelegate(QAbstractItemView* theWrappedObject, const QModelIndex& index) const -{ - return ( theWrappedObject->itemDelegate(index)); -} - -QItemSelectionModel::SelectionFlags PythonQtWrapper_QAbstractItemView::selectionCommand(QAbstractItemView* theWrappedObject, const QModelIndex& index, const QEvent* event) const -{ - return ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_selectionCommand(index, event)); -} - -QAbstractItemView::DragDropMode PythonQtWrapper_QAbstractItemView::dragDropMode(QAbstractItemView* theWrappedObject) const -{ - return ( theWrappedObject->dragDropMode()); -} - -QAbstractItemView::EditTriggers PythonQtWrapper_QAbstractItemView::editTriggers(QAbstractItemView* theWrappedObject) const -{ - return ( theWrappedObject->editTriggers()); -} - -void PythonQtWrapper_QAbstractItemView::focusOutEvent(QAbstractItemView* theWrappedObject, QFocusEvent* event) -{ - ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_focusOutEvent(event)); -} - -void PythonQtWrapper_QAbstractItemView::keyPressEvent(QAbstractItemView* theWrappedObject, QKeyEvent* event) -{ - ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_keyPressEvent(event)); -} - -void PythonQtWrapper_QAbstractItemView::setAutoScrollMargin(QAbstractItemView* theWrappedObject, int margin) -{ - ( theWrappedObject->setAutoScrollMargin(margin)); -} - -bool PythonQtWrapper_QAbstractItemView::focusNextPrevChild(QAbstractItemView* theWrappedObject, bool next) -{ - return ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_focusNextPrevChild(next)); -} - -QStyleOptionViewItem PythonQtWrapper_QAbstractItemView::viewOptions(QAbstractItemView* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_viewOptions()); -} - -void PythonQtWrapper_QAbstractItemView::setDragDropOverwriteMode(QAbstractItemView* theWrappedObject, bool overwrite) -{ - ( theWrappedObject->setDragDropOverwriteMode(overwrite)); -} - -bool PythonQtWrapper_QAbstractItemView::hasAutoScroll(QAbstractItemView* theWrappedObject) const -{ - return ( theWrappedObject->hasAutoScroll()); -} - -bool PythonQtWrapper_QAbstractItemView::tabKeyNavigation(QAbstractItemView* theWrappedObject) const -{ - return ( theWrappedObject->tabKeyNavigation()); -} - -QSize PythonQtWrapper_QAbstractItemView::sizeHintForIndex(QAbstractItemView* theWrappedObject, const QModelIndex& index) const -{ - return ( theWrappedObject->sizeHintForIndex(index)); -} - -QSize PythonQtWrapper_QAbstractItemView::iconSize(QAbstractItemView* theWrappedObject) const -{ - return ( theWrappedObject->iconSize()); -} - -QVariant PythonQtWrapper_QAbstractItemView::inputMethodQuery(QAbstractItemView* theWrappedObject, Qt::InputMethodQuery query) const -{ - return ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_inputMethodQuery(query)); -} - -void PythonQtWrapper_QAbstractItemView::setItemDelegateForRow(QAbstractItemView* theWrappedObject, int row, QAbstractItemDelegate* delegate) -{ - ( theWrappedObject->setItemDelegateForRow(row, delegate)); -} - -void PythonQtWrapper_QAbstractItemView::mouseReleaseEvent(QAbstractItemView* theWrappedObject, QMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_mouseReleaseEvent(event)); -} - -void PythonQtWrapper_QAbstractItemView::setItemDelegateForColumn(QAbstractItemView* theWrappedObject, int column, QAbstractItemDelegate* delegate) -{ - ( theWrappedObject->setItemDelegateForColumn(column, delegate)); -} - -bool PythonQtWrapper_QAbstractItemView::showDropIndicator(QAbstractItemView* theWrappedObject) const -{ - return ( theWrappedObject->showDropIndicator()); -} - -void PythonQtWrapper_QAbstractItemView::setIconSize(QAbstractItemView* theWrappedObject, const QSize& size) -{ - ( theWrappedObject->setIconSize(size)); -} - -QAbstractItemDelegate* PythonQtWrapper_QAbstractItemView::itemDelegateForRow(QAbstractItemView* theWrappedObject, int row) const -{ - return ( theWrappedObject->itemDelegateForRow(row)); -} - -void PythonQtWrapper_QAbstractItemView::mousePressEvent(QAbstractItemView* theWrappedObject, QMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_mousePressEvent(event)); -} - -void PythonQtWrapper_QAbstractItemView::setHorizontalScrollMode(QAbstractItemView* theWrappedObject, QAbstractItemView::ScrollMode mode) -{ - ( theWrappedObject->setHorizontalScrollMode(mode)); -} - -void PythonQtWrapper_QAbstractItemView::setVerticalScrollMode(QAbstractItemView* theWrappedObject, QAbstractItemView::ScrollMode mode) -{ - ( theWrappedObject->setVerticalScrollMode(mode)); -} - -void PythonQtWrapper_QAbstractItemView::setTextElideMode(QAbstractItemView* theWrappedObject, Qt::TextElideMode mode) -{ - ( theWrappedObject->setTextElideMode(mode)); -} - -void PythonQtWrapper_QAbstractItemView::dragMoveEvent(QAbstractItemView* theWrappedObject, QDragMoveEvent* event) -{ - ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_dragMoveEvent(event)); -} - -QList PythonQtWrapper_QAbstractItemView::selectedIndexes(QAbstractItemView* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_selectedIndexes()); -} - -void PythonQtWrapper_QAbstractItemView::inputMethodEvent(QAbstractItemView* theWrappedObject, QInputMethodEvent* event) -{ - ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_inputMethodEvent(event)); -} - -void PythonQtWrapper_QAbstractItemView::setDragEnabled(QAbstractItemView* theWrappedObject, bool enable) -{ - ( theWrappedObject->setDragEnabled(enable)); -} - -QAbstractItemView::SelectionMode PythonQtWrapper_QAbstractItemView::selectionMode(QAbstractItemView* theWrappedObject) const -{ - return ( theWrappedObject->selectionMode()); -} - -void PythonQtWrapper_QAbstractItemView::startDrag(QAbstractItemView* theWrappedObject, Qt::DropActions supportedActions) -{ - ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_startDrag(supportedActions)); -} - -void PythonQtWrapper_QAbstractItemView::setIndexWidget(QAbstractItemView* theWrappedObject, const QModelIndex& index, QWidget* widget) -{ - ( theWrappedObject->setIndexWidget(index, widget)); -} - -bool PythonQtWrapper_QAbstractItemView::event(QAbstractItemView* theWrappedObject, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_event(event)); -} - -void PythonQtWrapper_QAbstractItemView::setDragDropMode(QAbstractItemView* theWrappedObject, QAbstractItemView::DragDropMode behavior) -{ - ( theWrappedObject->setDragDropMode(behavior)); -} - -void PythonQtWrapper_QAbstractItemView::setAutoScroll(QAbstractItemView* theWrappedObject, bool enable) -{ - ( theWrappedObject->setAutoScroll(enable)); -} - -int PythonQtWrapper_QAbstractItemView::sizeHintForRow(QAbstractItemView* theWrappedObject, int row) const -{ - return ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_sizeHintForRow(row)); -} - -void PythonQtWrapper_QAbstractItemView::setAlternatingRowColors(QAbstractItemView* theWrappedObject, bool enable) -{ - ( theWrappedObject->setAlternatingRowColors(enable)); -} - -void PythonQtWrapper_QAbstractItemView::timerEvent(QAbstractItemView* theWrappedObject, QTimerEvent* event) -{ - ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_timerEvent(event)); -} - -QWidget* PythonQtWrapper_QAbstractItemView::indexWidget(QAbstractItemView* theWrappedObject, const QModelIndex& index) const -{ - return ( theWrappedObject->indexWidget(index)); -} - -QAbstractItemView::SelectionBehavior PythonQtWrapper_QAbstractItemView::selectionBehavior(QAbstractItemView* theWrappedObject) const -{ - return ( theWrappedObject->selectionBehavior()); -} - -void PythonQtWrapper_QAbstractItemView::mouseMoveEvent(QAbstractItemView* theWrappedObject, QMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_mouseMoveEvent(event)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAbstractItemView.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAbstractItemView.h deleted file mode 100644 index 799ca41..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAbstractItemView.h +++ /dev/null @@ -1,267 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QABSTRACTITEMVIEW_H -#define PYTHONQTWRAPPER_QABSTRACTITEMVIEW_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QAbstractItemView : public QAbstractItemView -{ -public: - PythonQtShell_QAbstractItemView(QWidget* parent = 0):QAbstractItemView(parent),_wrapper(NULL) {}; - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void commitData(QWidget* editor); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void currentChanged(const QModelIndex& current, const QModelIndex& previous); -virtual void customEvent(QEvent* arg__1); -virtual void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight); -virtual int devType() const; -virtual void doItemsLayout(); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event); -virtual void editorDestroyed(QObject* editor); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual int horizontalOffset() const; -virtual void horizontalScrollbarAction(int action); -virtual void horizontalScrollbarValueChanged(int value); -virtual QModelIndex indexAt(const QPoint& point) const; -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual bool isIndexHidden(const QModelIndex& index) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void keyboardSearch(const QString& search); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers); -virtual void moveEvent(QMoveEvent* arg__1); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual void reset(); -virtual void resizeEvent(QResizeEvent* event); -virtual void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end); -virtual void rowsInserted(const QModelIndex& parent, int start, int end); -virtual void scrollContentsBy(int dx, int dy); -virtual void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible); -virtual void selectAll(); -virtual QList selectedIndexes() const; -virtual void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected); -virtual QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event = 0) const; -virtual void setModel(QAbstractItemModel* model); -virtual void setRootIndex(const QModelIndex& index); -virtual void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command); -virtual void setSelectionModel(QItemSelectionModel* selectionModel); -virtual void showEvent(QShowEvent* arg__1); -virtual int sizeHintForColumn(int column) const; -virtual int sizeHintForRow(int row) const; -virtual void startDrag(Qt::DropActions supportedActions); -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* event); -virtual void updateEditorData(); -virtual void updateEditorGeometries(); -virtual void updateGeometries(); -virtual int verticalOffset() const; -virtual void verticalScrollbarAction(int action); -virtual void verticalScrollbarValueChanged(int value); -virtual QStyleOptionViewItem viewOptions() const; -virtual bool viewportEvent(QEvent* event); -virtual QRect visualRect(const QModelIndex& index) const; -virtual QRegion visualRegionForSelection(const QItemSelection& selection) const; -virtual void wheelEvent(QWheelEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QAbstractItemView : public QAbstractItemView -{ public: -inline void promoted_reset() { QAbstractItemView::reset(); } -inline void promoted_focusInEvent(QFocusEvent* event) { QAbstractItemView::focusInEvent(event); } -inline void promoted_doItemsLayout() { QAbstractItemView::doItemsLayout(); } -inline void promoted_updateEditorData() { QAbstractItemView::updateEditorData(); } -inline void promoted_selectAll() { QAbstractItemView::selectAll(); } -inline void promoted_dragLeaveEvent(QDragLeaveEvent* event) { QAbstractItemView::dragLeaveEvent(event); } -inline void promoted_selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) { QAbstractItemView::selectionChanged(selected, deselected); } -inline void promoted_updateGeometries() { QAbstractItemView::updateGeometries(); } -inline void promoted_setSelectionModel(QItemSelectionModel* selectionModel) { QAbstractItemView::setSelectionModel(selectionModel); } -inline void promoted_dropEvent(QDropEvent* event) { QAbstractItemView::dropEvent(event); } -inline void promoted_resizeEvent(QResizeEvent* event) { QAbstractItemView::resizeEvent(event); } -inline bool promoted_viewportEvent(QEvent* event) { return QAbstractItemView::viewportEvent(event); } -inline void promoted_setModel(QAbstractItemModel* model) { QAbstractItemView::setModel(model); } -inline bool promoted_edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event) { return QAbstractItemView::edit(index, trigger, event); } -inline void promoted_mouseDoubleClickEvent(QMouseEvent* event) { QAbstractItemView::mouseDoubleClickEvent(event); } -inline void promoted_currentChanged(const QModelIndex& current, const QModelIndex& previous) { QAbstractItemView::currentChanged(current, previous); } -inline void promoted_closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint) { QAbstractItemView::closeEditor(editor, hint); } -inline int promoted_sizeHintForColumn(int column) const { return QAbstractItemView::sizeHintForColumn(column); } -inline void promoted_commitData(QWidget* editor) { QAbstractItemView::commitData(editor); } -inline void promoted_dragEnterEvent(QDragEnterEvent* event) { QAbstractItemView::dragEnterEvent(event); } -inline void promoted_verticalScrollbarValueChanged(int value) { QAbstractItemView::verticalScrollbarValueChanged(value); } -inline void promoted_dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight) { QAbstractItemView::dataChanged(topLeft, bottomRight); } -inline void promoted_keyboardSearch(const QString& search) { QAbstractItemView::keyboardSearch(search); } -inline QItemSelectionModel::SelectionFlags promoted_selectionCommand(const QModelIndex& index, const QEvent* event = 0) const { return QAbstractItemView::selectionCommand(index, event); } -inline void promoted_focusOutEvent(QFocusEvent* event) { QAbstractItemView::focusOutEvent(event); } -inline void promoted_keyPressEvent(QKeyEvent* event) { QAbstractItemView::keyPressEvent(event); } -inline bool promoted_focusNextPrevChild(bool next) { return QAbstractItemView::focusNextPrevChild(next); } -inline QStyleOptionViewItem promoted_viewOptions() const { return QAbstractItemView::viewOptions(); } -inline void promoted_verticalScrollbarAction(int action) { QAbstractItemView::verticalScrollbarAction(action); } -inline QVariant promoted_inputMethodQuery(Qt::InputMethodQuery query) const { return QAbstractItemView::inputMethodQuery(query); } -inline void promoted_editorDestroyed(QObject* editor) { QAbstractItemView::editorDestroyed(editor); } -inline void promoted_mouseReleaseEvent(QMouseEvent* event) { QAbstractItemView::mouseReleaseEvent(event); } -inline void promoted_rowsInserted(const QModelIndex& parent, int start, int end) { QAbstractItemView::rowsInserted(parent, start, end); } -inline void promoted_mousePressEvent(QMouseEvent* event) { QAbstractItemView::mousePressEvent(event); } -inline void promoted_dragMoveEvent(QDragMoveEvent* event) { QAbstractItemView::dragMoveEvent(event); } -inline QList promoted_selectedIndexes() const { return QAbstractItemView::selectedIndexes(); } -inline void promoted_inputMethodEvent(QInputMethodEvent* event) { QAbstractItemView::inputMethodEvent(event); } -inline void promoted_startDrag(Qt::DropActions supportedActions) { QAbstractItemView::startDrag(supportedActions); } -inline bool promoted_event(QEvent* event) { return QAbstractItemView::event(event); } -inline void promoted_rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) { QAbstractItemView::rowsAboutToBeRemoved(parent, start, end); } -inline void promoted_updateEditorGeometries() { QAbstractItemView::updateEditorGeometries(); } -inline int promoted_sizeHintForRow(int row) const { return QAbstractItemView::sizeHintForRow(row); } -inline void promoted_timerEvent(QTimerEvent* event) { QAbstractItemView::timerEvent(event); } -inline void promoted_setRootIndex(const QModelIndex& index) { QAbstractItemView::setRootIndex(index); } -inline void promoted_horizontalScrollbarAction(int action) { QAbstractItemView::horizontalScrollbarAction(action); } -inline void promoted_horizontalScrollbarValueChanged(int value) { QAbstractItemView::horizontalScrollbarValueChanged(value); } -inline void promoted_mouseMoveEvent(QMouseEvent* event) { QAbstractItemView::mouseMoveEvent(event); } -}; - -class PythonQtWrapper_QAbstractItemView : public QObject -{ Q_OBJECT -public: -Q_ENUMS(EditTrigger ) -Q_FLAGS(EditTriggers ) -enum EditTrigger{ - NoEditTriggers = QAbstractItemView::NoEditTriggers, CurrentChanged = QAbstractItemView::CurrentChanged, DoubleClicked = QAbstractItemView::DoubleClicked, SelectedClicked = QAbstractItemView::SelectedClicked, EditKeyPressed = QAbstractItemView::EditKeyPressed, AnyKeyPressed = QAbstractItemView::AnyKeyPressed, AllEditTriggers = QAbstractItemView::AllEditTriggers}; -Q_DECLARE_FLAGS(EditTriggers, EditTrigger) -public slots: -QAbstractItemView* new_QAbstractItemView(QWidget* parent = 0); -void delete_QAbstractItemView(QAbstractItemView* obj) { delete obj; } - bool dragEnabled(QAbstractItemView* theWrappedObject) const; - void setItemDelegate(QAbstractItemView* theWrappedObject, QAbstractItemDelegate* delegate); - void focusInEvent(QAbstractItemView* theWrappedObject, QFocusEvent* event); - void dragLeaveEvent(QAbstractItemView* theWrappedObject, QDragLeaveEvent* event); - QAbstractItemView::ScrollMode verticalScrollMode(QAbstractItemView* theWrappedObject) const; - Qt::TextElideMode textElideMode(QAbstractItemView* theWrappedObject) const; - QAbstractItemView::ScrollMode horizontalScrollMode(QAbstractItemView* theWrappedObject) const; - void setEditTriggers(QAbstractItemView* theWrappedObject, QAbstractItemView::EditTriggers triggers); - QModelIndex rootIndex(QAbstractItemView* theWrappedObject) const; - void closePersistentEditor(QAbstractItemView* theWrappedObject, const QModelIndex& index); - QAbstractItemModel* model(QAbstractItemView* theWrappedObject) const; - void setSelectionModel(QAbstractItemView* theWrappedObject, QItemSelectionModel* selectionModel); - void dropEvent(QAbstractItemView* theWrappedObject, QDropEvent* event); - QModelIndex currentIndex(QAbstractItemView* theWrappedObject) const; - void resizeEvent(QAbstractItemView* theWrappedObject, QResizeEvent* event); - bool dragDropOverwriteMode(QAbstractItemView* theWrappedObject) const; - bool viewportEvent(QAbstractItemView* theWrappedObject, QEvent* event); - void setDropIndicatorShown(QAbstractItemView* theWrappedObject, bool enable); - QItemSelectionModel* selectionModel(QAbstractItemView* theWrappedObject) const; - QAbstractItemDelegate* itemDelegateForColumn(QAbstractItemView* theWrappedObject, int column) const; - bool alternatingRowColors(QAbstractItemView* theWrappedObject) const; - void setModel(QAbstractItemView* theWrappedObject, QAbstractItemModel* model); - bool edit(QAbstractItemView* theWrappedObject, const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event); - void mouseDoubleClickEvent(QAbstractItemView* theWrappedObject, QMouseEvent* event); - int sizeHintForColumn(QAbstractItemView* theWrappedObject, int column) const; - void setSelectionMode(QAbstractItemView* theWrappedObject, QAbstractItemView::SelectionMode mode); - void dragEnterEvent(QAbstractItemView* theWrappedObject, QDragEnterEvent* event); - QAbstractItemDelegate* itemDelegate(QAbstractItemView* theWrappedObject) const; - void setTabKeyNavigation(QAbstractItemView* theWrappedObject, bool enable); - void setSelectionBehavior(QAbstractItemView* theWrappedObject, QAbstractItemView::SelectionBehavior behavior); - void openPersistentEditor(QAbstractItemView* theWrappedObject, const QModelIndex& index); - void keyboardSearch(QAbstractItemView* theWrappedObject, const QString& search); - int autoScrollMargin(QAbstractItemView* theWrappedObject) const; - QAbstractItemDelegate* itemDelegate(QAbstractItemView* theWrappedObject, const QModelIndex& index) const; - QItemSelectionModel::SelectionFlags selectionCommand(QAbstractItemView* theWrappedObject, const QModelIndex& index, const QEvent* event = 0) const; - QAbstractItemView::DragDropMode dragDropMode(QAbstractItemView* theWrappedObject) const; - QAbstractItemView::EditTriggers editTriggers(QAbstractItemView* theWrappedObject) const; - void focusOutEvent(QAbstractItemView* theWrappedObject, QFocusEvent* event); - void keyPressEvent(QAbstractItemView* theWrappedObject, QKeyEvent* event); - void setAutoScrollMargin(QAbstractItemView* theWrappedObject, int margin); - bool focusNextPrevChild(QAbstractItemView* theWrappedObject, bool next); - QStyleOptionViewItem viewOptions(QAbstractItemView* theWrappedObject) const; - void setDragDropOverwriteMode(QAbstractItemView* theWrappedObject, bool overwrite); - bool hasAutoScroll(QAbstractItemView* theWrappedObject) const; - bool tabKeyNavigation(QAbstractItemView* theWrappedObject) const; - QSize sizeHintForIndex(QAbstractItemView* theWrappedObject, const QModelIndex& index) const; - QSize iconSize(QAbstractItemView* theWrappedObject) const; - QVariant inputMethodQuery(QAbstractItemView* theWrappedObject, Qt::InputMethodQuery query) const; - void setItemDelegateForRow(QAbstractItemView* theWrappedObject, int row, QAbstractItemDelegate* delegate); - void mouseReleaseEvent(QAbstractItemView* theWrappedObject, QMouseEvent* event); - void setItemDelegateForColumn(QAbstractItemView* theWrappedObject, int column, QAbstractItemDelegate* delegate); - bool showDropIndicator(QAbstractItemView* theWrappedObject) const; - void setIconSize(QAbstractItemView* theWrappedObject, const QSize& size); - QAbstractItemDelegate* itemDelegateForRow(QAbstractItemView* theWrappedObject, int row) const; - void mousePressEvent(QAbstractItemView* theWrappedObject, QMouseEvent* event); - void setHorizontalScrollMode(QAbstractItemView* theWrappedObject, QAbstractItemView::ScrollMode mode); - void setVerticalScrollMode(QAbstractItemView* theWrappedObject, QAbstractItemView::ScrollMode mode); - void setTextElideMode(QAbstractItemView* theWrappedObject, Qt::TextElideMode mode); - void dragMoveEvent(QAbstractItemView* theWrappedObject, QDragMoveEvent* event); - QList selectedIndexes(QAbstractItemView* theWrappedObject) const; - void inputMethodEvent(QAbstractItemView* theWrappedObject, QInputMethodEvent* event); - void setDragEnabled(QAbstractItemView* theWrappedObject, bool enable); - QAbstractItemView::SelectionMode selectionMode(QAbstractItemView* theWrappedObject) const; - void startDrag(QAbstractItemView* theWrappedObject, Qt::DropActions supportedActions); - void setIndexWidget(QAbstractItemView* theWrappedObject, const QModelIndex& index, QWidget* widget); - bool event(QAbstractItemView* theWrappedObject, QEvent* event); - void setDragDropMode(QAbstractItemView* theWrappedObject, QAbstractItemView::DragDropMode behavior); - void setAutoScroll(QAbstractItemView* theWrappedObject, bool enable); - int sizeHintForRow(QAbstractItemView* theWrappedObject, int row) const; - void setAlternatingRowColors(QAbstractItemView* theWrappedObject, bool enable); - void timerEvent(QAbstractItemView* theWrappedObject, QTimerEvent* event); - QWidget* indexWidget(QAbstractItemView* theWrappedObject, const QModelIndex& index) const; - QAbstractItemView::SelectionBehavior selectionBehavior(QAbstractItemView* theWrappedObject) const; - void mouseMoveEvent(QAbstractItemView* theWrappedObject, QMouseEvent* event); -}; - -#endif // PYTHONQTWRAPPER_QABSTRACTITEMVIEW_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAbstractPageSetupDialog.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAbstractPageSetupDialog.cpp deleted file mode 100644 index 8bd9393..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAbstractPageSetupDialog.cpp +++ /dev/null @@ -1,857 +0,0 @@ -#include "PythonQtWrapper_QAbstractPageSetupDialog.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QAbstractPageSetupDialog::accept() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "accept"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractPageSetupDialog::accept(); -} -void PythonQtShell_QAbstractPageSetupDialog::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QAbstractPageSetupDialog::actionEvent(arg__1); -} -void PythonQtShell_QAbstractPageSetupDialog::changeEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractPageSetupDialog::changeEvent(arg__1); -} -void PythonQtShell_QAbstractPageSetupDialog::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; - } -} - QAbstractPageSetupDialog::childEvent(arg__1); -} -void PythonQtShell_QAbstractPageSetupDialog::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QAbstractPageSetupDialog::closeEvent(arg__1); -} -void PythonQtShell_QAbstractPageSetupDialog::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractPageSetupDialog::contextMenuEvent(arg__1); -} -void PythonQtShell_QAbstractPageSetupDialog::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; - } -} - QAbstractPageSetupDialog::customEvent(arg__1); -} -int PythonQtShell_QAbstractPageSetupDialog::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractPageSetupDialog::devType(); -} -void PythonQtShell_QAbstractPageSetupDialog::done(int arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "done"); - 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; - } -} - QAbstractPageSetupDialog::done(arg__1); -} -void PythonQtShell_QAbstractPageSetupDialog::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QAbstractPageSetupDialog::dragEnterEvent(arg__1); -} -void PythonQtShell_QAbstractPageSetupDialog::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QAbstractPageSetupDialog::dragLeaveEvent(arg__1); -} -void PythonQtShell_QAbstractPageSetupDialog::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QAbstractPageSetupDialog::dragMoveEvent(arg__1); -} -void PythonQtShell_QAbstractPageSetupDialog::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QAbstractPageSetupDialog::dropEvent(arg__1); -} -void PythonQtShell_QAbstractPageSetupDialog::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QAbstractPageSetupDialog::enterEvent(arg__1); -} -bool PythonQtShell_QAbstractPageSetupDialog::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractPageSetupDialog::event(arg__1); -} -bool PythonQtShell_QAbstractPageSetupDialog::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractPageSetupDialog::eventFilter(arg__1, arg__2); -} -int PythonQtShell_QAbstractPageSetupDialog::exec() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "exec"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - int result; -return result; -} -void PythonQtShell_QAbstractPageSetupDialog::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QAbstractPageSetupDialog::focusInEvent(arg__1); -} -bool PythonQtShell_QAbstractPageSetupDialog::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractPageSetupDialog::focusNextPrevChild(next); -} -void PythonQtShell_QAbstractPageSetupDialog::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QAbstractPageSetupDialog::focusOutEvent(arg__1); -} -int PythonQtShell_QAbstractPageSetupDialog::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractPageSetupDialog::heightForWidth(arg__1); -} -void PythonQtShell_QAbstractPageSetupDialog::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QAbstractPageSetupDialog::hideEvent(arg__1); -} -void PythonQtShell_QAbstractPageSetupDialog::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QAbstractPageSetupDialog::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QAbstractPageSetupDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractPageSetupDialog::inputMethodQuery(arg__1); -} -void PythonQtShell_QAbstractPageSetupDialog::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractPageSetupDialog::keyPressEvent(arg__1); -} -void PythonQtShell_QAbstractPageSetupDialog::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractPageSetupDialog::keyReleaseEvent(arg__1); -} -void PythonQtShell_QAbstractPageSetupDialog::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractPageSetupDialog::languageChange(); -} -void PythonQtShell_QAbstractPageSetupDialog::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QAbstractPageSetupDialog::leaveEvent(arg__1); -} -int PythonQtShell_QAbstractPageSetupDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractPageSetupDialog::metric(arg__1); -} -void PythonQtShell_QAbstractPageSetupDialog::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QAbstractPageSetupDialog::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QAbstractPageSetupDialog::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QAbstractPageSetupDialog::mouseMoveEvent(arg__1); -} -void PythonQtShell_QAbstractPageSetupDialog::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QAbstractPageSetupDialog::mousePressEvent(arg__1); -} -void PythonQtShell_QAbstractPageSetupDialog::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QAbstractPageSetupDialog::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QAbstractPageSetupDialog::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractPageSetupDialog::moveEvent(arg__1); -} -QPaintEngine* PythonQtShell_QAbstractPageSetupDialog::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractPageSetupDialog::paintEngine(); -} -void PythonQtShell_QAbstractPageSetupDialog::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - 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; - } -} - QAbstractPageSetupDialog::paintEvent(arg__1); -} -void PythonQtShell_QAbstractPageSetupDialog::reject() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reject"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractPageSetupDialog::reject(); -} -void PythonQtShell_QAbstractPageSetupDialog::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - 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; - } -} - QAbstractPageSetupDialog::resizeEvent(arg__1); -} -void PythonQtShell_QAbstractPageSetupDialog::showEvent(QShowEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QAbstractPageSetupDialog::showEvent(arg__1); -} -void PythonQtShell_QAbstractPageSetupDialog::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QAbstractPageSetupDialog::tabletEvent(arg__1); -} -void PythonQtShell_QAbstractPageSetupDialog::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; - } -} - QAbstractPageSetupDialog::timerEvent(arg__1); -} -void PythonQtShell_QAbstractPageSetupDialog::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractPageSetupDialog::wheelEvent(arg__1); -} -QAbstractPageSetupDialog* PythonQtWrapper_QAbstractPageSetupDialog::new_QAbstractPageSetupDialog(QPrinter* printer, QWidget* parent) -{ -return new PythonQtShell_QAbstractPageSetupDialog(printer, parent); } - -QPrinter* PythonQtWrapper_QAbstractPageSetupDialog::printer(QAbstractPageSetupDialog* theWrappedObject) -{ - return ( theWrappedObject->printer()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAbstractPageSetupDialog.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAbstractPageSetupDialog.h deleted file mode 100644 index cd2780f..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAbstractPageSetupDialog.h +++ /dev/null @@ -1,98 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QABSTRACTPAGESETUPDIALOG_H -#define PYTHONQTWRAPPER_QABSTRACTPAGESETUPDIALOG_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QAbstractPageSetupDialog : public QAbstractPageSetupDialog -{ -public: - PythonQtShell_QAbstractPageSetupDialog(QPrinter* printer, QWidget* parent = 0):QAbstractPageSetupDialog(printer, parent),_wrapper(NULL) {}; - -virtual void accept(); -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual int devType() const; -virtual void done(int arg__1); -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual int exec(); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* arg__1); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual void reject(); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void showEvent(QShowEvent* arg__1); -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QAbstractPageSetupDialog : public QObject -{ Q_OBJECT -public: -public slots: -QAbstractPageSetupDialog* new_QAbstractPageSetupDialog(QPrinter* printer, QWidget* parent = 0); -void delete_QAbstractPageSetupDialog(QAbstractPageSetupDialog* obj) { delete obj; } - QPrinter* printer(QAbstractPageSetupDialog* theWrappedObject); -}; - -#endif // PYTHONQTWRAPPER_QABSTRACTPAGESETUPDIALOG_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAbstractPrintDialog.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAbstractPrintDialog.cpp deleted file mode 100644 index 964103a..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAbstractPrintDialog.cpp +++ /dev/null @@ -1,922 +0,0 @@ -#include "PythonQtWrapper_QAbstractPrintDialog.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QAbstractPrintDialog::accept() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "accept"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractPrintDialog::accept(); -} -void PythonQtShell_QAbstractPrintDialog::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QAbstractPrintDialog::actionEvent(arg__1); -} -void PythonQtShell_QAbstractPrintDialog::changeEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractPrintDialog::changeEvent(arg__1); -} -void PythonQtShell_QAbstractPrintDialog::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; - } -} - QAbstractPrintDialog::childEvent(arg__1); -} -void PythonQtShell_QAbstractPrintDialog::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QAbstractPrintDialog::closeEvent(arg__1); -} -void PythonQtShell_QAbstractPrintDialog::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractPrintDialog::contextMenuEvent(arg__1); -} -void PythonQtShell_QAbstractPrintDialog::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; - } -} - QAbstractPrintDialog::customEvent(arg__1); -} -int PythonQtShell_QAbstractPrintDialog::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractPrintDialog::devType(); -} -void PythonQtShell_QAbstractPrintDialog::done(int arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "done"); - 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; - } -} - QAbstractPrintDialog::done(arg__1); -} -void PythonQtShell_QAbstractPrintDialog::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QAbstractPrintDialog::dragEnterEvent(arg__1); -} -void PythonQtShell_QAbstractPrintDialog::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QAbstractPrintDialog::dragLeaveEvent(arg__1); -} -void PythonQtShell_QAbstractPrintDialog::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QAbstractPrintDialog::dragMoveEvent(arg__1); -} -void PythonQtShell_QAbstractPrintDialog::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QAbstractPrintDialog::dropEvent(arg__1); -} -void PythonQtShell_QAbstractPrintDialog::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QAbstractPrintDialog::enterEvent(arg__1); -} -bool PythonQtShell_QAbstractPrintDialog::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractPrintDialog::event(arg__1); -} -bool PythonQtShell_QAbstractPrintDialog::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractPrintDialog::eventFilter(arg__1, arg__2); -} -int PythonQtShell_QAbstractPrintDialog::exec() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "exec"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - int result; -return result; -} -void PythonQtShell_QAbstractPrintDialog::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QAbstractPrintDialog::focusInEvent(arg__1); -} -bool PythonQtShell_QAbstractPrintDialog::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractPrintDialog::focusNextPrevChild(next); -} -void PythonQtShell_QAbstractPrintDialog::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QAbstractPrintDialog::focusOutEvent(arg__1); -} -int PythonQtShell_QAbstractPrintDialog::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractPrintDialog::heightForWidth(arg__1); -} -void PythonQtShell_QAbstractPrintDialog::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QAbstractPrintDialog::hideEvent(arg__1); -} -void PythonQtShell_QAbstractPrintDialog::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QAbstractPrintDialog::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QAbstractPrintDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractPrintDialog::inputMethodQuery(arg__1); -} -void PythonQtShell_QAbstractPrintDialog::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractPrintDialog::keyPressEvent(arg__1); -} -void PythonQtShell_QAbstractPrintDialog::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractPrintDialog::keyReleaseEvent(arg__1); -} -void PythonQtShell_QAbstractPrintDialog::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractPrintDialog::languageChange(); -} -void PythonQtShell_QAbstractPrintDialog::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QAbstractPrintDialog::leaveEvent(arg__1); -} -int PythonQtShell_QAbstractPrintDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractPrintDialog::metric(arg__1); -} -void PythonQtShell_QAbstractPrintDialog::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QAbstractPrintDialog::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QAbstractPrintDialog::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QAbstractPrintDialog::mouseMoveEvent(arg__1); -} -void PythonQtShell_QAbstractPrintDialog::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QAbstractPrintDialog::mousePressEvent(arg__1); -} -void PythonQtShell_QAbstractPrintDialog::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QAbstractPrintDialog::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QAbstractPrintDialog::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractPrintDialog::moveEvent(arg__1); -} -QPaintEngine* PythonQtShell_QAbstractPrintDialog::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractPrintDialog::paintEngine(); -} -void PythonQtShell_QAbstractPrintDialog::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - 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; - } -} - QAbstractPrintDialog::paintEvent(arg__1); -} -void PythonQtShell_QAbstractPrintDialog::reject() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reject"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractPrintDialog::reject(); -} -void PythonQtShell_QAbstractPrintDialog::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - 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; - } -} - QAbstractPrintDialog::resizeEvent(arg__1); -} -void PythonQtShell_QAbstractPrintDialog::showEvent(QShowEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QAbstractPrintDialog::showEvent(arg__1); -} -void PythonQtShell_QAbstractPrintDialog::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QAbstractPrintDialog::tabletEvent(arg__1); -} -void PythonQtShell_QAbstractPrintDialog::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; - } -} - QAbstractPrintDialog::timerEvent(arg__1); -} -void PythonQtShell_QAbstractPrintDialog::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractPrintDialog::wheelEvent(arg__1); -} -QAbstractPrintDialog* PythonQtWrapper_QAbstractPrintDialog::new_QAbstractPrintDialog(QPrinter* printer, QWidget* parent) -{ -return new PythonQtShell_QAbstractPrintDialog(printer, parent); } - -void PythonQtWrapper_QAbstractPrintDialog::addEnabledOption(QAbstractPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintDialogOption option) -{ - ( theWrappedObject->addEnabledOption(option)); -} - -int PythonQtWrapper_QAbstractPrintDialog::minPage(QAbstractPrintDialog* theWrappedObject) const -{ - return ( theWrappedObject->minPage()); -} - -void PythonQtWrapper_QAbstractPrintDialog::setEnabledOptions(QAbstractPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintDialogOptions options) -{ - ( theWrappedObject->setEnabledOptions(options)); -} - -void PythonQtWrapper_QAbstractPrintDialog::setMinMax(QAbstractPrintDialog* theWrappedObject, int min, int max) -{ - ( theWrappedObject->setMinMax(min, max)); -} - -void PythonQtWrapper_QAbstractPrintDialog::setOptionTabs(QAbstractPrintDialog* theWrappedObject, const QList& tabs) -{ - ( theWrappedObject->setOptionTabs(tabs)); -} - -void PythonQtWrapper_QAbstractPrintDialog::setPrintRange(QAbstractPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintRange range) -{ - ( theWrappedObject->setPrintRange(range)); -} - -bool PythonQtWrapper_QAbstractPrintDialog::isOptionEnabled(QAbstractPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintDialogOption option) const -{ - return ( theWrappedObject->isOptionEnabled(option)); -} - -int PythonQtWrapper_QAbstractPrintDialog::maxPage(QAbstractPrintDialog* theWrappedObject) const -{ - return ( theWrappedObject->maxPage()); -} - -void PythonQtWrapper_QAbstractPrintDialog::setFromTo(QAbstractPrintDialog* theWrappedObject, int fromPage, int toPage) -{ - ( theWrappedObject->setFromTo(fromPage, toPage)); -} - -int PythonQtWrapper_QAbstractPrintDialog::toPage(QAbstractPrintDialog* theWrappedObject) const -{ - return ( theWrappedObject->toPage()); -} - -QAbstractPrintDialog::PrintRange PythonQtWrapper_QAbstractPrintDialog::printRange(QAbstractPrintDialog* theWrappedObject) const -{ - return ( theWrappedObject->printRange()); -} - -QAbstractPrintDialog::PrintDialogOptions PythonQtWrapper_QAbstractPrintDialog::enabledOptions(QAbstractPrintDialog* theWrappedObject) const -{ - return ( theWrappedObject->enabledOptions()); -} - -int PythonQtWrapper_QAbstractPrintDialog::fromPage(QAbstractPrintDialog* theWrappedObject) const -{ - return ( theWrappedObject->fromPage()); -} - -QPrinter* PythonQtWrapper_QAbstractPrintDialog::printer(QAbstractPrintDialog* theWrappedObject) const -{ - return ( theWrappedObject->printer()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAbstractPrintDialog.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAbstractPrintDialog.h deleted file mode 100644 index 8eb85da..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAbstractPrintDialog.h +++ /dev/null @@ -1,118 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QABSTRACTPRINTDIALOG_H -#define PYTHONQTWRAPPER_QABSTRACTPRINTDIALOG_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QAbstractPrintDialog : public QAbstractPrintDialog -{ -public: - PythonQtShell_QAbstractPrintDialog(QPrinter* printer, QWidget* parent = 0):QAbstractPrintDialog(printer, parent),_wrapper(NULL) {}; - -virtual void accept(); -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual int devType() const; -virtual void done(int arg__1); -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual int exec(); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* arg__1); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual void reject(); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void showEvent(QShowEvent* arg__1); -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QAbstractPrintDialog : public QObject -{ Q_OBJECT -public: -Q_ENUMS(PrintRange PrintDialogOption ) -Q_FLAGS(PrintDialogOptions ) -enum PrintRange{ - AllPages = QAbstractPrintDialog::AllPages, Selection = QAbstractPrintDialog::Selection, PageRange = QAbstractPrintDialog::PageRange}; -enum PrintDialogOption{ - None = QAbstractPrintDialog::None, PrintToFile = QAbstractPrintDialog::PrintToFile, PrintSelection = QAbstractPrintDialog::PrintSelection, PrintPageRange = QAbstractPrintDialog::PrintPageRange, PrintShowPageSize = QAbstractPrintDialog::PrintShowPageSize, PrintCollateCopies = QAbstractPrintDialog::PrintCollateCopies, DontUseSheet = QAbstractPrintDialog::DontUseSheet}; -Q_DECLARE_FLAGS(PrintDialogOptions, PrintDialogOption) -public slots: -QAbstractPrintDialog* new_QAbstractPrintDialog(QPrinter* printer, QWidget* parent = 0); -void delete_QAbstractPrintDialog(QAbstractPrintDialog* obj) { delete obj; } - void addEnabledOption(QAbstractPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintDialogOption option); - int minPage(QAbstractPrintDialog* theWrappedObject) const; - void setEnabledOptions(QAbstractPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintDialogOptions options); - void setMinMax(QAbstractPrintDialog* theWrappedObject, int min, int max); - void setOptionTabs(QAbstractPrintDialog* theWrappedObject, const QList& tabs); - void setPrintRange(QAbstractPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintRange range); - bool isOptionEnabled(QAbstractPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintDialogOption option) const; - int maxPage(QAbstractPrintDialog* theWrappedObject) const; - void setFromTo(QAbstractPrintDialog* theWrappedObject, int fromPage, int toPage); - int toPage(QAbstractPrintDialog* theWrappedObject) const; - QAbstractPrintDialog::PrintRange printRange(QAbstractPrintDialog* theWrappedObject) const; - QAbstractPrintDialog::PrintDialogOptions enabledOptions(QAbstractPrintDialog* theWrappedObject) const; - int fromPage(QAbstractPrintDialog* theWrappedObject) const; - QPrinter* printer(QAbstractPrintDialog* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QABSTRACTPRINTDIALOG_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAbstractScrollArea.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAbstractScrollArea.cpp deleted file mode 100644 index 7a78171..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAbstractScrollArea.cpp +++ /dev/null @@ -1,982 +0,0 @@ -#include "PythonQtWrapper_QAbstractScrollArea.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QAbstractScrollArea::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QAbstractScrollArea::actionEvent(arg__1); -} -void PythonQtShell_QAbstractScrollArea::changeEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractScrollArea::changeEvent(arg__1); -} -void PythonQtShell_QAbstractScrollArea::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; - } -} - QAbstractScrollArea::childEvent(arg__1); -} -void PythonQtShell_QAbstractScrollArea::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QAbstractScrollArea::closeEvent(arg__1); -} -void PythonQtShell_QAbstractScrollArea::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractScrollArea::contextMenuEvent(arg__1); -} -void PythonQtShell_QAbstractScrollArea::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; - } -} - QAbstractScrollArea::customEvent(arg__1); -} -int PythonQtShell_QAbstractScrollArea::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractScrollArea::devType(); -} -void PythonQtShell_QAbstractScrollArea::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QAbstractScrollArea::dragEnterEvent(arg__1); -} -void PythonQtShell_QAbstractScrollArea::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QAbstractScrollArea::dragLeaveEvent(arg__1); -} -void PythonQtShell_QAbstractScrollArea::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QAbstractScrollArea::dragMoveEvent(arg__1); -} -void PythonQtShell_QAbstractScrollArea::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QAbstractScrollArea::dropEvent(arg__1); -} -void PythonQtShell_QAbstractScrollArea::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QAbstractScrollArea::enterEvent(arg__1); -} -bool PythonQtShell_QAbstractScrollArea::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractScrollArea::event(arg__1); -} -bool PythonQtShell_QAbstractScrollArea::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractScrollArea::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QAbstractScrollArea::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QAbstractScrollArea::focusInEvent(arg__1); -} -bool PythonQtShell_QAbstractScrollArea::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractScrollArea::focusNextPrevChild(next); -} -void PythonQtShell_QAbstractScrollArea::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QAbstractScrollArea::focusOutEvent(arg__1); -} -int PythonQtShell_QAbstractScrollArea::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractScrollArea::heightForWidth(arg__1); -} -void PythonQtShell_QAbstractScrollArea::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QAbstractScrollArea::hideEvent(arg__1); -} -void PythonQtShell_QAbstractScrollArea::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QAbstractScrollArea::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QAbstractScrollArea::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractScrollArea::inputMethodQuery(arg__1); -} -void PythonQtShell_QAbstractScrollArea::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractScrollArea::keyPressEvent(arg__1); -} -void PythonQtShell_QAbstractScrollArea::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractScrollArea::keyReleaseEvent(arg__1); -} -void PythonQtShell_QAbstractScrollArea::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractScrollArea::languageChange(); -} -void PythonQtShell_QAbstractScrollArea::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QAbstractScrollArea::leaveEvent(arg__1); -} -int PythonQtShell_QAbstractScrollArea::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractScrollArea::metric(arg__1); -} -void PythonQtShell_QAbstractScrollArea::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QAbstractScrollArea::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QAbstractScrollArea::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QAbstractScrollArea::mouseMoveEvent(arg__1); -} -void PythonQtShell_QAbstractScrollArea::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QAbstractScrollArea::mousePressEvent(arg__1); -} -void PythonQtShell_QAbstractScrollArea::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QAbstractScrollArea::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QAbstractScrollArea::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractScrollArea::moveEvent(arg__1); -} -QPaintEngine* PythonQtShell_QAbstractScrollArea::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractScrollArea::paintEngine(); -} -void PythonQtShell_QAbstractScrollArea::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - 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; - } -} - QAbstractScrollArea::paintEvent(arg__1); -} -void PythonQtShell_QAbstractScrollArea::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - 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; - } -} - QAbstractScrollArea::resizeEvent(arg__1); -} -void PythonQtShell_QAbstractScrollArea::scrollContentsBy(int dx, int dy) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "scrollContentsBy"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&dx, (void*)&dy}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractScrollArea::scrollContentsBy(dx, dy); -} -void PythonQtShell_QAbstractScrollArea::showEvent(QShowEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QAbstractScrollArea::showEvent(arg__1); -} -void PythonQtShell_QAbstractScrollArea::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QAbstractScrollArea::tabletEvent(arg__1); -} -void PythonQtShell_QAbstractScrollArea::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; - } -} - QAbstractScrollArea::timerEvent(arg__1); -} -bool PythonQtShell_QAbstractScrollArea::viewportEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "viewportEvent"); - 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("viewportEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractScrollArea::viewportEvent(arg__1); -} -void PythonQtShell_QAbstractScrollArea::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractScrollArea::wheelEvent(arg__1); -} -QAbstractScrollArea* PythonQtWrapper_QAbstractScrollArea::new_QAbstractScrollArea(QWidget* parent) -{ -return new PythonQtShell_QAbstractScrollArea(parent); } - -Qt::ScrollBarPolicy PythonQtWrapper_QAbstractScrollArea::horizontalScrollBarPolicy(QAbstractScrollArea* theWrappedObject) const -{ - return ( theWrappedObject->horizontalScrollBarPolicy()); -} - -QSize PythonQtWrapper_QAbstractScrollArea::minimumSizeHint(QAbstractScrollArea* theWrappedObject) const -{ - return ( theWrappedObject->minimumSizeHint()); -} - -QWidget* PythonQtWrapper_QAbstractScrollArea::viewport(QAbstractScrollArea* theWrappedObject) const -{ - return ( theWrappedObject->viewport()); -} - -void PythonQtWrapper_QAbstractScrollArea::mouseMoveEvent(QAbstractScrollArea* theWrappedObject, QMouseEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->promoted_mouseMoveEvent(arg__1)); -} - -QWidget* PythonQtWrapper_QAbstractScrollArea::cornerWidget(QAbstractScrollArea* theWrappedObject) const -{ - return ( theWrappedObject->cornerWidget()); -} - -void PythonQtWrapper_QAbstractScrollArea::setHorizontalScrollBar(QAbstractScrollArea* theWrappedObject, QScrollBar* scrollbar) -{ - ( theWrappedObject->setHorizontalScrollBar(scrollbar)); -} - -Qt::ScrollBarPolicy PythonQtWrapper_QAbstractScrollArea::verticalScrollBarPolicy(QAbstractScrollArea* theWrappedObject) const -{ - return ( theWrappedObject->verticalScrollBarPolicy()); -} - -void PythonQtWrapper_QAbstractScrollArea::setHorizontalScrollBarPolicy(QAbstractScrollArea* theWrappedObject, Qt::ScrollBarPolicy arg__1) -{ - ( theWrappedObject->setHorizontalScrollBarPolicy(arg__1)); -} - -void PythonQtWrapper_QAbstractScrollArea::dragEnterEvent(QAbstractScrollArea* theWrappedObject, QDragEnterEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->promoted_dragEnterEvent(arg__1)); -} - -void PythonQtWrapper_QAbstractScrollArea::mouseDoubleClickEvent(QAbstractScrollArea* theWrappedObject, QMouseEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->promoted_mouseDoubleClickEvent(arg__1)); -} - -QScrollBar* PythonQtWrapper_QAbstractScrollArea::verticalScrollBar(QAbstractScrollArea* theWrappedObject) const -{ - return ( theWrappedObject->verticalScrollBar()); -} - -void PythonQtWrapper_QAbstractScrollArea::setVerticalScrollBarPolicy(QAbstractScrollArea* theWrappedObject, Qt::ScrollBarPolicy arg__1) -{ - ( theWrappedObject->setVerticalScrollBarPolicy(arg__1)); -} - -QSize PythonQtWrapper_QAbstractScrollArea::maximumViewportSize(QAbstractScrollArea* theWrappedObject) const -{ - return ( theWrappedObject->maximumViewportSize()); -} - -void PythonQtWrapper_QAbstractScrollArea::dragMoveEvent(QAbstractScrollArea* theWrappedObject, QDragMoveEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->promoted_dragMoveEvent(arg__1)); -} - -bool PythonQtWrapper_QAbstractScrollArea::event(QAbstractScrollArea* theWrappedObject, QEvent* arg__1) -{ - return ( ((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->promoted_event(arg__1)); -} - -QList PythonQtWrapper_QAbstractScrollArea::scrollBarWidgets(QAbstractScrollArea* theWrappedObject, Qt::Alignment alignment) -{ - return ( theWrappedObject->scrollBarWidgets(alignment)); -} - -QSize PythonQtWrapper_QAbstractScrollArea::sizeHint(QAbstractScrollArea* theWrappedObject) const -{ - return ( theWrappedObject->sizeHint()); -} - -void PythonQtWrapper_QAbstractScrollArea::scrollContentsBy(QAbstractScrollArea* theWrappedObject, int dx, int dy) -{ - ( ((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->promoted_scrollContentsBy(dx, dy)); -} - -void PythonQtWrapper_QAbstractScrollArea::mousePressEvent(QAbstractScrollArea* theWrappedObject, QMouseEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->promoted_mousePressEvent(arg__1)); -} - -void PythonQtWrapper_QAbstractScrollArea::paintEvent(QAbstractScrollArea* theWrappedObject, QPaintEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->promoted_paintEvent(arg__1)); -} - -void PythonQtWrapper_QAbstractScrollArea::dropEvent(QAbstractScrollArea* theWrappedObject, QDropEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->promoted_dropEvent(arg__1)); -} - -void PythonQtWrapper_QAbstractScrollArea::resizeEvent(QAbstractScrollArea* theWrappedObject, QResizeEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->promoted_resizeEvent(arg__1)); -} - -void PythonQtWrapper_QAbstractScrollArea::dragLeaveEvent(QAbstractScrollArea* theWrappedObject, QDragLeaveEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->promoted_dragLeaveEvent(arg__1)); -} - -void PythonQtWrapper_QAbstractScrollArea::addScrollBarWidget(QAbstractScrollArea* theWrappedObject, QWidget* widget, Qt::Alignment alignment) -{ - ( theWrappedObject->addScrollBarWidget(widget, alignment)); -} - -void PythonQtWrapper_QAbstractScrollArea::keyPressEvent(QAbstractScrollArea* theWrappedObject, QKeyEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->promoted_keyPressEvent(arg__1)); -} - -bool PythonQtWrapper_QAbstractScrollArea::viewportEvent(QAbstractScrollArea* theWrappedObject, QEvent* arg__1) -{ - return ( ((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->promoted_viewportEvent(arg__1)); -} - -QScrollBar* PythonQtWrapper_QAbstractScrollArea::horizontalScrollBar(QAbstractScrollArea* theWrappedObject) const -{ - return ( theWrappedObject->horizontalScrollBar()); -} - -void PythonQtWrapper_QAbstractScrollArea::mouseReleaseEvent(QAbstractScrollArea* theWrappedObject, QMouseEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->promoted_mouseReleaseEvent(arg__1)); -} - -void PythonQtWrapper_QAbstractScrollArea::wheelEvent(QAbstractScrollArea* theWrappedObject, QWheelEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->promoted_wheelEvent(arg__1)); -} - -void PythonQtWrapper_QAbstractScrollArea::setCornerWidget(QAbstractScrollArea* theWrappedObject, QWidget* widget) -{ - ( theWrappedObject->setCornerWidget(widget)); -} - -void PythonQtWrapper_QAbstractScrollArea::setVerticalScrollBar(QAbstractScrollArea* theWrappedObject, QScrollBar* scrollbar) -{ - ( theWrappedObject->setVerticalScrollBar(scrollbar)); -} - -void PythonQtWrapper_QAbstractScrollArea::setViewport(QAbstractScrollArea* theWrappedObject, QWidget* widget) -{ - ( theWrappedObject->setViewport(widget)); -} - -void PythonQtWrapper_QAbstractScrollArea::contextMenuEvent(QAbstractScrollArea* theWrappedObject, QContextMenuEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->promoted_contextMenuEvent(arg__1)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAbstractScrollArea.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAbstractScrollArea.h deleted file mode 100644 index cf25775..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAbstractScrollArea.h +++ /dev/null @@ -1,148 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QABSTRACTSCROLLAREA_H -#define PYTHONQTWRAPPER_QABSTRACTSCROLLAREA_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QAbstractScrollArea : public QAbstractScrollArea -{ -public: - PythonQtShell_QAbstractScrollArea(QWidget* parent = 0):QAbstractScrollArea(parent),_wrapper(NULL) {}; - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* arg__1); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void scrollContentsBy(int dx, int dy); -virtual void showEvent(QShowEvent* arg__1); -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* arg__1); -virtual bool viewportEvent(QEvent* arg__1); -virtual void wheelEvent(QWheelEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QAbstractScrollArea : public QAbstractScrollArea -{ public: -inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { QAbstractScrollArea::mouseMoveEvent(arg__1); } -inline void promoted_dragEnterEvent(QDragEnterEvent* arg__1) { QAbstractScrollArea::dragEnterEvent(arg__1); } -inline void promoted_mouseDoubleClickEvent(QMouseEvent* arg__1) { QAbstractScrollArea::mouseDoubleClickEvent(arg__1); } -inline void promoted_dragMoveEvent(QDragMoveEvent* arg__1) { QAbstractScrollArea::dragMoveEvent(arg__1); } -inline bool promoted_event(QEvent* arg__1) { return QAbstractScrollArea::event(arg__1); } -inline void promoted_scrollContentsBy(int dx, int dy) { QAbstractScrollArea::scrollContentsBy(dx, dy); } -inline void promoted_mousePressEvent(QMouseEvent* arg__1) { QAbstractScrollArea::mousePressEvent(arg__1); } -inline void promoted_paintEvent(QPaintEvent* arg__1) { QAbstractScrollArea::paintEvent(arg__1); } -inline void promoted_dropEvent(QDropEvent* arg__1) { QAbstractScrollArea::dropEvent(arg__1); } -inline void promoted_resizeEvent(QResizeEvent* arg__1) { QAbstractScrollArea::resizeEvent(arg__1); } -inline void promoted_dragLeaveEvent(QDragLeaveEvent* arg__1) { QAbstractScrollArea::dragLeaveEvent(arg__1); } -inline void promoted_keyPressEvent(QKeyEvent* arg__1) { QAbstractScrollArea::keyPressEvent(arg__1); } -inline bool promoted_viewportEvent(QEvent* arg__1) { return QAbstractScrollArea::viewportEvent(arg__1); } -inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { QAbstractScrollArea::mouseReleaseEvent(arg__1); } -inline void promoted_wheelEvent(QWheelEvent* arg__1) { QAbstractScrollArea::wheelEvent(arg__1); } -inline void promoted_contextMenuEvent(QContextMenuEvent* arg__1) { QAbstractScrollArea::contextMenuEvent(arg__1); } -}; - -class PythonQtWrapper_QAbstractScrollArea : public QObject -{ Q_OBJECT -public: -public slots: -QAbstractScrollArea* new_QAbstractScrollArea(QWidget* parent = 0); -void delete_QAbstractScrollArea(QAbstractScrollArea* obj) { delete obj; } - Qt::ScrollBarPolicy horizontalScrollBarPolicy(QAbstractScrollArea* theWrappedObject) const; - QSize minimumSizeHint(QAbstractScrollArea* theWrappedObject) const; - QWidget* viewport(QAbstractScrollArea* theWrappedObject) const; - void mouseMoveEvent(QAbstractScrollArea* theWrappedObject, QMouseEvent* arg__1); - QWidget* cornerWidget(QAbstractScrollArea* theWrappedObject) const; - void setHorizontalScrollBar(QAbstractScrollArea* theWrappedObject, QScrollBar* scrollbar); - Qt::ScrollBarPolicy verticalScrollBarPolicy(QAbstractScrollArea* theWrappedObject) const; - void setHorizontalScrollBarPolicy(QAbstractScrollArea* theWrappedObject, Qt::ScrollBarPolicy arg__1); - void dragEnterEvent(QAbstractScrollArea* theWrappedObject, QDragEnterEvent* arg__1); - void mouseDoubleClickEvent(QAbstractScrollArea* theWrappedObject, QMouseEvent* arg__1); - QScrollBar* verticalScrollBar(QAbstractScrollArea* theWrappedObject) const; - void setVerticalScrollBarPolicy(QAbstractScrollArea* theWrappedObject, Qt::ScrollBarPolicy arg__1); - QSize maximumViewportSize(QAbstractScrollArea* theWrappedObject) const; - void dragMoveEvent(QAbstractScrollArea* theWrappedObject, QDragMoveEvent* arg__1); - bool event(QAbstractScrollArea* theWrappedObject, QEvent* arg__1); - QList scrollBarWidgets(QAbstractScrollArea* theWrappedObject, Qt::Alignment alignment); - QSize sizeHint(QAbstractScrollArea* theWrappedObject) const; - void scrollContentsBy(QAbstractScrollArea* theWrappedObject, int dx, int dy); - void mousePressEvent(QAbstractScrollArea* theWrappedObject, QMouseEvent* arg__1); - void paintEvent(QAbstractScrollArea* theWrappedObject, QPaintEvent* arg__1); - void dropEvent(QAbstractScrollArea* theWrappedObject, QDropEvent* arg__1); - void resizeEvent(QAbstractScrollArea* theWrappedObject, QResizeEvent* arg__1); - void dragLeaveEvent(QAbstractScrollArea* theWrappedObject, QDragLeaveEvent* arg__1); - void addScrollBarWidget(QAbstractScrollArea* theWrappedObject, QWidget* widget, Qt::Alignment alignment); - void keyPressEvent(QAbstractScrollArea* theWrappedObject, QKeyEvent* arg__1); - bool viewportEvent(QAbstractScrollArea* theWrappedObject, QEvent* arg__1); - QScrollBar* horizontalScrollBar(QAbstractScrollArea* theWrappedObject) const; - void mouseReleaseEvent(QAbstractScrollArea* theWrappedObject, QMouseEvent* arg__1); - void wheelEvent(QAbstractScrollArea* theWrappedObject, QWheelEvent* arg__1); - void setCornerWidget(QAbstractScrollArea* theWrappedObject, QWidget* widget); - void setVerticalScrollBar(QAbstractScrollArea* theWrappedObject, QScrollBar* scrollbar); - void setViewport(QAbstractScrollArea* theWrappedObject, QWidget* widget); - void contextMenuEvent(QAbstractScrollArea* theWrappedObject, QContextMenuEvent* arg__1); -}; - -#endif // PYTHONQTWRAPPER_QABSTRACTSCROLLAREA_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAbstractSlider.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAbstractSlider.cpp deleted file mode 100644 index 790f717..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAbstractSlider.cpp +++ /dev/null @@ -1,979 +0,0 @@ -#include "PythonQtWrapper_QAbstractSlider.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QAbstractSlider::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QAbstractSlider::actionEvent(arg__1); -} -void PythonQtShell_QAbstractSlider::changeEvent(QEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractSlider::changeEvent(e); -} -void PythonQtShell_QAbstractSlider::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; - } -} - QAbstractSlider::childEvent(arg__1); -} -void PythonQtShell_QAbstractSlider::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QAbstractSlider::closeEvent(arg__1); -} -void PythonQtShell_QAbstractSlider::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractSlider::contextMenuEvent(arg__1); -} -void PythonQtShell_QAbstractSlider::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; - } -} - QAbstractSlider::customEvent(arg__1); -} -int PythonQtShell_QAbstractSlider::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractSlider::devType(); -} -void PythonQtShell_QAbstractSlider::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QAbstractSlider::dragEnterEvent(arg__1); -} -void PythonQtShell_QAbstractSlider::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QAbstractSlider::dragLeaveEvent(arg__1); -} -void PythonQtShell_QAbstractSlider::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QAbstractSlider::dragMoveEvent(arg__1); -} -void PythonQtShell_QAbstractSlider::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QAbstractSlider::dropEvent(arg__1); -} -void PythonQtShell_QAbstractSlider::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QAbstractSlider::enterEvent(arg__1); -} -bool PythonQtShell_QAbstractSlider::event(QEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractSlider::event(e); -} -bool PythonQtShell_QAbstractSlider::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractSlider::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QAbstractSlider::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QAbstractSlider::focusInEvent(arg__1); -} -bool PythonQtShell_QAbstractSlider::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractSlider::focusNextPrevChild(next); -} -void PythonQtShell_QAbstractSlider::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QAbstractSlider::focusOutEvent(arg__1); -} -int PythonQtShell_QAbstractSlider::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractSlider::heightForWidth(arg__1); -} -void PythonQtShell_QAbstractSlider::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QAbstractSlider::hideEvent(arg__1); -} -void PythonQtShell_QAbstractSlider::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QAbstractSlider::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QAbstractSlider::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractSlider::inputMethodQuery(arg__1); -} -void PythonQtShell_QAbstractSlider::keyPressEvent(QKeyEvent* ev) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractSlider::keyPressEvent(ev); -} -void PythonQtShell_QAbstractSlider::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractSlider::keyReleaseEvent(arg__1); -} -void PythonQtShell_QAbstractSlider::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractSlider::languageChange(); -} -void PythonQtShell_QAbstractSlider::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QAbstractSlider::leaveEvent(arg__1); -} -int PythonQtShell_QAbstractSlider::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractSlider::metric(arg__1); -} -QSize PythonQtShell_QAbstractSlider::minimumSizeHint() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractSlider::minimumSizeHint(); -} -void PythonQtShell_QAbstractSlider::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QAbstractSlider::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QAbstractSlider::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QAbstractSlider::mouseMoveEvent(arg__1); -} -void PythonQtShell_QAbstractSlider::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QAbstractSlider::mousePressEvent(arg__1); -} -void PythonQtShell_QAbstractSlider::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QAbstractSlider::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QAbstractSlider::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractSlider::moveEvent(arg__1); -} -QPaintEngine* PythonQtShell_QAbstractSlider::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractSlider::paintEngine(); -} -void PythonQtShell_QAbstractSlider::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - 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; - } -} - QAbstractSlider::paintEvent(arg__1); -} -void PythonQtShell_QAbstractSlider::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - 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; - } -} - QAbstractSlider::resizeEvent(arg__1); -} -void PythonQtShell_QAbstractSlider::showEvent(QShowEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QAbstractSlider::showEvent(arg__1); -} -QSize PythonQtShell_QAbstractSlider::sizeHint() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getSizeHint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractSlider::sizeHint(); -} -void PythonQtShell_QAbstractSlider::sliderChange(QAbstractSlider::SliderChange change) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sliderChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QAbstractSlider::SliderChange"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&change}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractSlider::sliderChange(change); -} -void PythonQtShell_QAbstractSlider::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QAbstractSlider::tabletEvent(arg__1); -} -void PythonQtShell_QAbstractSlider::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; - } -} - QAbstractSlider::timerEvent(arg__1); -} -void PythonQtShell_QAbstractSlider::wheelEvent(QWheelEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractSlider::wheelEvent(e); -} -QAbstractSlider* PythonQtWrapper_QAbstractSlider::new_QAbstractSlider(QWidget* parent) -{ -return new PythonQtShell_QAbstractSlider(parent); } - -void PythonQtWrapper_QAbstractSlider::setMinimum(QAbstractSlider* theWrappedObject, int arg__1) -{ - ( theWrappedObject->setMinimum(arg__1)); -} - -void PythonQtWrapper_QAbstractSlider::setTracking(QAbstractSlider* theWrappedObject, bool enable) -{ - ( theWrappedObject->setTracking(enable)); -} - -int PythonQtWrapper_QAbstractSlider::pageStep(QAbstractSlider* theWrappedObject) const -{ - return ( theWrappedObject->pageStep()); -} - -void PythonQtWrapper_QAbstractSlider::setRange(QAbstractSlider* theWrappedObject, int min, int max) -{ - ( theWrappedObject->setRange(min, max)); -} - -void PythonQtWrapper_QAbstractSlider::setSliderDown(QAbstractSlider* theWrappedObject, bool arg__1) -{ - ( theWrappedObject->setSliderDown(arg__1)); -} - -void PythonQtWrapper_QAbstractSlider::setSingleStep(QAbstractSlider* theWrappedObject, int arg__1) -{ - ( theWrappedObject->setSingleStep(arg__1)); -} - -bool PythonQtWrapper_QAbstractSlider::event(QAbstractSlider* theWrappedObject, QEvent* e) -{ - return ( ((PythonQtPublicPromoter_QAbstractSlider*)theWrappedObject)->promoted_event(e)); -} - -int PythonQtWrapper_QAbstractSlider::value(QAbstractSlider* theWrappedObject) const -{ - return ( theWrappedObject->value()); -} - -bool PythonQtWrapper_QAbstractSlider::invertedControls(QAbstractSlider* theWrappedObject) const -{ - return ( theWrappedObject->invertedControls()); -} - -void PythonQtWrapper_QAbstractSlider::wheelEvent(QAbstractSlider* theWrappedObject, QWheelEvent* e) -{ - ( ((PythonQtPublicPromoter_QAbstractSlider*)theWrappedObject)->promoted_wheelEvent(e)); -} - -bool PythonQtWrapper_QAbstractSlider::hasTracking(QAbstractSlider* theWrappedObject) const -{ - return ( theWrappedObject->hasTracking()); -} - -int PythonQtWrapper_QAbstractSlider::maximum(QAbstractSlider* theWrappedObject) const -{ - return ( theWrappedObject->maximum()); -} - -Qt::Orientation PythonQtWrapper_QAbstractSlider::orientation(QAbstractSlider* theWrappedObject) const -{ - return ( theWrappedObject->orientation()); -} - -bool PythonQtWrapper_QAbstractSlider::isSliderDown(QAbstractSlider* theWrappedObject) const -{ - return ( theWrappedObject->isSliderDown()); -} - -void PythonQtWrapper_QAbstractSlider::setMaximum(QAbstractSlider* theWrappedObject, int arg__1) -{ - ( theWrappedObject->setMaximum(arg__1)); -} - -void PythonQtWrapper_QAbstractSlider::triggerAction(QAbstractSlider* theWrappedObject, QAbstractSlider::SliderAction action) -{ - ( theWrappedObject->triggerAction(action)); -} - -int PythonQtWrapper_QAbstractSlider::minimum(QAbstractSlider* theWrappedObject) const -{ - return ( theWrappedObject->minimum()); -} - -bool PythonQtWrapper_QAbstractSlider::invertedAppearance(QAbstractSlider* theWrappedObject) const -{ - return ( theWrappedObject->invertedAppearance()); -} - -void PythonQtWrapper_QAbstractSlider::setSliderPosition(QAbstractSlider* theWrappedObject, int arg__1) -{ - ( theWrappedObject->setSliderPosition(arg__1)); -} - -void PythonQtWrapper_QAbstractSlider::changeEvent(QAbstractSlider* theWrappedObject, QEvent* e) -{ - ( ((PythonQtPublicPromoter_QAbstractSlider*)theWrappedObject)->promoted_changeEvent(e)); -} - -int PythonQtWrapper_QAbstractSlider::sliderPosition(QAbstractSlider* theWrappedObject) const -{ - return ( theWrappedObject->sliderPosition()); -} - -void PythonQtWrapper_QAbstractSlider::timerEvent(QAbstractSlider* theWrappedObject, QTimerEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QAbstractSlider*)theWrappedObject)->promoted_timerEvent(arg__1)); -} - -void PythonQtWrapper_QAbstractSlider::setInvertedControls(QAbstractSlider* theWrappedObject, bool arg__1) -{ - ( theWrappedObject->setInvertedControls(arg__1)); -} - -void PythonQtWrapper_QAbstractSlider::setPageStep(QAbstractSlider* theWrappedObject, int arg__1) -{ - ( theWrappedObject->setPageStep(arg__1)); -} - -void PythonQtWrapper_QAbstractSlider::keyPressEvent(QAbstractSlider* theWrappedObject, QKeyEvent* ev) -{ - ( ((PythonQtPublicPromoter_QAbstractSlider*)theWrappedObject)->promoted_keyPressEvent(ev)); -} - -void PythonQtWrapper_QAbstractSlider::setInvertedAppearance(QAbstractSlider* theWrappedObject, bool arg__1) -{ - ( theWrappedObject->setInvertedAppearance(arg__1)); -} - -int PythonQtWrapper_QAbstractSlider::singleStep(QAbstractSlider* theWrappedObject) const -{ - return ( theWrappedObject->singleStep()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAbstractSlider.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAbstractSlider.h deleted file mode 100644 index bf8577c..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAbstractSlider.h +++ /dev/null @@ -1,134 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QABSTRACTSLIDER_H -#define PYTHONQTWRAPPER_QABSTRACTSLIDER_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QAbstractSlider : public QAbstractSlider -{ -public: - PythonQtShell_QAbstractSlider(QWidget* parent = 0):QAbstractSlider(parent),_wrapper(NULL) {}; - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* e); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* ev); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* arg__1); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void sliderChange(QAbstractSlider::SliderChange change); -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* e); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QAbstractSlider : public QAbstractSlider -{ public: -inline bool promoted_event(QEvent* e) { return QAbstractSlider::event(e); } -inline void promoted_wheelEvent(QWheelEvent* e) { QAbstractSlider::wheelEvent(e); } -inline void promoted_changeEvent(QEvent* e) { QAbstractSlider::changeEvent(e); } -inline void promoted_timerEvent(QTimerEvent* arg__1) { QAbstractSlider::timerEvent(arg__1); } -inline void promoted_keyPressEvent(QKeyEvent* ev) { QAbstractSlider::keyPressEvent(ev); } -}; - -class PythonQtWrapper_QAbstractSlider : public QObject -{ Q_OBJECT -public: -Q_ENUMS(SliderAction ) -enum SliderAction{ - SliderNoAction = QAbstractSlider::SliderNoAction, SliderSingleStepAdd = QAbstractSlider::SliderSingleStepAdd, SliderSingleStepSub = QAbstractSlider::SliderSingleStepSub, SliderPageStepAdd = QAbstractSlider::SliderPageStepAdd, SliderPageStepSub = QAbstractSlider::SliderPageStepSub, SliderToMinimum = QAbstractSlider::SliderToMinimum, SliderToMaximum = QAbstractSlider::SliderToMaximum, SliderMove = QAbstractSlider::SliderMove}; -public slots: -QAbstractSlider* new_QAbstractSlider(QWidget* parent = 0); -void delete_QAbstractSlider(QAbstractSlider* obj) { delete obj; } - void setMinimum(QAbstractSlider* theWrappedObject, int arg__1); - void setTracking(QAbstractSlider* theWrappedObject, bool enable); - int pageStep(QAbstractSlider* theWrappedObject) const; - void setRange(QAbstractSlider* theWrappedObject, int min, int max); - void setSliderDown(QAbstractSlider* theWrappedObject, bool arg__1); - void setSingleStep(QAbstractSlider* theWrappedObject, int arg__1); - bool event(QAbstractSlider* theWrappedObject, QEvent* e); - int value(QAbstractSlider* theWrappedObject) const; - bool invertedControls(QAbstractSlider* theWrappedObject) const; - void wheelEvent(QAbstractSlider* theWrappedObject, QWheelEvent* e); - bool hasTracking(QAbstractSlider* theWrappedObject) const; - int maximum(QAbstractSlider* theWrappedObject) const; - Qt::Orientation orientation(QAbstractSlider* theWrappedObject) const; - bool isSliderDown(QAbstractSlider* theWrappedObject) const; - void setMaximum(QAbstractSlider* theWrappedObject, int arg__1); - void triggerAction(QAbstractSlider* theWrappedObject, QAbstractSlider::SliderAction action); - int minimum(QAbstractSlider* theWrappedObject) const; - bool invertedAppearance(QAbstractSlider* theWrappedObject) const; - void setSliderPosition(QAbstractSlider* theWrappedObject, int arg__1); - void changeEvent(QAbstractSlider* theWrappedObject, QEvent* e); - int sliderPosition(QAbstractSlider* theWrappedObject) const; - void timerEvent(QAbstractSlider* theWrappedObject, QTimerEvent* arg__1); - void setInvertedControls(QAbstractSlider* theWrappedObject, bool arg__1); - void setPageStep(QAbstractSlider* theWrappedObject, int arg__1); - void keyPressEvent(QAbstractSlider* theWrappedObject, QKeyEvent* ev); - void setInvertedAppearance(QAbstractSlider* theWrappedObject, bool arg__1); - int singleStep(QAbstractSlider* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QABSTRACTSLIDER_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAbstractSpinBox.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAbstractSpinBox.cpp deleted file mode 100644 index 9037df4..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAbstractSpinBox.cpp +++ /dev/null @@ -1,1100 +0,0 @@ -#include "PythonQtWrapper_QAbstractSpinBox.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QAbstractSpinBox::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QAbstractSpinBox::actionEvent(arg__1); -} -void PythonQtShell_QAbstractSpinBox::changeEvent(QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractSpinBox::changeEvent(event); -} -void PythonQtShell_QAbstractSpinBox::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; - } -} - QAbstractSpinBox::childEvent(arg__1); -} -void PythonQtShell_QAbstractSpinBox::clear() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "clear"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractSpinBox::clear(); -} -void PythonQtShell_QAbstractSpinBox::closeEvent(QCloseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QAbstractSpinBox::closeEvent(event); -} -void PythonQtShell_QAbstractSpinBox::contextMenuEvent(QContextMenuEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - 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; - } -} - QAbstractSpinBox::contextMenuEvent(event); -} -void PythonQtShell_QAbstractSpinBox::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; - } -} - QAbstractSpinBox::customEvent(arg__1); -} -int PythonQtShell_QAbstractSpinBox::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractSpinBox::devType(); -} -void PythonQtShell_QAbstractSpinBox::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QAbstractSpinBox::dragEnterEvent(arg__1); -} -void PythonQtShell_QAbstractSpinBox::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QAbstractSpinBox::dragLeaveEvent(arg__1); -} -void PythonQtShell_QAbstractSpinBox::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QAbstractSpinBox::dragMoveEvent(arg__1); -} -void PythonQtShell_QAbstractSpinBox::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QAbstractSpinBox::dropEvent(arg__1); -} -void PythonQtShell_QAbstractSpinBox::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QAbstractSpinBox::enterEvent(arg__1); -} -bool PythonQtShell_QAbstractSpinBox::event(QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractSpinBox::event(event); -} -bool PythonQtShell_QAbstractSpinBox::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractSpinBox::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QAbstractSpinBox::fixup(QString& input) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "fixup"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&input}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractSpinBox::fixup(input); -} -void PythonQtShell_QAbstractSpinBox::focusInEvent(QFocusEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QAbstractSpinBox::focusInEvent(event); -} -bool PythonQtShell_QAbstractSpinBox::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractSpinBox::focusNextPrevChild(next); -} -void PythonQtShell_QAbstractSpinBox::focusOutEvent(QFocusEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QAbstractSpinBox::focusOutEvent(event); -} -int PythonQtShell_QAbstractSpinBox::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractSpinBox::heightForWidth(arg__1); -} -void PythonQtShell_QAbstractSpinBox::hideEvent(QHideEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QAbstractSpinBox::hideEvent(event); -} -void PythonQtShell_QAbstractSpinBox::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QAbstractSpinBox::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QAbstractSpinBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractSpinBox::inputMethodQuery(arg__1); -} -void PythonQtShell_QAbstractSpinBox::keyPressEvent(QKeyEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractSpinBox::keyPressEvent(event); -} -void PythonQtShell_QAbstractSpinBox::keyReleaseEvent(QKeyEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractSpinBox::keyReleaseEvent(event); -} -void PythonQtShell_QAbstractSpinBox::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractSpinBox::languageChange(); -} -void PythonQtShell_QAbstractSpinBox::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QAbstractSpinBox::leaveEvent(arg__1); -} -int PythonQtShell_QAbstractSpinBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractSpinBox::metric(arg__1); -} -void PythonQtShell_QAbstractSpinBox::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QAbstractSpinBox::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QAbstractSpinBox::mouseMoveEvent(QMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QAbstractSpinBox::mouseMoveEvent(event); -} -void PythonQtShell_QAbstractSpinBox::mousePressEvent(QMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QAbstractSpinBox::mousePressEvent(event); -} -void PythonQtShell_QAbstractSpinBox::mouseReleaseEvent(QMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QAbstractSpinBox::mouseReleaseEvent(event); -} -void PythonQtShell_QAbstractSpinBox::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractSpinBox::moveEvent(arg__1); -} -QPaintEngine* PythonQtShell_QAbstractSpinBox::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractSpinBox::paintEngine(); -} -void PythonQtShell_QAbstractSpinBox::paintEvent(QPaintEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - 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; - } -} - QAbstractSpinBox::paintEvent(event); -} -void PythonQtShell_QAbstractSpinBox::resizeEvent(QResizeEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - 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; - } -} - QAbstractSpinBox::resizeEvent(event); -} -void PythonQtShell_QAbstractSpinBox::showEvent(QShowEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QAbstractSpinBox::showEvent(event); -} -void PythonQtShell_QAbstractSpinBox::stepBy(int steps) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "stepBy"); - 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*)&steps}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractSpinBox::stepBy(steps); -} -QAbstractSpinBox::StepEnabled PythonQtShell_QAbstractSpinBox::stepEnabled() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "stepEnabled"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QAbstractSpinBox::StepEnabled"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QAbstractSpinBox::StepEnabled returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("stepEnabled", methodInfo, result); - } else { - returnValue = *((QAbstractSpinBox::StepEnabled*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractSpinBox::stepEnabled(); -} -void PythonQtShell_QAbstractSpinBox::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QAbstractSpinBox::tabletEvent(arg__1); -} -void PythonQtShell_QAbstractSpinBox::timerEvent(QTimerEvent* event) -{ -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*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractSpinBox::timerEvent(event); -} -QValidator::State PythonQtShell_QAbstractSpinBox::validate(QString& input, int& pos) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "validate"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QValidator::State returnValue; - void* args[3] = {NULL, (void*)&input, (void*)&pos}; - 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("validate", methodInfo, result); - } else { - returnValue = *((QValidator::State*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractSpinBox::validate(input, pos); -} -void PythonQtShell_QAbstractSpinBox::wheelEvent(QWheelEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractSpinBox::wheelEvent(event); -} -QAbstractSpinBox* PythonQtWrapper_QAbstractSpinBox::new_QAbstractSpinBox(QWidget* parent) -{ -return new PythonQtShell_QAbstractSpinBox(parent); } - -void PythonQtWrapper_QAbstractSpinBox::setWrapping(QAbstractSpinBox* theWrappedObject, bool w) -{ - ( theWrappedObject->setWrapping(w)); -} - -void PythonQtWrapper_QAbstractSpinBox::mouseMoveEvent(QAbstractSpinBox* theWrappedObject, QMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->promoted_mouseMoveEvent(event)); -} - -QSize PythonQtWrapper_QAbstractSpinBox::sizeHint(QAbstractSpinBox* theWrappedObject) const -{ - return ( theWrappedObject->sizeHint()); -} - -void PythonQtWrapper_QAbstractSpinBox::showEvent(QAbstractSpinBox* theWrappedObject, QShowEvent* event) -{ - ( ((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->promoted_showEvent(event)); -} - -void PythonQtWrapper_QAbstractSpinBox::mousePressEvent(QAbstractSpinBox* theWrappedObject, QMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->promoted_mousePressEvent(event)); -} - -QSize PythonQtWrapper_QAbstractSpinBox::minimumSizeHint(QAbstractSpinBox* theWrappedObject) const -{ - return ( theWrappedObject->minimumSizeHint()); -} - -bool PythonQtWrapper_QAbstractSpinBox::isAccelerated(QAbstractSpinBox* theWrappedObject) const -{ - return ( theWrappedObject->isAccelerated()); -} - -void PythonQtWrapper_QAbstractSpinBox::stepBy(QAbstractSpinBox* theWrappedObject, int steps) -{ - ( ((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->promoted_stepBy(steps)); -} - -void PythonQtWrapper_QAbstractSpinBox::paintEvent(QAbstractSpinBox* theWrappedObject, QPaintEvent* event) -{ - ( ((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->promoted_paintEvent(event)); -} - -void PythonQtWrapper_QAbstractSpinBox::wheelEvent(QAbstractSpinBox* theWrappedObject, QWheelEvent* event) -{ - ( ((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->promoted_wheelEvent(event)); -} - -void PythonQtWrapper_QAbstractSpinBox::setAlignment(QAbstractSpinBox* theWrappedObject, Qt::Alignment flag) -{ - ( theWrappedObject->setAlignment(flag)); -} - -void PythonQtWrapper_QAbstractSpinBox::resizeEvent(QAbstractSpinBox* theWrappedObject, QResizeEvent* event) -{ - ( ((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->promoted_resizeEvent(event)); -} - -void PythonQtWrapper_QAbstractSpinBox::closeEvent(QAbstractSpinBox* theWrappedObject, QCloseEvent* event) -{ - ( ((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->promoted_closeEvent(event)); -} - -void PythonQtWrapper_QAbstractSpinBox::setCorrectionMode(QAbstractSpinBox* theWrappedObject, QAbstractSpinBox::CorrectionMode cm) -{ - ( theWrappedObject->setCorrectionMode(cm)); -} - -void PythonQtWrapper_QAbstractSpinBox::setKeyboardTracking(QAbstractSpinBox* theWrappedObject, bool kt) -{ - ( theWrappedObject->setKeyboardTracking(kt)); -} - -void PythonQtWrapper_QAbstractSpinBox::setReadOnly(QAbstractSpinBox* theWrappedObject, bool r) -{ - ( theWrappedObject->setReadOnly(r)); -} - -bool PythonQtWrapper_QAbstractSpinBox::hasAcceptableInput(QAbstractSpinBox* theWrappedObject) const -{ - return ( theWrappedObject->hasAcceptableInput()); -} - -void PythonQtWrapper_QAbstractSpinBox::focusOutEvent(QAbstractSpinBox* theWrappedObject, QFocusEvent* event) -{ - ( ((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->promoted_focusOutEvent(event)); -} - -bool PythonQtWrapper_QAbstractSpinBox::isReadOnly(QAbstractSpinBox* theWrappedObject) const -{ - return ( theWrappedObject->isReadOnly()); -} - -QAbstractSpinBox::StepEnabled PythonQtWrapper_QAbstractSpinBox::stepEnabled(QAbstractSpinBox* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->promoted_stepEnabled()); -} - -void PythonQtWrapper_QAbstractSpinBox::setFrame(QAbstractSpinBox* theWrappedObject, bool arg__1) -{ - ( theWrappedObject->setFrame(arg__1)); -} - -QAbstractSpinBox::CorrectionMode PythonQtWrapper_QAbstractSpinBox::correctionMode(QAbstractSpinBox* theWrappedObject) const -{ - return ( theWrappedObject->correctionMode()); -} - -void PythonQtWrapper_QAbstractSpinBox::changeEvent(QAbstractSpinBox* theWrappedObject, QEvent* event) -{ - ( ((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->promoted_changeEvent(event)); -} - -void PythonQtWrapper_QAbstractSpinBox::setButtonSymbols(QAbstractSpinBox* theWrappedObject, QAbstractSpinBox::ButtonSymbols bs) -{ - ( theWrappedObject->setButtonSymbols(bs)); -} - -bool PythonQtWrapper_QAbstractSpinBox::wrapping(QAbstractSpinBox* theWrappedObject) const -{ - return ( theWrappedObject->wrapping()); -} - -bool PythonQtWrapper_QAbstractSpinBox::keyboardTracking(QAbstractSpinBox* theWrappedObject) const -{ - return ( theWrappedObject->keyboardTracking()); -} - -void PythonQtWrapper_QAbstractSpinBox::interpretText(QAbstractSpinBox* theWrappedObject) -{ - ( theWrappedObject->interpretText()); -} - -QValidator::State PythonQtWrapper_QAbstractSpinBox::validate(QAbstractSpinBox* theWrappedObject, QString& input, int& pos) const -{ - return ( ((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->promoted_validate(input, pos)); -} - -void PythonQtWrapper_QAbstractSpinBox::keyPressEvent(QAbstractSpinBox* theWrappedObject, QKeyEvent* event) -{ - ( ((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->promoted_keyPressEvent(event)); -} - -Qt::Alignment PythonQtWrapper_QAbstractSpinBox::alignment(QAbstractSpinBox* theWrappedObject) const -{ - return ( theWrappedObject->alignment()); -} - -void PythonQtWrapper_QAbstractSpinBox::hideEvent(QAbstractSpinBox* theWrappedObject, QHideEvent* event) -{ - ( ((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->promoted_hideEvent(event)); -} - -QString PythonQtWrapper_QAbstractSpinBox::text(QAbstractSpinBox* theWrappedObject) const -{ - return ( theWrappedObject->text()); -} - -QAbstractSpinBox::ButtonSymbols PythonQtWrapper_QAbstractSpinBox::buttonSymbols(QAbstractSpinBox* theWrappedObject) const -{ - return ( theWrappedObject->buttonSymbols()); -} - -void PythonQtWrapper_QAbstractSpinBox::setSpecialValueText(QAbstractSpinBox* theWrappedObject, const QString& txt) -{ - ( theWrappedObject->setSpecialValueText(txt)); -} - -void PythonQtWrapper_QAbstractSpinBox::keyReleaseEvent(QAbstractSpinBox* theWrappedObject, QKeyEvent* event) -{ - ( ((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->promoted_keyReleaseEvent(event)); -} - -void PythonQtWrapper_QAbstractSpinBox::timerEvent(QAbstractSpinBox* theWrappedObject, QTimerEvent* event) -{ - ( ((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->promoted_timerEvent(event)); -} - -void PythonQtWrapper_QAbstractSpinBox::focusInEvent(QAbstractSpinBox* theWrappedObject, QFocusEvent* event) -{ - ( ((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->promoted_focusInEvent(event)); -} - -QString PythonQtWrapper_QAbstractSpinBox::specialValueText(QAbstractSpinBox* theWrappedObject) const -{ - return ( theWrappedObject->specialValueText()); -} - -void PythonQtWrapper_QAbstractSpinBox::fixup(QAbstractSpinBox* theWrappedObject, QString& input) const -{ - ( ((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->promoted_fixup(input)); -} - -void PythonQtWrapper_QAbstractSpinBox::setAccelerated(QAbstractSpinBox* theWrappedObject, bool on) -{ - ( theWrappedObject->setAccelerated(on)); -} - -bool PythonQtWrapper_QAbstractSpinBox::hasFrame(QAbstractSpinBox* theWrappedObject) const -{ - return ( theWrappedObject->hasFrame()); -} - -void PythonQtWrapper_QAbstractSpinBox::mouseReleaseEvent(QAbstractSpinBox* theWrappedObject, QMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->promoted_mouseReleaseEvent(event)); -} - -void PythonQtWrapper_QAbstractSpinBox::contextMenuEvent(QAbstractSpinBox* theWrappedObject, QContextMenuEvent* event) -{ - ( ((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->promoted_contextMenuEvent(event)); -} - -bool PythonQtWrapper_QAbstractSpinBox::event(QAbstractSpinBox* theWrappedObject, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->promoted_event(event)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAbstractSpinBox.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAbstractSpinBox.h deleted file mode 100644 index a5fc041..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAbstractSpinBox.h +++ /dev/null @@ -1,174 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QABSTRACTSPINBOX_H -#define PYTHONQTWRAPPER_QABSTRACTSPINBOX_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QAbstractSpinBox : public QAbstractSpinBox -{ -public: - PythonQtShell_QAbstractSpinBox(QWidget* parent = 0):QAbstractSpinBox(parent),_wrapper(NULL) {}; - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* event); -virtual void childEvent(QChildEvent* arg__1); -virtual void clear(); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual void customEvent(QEvent* arg__1); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void fixup(QString& input) const; -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* arg__1); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual void resizeEvent(QResizeEvent* event); -virtual void showEvent(QShowEvent* event); -virtual void stepBy(int steps); -virtual QAbstractSpinBox::StepEnabled stepEnabled() const; -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* event); -virtual QValidator::State validate(QString& input, int& pos) const; -virtual void wheelEvent(QWheelEvent* event); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QAbstractSpinBox : public QAbstractSpinBox -{ public: -inline void promoted_mouseMoveEvent(QMouseEvent* event) { QAbstractSpinBox::mouseMoveEvent(event); } -inline void promoted_showEvent(QShowEvent* event) { QAbstractSpinBox::showEvent(event); } -inline void promoted_mousePressEvent(QMouseEvent* event) { QAbstractSpinBox::mousePressEvent(event); } -inline void promoted_stepBy(int steps) { QAbstractSpinBox::stepBy(steps); } -inline void promoted_paintEvent(QPaintEvent* event) { QAbstractSpinBox::paintEvent(event); } -inline void promoted_wheelEvent(QWheelEvent* event) { QAbstractSpinBox::wheelEvent(event); } -inline void promoted_resizeEvent(QResizeEvent* event) { QAbstractSpinBox::resizeEvent(event); } -inline void promoted_closeEvent(QCloseEvent* event) { QAbstractSpinBox::closeEvent(event); } -inline void promoted_focusOutEvent(QFocusEvent* event) { QAbstractSpinBox::focusOutEvent(event); } -inline QAbstractSpinBox::StepEnabled promoted_stepEnabled() const { return QAbstractSpinBox::stepEnabled(); } -inline void promoted_changeEvent(QEvent* event) { QAbstractSpinBox::changeEvent(event); } -inline void promoted_clear() { QAbstractSpinBox::clear(); } -inline QValidator::State promoted_validate(QString& input, int& pos) const { return QAbstractSpinBox::validate(input, pos); } -inline void promoted_keyPressEvent(QKeyEvent* event) { QAbstractSpinBox::keyPressEvent(event); } -inline void promoted_hideEvent(QHideEvent* event) { QAbstractSpinBox::hideEvent(event); } -inline void promoted_keyReleaseEvent(QKeyEvent* event) { QAbstractSpinBox::keyReleaseEvent(event); } -inline void promoted_timerEvent(QTimerEvent* event) { QAbstractSpinBox::timerEvent(event); } -inline void promoted_focusInEvent(QFocusEvent* event) { QAbstractSpinBox::focusInEvent(event); } -inline void promoted_fixup(QString& input) const { QAbstractSpinBox::fixup(input); } -inline void promoted_mouseReleaseEvent(QMouseEvent* event) { QAbstractSpinBox::mouseReleaseEvent(event); } -inline void promoted_contextMenuEvent(QContextMenuEvent* event) { QAbstractSpinBox::contextMenuEvent(event); } -inline bool promoted_event(QEvent* event) { return QAbstractSpinBox::event(event); } -}; - -class PythonQtWrapper_QAbstractSpinBox : public QObject -{ Q_OBJECT -public: -Q_ENUMS(StepEnabledFlag ) -Q_FLAGS(StepEnabled ) -enum StepEnabledFlag{ - StepNone = QAbstractSpinBox::StepNone, StepUpEnabled = QAbstractSpinBox::StepUpEnabled, StepDownEnabled = QAbstractSpinBox::StepDownEnabled}; -Q_DECLARE_FLAGS(StepEnabled, StepEnabledFlag) -public slots: -QAbstractSpinBox* new_QAbstractSpinBox(QWidget* parent = 0); -void delete_QAbstractSpinBox(QAbstractSpinBox* obj) { delete obj; } - void setWrapping(QAbstractSpinBox* theWrappedObject, bool w); - void mouseMoveEvent(QAbstractSpinBox* theWrappedObject, QMouseEvent* event); - QSize sizeHint(QAbstractSpinBox* theWrappedObject) const; - void showEvent(QAbstractSpinBox* theWrappedObject, QShowEvent* event); - void mousePressEvent(QAbstractSpinBox* theWrappedObject, QMouseEvent* event); - QSize minimumSizeHint(QAbstractSpinBox* theWrappedObject) const; - bool isAccelerated(QAbstractSpinBox* theWrappedObject) const; - void stepBy(QAbstractSpinBox* theWrappedObject, int steps); - void paintEvent(QAbstractSpinBox* theWrappedObject, QPaintEvent* event); - void wheelEvent(QAbstractSpinBox* theWrappedObject, QWheelEvent* event); - void setAlignment(QAbstractSpinBox* theWrappedObject, Qt::Alignment flag); - void resizeEvent(QAbstractSpinBox* theWrappedObject, QResizeEvent* event); - void closeEvent(QAbstractSpinBox* theWrappedObject, QCloseEvent* event); - void setCorrectionMode(QAbstractSpinBox* theWrappedObject, QAbstractSpinBox::CorrectionMode cm); - void setKeyboardTracking(QAbstractSpinBox* theWrappedObject, bool kt); - void setReadOnly(QAbstractSpinBox* theWrappedObject, bool r); - bool hasAcceptableInput(QAbstractSpinBox* theWrappedObject) const; - void focusOutEvent(QAbstractSpinBox* theWrappedObject, QFocusEvent* event); - bool isReadOnly(QAbstractSpinBox* theWrappedObject) const; - QAbstractSpinBox::StepEnabled stepEnabled(QAbstractSpinBox* theWrappedObject) const; - void setFrame(QAbstractSpinBox* theWrappedObject, bool arg__1); - QAbstractSpinBox::CorrectionMode correctionMode(QAbstractSpinBox* theWrappedObject) const; - void changeEvent(QAbstractSpinBox* theWrappedObject, QEvent* event); - void setButtonSymbols(QAbstractSpinBox* theWrappedObject, QAbstractSpinBox::ButtonSymbols bs); - bool wrapping(QAbstractSpinBox* theWrappedObject) const; - bool keyboardTracking(QAbstractSpinBox* theWrappedObject) const; - void interpretText(QAbstractSpinBox* theWrappedObject); - QValidator::State validate(QAbstractSpinBox* theWrappedObject, QString& input, int& pos) const; - void keyPressEvent(QAbstractSpinBox* theWrappedObject, QKeyEvent* event); - Qt::Alignment alignment(QAbstractSpinBox* theWrappedObject) const; - void hideEvent(QAbstractSpinBox* theWrappedObject, QHideEvent* event); - QString text(QAbstractSpinBox* theWrappedObject) const; - QAbstractSpinBox::ButtonSymbols buttonSymbols(QAbstractSpinBox* theWrappedObject) const; - void setSpecialValueText(QAbstractSpinBox* theWrappedObject, const QString& txt); - void keyReleaseEvent(QAbstractSpinBox* theWrappedObject, QKeyEvent* event); - void timerEvent(QAbstractSpinBox* theWrappedObject, QTimerEvent* event); - void focusInEvent(QAbstractSpinBox* theWrappedObject, QFocusEvent* event); - QString specialValueText(QAbstractSpinBox* theWrappedObject) const; - void fixup(QAbstractSpinBox* theWrappedObject, QString& input) const; - void setAccelerated(QAbstractSpinBox* theWrappedObject, bool on); - bool hasFrame(QAbstractSpinBox* theWrappedObject) const; - void mouseReleaseEvent(QAbstractSpinBox* theWrappedObject, QMouseEvent* event); - void contextMenuEvent(QAbstractSpinBox* theWrappedObject, QContextMenuEvent* event); - bool event(QAbstractSpinBox* theWrappedObject, QEvent* event); -}; - -#endif // PYTHONQTWRAPPER_QABSTRACTSPINBOX_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessible.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessible.cpp deleted file mode 100644 index fb07766..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessible.cpp +++ /dev/null @@ -1,33 +0,0 @@ -#include "PythonQtWrapper_QAccessible.h" - -#include -#include -#include -#include -#include -#include - -QAccessible* PythonQtWrapper_QAccessible::new_QAccessible() -{ -return new PythonQtShell_QAccessible(); } - -bool PythonQtWrapper_QAccessible::static_QAccessible_isActive() -{ - return (QAccessible::isActive()); -} - -void PythonQtWrapper_QAccessible::static_QAccessible_setRootObject(QObject* arg__1) -{ - (QAccessible::setRootObject(arg__1)); -} - -void PythonQtWrapper_QAccessible::static_QAccessible_updateAccessibility(QObject* arg__1, int who, QAccessible::Event reason) -{ - (QAccessible::updateAccessibility(arg__1, who, reason)); -} - -QAccessibleInterface* PythonQtWrapper_QAccessible::static_QAccessible_queryAccessibleInterface(QObject* arg__1) -{ - return (QAccessible::queryAccessibleInterface(arg__1)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessible.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessible.h deleted file mode 100644 index d360b26..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessible.h +++ /dev/null @@ -1,52 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QACCESSIBLE_H -#define PYTHONQTWRAPPER_QACCESSIBLE_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtShell_QAccessible : public QAccessible -{ -public: - PythonQtShell_QAccessible():QAccessible(),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QAccessible : public QObject -{ Q_OBJECT -public: -Q_ENUMS(Method Role Action Event RelationFlag StateFlag Text ) -Q_FLAGS(Relation State ) -enum Method{ - ListSupportedMethods = QAccessible::ListSupportedMethods, SetCursorPosition = QAccessible::SetCursorPosition, GetCursorPosition = QAccessible::GetCursorPosition, ForegroundColor = QAccessible::ForegroundColor, BackgroundColor = QAccessible::BackgroundColor}; -enum Role{ - NoRole = QAccessible::NoRole, TitleBar = QAccessible::TitleBar, MenuBar = QAccessible::MenuBar, ScrollBar = QAccessible::ScrollBar, Grip = QAccessible::Grip, Sound = QAccessible::Sound, Cursor = QAccessible::Cursor, Caret = QAccessible::Caret, AlertMessage = QAccessible::AlertMessage, Window = QAccessible::Window, Client = QAccessible::Client, PopupMenu = QAccessible::PopupMenu, MenuItem = QAccessible::MenuItem, ToolTip = QAccessible::ToolTip, Application = QAccessible::Application, Document = QAccessible::Document, Pane = QAccessible::Pane, Chart = QAccessible::Chart, Dialog = QAccessible::Dialog, Border = QAccessible::Border, Grouping = QAccessible::Grouping, Separator = QAccessible::Separator, ToolBar = QAccessible::ToolBar, StatusBar = QAccessible::StatusBar, Table = QAccessible::Table, ColumnHeader = QAccessible::ColumnHeader, RowHeader = QAccessible::RowHeader, Column = QAccessible::Column, Row = QAccessible::Row, Cell = QAccessible::Cell, Link = QAccessible::Link, HelpBalloon = QAccessible::HelpBalloon, Assistant = QAccessible::Assistant, List = QAccessible::List, ListItem = QAccessible::ListItem, Tree = QAccessible::Tree, TreeItem = QAccessible::TreeItem, PageTab = QAccessible::PageTab, PropertyPage = QAccessible::PropertyPage, Indicator = QAccessible::Indicator, Graphic = QAccessible::Graphic, StaticText = QAccessible::StaticText, EditableText = QAccessible::EditableText, PushButton = QAccessible::PushButton, CheckBox = QAccessible::CheckBox, RadioButton = QAccessible::RadioButton, ComboBox = QAccessible::ComboBox, ProgressBar = QAccessible::ProgressBar, Dial = QAccessible::Dial, HotkeyField = QAccessible::HotkeyField, Slider = QAccessible::Slider, SpinBox = QAccessible::SpinBox, Canvas = QAccessible::Canvas, Animation = QAccessible::Animation, Equation = QAccessible::Equation, ButtonDropDown = QAccessible::ButtonDropDown, ButtonMenu = QAccessible::ButtonMenu, ButtonDropGrid = QAccessible::ButtonDropGrid, Whitespace = QAccessible::Whitespace, PageTabList = QAccessible::PageTabList, Clock = QAccessible::Clock, Splitter = QAccessible::Splitter, LayeredPane = QAccessible::LayeredPane, UserRole = QAccessible::UserRole}; -enum Action{ - DefaultAction = QAccessible::DefaultAction, Press = QAccessible::Press, FirstStandardAction = QAccessible::FirstStandardAction, SetFocus = QAccessible::SetFocus, Increase = QAccessible::Increase, Decrease = QAccessible::Decrease, Accept = QAccessible::Accept, Cancel = QAccessible::Cancel, Select = QAccessible::Select, ClearSelection = QAccessible::ClearSelection, RemoveSelection = QAccessible::RemoveSelection, ExtendSelection = QAccessible::ExtendSelection, AddToSelection = QAccessible::AddToSelection, LastStandardAction = QAccessible::LastStandardAction}; -enum Event{ - SoundPlayed = QAccessible::SoundPlayed, Alert = QAccessible::Alert, ForegroundChanged = QAccessible::ForegroundChanged, MenuStart = QAccessible::MenuStart, MenuEnd = QAccessible::MenuEnd, PopupMenuStart = QAccessible::PopupMenuStart, PopupMenuEnd = QAccessible::PopupMenuEnd, ContextHelpStart = QAccessible::ContextHelpStart, ContextHelpEnd = QAccessible::ContextHelpEnd, DragDropStart = QAccessible::DragDropStart, DragDropEnd = QAccessible::DragDropEnd, DialogStart = QAccessible::DialogStart, DialogEnd = QAccessible::DialogEnd, ScrollingStart = QAccessible::ScrollingStart, ScrollingEnd = QAccessible::ScrollingEnd, MenuCommand = QAccessible::MenuCommand, ObjectCreated = QAccessible::ObjectCreated, ObjectDestroyed = QAccessible::ObjectDestroyed, ObjectShow = QAccessible::ObjectShow, ObjectHide = QAccessible::ObjectHide, ObjectReorder = QAccessible::ObjectReorder, Focus = QAccessible::Focus, Selection = QAccessible::Selection, SelectionAdd = QAccessible::SelectionAdd, SelectionRemove = QAccessible::SelectionRemove, SelectionWithin = QAccessible::SelectionWithin, StateChanged = QAccessible::StateChanged, LocationChanged = QAccessible::LocationChanged, NameChanged = QAccessible::NameChanged, DescriptionChanged = QAccessible::DescriptionChanged, ValueChanged = QAccessible::ValueChanged, ParentChanged = QAccessible::ParentChanged, HelpChanged = QAccessible::HelpChanged, DefaultActionChanged = QAccessible::DefaultActionChanged, AcceleratorChanged = QAccessible::AcceleratorChanged}; -enum RelationFlag{ - Unrelated = QAccessible::Unrelated, Self = QAccessible::Self, Ancestor = QAccessible::Ancestor, Child = QAccessible::Child, Descendent = QAccessible::Descendent, Sibling = QAccessible::Sibling, HierarchyMask = QAccessible::HierarchyMask, Up = QAccessible::Up, Down = QAccessible::Down, Left = QAccessible::Left, Right = QAccessible::Right, Covers = QAccessible::Covers, Covered = QAccessible::Covered, GeometryMask = QAccessible::GeometryMask, FocusChild = QAccessible::FocusChild, Label = QAccessible::Label, Labelled = QAccessible::Labelled, Controller = QAccessible::Controller, Controlled = QAccessible::Controlled, LogicalMask = QAccessible::LogicalMask}; -enum StateFlag{ - Normal = QAccessible::Normal, Unavailable = QAccessible::Unavailable, Selected = QAccessible::Selected, Focused = QAccessible::Focused, Pressed = QAccessible::Pressed, Checked = QAccessible::Checked, Mixed = QAccessible::Mixed, ReadOnly = QAccessible::ReadOnly, HotTracked = QAccessible::HotTracked, DefaultButton = QAccessible::DefaultButton, Expanded = QAccessible::Expanded, Collapsed = QAccessible::Collapsed, Busy = QAccessible::Busy, Marqueed = QAccessible::Marqueed, Animated = QAccessible::Animated, Invisible = QAccessible::Invisible, Offscreen = QAccessible::Offscreen, Sizeable = QAccessible::Sizeable, Movable = QAccessible::Movable, SelfVoicing = QAccessible::SelfVoicing, Focusable = QAccessible::Focusable, Selectable = QAccessible::Selectable, Linked = QAccessible::Linked, Traversed = QAccessible::Traversed, MultiSelectable = QAccessible::MultiSelectable, ExtSelectable = QAccessible::ExtSelectable, Protected = QAccessible::Protected, HasPopup = QAccessible::HasPopup, Modal = QAccessible::Modal, HasInvokeExtension = QAccessible::HasInvokeExtension}; -enum Text{ - Name = QAccessible::Name, Description = QAccessible::Description, Value = QAccessible::Value, Help = QAccessible::Help, Accelerator = QAccessible::Accelerator, UserText = QAccessible::UserText}; -Q_DECLARE_FLAGS(Relation, RelationFlag) -Q_DECLARE_FLAGS(State, StateFlag) -public slots: -QAccessible* new_QAccessible(); -void delete_QAccessible(QAccessible* obj) { delete obj; } - bool static_QAccessible_isActive(); - void static_QAccessible_setRootObject(QObject* arg__1); - void static_QAccessible_updateAccessibility(QObject* arg__1, int who, QAccessible::Event reason); - QAccessibleInterface* static_QAccessible_queryAccessibleInterface(QObject* arg__1); -}; - -#endif // PYTHONQTWRAPPER_QACCESSIBLE_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessible2Interface.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessible2Interface.cpp deleted file mode 100644 index 8a4ca55..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessible2Interface.cpp +++ /dev/null @@ -1,11 +0,0 @@ -#include "PythonQtWrapper_QAccessible2Interface.h" - -#include -#include -#include -#include - -QAccessible2Interface* PythonQtWrapper_QAccessible2Interface::new_QAccessible2Interface() -{ -return new PythonQtShell_QAccessible2Interface(); } - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessible2Interface.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessible2Interface.h deleted file mode 100644 index eb2cfb2..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessible2Interface.h +++ /dev/null @@ -1,28 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QACCESSIBLE2INTERFACE_H -#define PYTHONQTWRAPPER_QACCESSIBLE2INTERFACE_H - -#include -#include - -#include - -#include - -class PythonQtShell_QAccessible2Interface : public QAccessible2Interface -{ -public: - PythonQtShell_QAccessible2Interface():QAccessible2Interface(),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QAccessible2Interface : public QObject -{ Q_OBJECT -public: -public slots: -QAccessible2Interface* new_QAccessible2Interface(); -void delete_QAccessible2Interface(QAccessible2Interface* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QACCESSIBLE2INTERFACE_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessibleBridge.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessibleBridge.cpp deleted file mode 100644 index b96ac24..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessibleBridge.cpp +++ /dev/null @@ -1,46 +0,0 @@ -#include "PythonQtWrapper_QAccessibleBridge.h" - -#include -#include -#include -#include -#include - -void PythonQtShell_QAccessibleBridge::notifyAccessibilityUpdate(int arg__1, QAccessibleInterface* arg__2, int arg__3) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "notifyAccessibilityUpdate"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "int" , "QAccessibleInterface*" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&arg__1, (void*)&arg__2, (void*)&arg__3}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - -} -void PythonQtShell_QAccessibleBridge::setRootObject(QAccessibleInterface* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setRootObject"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QAccessibleInterface*"}; - 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; - } -} - -} -QAccessibleBridge* PythonQtWrapper_QAccessibleBridge::new_QAccessibleBridge() -{ -return new PythonQtShell_QAccessibleBridge(); } - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessibleBridge.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessibleBridge.h deleted file mode 100644 index b47178d..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessibleBridge.h +++ /dev/null @@ -1,31 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QACCESSIBLEBRIDGE_H -#define PYTHONQTWRAPPER_QACCESSIBLEBRIDGE_H - -#include -#include - -#include - -#include -#include - -class PythonQtShell_QAccessibleBridge : public QAccessibleBridge -{ -public: - PythonQtShell_QAccessibleBridge():QAccessibleBridge(),_wrapper(NULL) {}; - -virtual void notifyAccessibilityUpdate(int arg__1, QAccessibleInterface* arg__2, int arg__3); -virtual void setRootObject(QAccessibleInterface* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QAccessibleBridge : public QObject -{ Q_OBJECT -public: -public slots: -QAccessibleBridge* new_QAccessibleBridge(); -void delete_QAccessibleBridge(QAccessibleBridge* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QACCESSIBLEBRIDGE_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessibleEvent.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessibleEvent.cpp deleted file mode 100644 index e35e240..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessibleEvent.cpp +++ /dev/null @@ -1,26 +0,0 @@ -#include "PythonQtWrapper_QAccessibleEvent.h" - -#include -#include -#include -#include - -QAccessibleEvent* PythonQtWrapper_QAccessibleEvent::new_QAccessibleEvent(QEvent::Type type, int child) -{ -return new QAccessibleEvent(type, child); } - -QString PythonQtWrapper_QAccessibleEvent::value(QAccessibleEvent* theWrappedObject) const -{ - return ( theWrappedObject->value()); -} - -int PythonQtWrapper_QAccessibleEvent::child(QAccessibleEvent* theWrappedObject) const -{ - return ( theWrappedObject->child()); -} - -void PythonQtWrapper_QAccessibleEvent::setValue(QAccessibleEvent* theWrappedObject, const QString& aText) -{ - ( theWrappedObject->setValue(aText)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessibleEvent.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessibleEvent.h deleted file mode 100644 index 9012b7d..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessibleEvent.h +++ /dev/null @@ -1,22 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QACCESSIBLEEVENT_H -#define PYTHONQTWRAPPER_QACCESSIBLEEVENT_H - -#include -#include - -#include - -#include - -class PythonQtWrapper_QAccessibleEvent : public QObject -{ Q_OBJECT -public: -public slots: -QAccessibleEvent* new_QAccessibleEvent(QEvent::Type type, int child); -void delete_QAccessibleEvent(QAccessibleEvent* obj) { delete obj; } - QString value(QAccessibleEvent* theWrappedObject) const; - int child(QAccessibleEvent* theWrappedObject) const; - void setValue(QAccessibleEvent* theWrappedObject, const QString& aText); -}; - -#endif // PYTHONQTWRAPPER_QACCESSIBLEEVENT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessibleInterface.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessibleInterface.cpp deleted file mode 100644 index 31143fe..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessibleInterface.cpp +++ /dev/null @@ -1,448 +0,0 @@ -#include "PythonQtWrapper_QAccessibleInterface.h" - -#include -#include -#include -#include -#include -#include -#include -#include - -QString PythonQtShell_QAccessibleInterface::actionText(int action, QAccessible::Text t, int child) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionText"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QString" , "int" , "QAccessible::Text" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QString returnValue; - void* args[4] = {NULL, (void*)&action, (void*)&t, (void*)&child}; - 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("actionText", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QString result; -return result; -} -int PythonQtShell_QAccessibleInterface::childAt(int x, int y) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childAt"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - int returnValue; - void* args[3] = {NULL, (void*)&x, (void*)&y}; - 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("childAt", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - int result; -return result; -} -int PythonQtShell_QAccessibleInterface::childCount() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childCount"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("childCount", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - int result; -return result; -} -bool PythonQtShell_QAccessibleInterface::doAction(int action, int child, const QList& params) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "doAction"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int" , "int" , "const QList&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&action, (void*)&child, (void*)¶ms}; - 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("doAction", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - bool result; -return result; -} -int PythonQtShell_QAccessibleInterface::indexOfChild(const QAccessibleInterface* arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "indexOfChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "const QAccessibleInterface*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("indexOfChild", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - int result; -return result; -} -bool PythonQtShell_QAccessibleInterface::isValid() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isValid"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isValid", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - bool result; -return result; -} -int PythonQtShell_QAccessibleInterface::navigate(QAccessible::RelationFlag relation, int index, QAccessibleInterface** iface) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "navigate"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QAccessible::RelationFlag" , "int" , "QAccessibleInterface**"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - int returnValue; - void* args[4] = {NULL, (void*)&relation, (void*)&index, (void*)&iface}; - 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("navigate", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - int result; -return result; -} -QObject* PythonQtShell_QAccessibleInterface::object() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "object"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QObject*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QObject* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("object", methodInfo, result); - } else { - returnValue = *((QObject**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QObject* result; -return result; -} -QRect PythonQtShell_QAccessibleInterface::rect(int child) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rect"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QRect" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRect returnValue; - void* args[2] = {NULL, (void*)&child}; - 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("rect", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QRect result; -return result; -} -QAccessible::Relation PythonQtShell_QAccessibleInterface::relationTo(int child, const QAccessibleInterface* other, int otherChild) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "relationTo"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QAccessible::Relation" , "int" , "const QAccessibleInterface*" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QAccessible::Relation returnValue; - void* args[4] = {NULL, (void*)&child, (void*)&other, (void*)&otherChild}; - 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("relationTo", methodInfo, result); - } else { - returnValue = *((QAccessible::Relation*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QAccessible::Relation result; -return result; -} -QAccessible::Role PythonQtShell_QAccessibleInterface::role(int child) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "role"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QAccessible::Role" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QAccessible::Role returnValue; - void* args[2] = {NULL, (void*)&child}; - 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("role", methodInfo, result); - } else { - returnValue = *((QAccessible::Role*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QAccessible::Role result; -return result; -} -void PythonQtShell_QAccessibleInterface::setText(QAccessible::Text t, int child, const QString& text) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setText"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QAccessible::Text" , "int" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&t, (void*)&child, (void*)&text}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - -} -QAccessible::State PythonQtShell_QAccessibleInterface::state(int child) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "state"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QAccessible::State" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QAccessible::State returnValue; - void* args[2] = {NULL, (void*)&child}; - 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("state", methodInfo, result); - } else { - returnValue = *((QAccessible::State*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QAccessible::State result; -return result; -} -QString PythonQtShell_QAccessibleInterface::text(QAccessible::Text t, int child) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "text"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QString" , "QAccessible::Text" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QString returnValue; - void* args[3] = {NULL, (void*)&t, (void*)&child}; - 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("text", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QString result; -return result; -} -int PythonQtShell_QAccessibleInterface::userActionCount(int child) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "userActionCount"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&child}; - 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("userActionCount", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - int result; -return result; -} -QAccessibleInterface* PythonQtWrapper_QAccessibleInterface::new_QAccessibleInterface() -{ -return new PythonQtShell_QAccessibleInterface(); } - -QVariant PythonQtWrapper_QAccessibleInterface::invokeMethod(QAccessibleInterface* theWrappedObject, QAccessible::Method method, int child, const QList& params) -{ - return ( theWrappedObject->invokeMethod(method, child, params)); -} - -QSet PythonQtWrapper_QAccessibleInterface::supportedMethods(QAccessibleInterface* theWrappedObject) -{ - return ( theWrappedObject->supportedMethods()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessibleInterface.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessibleInterface.h deleted file mode 100644 index 63bdb7f..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessibleInterface.h +++ /dev/null @@ -1,49 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QACCESSIBLEINTERFACE_H -#define PYTHONQTWRAPPER_QACCESSIBLEINTERFACE_H - -#include -#include - -#include - -#include -#include -#include -#include -#include - -class PythonQtShell_QAccessibleInterface : public QAccessibleInterface -{ -public: - PythonQtShell_QAccessibleInterface():QAccessibleInterface(),_wrapper(NULL) {}; - -virtual QString actionText(int action, QAccessible::Text t, int child) const; -virtual int childAt(int x, int y) const; -virtual int childCount() const; -virtual bool doAction(int action, int child, const QList& params = QVariantList()); -virtual int indexOfChild(const QAccessibleInterface* arg__1) const; -virtual bool isValid() const; -virtual int navigate(QAccessible::RelationFlag relation, int index, QAccessibleInterface** iface) const; -virtual QObject* object() const; -virtual QRect rect(int child) const; -virtual QAccessible::Relation relationTo(int child, const QAccessibleInterface* other, int otherChild) const; -virtual QAccessible::Role role(int child) const; -virtual void setText(QAccessible::Text t, int child, const QString& text); -virtual QAccessible::State state(int child) const; -virtual QString text(QAccessible::Text t, int child) const; -virtual int userActionCount(int child) const; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QAccessibleInterface : public QObject -{ Q_OBJECT -public: -public slots: -QAccessibleInterface* new_QAccessibleInterface(); -void delete_QAccessibleInterface(QAccessibleInterface* obj) { delete obj; } - QVariant invokeMethod(QAccessibleInterface* theWrappedObject, QAccessible::Method method, int child = 0, const QList& params = QVariantList()); - QSet supportedMethods(QAccessibleInterface* theWrappedObject); -}; - -#endif // PYTHONQTWRAPPER_QACCESSIBLEINTERFACE_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessibleInterfaceEx.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessibleInterfaceEx.cpp deleted file mode 100644 index 0024eaa..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessibleInterfaceEx.cpp +++ /dev/null @@ -1,500 +0,0 @@ -#include "PythonQtWrapper_QAccessibleInterfaceEx.h" - -#include -#include -#include -#include -#include -#include -#include -#include - -QString PythonQtShell_QAccessibleInterfaceEx::actionText(int action, QAccessible::Text t, int child) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionText"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QString" , "int" , "QAccessible::Text" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QString returnValue; - void* args[4] = {NULL, (void*)&action, (void*)&t, (void*)&child}; - 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("actionText", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QString result; -return result; -} -int PythonQtShell_QAccessibleInterfaceEx::childAt(int x, int y) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childAt"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - int returnValue; - void* args[3] = {NULL, (void*)&x, (void*)&y}; - 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("childAt", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - int result; -return result; -} -int PythonQtShell_QAccessibleInterfaceEx::childCount() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childCount"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("childCount", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - int result; -return result; -} -bool PythonQtShell_QAccessibleInterfaceEx::doAction(int action, int child, const QList& params) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "doAction"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int" , "int" , "const QList&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&action, (void*)&child, (void*)¶ms}; - 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("doAction", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - bool result; -return result; -} -int PythonQtShell_QAccessibleInterfaceEx::indexOfChild(const QAccessibleInterface* arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "indexOfChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "const QAccessibleInterface*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("indexOfChild", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - int result; -return result; -} -QVariant PythonQtShell_QAccessibleInterfaceEx::invokeMethodEx(QAccessible::Method method, int child, const QList& params) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "invokeMethodEx"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "QAccessible::Method" , "int" , "const QList&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QVariant returnValue; - void* args[4] = {NULL, (void*)&method, (void*)&child, (void*)¶ms}; - 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("invokeMethodEx", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QVariant result; -return result; -} -bool PythonQtShell_QAccessibleInterfaceEx::isValid() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isValid"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isValid", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - bool result; -return result; -} -int PythonQtShell_QAccessibleInterfaceEx::navigate(QAccessible::RelationFlag relation, int index, QAccessibleInterface** iface) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "navigate"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QAccessible::RelationFlag" , "int" , "QAccessibleInterface**"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - int returnValue; - void* args[4] = {NULL, (void*)&relation, (void*)&index, (void*)&iface}; - 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("navigate", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - int result; -return result; -} -QObject* PythonQtShell_QAccessibleInterfaceEx::object() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "object"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QObject*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QObject* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("object", methodInfo, result); - } else { - returnValue = *((QObject**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QObject* result; -return result; -} -QRect PythonQtShell_QAccessibleInterfaceEx::rect(int child) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rect"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QRect" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRect returnValue; - void* args[2] = {NULL, (void*)&child}; - 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("rect", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QRect result; -return result; -} -QAccessible::Relation PythonQtShell_QAccessibleInterfaceEx::relationTo(int child, const QAccessibleInterface* other, int otherChild) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "relationTo"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QAccessible::Relation" , "int" , "const QAccessibleInterface*" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QAccessible::Relation returnValue; - void* args[4] = {NULL, (void*)&child, (void*)&other, (void*)&otherChild}; - 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("relationTo", methodInfo, result); - } else { - returnValue = *((QAccessible::Relation*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QAccessible::Relation result; -return result; -} -QAccessible::Role PythonQtShell_QAccessibleInterfaceEx::role(int child) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "role"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QAccessible::Role" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QAccessible::Role returnValue; - void* args[2] = {NULL, (void*)&child}; - 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("role", methodInfo, result); - } else { - returnValue = *((QAccessible::Role*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QAccessible::Role result; -return result; -} -void PythonQtShell_QAccessibleInterfaceEx::setText(QAccessible::Text t, int child, const QString& text) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setText"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QAccessible::Text" , "int" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&t, (void*)&child, (void*)&text}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - -} -QAccessible::State PythonQtShell_QAccessibleInterfaceEx::state(int child) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "state"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QAccessible::State" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QAccessible::State returnValue; - void* args[2] = {NULL, (void*)&child}; - 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("state", methodInfo, result); - } else { - returnValue = *((QAccessible::State*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QAccessible::State result; -return result; -} -QString PythonQtShell_QAccessibleInterfaceEx::text(QAccessible::Text t, int child) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "text"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QString" , "QAccessible::Text" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QString returnValue; - void* args[3] = {NULL, (void*)&t, (void*)&child}; - 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("text", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QString result; -return result; -} -int PythonQtShell_QAccessibleInterfaceEx::userActionCount(int child) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "userActionCount"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&child}; - 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("userActionCount", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - int result; -return result; -} -QVariant PythonQtShell_QAccessibleInterfaceEx::virtual_hook(const QVariant& data) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "virtual_hook"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&data}; - 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("virtual_hook", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAccessibleInterfaceEx::virtual_hook(data); -} -QAccessibleInterfaceEx* PythonQtWrapper_QAccessibleInterfaceEx::new_QAccessibleInterfaceEx() -{ -return new PythonQtShell_QAccessibleInterfaceEx(); } - -QVariant PythonQtWrapper_QAccessibleInterfaceEx::virtual_hook(QAccessibleInterfaceEx* theWrappedObject, const QVariant& data) -{ - return ( ((PythonQtPublicPromoter_QAccessibleInterfaceEx*)theWrappedObject)->promoted_virtual_hook(data)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessibleInterfaceEx.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessibleInterfaceEx.h deleted file mode 100644 index 9f41836..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessibleInterfaceEx.h +++ /dev/null @@ -1,55 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QACCESSIBLEINTERFACEEX_H -#define PYTHONQTWRAPPER_QACCESSIBLEINTERFACEEX_H - -#include -#include - -#include - -#include -#include -#include -#include -#include - -class PythonQtShell_QAccessibleInterfaceEx : public QAccessibleInterfaceEx -{ -public: - PythonQtShell_QAccessibleInterfaceEx():QAccessibleInterfaceEx(),_wrapper(NULL) {}; - -virtual QString actionText(int action, QAccessible::Text t, int child) const; -virtual int childAt(int x, int y) const; -virtual int childCount() const; -virtual bool doAction(int action, int child, const QList& params); -virtual int indexOfChild(const QAccessibleInterface* arg__1) const; -virtual QVariant invokeMethodEx(QAccessible::Method method, int child, const QList& params); -virtual bool isValid() const; -virtual int navigate(QAccessible::RelationFlag relation, int index, QAccessibleInterface** iface) const; -virtual QObject* object() const; -virtual QRect rect(int child) const; -virtual QAccessible::Relation relationTo(int child, const QAccessibleInterface* other, int otherChild) const; -virtual QAccessible::Role role(int child) const; -virtual void setText(QAccessible::Text t, int child, const QString& text); -virtual QAccessible::State state(int child) const; -virtual QString text(QAccessible::Text t, int child) const; -virtual int userActionCount(int child) const; -virtual QVariant virtual_hook(const QVariant& data); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QAccessibleInterfaceEx : public QAccessibleInterfaceEx -{ public: -inline QVariant promoted_virtual_hook(const QVariant& data) { return QAccessibleInterfaceEx::virtual_hook(data); } -}; - -class PythonQtWrapper_QAccessibleInterfaceEx : public QObject -{ Q_OBJECT -public: -public slots: -QAccessibleInterfaceEx* new_QAccessibleInterfaceEx(); -void delete_QAccessibleInterfaceEx(QAccessibleInterfaceEx* obj) { delete obj; } - QVariant virtual_hook(QAccessibleInterfaceEx* theWrappedObject, const QVariant& data); -}; - -#endif // PYTHONQTWRAPPER_QACCESSIBLEINTERFACEEX_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessibleObject.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessibleObject.cpp deleted file mode 100644 index 47b78a9..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessibleObject.cpp +++ /dev/null @@ -1,468 +0,0 @@ -#include "PythonQtWrapper_QAccessibleObject.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QString PythonQtShell_QAccessibleObject::actionText(int action, QAccessible::Text t, int child) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionText"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QString" , "int" , "QAccessible::Text" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QString returnValue; - void* args[4] = {NULL, (void*)&action, (void*)&t, (void*)&child}; - 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("actionText", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAccessibleObject::actionText(action, t, child); -} -int PythonQtShell_QAccessibleObject::childAt(int x, int y) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childAt"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - int returnValue; - void* args[3] = {NULL, (void*)&x, (void*)&y}; - 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("childAt", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - int result; -return result; -} -int PythonQtShell_QAccessibleObject::childCount() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childCount"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("childCount", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - int result; -return result; -} -bool PythonQtShell_QAccessibleObject::doAction(int action, int child, const QList& params) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "doAction"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int" , "int" , "const QList&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&action, (void*)&child, (void*)¶ms}; - 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("doAction", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAccessibleObject::doAction(action, child, params); -} -int PythonQtShell_QAccessibleObject::indexOfChild(const QAccessibleInterface* arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "indexOfChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "const QAccessibleInterface*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("indexOfChild", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - int result; -return result; -} -bool PythonQtShell_QAccessibleObject::isValid() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isValid"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isValid", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAccessibleObject::isValid(); -} -int PythonQtShell_QAccessibleObject::navigate(QAccessible::RelationFlag relation, int index, QAccessibleInterface** iface) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "navigate"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QAccessible::RelationFlag" , "int" , "QAccessibleInterface**"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - int returnValue; - void* args[4] = {NULL, (void*)&relation, (void*)&index, (void*)&iface}; - 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("navigate", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - int result; -return result; -} -QObject* PythonQtShell_QAccessibleObject::object() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "object"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QObject*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QObject* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("object", methodInfo, result); - } else { - returnValue = *((QObject**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAccessibleObject::object(); -} -QRect PythonQtShell_QAccessibleObject::rect(int child) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rect"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QRect" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRect returnValue; - void* args[2] = {NULL, (void*)&child}; - 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("rect", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAccessibleObject::rect(child); -} -QAccessible::Relation PythonQtShell_QAccessibleObject::relationTo(int child, const QAccessibleInterface* other, int otherChild) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "relationTo"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QAccessible::Relation" , "int" , "const QAccessibleInterface*" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QAccessible::Relation returnValue; - void* args[4] = {NULL, (void*)&child, (void*)&other, (void*)&otherChild}; - 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("relationTo", methodInfo, result); - } else { - returnValue = *((QAccessible::Relation*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QAccessible::Relation result; -return result; -} -QAccessible::Role PythonQtShell_QAccessibleObject::role(int child) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "role"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QAccessible::Role" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QAccessible::Role returnValue; - void* args[2] = {NULL, (void*)&child}; - 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("role", methodInfo, result); - } else { - returnValue = *((QAccessible::Role*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QAccessible::Role result; -return result; -} -void PythonQtShell_QAccessibleObject::setText(QAccessible::Text t, int child, const QString& text) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setText"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QAccessible::Text" , "int" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&t, (void*)&child, (void*)&text}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAccessibleObject::setText(t, child, text); -} -QAccessible::State PythonQtShell_QAccessibleObject::state(int child) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "state"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QAccessible::State" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QAccessible::State returnValue; - void* args[2] = {NULL, (void*)&child}; - 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("state", methodInfo, result); - } else { - returnValue = *((QAccessible::State*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QAccessible::State result; -return result; -} -QString PythonQtShell_QAccessibleObject::text(QAccessible::Text t, int child) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "text"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QString" , "QAccessible::Text" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QString returnValue; - void* args[3] = {NULL, (void*)&t, (void*)&child}; - 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("text", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QString result; -return result; -} -int PythonQtShell_QAccessibleObject::userActionCount(int child) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "userActionCount"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&child}; - 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("userActionCount", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAccessibleObject::userActionCount(child); -} -QAccessibleObject* PythonQtWrapper_QAccessibleObject::new_QAccessibleObject(QObject* object) -{ -return new PythonQtShell_QAccessibleObject(object); } - -bool PythonQtWrapper_QAccessibleObject::doAction(QAccessibleObject* theWrappedObject, int action, int child, const QList& params) -{ - return ( ((PythonQtPublicPromoter_QAccessibleObject*)theWrappedObject)->promoted_doAction(action, child, params)); -} - -bool PythonQtWrapper_QAccessibleObject::isValid(QAccessibleObject* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QAccessibleObject*)theWrappedObject)->promoted_isValid()); -} - -QObject* PythonQtWrapper_QAccessibleObject::object(QAccessibleObject* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QAccessibleObject*)theWrappedObject)->promoted_object()); -} - -QString PythonQtWrapper_QAccessibleObject::actionText(QAccessibleObject* theWrappedObject, int action, QAccessible::Text t, int child) const -{ - return ( ((PythonQtPublicPromoter_QAccessibleObject*)theWrappedObject)->promoted_actionText(action, t, child)); -} - -void PythonQtWrapper_QAccessibleObject::setText(QAccessibleObject* theWrappedObject, QAccessible::Text t, int child, const QString& text) -{ - ( ((PythonQtPublicPromoter_QAccessibleObject*)theWrappedObject)->promoted_setText(t, child, text)); -} - -QRect PythonQtWrapper_QAccessibleObject::rect(QAccessibleObject* theWrappedObject, int child) const -{ - return ( ((PythonQtPublicPromoter_QAccessibleObject*)theWrappedObject)->promoted_rect(child)); -} - -int PythonQtWrapper_QAccessibleObject::userActionCount(QAccessibleObject* theWrappedObject, int child) const -{ - return ( ((PythonQtPublicPromoter_QAccessibleObject*)theWrappedObject)->promoted_userActionCount(child)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessibleObject.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessibleObject.h deleted file mode 100644 index 5630d78..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessibleObject.h +++ /dev/null @@ -1,65 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QACCESSIBLEOBJECT_H -#define PYTHONQTWRAPPER_QACCESSIBLEOBJECT_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QAccessibleObject : public QAccessibleObject -{ -public: - PythonQtShell_QAccessibleObject(QObject* object):QAccessibleObject(object),_wrapper(NULL) {}; - -virtual QString actionText(int action, QAccessible::Text t, int child) const; -virtual int childAt(int x, int y) const; -virtual int childCount() const; -virtual bool doAction(int action, int child, const QList& params); -virtual int indexOfChild(const QAccessibleInterface* arg__1) const; -virtual bool isValid() const; -virtual int navigate(QAccessible::RelationFlag relation, int index, QAccessibleInterface** iface) const; -virtual QObject* object() const; -virtual QRect rect(int child) const; -virtual QAccessible::Relation relationTo(int child, const QAccessibleInterface* other, int otherChild) const; -virtual QAccessible::Role role(int child) const; -virtual void setText(QAccessible::Text t, int child, const QString& text); -virtual QAccessible::State state(int child) const; -virtual QString text(QAccessible::Text t, int child) const; -virtual int userActionCount(int child) const; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QAccessibleObject : public QAccessibleObject -{ public: -inline bool promoted_doAction(int action, int child, const QList& params) { return QAccessibleObject::doAction(action, child, params); } -inline bool promoted_isValid() const { return QAccessibleObject::isValid(); } -inline QObject* promoted_object() const { return QAccessibleObject::object(); } -inline QString promoted_actionText(int action, QAccessible::Text t, int child) const { return QAccessibleObject::actionText(action, t, child); } -inline void promoted_setText(QAccessible::Text t, int child, const QString& text) { QAccessibleObject::setText(t, child, text); } -inline QRect promoted_rect(int child) const { return QAccessibleObject::rect(child); } -inline int promoted_userActionCount(int child) const { return QAccessibleObject::userActionCount(child); } -}; - -class PythonQtWrapper_QAccessibleObject : public QObject -{ Q_OBJECT -public: -public slots: -QAccessibleObject* new_QAccessibleObject(QObject* object); - bool doAction(QAccessibleObject* theWrappedObject, int action, int child, const QList& params); - bool isValid(QAccessibleObject* theWrappedObject) const; - QObject* object(QAccessibleObject* theWrappedObject) const; - QString actionText(QAccessibleObject* theWrappedObject, int action, QAccessible::Text t, int child) const; - void setText(QAccessibleObject* theWrappedObject, QAccessible::Text t, int child, const QString& text); - QRect rect(QAccessibleObject* theWrappedObject, int child) const; - int userActionCount(QAccessibleObject* theWrappedObject, int child) const; -}; - -#endif // PYTHONQTWRAPPER_QACCESSIBLEOBJECT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessibleObjectEx.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessibleObjectEx.cpp deleted file mode 100644 index d1e6118..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessibleObjectEx.cpp +++ /dev/null @@ -1,525 +0,0 @@ -#include "PythonQtWrapper_QAccessibleObjectEx.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QString PythonQtShell_QAccessibleObjectEx::actionText(int action, QAccessible::Text t, int child) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionText"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QString" , "int" , "QAccessible::Text" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QString returnValue; - void* args[4] = {NULL, (void*)&action, (void*)&t, (void*)&child}; - 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("actionText", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAccessibleObjectEx::actionText(action, t, child); -} -int PythonQtShell_QAccessibleObjectEx::childAt(int x, int y) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childAt"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - int returnValue; - void* args[3] = {NULL, (void*)&x, (void*)&y}; - 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("childAt", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - int result; -return result; -} -int PythonQtShell_QAccessibleObjectEx::childCount() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childCount"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("childCount", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - int result; -return result; -} -bool PythonQtShell_QAccessibleObjectEx::doAction(int action, int child, const QList& params) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "doAction"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int" , "int" , "const QList&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&action, (void*)&child, (void*)¶ms}; - 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("doAction", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAccessibleObjectEx::doAction(action, child, params); -} -int PythonQtShell_QAccessibleObjectEx::indexOfChild(const QAccessibleInterface* arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "indexOfChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "const QAccessibleInterface*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("indexOfChild", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - int result; -return result; -} -QVariant PythonQtShell_QAccessibleObjectEx::invokeMethodEx(QAccessible::Method method, int child, const QList& params) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "invokeMethodEx"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "QAccessible::Method" , "int" , "const QList&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QVariant returnValue; - void* args[4] = {NULL, (void*)&method, (void*)&child, (void*)¶ms}; - 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("invokeMethodEx", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QVariant result; -return result; -} -bool PythonQtShell_QAccessibleObjectEx::isValid() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isValid"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isValid", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAccessibleObjectEx::isValid(); -} -int PythonQtShell_QAccessibleObjectEx::navigate(QAccessible::RelationFlag relation, int index, QAccessibleInterface** iface) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "navigate"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QAccessible::RelationFlag" , "int" , "QAccessibleInterface**"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - int returnValue; - void* args[4] = {NULL, (void*)&relation, (void*)&index, (void*)&iface}; - 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("navigate", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - int result; -return result; -} -QObject* PythonQtShell_QAccessibleObjectEx::object() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "object"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QObject*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QObject* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("object", methodInfo, result); - } else { - returnValue = *((QObject**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAccessibleObjectEx::object(); -} -QRect PythonQtShell_QAccessibleObjectEx::rect(int child) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rect"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QRect" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRect returnValue; - void* args[2] = {NULL, (void*)&child}; - 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("rect", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAccessibleObjectEx::rect(child); -} -QAccessible::Relation PythonQtShell_QAccessibleObjectEx::relationTo(int child, const QAccessibleInterface* other, int otherChild) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "relationTo"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QAccessible::Relation" , "int" , "const QAccessibleInterface*" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QAccessible::Relation returnValue; - void* args[4] = {NULL, (void*)&child, (void*)&other, (void*)&otherChild}; - 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("relationTo", methodInfo, result); - } else { - returnValue = *((QAccessible::Relation*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QAccessible::Relation result; -return result; -} -QAccessible::Role PythonQtShell_QAccessibleObjectEx::role(int child) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "role"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QAccessible::Role" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QAccessible::Role returnValue; - void* args[2] = {NULL, (void*)&child}; - 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("role", methodInfo, result); - } else { - returnValue = *((QAccessible::Role*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QAccessible::Role result; -return result; -} -void PythonQtShell_QAccessibleObjectEx::setText(QAccessible::Text t, int child, const QString& text) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setText"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QAccessible::Text" , "int" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&t, (void*)&child, (void*)&text}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAccessibleObjectEx::setText(t, child, text); -} -QAccessible::State PythonQtShell_QAccessibleObjectEx::state(int child) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "state"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QAccessible::State" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QAccessible::State returnValue; - void* args[2] = {NULL, (void*)&child}; - 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("state", methodInfo, result); - } else { - returnValue = *((QAccessible::State*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QAccessible::State result; -return result; -} -QString PythonQtShell_QAccessibleObjectEx::text(QAccessible::Text t, int child) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "text"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QString" , "QAccessible::Text" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QString returnValue; - void* args[3] = {NULL, (void*)&t, (void*)&child}; - 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("text", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QString result; -return result; -} -int PythonQtShell_QAccessibleObjectEx::userActionCount(int child) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "userActionCount"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&child}; - 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("userActionCount", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAccessibleObjectEx::userActionCount(child); -} -QVariant PythonQtShell_QAccessibleObjectEx::virtual_hook(const QVariant& data) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "virtual_hook"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&data}; - 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("virtual_hook", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAccessibleObjectEx::virtual_hook(data); -} -QAccessibleObjectEx* PythonQtWrapper_QAccessibleObjectEx::new_QAccessibleObjectEx(QObject* object) -{ -return new PythonQtShell_QAccessibleObjectEx(object); } - -QString PythonQtWrapper_QAccessibleObjectEx::actionText(QAccessibleObjectEx* theWrappedObject, int action, QAccessible::Text t, int child) const -{ - return ( ((PythonQtPublicPromoter_QAccessibleObjectEx*)theWrappedObject)->promoted_actionText(action, t, child)); -} - -bool PythonQtWrapper_QAccessibleObjectEx::doAction(QAccessibleObjectEx* theWrappedObject, int action, int child, const QList& params) -{ - return ( ((PythonQtPublicPromoter_QAccessibleObjectEx*)theWrappedObject)->promoted_doAction(action, child, params)); -} - -int PythonQtWrapper_QAccessibleObjectEx::userActionCount(QAccessibleObjectEx* theWrappedObject, int child) const -{ - return ( ((PythonQtPublicPromoter_QAccessibleObjectEx*)theWrappedObject)->promoted_userActionCount(child)); -} - -bool PythonQtWrapper_QAccessibleObjectEx::isValid(QAccessibleObjectEx* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QAccessibleObjectEx*)theWrappedObject)->promoted_isValid()); -} - -void PythonQtWrapper_QAccessibleObjectEx::setText(QAccessibleObjectEx* theWrappedObject, QAccessible::Text t, int child, const QString& text) -{ - ( ((PythonQtPublicPromoter_QAccessibleObjectEx*)theWrappedObject)->promoted_setText(t, child, text)); -} - -QRect PythonQtWrapper_QAccessibleObjectEx::rect(QAccessibleObjectEx* theWrappedObject, int child) const -{ - return ( ((PythonQtPublicPromoter_QAccessibleObjectEx*)theWrappedObject)->promoted_rect(child)); -} - -QObject* PythonQtWrapper_QAccessibleObjectEx::object(QAccessibleObjectEx* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QAccessibleObjectEx*)theWrappedObject)->promoted_object()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessibleObjectEx.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessibleObjectEx.h deleted file mode 100644 index baf47e7..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessibleObjectEx.h +++ /dev/null @@ -1,67 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QACCESSIBLEOBJECTEX_H -#define PYTHONQTWRAPPER_QACCESSIBLEOBJECTEX_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QAccessibleObjectEx : public QAccessibleObjectEx -{ -public: - PythonQtShell_QAccessibleObjectEx(QObject* object):QAccessibleObjectEx(object),_wrapper(NULL) {}; - -virtual QString actionText(int action, QAccessible::Text t, int child) const; -virtual int childAt(int x, int y) const; -virtual int childCount() const; -virtual bool doAction(int action, int child, const QList& params); -virtual int indexOfChild(const QAccessibleInterface* arg__1) const; -virtual QVariant invokeMethodEx(QAccessible::Method method, int child, const QList& params); -virtual bool isValid() const; -virtual int navigate(QAccessible::RelationFlag relation, int index, QAccessibleInterface** iface) const; -virtual QObject* object() const; -virtual QRect rect(int child) const; -virtual QAccessible::Relation relationTo(int child, const QAccessibleInterface* other, int otherChild) const; -virtual QAccessible::Role role(int child) const; -virtual void setText(QAccessible::Text t, int child, const QString& text); -virtual QAccessible::State state(int child) const; -virtual QString text(QAccessible::Text t, int child) const; -virtual int userActionCount(int child) const; -virtual QVariant virtual_hook(const QVariant& data); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QAccessibleObjectEx : public QAccessibleObjectEx -{ public: -inline QString promoted_actionText(int action, QAccessible::Text t, int child) const { return QAccessibleObjectEx::actionText(action, t, child); } -inline bool promoted_doAction(int action, int child, const QList& params) { return QAccessibleObjectEx::doAction(action, child, params); } -inline int promoted_userActionCount(int child) const { return QAccessibleObjectEx::userActionCount(child); } -inline bool promoted_isValid() const { return QAccessibleObjectEx::isValid(); } -inline void promoted_setText(QAccessible::Text t, int child, const QString& text) { QAccessibleObjectEx::setText(t, child, text); } -inline QRect promoted_rect(int child) const { return QAccessibleObjectEx::rect(child); } -inline QObject* promoted_object() const { return QAccessibleObjectEx::object(); } -}; - -class PythonQtWrapper_QAccessibleObjectEx : public QObject -{ Q_OBJECT -public: -public slots: -QAccessibleObjectEx* new_QAccessibleObjectEx(QObject* object); - QString actionText(QAccessibleObjectEx* theWrappedObject, int action, QAccessible::Text t, int child) const; - bool doAction(QAccessibleObjectEx* theWrappedObject, int action, int child, const QList& params); - int userActionCount(QAccessibleObjectEx* theWrappedObject, int child) const; - bool isValid(QAccessibleObjectEx* theWrappedObject) const; - void setText(QAccessibleObjectEx* theWrappedObject, QAccessible::Text t, int child, const QString& text); - QRect rect(QAccessibleObjectEx* theWrappedObject, int child) const; - QObject* object(QAccessibleObjectEx* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QACCESSIBLEOBJECTEX_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessiblePlugin.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessiblePlugin.cpp deleted file mode 100644 index 9d35546..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessiblePlugin.cpp +++ /dev/null @@ -1,182 +0,0 @@ -#include "PythonQtWrapper_QAccessiblePlugin.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QAccessiblePlugin::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; - } -} - QAccessiblePlugin::childEvent(arg__1); -} -QAccessibleInterface* PythonQtShell_QAccessiblePlugin::create(const QString& key, QObject* object) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "create"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QAccessibleInterface*" , "const QString&" , "QObject*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QAccessibleInterface* returnValue; - void* args[3] = {NULL, (void*)&key, (void*)&object}; - 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("create", methodInfo, result); - } else { - returnValue = *((QAccessibleInterface**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QAccessibleInterface* result; -return result; -} -void PythonQtShell_QAccessiblePlugin::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; - } -} - QAccessiblePlugin::customEvent(arg__1); -} -bool PythonQtShell_QAccessiblePlugin::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAccessiblePlugin::event(arg__1); -} -bool PythonQtShell_QAccessiblePlugin::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAccessiblePlugin::eventFilter(arg__1, arg__2); -} -QStringList PythonQtShell_QAccessiblePlugin::keys() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keys"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QStringList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStringList returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("keys", methodInfo, result); - } else { - returnValue = *((QStringList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QStringList result; -return result; -} -void PythonQtShell_QAccessiblePlugin::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; - } -} - QAccessiblePlugin::timerEvent(arg__1); -} -QAccessiblePlugin* PythonQtWrapper_QAccessiblePlugin::new_QAccessiblePlugin(QObject* parent) -{ -return new PythonQtShell_QAccessiblePlugin(parent); } - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessiblePlugin.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessiblePlugin.h deleted file mode 100644 index d2fe79d..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessiblePlugin.h +++ /dev/null @@ -1,41 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QACCESSIBLEPLUGIN_H -#define PYTHONQTWRAPPER_QACCESSIBLEPLUGIN_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QAccessiblePlugin : public QAccessiblePlugin -{ -public: - PythonQtShell_QAccessiblePlugin(QObject* parent = 0):QAccessiblePlugin(parent),_wrapper(NULL) {}; - -virtual void childEvent(QChildEvent* arg__1); -virtual QAccessibleInterface* create(const QString& key, QObject* object); -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual QStringList keys() const; -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QAccessiblePlugin : public QObject -{ Q_OBJECT -public: -public slots: -QAccessiblePlugin* new_QAccessiblePlugin(QObject* parent = 0); -void delete_QAccessiblePlugin(QAccessiblePlugin* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QACCESSIBLEPLUGIN_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessibleTableInterface.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessibleTableInterface.cpp deleted file mode 100644 index 09da158..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessibleTableInterface.cpp +++ /dev/null @@ -1,707 +0,0 @@ -#include "PythonQtWrapper_QAccessibleTableInterface.h" - -#include -#include -#include -#include -#include -#include - -QAccessibleInterface* PythonQtShell_QAccessibleTableInterface::accessibleAt(int row, int column) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "accessibleAt"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QAccessibleInterface*" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QAccessibleInterface* returnValue; - void* args[3] = {NULL, (void*)&row, (void*)&column}; - 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("accessibleAt", methodInfo, result); - } else { - returnValue = *((QAccessibleInterface**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QAccessibleInterface* result; -return result; -} -QAccessibleInterface* PythonQtShell_QAccessibleTableInterface::caption() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "caption"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QAccessibleInterface*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QAccessibleInterface* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("caption", methodInfo, result); - } else { - returnValue = *((QAccessibleInterface**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QAccessibleInterface* result; -return result; -} -void PythonQtShell_QAccessibleTableInterface::cellAtIndex(int index, int* row, int* column, int* rowSpan, int* columnSpan, bool* isSelected) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "cellAtIndex"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "int" , "int*" , "int*" , "int*" , "int*" , "bool*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(7, argumentList); - void* args[7] = {NULL, (void*)&index, (void*)&row, (void*)&column, (void*)&rowSpan, (void*)&columnSpan, (void*)&isSelected}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - -} -int PythonQtShell_QAccessibleTableInterface::childIndex(int rowIndex, int columnIndex) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childIndex"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - int returnValue; - void* args[3] = {NULL, (void*)&rowIndex, (void*)&columnIndex}; - 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("childIndex", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - int result; -return result; -} -int PythonQtShell_QAccessibleTableInterface::columnCount() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "columnCount"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - int result; -return result; -} -QString PythonQtShell_QAccessibleTableInterface::columnDescription(int column) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "columnDescription"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QString" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QString returnValue; - void* args[2] = {NULL, (void*)&column}; - 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("columnDescription", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QString result; -return result; -} -QAccessibleInterface* PythonQtShell_QAccessibleTableInterface::columnHeader() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "columnHeader"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QAccessibleInterface*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QAccessibleInterface* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("columnHeader", methodInfo, result); - } else { - returnValue = *((QAccessibleInterface**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QAccessibleInterface* result; -return result; -} -int PythonQtShell_QAccessibleTableInterface::columnIndex(int childIndex) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "columnIndex"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&childIndex}; - 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("columnIndex", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - int result; -return result; -} -int PythonQtShell_QAccessibleTableInterface::columnSpan(int row, int column) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "columnSpan"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - int returnValue; - void* args[3] = {NULL, (void*)&row, (void*)&column}; - 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("columnSpan", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - int result; -return result; -} -bool PythonQtShell_QAccessibleTableInterface::isColumnSelected(int column) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isColumnSelected"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&column}; - 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("isColumnSelected", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - bool result; -return result; -} -bool PythonQtShell_QAccessibleTableInterface::isRowSelected(int row) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isRowSelected"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&row}; - 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("isRowSelected", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - bool result; -return result; -} -bool PythonQtShell_QAccessibleTableInterface::isSelected(int row, int column) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isSelected"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&row, (void*)&column}; - 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("isSelected", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - bool result; -return result; -} -int PythonQtShell_QAccessibleTableInterface::rowCount() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowCount"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - int result; -return result; -} -QString PythonQtShell_QAccessibleTableInterface::rowDescription(int row) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowDescription"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QString" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QString returnValue; - void* args[2] = {NULL, (void*)&row}; - 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("rowDescription", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QString result; -return result; -} -QAccessibleInterface* PythonQtShell_QAccessibleTableInterface::rowHeader() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowHeader"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QAccessibleInterface*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QAccessibleInterface* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("rowHeader", methodInfo, result); - } else { - returnValue = *((QAccessibleInterface**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QAccessibleInterface* result; -return result; -} -int PythonQtShell_QAccessibleTableInterface::rowIndex(int childIndex) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowIndex"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&childIndex}; - 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("rowIndex", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - int result; -return result; -} -int PythonQtShell_QAccessibleTableInterface::rowSpan(int row, int column) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowSpan"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - int returnValue; - void* args[3] = {NULL, (void*)&row, (void*)&column}; - 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("rowSpan", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - int result; -return result; -} -void PythonQtShell_QAccessibleTableInterface::selectColumn(int column) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectColumn"); - 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*)&column}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - -} -void PythonQtShell_QAccessibleTableInterface::selectRow(int row) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectRow"); - 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*)&row}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - -} -int PythonQtShell_QAccessibleTableInterface::selectedColumnCount() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectedColumnCount"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("selectedColumnCount", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - int result; -return result; -} -int PythonQtShell_QAccessibleTableInterface::selectedColumns(int maxColumns, QList* columns) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectedColumns"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int" , "QList*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - int returnValue; - void* args[3] = {NULL, (void*)&maxColumns, (void*)&columns}; - 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("selectedColumns", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - int result; -return result; -} -int PythonQtShell_QAccessibleTableInterface::selectedRowCount() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectedRowCount"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("selectedRowCount", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - int result; -return result; -} -int PythonQtShell_QAccessibleTableInterface::selectedRows(int maxRows, QList* rows) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectedRows"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int" , "QList*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - int returnValue; - void* args[3] = {NULL, (void*)&maxRows, (void*)&rows}; - 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("selectedRows", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - int result; -return result; -} -QAccessibleInterface* PythonQtShell_QAccessibleTableInterface::summary() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "summary"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QAccessibleInterface*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QAccessibleInterface* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("summary", methodInfo, result); - } else { - returnValue = *((QAccessibleInterface**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QAccessibleInterface* result; -return result; -} -void PythonQtShell_QAccessibleTableInterface::unselectColumn(int column) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "unselectColumn"); - 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*)&column}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - -} -void PythonQtShell_QAccessibleTableInterface::unselectRow(int row) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "unselectRow"); - 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*)&row}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - -} -QAccessibleTableInterface* PythonQtWrapper_QAccessibleTableInterface::new_QAccessibleTableInterface() -{ -return new PythonQtShell_QAccessibleTableInterface(); } - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessibleTableInterface.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessibleTableInterface.h deleted file mode 100644 index bb2db5c..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessibleTableInterface.h +++ /dev/null @@ -1,56 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QACCESSIBLETABLEINTERFACE_H -#define PYTHONQTWRAPPER_QACCESSIBLETABLEINTERFACE_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtShell_QAccessibleTableInterface : public QAccessibleTableInterface -{ -public: - PythonQtShell_QAccessibleTableInterface():QAccessibleTableInterface(),_wrapper(NULL) {}; - -virtual QAccessibleInterface* accessibleAt(int row, int column); -virtual QAccessibleInterface* caption(); -virtual void cellAtIndex(int index, int* row, int* column, int* rowSpan, int* columnSpan, bool* isSelected); -virtual int childIndex(int rowIndex, int columnIndex); -virtual int columnCount(); -virtual QString columnDescription(int column); -virtual QAccessibleInterface* columnHeader(); -virtual int columnIndex(int childIndex); -virtual int columnSpan(int row, int column); -virtual bool isColumnSelected(int column); -virtual bool isRowSelected(int row); -virtual bool isSelected(int row, int column); -virtual int rowCount(); -virtual QString rowDescription(int row); -virtual QAccessibleInterface* rowHeader(); -virtual int rowIndex(int childIndex); -virtual int rowSpan(int row, int column); -virtual void selectColumn(int column); -virtual void selectRow(int row); -virtual int selectedColumnCount(); -virtual int selectedColumns(int maxColumns, QList* columns); -virtual int selectedRowCount(); -virtual int selectedRows(int maxRows, QList* rows); -virtual QAccessibleInterface* summary(); -virtual void unselectColumn(int column); -virtual void unselectRow(int row); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QAccessibleTableInterface : public QObject -{ Q_OBJECT -public: -public slots: -QAccessibleTableInterface* new_QAccessibleTableInterface(); -void delete_QAccessibleTableInterface(QAccessibleTableInterface* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QACCESSIBLETABLEINTERFACE_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessibleWidget.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessibleWidget.cpp deleted file mode 100644 index 450113c..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessibleWidget.cpp +++ /dev/null @@ -1,486 +0,0 @@ -#include "PythonQtWrapper_QAccessibleWidget.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QString PythonQtShell_QAccessibleWidget::actionText(int action, QAccessible::Text t, int child) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionText"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QString" , "int" , "QAccessible::Text" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QString returnValue; - void* args[4] = {NULL, (void*)&action, (void*)&t, (void*)&child}; - 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("actionText", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAccessibleWidget::actionText(action, t, child); -} -int PythonQtShell_QAccessibleWidget::childAt(int x, int y) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childAt"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - int returnValue; - void* args[3] = {NULL, (void*)&x, (void*)&y}; - 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("childAt", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAccessibleWidget::childAt(x, y); -} -int PythonQtShell_QAccessibleWidget::childCount() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childCount"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("childCount", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAccessibleWidget::childCount(); -} -bool PythonQtShell_QAccessibleWidget::doAction(int action, int child, const QList& params) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "doAction"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int" , "int" , "const QList&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&action, (void*)&child, (void*)¶ms}; - 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("doAction", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAccessibleWidget::doAction(action, child, params); -} -int PythonQtShell_QAccessibleWidget::indexOfChild(const QAccessibleInterface* child) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "indexOfChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "const QAccessibleInterface*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&child}; - 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("indexOfChild", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAccessibleWidget::indexOfChild(child); -} -bool PythonQtShell_QAccessibleWidget::isValid() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isValid"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isValid", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAccessibleWidget::isValid(); -} -int PythonQtShell_QAccessibleWidget::navigate(QAccessible::RelationFlag rel, int entry, QAccessibleInterface** target) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "navigate"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QAccessible::RelationFlag" , "int" , "QAccessibleInterface**"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - int returnValue; - void* args[4] = {NULL, (void*)&rel, (void*)&entry, (void*)&target}; - 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("navigate", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAccessibleWidget::navigate(rel, entry, target); -} -QObject* PythonQtShell_QAccessibleWidget::object() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "object"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QObject*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QObject* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("object", methodInfo, result); - } else { - returnValue = *((QObject**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAccessibleWidget::object(); -} -QRect PythonQtShell_QAccessibleWidget::rect(int child) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rect"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QRect" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRect returnValue; - void* args[2] = {NULL, (void*)&child}; - 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("rect", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAccessibleWidget::rect(child); -} -QAccessible::Relation PythonQtShell_QAccessibleWidget::relationTo(int child, const QAccessibleInterface* other, int otherChild) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "relationTo"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QAccessible::Relation" , "int" , "const QAccessibleInterface*" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QAccessible::Relation returnValue; - void* args[4] = {NULL, (void*)&child, (void*)&other, (void*)&otherChild}; - 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("relationTo", methodInfo, result); - } else { - returnValue = *((QAccessible::Relation*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAccessibleWidget::relationTo(child, other, otherChild); -} -QAccessible::Role PythonQtShell_QAccessibleWidget::role(int child) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "role"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QAccessible::Role" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QAccessible::Role returnValue; - void* args[2] = {NULL, (void*)&child}; - 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("role", methodInfo, result); - } else { - returnValue = *((QAccessible::Role*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAccessibleWidget::role(child); -} -void PythonQtShell_QAccessibleWidget::setText(QAccessible::Text t, int child, const QString& text) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setText"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QAccessible::Text" , "int" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&t, (void*)&child, (void*)&text}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAccessibleWidget::setText(t, child, text); -} -QAccessible::State PythonQtShell_QAccessibleWidget::state(int child) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "state"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QAccessible::State" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QAccessible::State returnValue; - void* args[2] = {NULL, (void*)&child}; - 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("state", methodInfo, result); - } else { - returnValue = *((QAccessible::State*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAccessibleWidget::state(child); -} -QString PythonQtShell_QAccessibleWidget::text(QAccessible::Text t, int child) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "text"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QString" , "QAccessible::Text" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QString returnValue; - void* args[3] = {NULL, (void*)&t, (void*)&child}; - 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("text", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAccessibleWidget::text(t, child); -} -int PythonQtShell_QAccessibleWidget::userActionCount(int child) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "userActionCount"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&child}; - 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("userActionCount", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAccessibleWidget::userActionCount(child); -} -QAccessibleWidget* PythonQtWrapper_QAccessibleWidget::new_QAccessibleWidget(QWidget* o, QAccessible::Role r, const QString& name) -{ -return new PythonQtShell_QAccessibleWidget(o, r, name); } - -QString PythonQtWrapper_QAccessibleWidget::text(QAccessibleWidget* theWrappedObject, QAccessible::Text t, int child) const -{ - return ( ((PythonQtPublicPromoter_QAccessibleWidget*)theWrappedObject)->promoted_text(t, child)); -} - -QAccessible::State PythonQtWrapper_QAccessibleWidget::state(QAccessibleWidget* theWrappedObject, int child) const -{ - return ( ((PythonQtPublicPromoter_QAccessibleWidget*)theWrappedObject)->promoted_state(child)); -} - -QString PythonQtWrapper_QAccessibleWidget::actionText(QAccessibleWidget* theWrappedObject, int action, QAccessible::Text t, int child) const -{ - return ( ((PythonQtPublicPromoter_QAccessibleWidget*)theWrappedObject)->promoted_actionText(action, t, child)); -} - -bool PythonQtWrapper_QAccessibleWidget::doAction(QAccessibleWidget* theWrappedObject, int action, int child, const QList& params) -{ - return ( ((PythonQtPublicPromoter_QAccessibleWidget*)theWrappedObject)->promoted_doAction(action, child, params)); -} - -QAccessible::Relation PythonQtWrapper_QAccessibleWidget::relationTo(QAccessibleWidget* theWrappedObject, int child, const QAccessibleInterface* other, int otherChild) const -{ - return ( ((PythonQtPublicPromoter_QAccessibleWidget*)theWrappedObject)->promoted_relationTo(child, other, otherChild)); -} - -QAccessible::Role PythonQtWrapper_QAccessibleWidget::role(QAccessibleWidget* theWrappedObject, int child) const -{ - return ( ((PythonQtPublicPromoter_QAccessibleWidget*)theWrappedObject)->promoted_role(child)); -} - -int PythonQtWrapper_QAccessibleWidget::childAt(QAccessibleWidget* theWrappedObject, int x, int y) const -{ - return ( ((PythonQtPublicPromoter_QAccessibleWidget*)theWrappedObject)->promoted_childAt(x, y)); -} - -int PythonQtWrapper_QAccessibleWidget::childCount(QAccessibleWidget* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QAccessibleWidget*)theWrappedObject)->promoted_childCount()); -} - -int PythonQtWrapper_QAccessibleWidget::userActionCount(QAccessibleWidget* theWrappedObject, int child) const -{ - return ( ((PythonQtPublicPromoter_QAccessibleWidget*)theWrappedObject)->promoted_userActionCount(child)); -} - -int PythonQtWrapper_QAccessibleWidget::navigate(QAccessibleWidget* theWrappedObject, QAccessible::RelationFlag rel, int entry, QAccessibleInterface** target) const -{ - return ( ((PythonQtPublicPromoter_QAccessibleWidget*)theWrappedObject)->promoted_navigate(rel, entry, target)); -} - -int PythonQtWrapper_QAccessibleWidget::indexOfChild(QAccessibleWidget* theWrappedObject, const QAccessibleInterface* child) const -{ - return ( ((PythonQtPublicPromoter_QAccessibleWidget*)theWrappedObject)->promoted_indexOfChild(child)); -} - -QRect PythonQtWrapper_QAccessibleWidget::rect(QAccessibleWidget* theWrappedObject, int child) const -{ - return ( ((PythonQtPublicPromoter_QAccessibleWidget*)theWrappedObject)->promoted_rect(child)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessibleWidget.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessibleWidget.h deleted file mode 100644 index 686c096..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessibleWidget.h +++ /dev/null @@ -1,76 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QACCESSIBLEWIDGET_H -#define PYTHONQTWRAPPER_QACCESSIBLEWIDGET_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QAccessibleWidget : public QAccessibleWidget -{ -public: - PythonQtShell_QAccessibleWidget(QWidget* o, QAccessible::Role r = QAccessible::Client, const QString& name = QString()):QAccessibleWidget(o, r, name),_wrapper(NULL) {}; - -virtual QString actionText(int action, QAccessible::Text t, int child) const; -virtual int childAt(int x, int y) const; -virtual int childCount() const; -virtual bool doAction(int action, int child, const QList& params); -virtual int indexOfChild(const QAccessibleInterface* child) const; -virtual bool isValid() const; -virtual int navigate(QAccessible::RelationFlag rel, int entry, QAccessibleInterface** target) const; -virtual QObject* object() const; -virtual QRect rect(int child) const; -virtual QAccessible::Relation relationTo(int child, const QAccessibleInterface* other, int otherChild) const; -virtual QAccessible::Role role(int child) const; -virtual void setText(QAccessible::Text t, int child, const QString& text); -virtual QAccessible::State state(int child) const; -virtual QString text(QAccessible::Text t, int child) const; -virtual int userActionCount(int child) const; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QAccessibleWidget : public QAccessibleWidget -{ public: -inline QString promoted_text(QAccessible::Text t, int child) const { return QAccessibleWidget::text(t, child); } -inline QAccessible::State promoted_state(int child) const { return QAccessibleWidget::state(child); } -inline QString promoted_actionText(int action, QAccessible::Text t, int child) const { return QAccessibleWidget::actionText(action, t, child); } -inline bool promoted_doAction(int action, int child, const QList& params) { return QAccessibleWidget::doAction(action, child, params); } -inline QAccessible::Relation promoted_relationTo(int child, const QAccessibleInterface* other, int otherChild) const { return QAccessibleWidget::relationTo(child, other, otherChild); } -inline QAccessible::Role promoted_role(int child) const { return QAccessibleWidget::role(child); } -inline int promoted_childAt(int x, int y) const { return QAccessibleWidget::childAt(x, y); } -inline int promoted_childCount() const { return QAccessibleWidget::childCount(); } -inline int promoted_userActionCount(int child) const { return QAccessibleWidget::userActionCount(child); } -inline int promoted_navigate(QAccessible::RelationFlag rel, int entry, QAccessibleInterface** target) const { return QAccessibleWidget::navigate(rel, entry, target); } -inline int promoted_indexOfChild(const QAccessibleInterface* child) const { return QAccessibleWidget::indexOfChild(child); } -inline QRect promoted_rect(int child) const { return QAccessibleWidget::rect(child); } -}; - -class PythonQtWrapper_QAccessibleWidget : public QObject -{ Q_OBJECT -public: -public slots: -QAccessibleWidget* new_QAccessibleWidget(QWidget* o, QAccessible::Role r = QAccessible::Client, const QString& name = QString()); - QString text(QAccessibleWidget* theWrappedObject, QAccessible::Text t, int child) const; - QAccessible::State state(QAccessibleWidget* theWrappedObject, int child) const; - QString actionText(QAccessibleWidget* theWrappedObject, int action, QAccessible::Text t, int child) const; - bool doAction(QAccessibleWidget* theWrappedObject, int action, int child, const QList& params); - QAccessible::Relation relationTo(QAccessibleWidget* theWrappedObject, int child, const QAccessibleInterface* other, int otherChild) const; - QAccessible::Role role(QAccessibleWidget* theWrappedObject, int child) const; - int childAt(QAccessibleWidget* theWrappedObject, int x, int y) const; - int childCount(QAccessibleWidget* theWrappedObject) const; - int userActionCount(QAccessibleWidget* theWrappedObject, int child) const; - int navigate(QAccessibleWidget* theWrappedObject, QAccessible::RelationFlag rel, int entry, QAccessibleInterface** target) const; - int indexOfChild(QAccessibleWidget* theWrappedObject, const QAccessibleInterface* child) const; - QRect rect(QAccessibleWidget* theWrappedObject, int child) const; -}; - -#endif // PYTHONQTWRAPPER_QACCESSIBLEWIDGET_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessibleWidgetEx.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessibleWidgetEx.cpp deleted file mode 100644 index 0429da6..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessibleWidgetEx.cpp +++ /dev/null @@ -1,542 +0,0 @@ -#include "PythonQtWrapper_QAccessibleWidgetEx.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QString PythonQtShell_QAccessibleWidgetEx::actionText(int action, QAccessible::Text t, int child) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionText"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QString" , "int" , "QAccessible::Text" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QString returnValue; - void* args[4] = {NULL, (void*)&action, (void*)&t, (void*)&child}; - 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("actionText", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAccessibleWidgetEx::actionText(action, t, child); -} -int PythonQtShell_QAccessibleWidgetEx::childAt(int x, int y) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childAt"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - int returnValue; - void* args[3] = {NULL, (void*)&x, (void*)&y}; - 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("childAt", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAccessibleWidgetEx::childAt(x, y); -} -int PythonQtShell_QAccessibleWidgetEx::childCount() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childCount"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("childCount", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAccessibleWidgetEx::childCount(); -} -bool PythonQtShell_QAccessibleWidgetEx::doAction(int action, int child, const QList& params) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "doAction"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int" , "int" , "const QList&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&action, (void*)&child, (void*)¶ms}; - 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("doAction", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAccessibleWidgetEx::doAction(action, child, params); -} -int PythonQtShell_QAccessibleWidgetEx::indexOfChild(const QAccessibleInterface* child) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "indexOfChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "const QAccessibleInterface*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&child}; - 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("indexOfChild", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAccessibleWidgetEx::indexOfChild(child); -} -QVariant PythonQtShell_QAccessibleWidgetEx::invokeMethodEx(QAccessible::Method method, int child, const QList& params) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "invokeMethodEx"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "QAccessible::Method" , "int" , "const QList&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QVariant returnValue; - void* args[4] = {NULL, (void*)&method, (void*)&child, (void*)¶ms}; - 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("invokeMethodEx", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAccessibleWidgetEx::invokeMethodEx(method, child, params); -} -bool PythonQtShell_QAccessibleWidgetEx::isValid() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isValid"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isValid", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAccessibleWidgetEx::isValid(); -} -int PythonQtShell_QAccessibleWidgetEx::navigate(QAccessible::RelationFlag rel, int entry, QAccessibleInterface** target) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "navigate"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QAccessible::RelationFlag" , "int" , "QAccessibleInterface**"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - int returnValue; - void* args[4] = {NULL, (void*)&rel, (void*)&entry, (void*)&target}; - 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("navigate", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAccessibleWidgetEx::navigate(rel, entry, target); -} -QObject* PythonQtShell_QAccessibleWidgetEx::object() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "object"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QObject*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QObject* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("object", methodInfo, result); - } else { - returnValue = *((QObject**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAccessibleWidgetEx::object(); -} -QRect PythonQtShell_QAccessibleWidgetEx::rect(int child) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rect"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QRect" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRect returnValue; - void* args[2] = {NULL, (void*)&child}; - 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("rect", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAccessibleWidgetEx::rect(child); -} -QAccessible::Relation PythonQtShell_QAccessibleWidgetEx::relationTo(int child, const QAccessibleInterface* other, int otherChild) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "relationTo"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QAccessible::Relation" , "int" , "const QAccessibleInterface*" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QAccessible::Relation returnValue; - void* args[4] = {NULL, (void*)&child, (void*)&other, (void*)&otherChild}; - 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("relationTo", methodInfo, result); - } else { - returnValue = *((QAccessible::Relation*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAccessibleWidgetEx::relationTo(child, other, otherChild); -} -QAccessible::Role PythonQtShell_QAccessibleWidgetEx::role(int child) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "role"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QAccessible::Role" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QAccessible::Role returnValue; - void* args[2] = {NULL, (void*)&child}; - 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("role", methodInfo, result); - } else { - returnValue = *((QAccessible::Role*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAccessibleWidgetEx::role(child); -} -void PythonQtShell_QAccessibleWidgetEx::setText(QAccessible::Text t, int child, const QString& text) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setText"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QAccessible::Text" , "int" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&t, (void*)&child, (void*)&text}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAccessibleWidgetEx::setText(t, child, text); -} -QAccessible::State PythonQtShell_QAccessibleWidgetEx::state(int child) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "state"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QAccessible::State" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QAccessible::State returnValue; - void* args[2] = {NULL, (void*)&child}; - 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("state", methodInfo, result); - } else { - returnValue = *((QAccessible::State*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAccessibleWidgetEx::state(child); -} -QString PythonQtShell_QAccessibleWidgetEx::text(QAccessible::Text t, int child) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "text"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QString" , "QAccessible::Text" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QString returnValue; - void* args[3] = {NULL, (void*)&t, (void*)&child}; - 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("text", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAccessibleWidgetEx::text(t, child); -} -int PythonQtShell_QAccessibleWidgetEx::userActionCount(int child) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "userActionCount"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&child}; - 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("userActionCount", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAccessibleWidgetEx::userActionCount(child); -} -QVariant PythonQtShell_QAccessibleWidgetEx::virtual_hook(const QVariant& data) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "virtual_hook"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&data}; - 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("virtual_hook", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAccessibleWidgetEx::virtual_hook(data); -} -QAccessibleWidgetEx* PythonQtWrapper_QAccessibleWidgetEx::new_QAccessibleWidgetEx(QWidget* o, QAccessible::Role r, const QString& name) -{ -return new PythonQtShell_QAccessibleWidgetEx(o, r, name); } - -QAccessible::Role PythonQtWrapper_QAccessibleWidgetEx::role(QAccessibleWidgetEx* theWrappedObject, int child) const -{ - return ( ((PythonQtPublicPromoter_QAccessibleWidgetEx*)theWrappedObject)->promoted_role(child)); -} - -QRect PythonQtWrapper_QAccessibleWidgetEx::rect(QAccessibleWidgetEx* theWrappedObject, int child) const -{ - return ( ((PythonQtPublicPromoter_QAccessibleWidgetEx*)theWrappedObject)->promoted_rect(child)); -} - -QVariant PythonQtWrapper_QAccessibleWidgetEx::invokeMethodEx(QAccessibleWidgetEx* theWrappedObject, QAccessible::Method method, int child, const QList& params) -{ - return ( ((PythonQtPublicPromoter_QAccessibleWidgetEx*)theWrappedObject)->promoted_invokeMethodEx(method, child, params)); -} - -int PythonQtWrapper_QAccessibleWidgetEx::childCount(QAccessibleWidgetEx* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QAccessibleWidgetEx*)theWrappedObject)->promoted_childCount()); -} - -QAccessible::Relation PythonQtWrapper_QAccessibleWidgetEx::relationTo(QAccessibleWidgetEx* theWrappedObject, int child, const QAccessibleInterface* other, int otherChild) const -{ - return ( ((PythonQtPublicPromoter_QAccessibleWidgetEx*)theWrappedObject)->promoted_relationTo(child, other, otherChild)); -} - -int PythonQtWrapper_QAccessibleWidgetEx::navigate(QAccessibleWidgetEx* theWrappedObject, QAccessible::RelationFlag rel, int entry, QAccessibleInterface** target) const -{ - return ( ((PythonQtPublicPromoter_QAccessibleWidgetEx*)theWrappedObject)->promoted_navigate(rel, entry, target)); -} - -int PythonQtWrapper_QAccessibleWidgetEx::indexOfChild(QAccessibleWidgetEx* theWrappedObject, const QAccessibleInterface* child) const -{ - return ( ((PythonQtPublicPromoter_QAccessibleWidgetEx*)theWrappedObject)->promoted_indexOfChild(child)); -} - -QString PythonQtWrapper_QAccessibleWidgetEx::text(QAccessibleWidgetEx* theWrappedObject, QAccessible::Text t, int child) const -{ - return ( ((PythonQtPublicPromoter_QAccessibleWidgetEx*)theWrappedObject)->promoted_text(t, child)); -} - -QString PythonQtWrapper_QAccessibleWidgetEx::actionText(QAccessibleWidgetEx* theWrappedObject, int action, QAccessible::Text t, int child) const -{ - return ( ((PythonQtPublicPromoter_QAccessibleWidgetEx*)theWrappedObject)->promoted_actionText(action, t, child)); -} - -int PythonQtWrapper_QAccessibleWidgetEx::childAt(QAccessibleWidgetEx* theWrappedObject, int x, int y) const -{ - return ( ((PythonQtPublicPromoter_QAccessibleWidgetEx*)theWrappedObject)->promoted_childAt(x, y)); -} - -bool PythonQtWrapper_QAccessibleWidgetEx::doAction(QAccessibleWidgetEx* theWrappedObject, int action, int child, const QList& params) -{ - return ( ((PythonQtPublicPromoter_QAccessibleWidgetEx*)theWrappedObject)->promoted_doAction(action, child, params)); -} - -QAccessible::State PythonQtWrapper_QAccessibleWidgetEx::state(QAccessibleWidgetEx* theWrappedObject, int child) const -{ - return ( ((PythonQtPublicPromoter_QAccessibleWidgetEx*)theWrappedObject)->promoted_state(child)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessibleWidgetEx.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessibleWidgetEx.h deleted file mode 100644 index fc2e7e1..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAccessibleWidgetEx.h +++ /dev/null @@ -1,78 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QACCESSIBLEWIDGETEX_H -#define PYTHONQTWRAPPER_QACCESSIBLEWIDGETEX_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QAccessibleWidgetEx : public QAccessibleWidgetEx -{ -public: - PythonQtShell_QAccessibleWidgetEx(QWidget* o, QAccessible::Role r = QAccessible::Client, const QString& name = QString()):QAccessibleWidgetEx(o, r, name),_wrapper(NULL) {}; - -virtual QString actionText(int action, QAccessible::Text t, int child) const; -virtual int childAt(int x, int y) const; -virtual int childCount() const; -virtual bool doAction(int action, int child, const QList& params); -virtual int indexOfChild(const QAccessibleInterface* child) const; -virtual QVariant invokeMethodEx(QAccessible::Method method, int child, const QList& params); -virtual bool isValid() const; -virtual int navigate(QAccessible::RelationFlag rel, int entry, QAccessibleInterface** target) const; -virtual QObject* object() const; -virtual QRect rect(int child) const; -virtual QAccessible::Relation relationTo(int child, const QAccessibleInterface* other, int otherChild) const; -virtual QAccessible::Role role(int child) const; -virtual void setText(QAccessible::Text t, int child, const QString& text); -virtual QAccessible::State state(int child) const; -virtual QString text(QAccessible::Text t, int child) const; -virtual int userActionCount(int child) const; -virtual QVariant virtual_hook(const QVariant& data); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QAccessibleWidgetEx : public QAccessibleWidgetEx -{ public: -inline QAccessible::Role promoted_role(int child) const { return QAccessibleWidgetEx::role(child); } -inline QRect promoted_rect(int child) const { return QAccessibleWidgetEx::rect(child); } -inline QVariant promoted_invokeMethodEx(QAccessible::Method method, int child, const QList& params) { return QAccessibleWidgetEx::invokeMethodEx(method, child, params); } -inline int promoted_childCount() const { return QAccessibleWidgetEx::childCount(); } -inline QAccessible::Relation promoted_relationTo(int child, const QAccessibleInterface* other, int otherChild) const { return QAccessibleWidgetEx::relationTo(child, other, otherChild); } -inline int promoted_navigate(QAccessible::RelationFlag rel, int entry, QAccessibleInterface** target) const { return QAccessibleWidgetEx::navigate(rel, entry, target); } -inline int promoted_indexOfChild(const QAccessibleInterface* child) const { return QAccessibleWidgetEx::indexOfChild(child); } -inline QString promoted_text(QAccessible::Text t, int child) const { return QAccessibleWidgetEx::text(t, child); } -inline QString promoted_actionText(int action, QAccessible::Text t, int child) const { return QAccessibleWidgetEx::actionText(action, t, child); } -inline int promoted_childAt(int x, int y) const { return QAccessibleWidgetEx::childAt(x, y); } -inline bool promoted_doAction(int action, int child, const QList& params) { return QAccessibleWidgetEx::doAction(action, child, params); } -inline QAccessible::State promoted_state(int child) const { return QAccessibleWidgetEx::state(child); } -}; - -class PythonQtWrapper_QAccessibleWidgetEx : public QObject -{ Q_OBJECT -public: -public slots: -QAccessibleWidgetEx* new_QAccessibleWidgetEx(QWidget* o, QAccessible::Role r = QAccessible::Client, const QString& name = QString()); - QAccessible::Role role(QAccessibleWidgetEx* theWrappedObject, int child) const; - QRect rect(QAccessibleWidgetEx* theWrappedObject, int child) const; - QVariant invokeMethodEx(QAccessibleWidgetEx* theWrappedObject, QAccessible::Method method, int child, const QList& params); - int childCount(QAccessibleWidgetEx* theWrappedObject) const; - QAccessible::Relation relationTo(QAccessibleWidgetEx* theWrappedObject, int child, const QAccessibleInterface* other, int otherChild) const; - int navigate(QAccessibleWidgetEx* theWrappedObject, QAccessible::RelationFlag rel, int entry, QAccessibleInterface** target) const; - int indexOfChild(QAccessibleWidgetEx* theWrappedObject, const QAccessibleInterface* child) const; - QString text(QAccessibleWidgetEx* theWrappedObject, QAccessible::Text t, int child) const; - QString actionText(QAccessibleWidgetEx* theWrappedObject, int action, QAccessible::Text t, int child) const; - int childAt(QAccessibleWidgetEx* theWrappedObject, int x, int y) const; - bool doAction(QAccessibleWidgetEx* theWrappedObject, int action, int child, const QList& params); - QAccessible::State state(QAccessibleWidgetEx* theWrappedObject, int child) const; -}; - -#endif // PYTHONQTWRAPPER_QACCESSIBLEWIDGETEX_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAction.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAction.cpp deleted file mode 100644 index 1e1b76f..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAction.cpp +++ /dev/null @@ -1,362 +0,0 @@ -#include "PythonQtWrapper_QAction.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QAction::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; - } -} - QAction::childEvent(arg__1); -} -void PythonQtShell_QAction::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; - } -} - QAction::customEvent(arg__1); -} -bool PythonQtShell_QAction::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAction::event(arg__1); -} -bool PythonQtShell_QAction::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAction::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QAction::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; - } -} - QAction::timerEvent(arg__1); -} -QAction* PythonQtWrapper_QAction::new_QAction(QObject* parent) -{ -return new PythonQtShell_QAction(parent); } - -QAction* PythonQtWrapper_QAction::new_QAction(const QIcon& icon, const QString& text, QObject* parent) -{ -return new PythonQtShell_QAction(icon, text, parent); } - -QAction* PythonQtWrapper_QAction::new_QAction(const QString& text, QObject* parent) -{ -return new PythonQtShell_QAction(text, parent); } - -void PythonQtWrapper_QAction::setData(QAction* theWrappedObject, const QVariant& var) -{ - ( theWrappedObject->setData(var)); -} - -QIcon PythonQtWrapper_QAction::icon(QAction* theWrappedObject) const -{ - return ( theWrappedObject->icon()); -} - -void PythonQtWrapper_QAction::setShortcuts(QAction* theWrappedObject, const QList& shortcuts) -{ - ( theWrappedObject->setShortcuts(shortcuts)); -} - -QString PythonQtWrapper_QAction::whatsThis(QAction* theWrappedObject) const -{ - return ( theWrappedObject->whatsThis()); -} - -void PythonQtWrapper_QAction::setIconText(QAction* theWrappedObject, const QString& text) -{ - ( theWrappedObject->setIconText(text)); -} - -bool PythonQtWrapper_QAction::isVisible(QAction* theWrappedObject) const -{ - return ( theWrappedObject->isVisible()); -} - -void PythonQtWrapper_QAction::setSeparator(QAction* theWrappedObject, bool b) -{ - ( theWrappedObject->setSeparator(b)); -} - -bool PythonQtWrapper_QAction::isEnabled(QAction* theWrappedObject) const -{ - return ( theWrappedObject->isEnabled()); -} - -void PythonQtWrapper_QAction::setText(QAction* theWrappedObject, const QString& text) -{ - ( theWrappedObject->setText(text)); -} - -QList PythonQtWrapper_QAction::shortcuts(QAction* theWrappedObject) const -{ - return ( theWrappedObject->shortcuts()); -} - -QWidget* PythonQtWrapper_QAction::parentWidget(QAction* theWrappedObject) const -{ - return ( theWrappedObject->parentWidget()); -} - -void PythonQtWrapper_QAction::setWhatsThis(QAction* theWrappedObject, const QString& what) -{ - ( theWrappedObject->setWhatsThis(what)); -} - -void PythonQtWrapper_QAction::setIconVisibleInMenu(QAction* theWrappedObject, bool visible) -{ - ( theWrappedObject->setIconVisibleInMenu(visible)); -} - -QActionGroup* PythonQtWrapper_QAction::actionGroup(QAction* theWrappedObject) const -{ - return ( theWrappedObject->actionGroup()); -} - -void PythonQtWrapper_QAction::setMenuRole(QAction* theWrappedObject, QAction::MenuRole menuRole) -{ - ( theWrappedObject->setMenuRole(menuRole)); -} - -QString PythonQtWrapper_QAction::statusTip(QAction* theWrappedObject) const -{ - return ( theWrappedObject->statusTip()); -} - -void PythonQtWrapper_QAction::setShortcutContext(QAction* theWrappedObject, Qt::ShortcutContext context) -{ - ( theWrappedObject->setShortcutContext(context)); -} - -QString PythonQtWrapper_QAction::iconText(QAction* theWrappedObject) const -{ - return ( theWrappedObject->iconText()); -} - -void PythonQtWrapper_QAction::setAutoRepeat(QAction* theWrappedObject, bool arg__1) -{ - ( theWrappedObject->setAutoRepeat(arg__1)); -} - -bool PythonQtWrapper_QAction::isChecked(QAction* theWrappedObject) const -{ - return ( theWrappedObject->isChecked()); -} - -void PythonQtWrapper_QAction::setStatusTip(QAction* theWrappedObject, const QString& statusTip) -{ - ( theWrappedObject->setStatusTip(statusTip)); -} - -bool PythonQtWrapper_QAction::showStatusText(QAction* theWrappedObject, QWidget* widget) -{ - return ( theWrappedObject->showStatusText(widget)); -} - -QVariant PythonQtWrapper_QAction::data(QAction* theWrappedObject) const -{ - return ( theWrappedObject->data()); -} - -void PythonQtWrapper_QAction::setFont(QAction* theWrappedObject, const QFont& font) -{ - ( theWrappedObject->setFont(font)); -} - -void PythonQtWrapper_QAction::setShortcuts(QAction* theWrappedObject, QKeySequence::StandardKey arg__1) -{ - ( theWrappedObject->setShortcuts(arg__1)); -} - -bool PythonQtWrapper_QAction::isSeparator(QAction* theWrappedObject) const -{ - return ( theWrappedObject->isSeparator()); -} - -bool PythonQtWrapper_QAction::autoRepeat(QAction* theWrappedObject) const -{ - return ( theWrappedObject->autoRepeat()); -} - -void PythonQtWrapper_QAction::setActionGroup(QAction* theWrappedObject, QActionGroup* group) -{ - ( theWrappedObject->setActionGroup(group)); -} - -QFont PythonQtWrapper_QAction::font(QAction* theWrappedObject) const -{ - return ( theWrappedObject->font()); -} - -void PythonQtWrapper_QAction::setToolTip(QAction* theWrappedObject, const QString& tip) -{ - ( theWrappedObject->setToolTip(tip)); -} - -void PythonQtWrapper_QAction::setShortcut(QAction* theWrappedObject, const QKeySequence& shortcut) -{ - ( theWrappedObject->setShortcut(shortcut)); -} - -void PythonQtWrapper_QAction::activate(QAction* theWrappedObject, QAction::ActionEvent event) -{ - ( theWrappedObject->activate(event)); -} - -QAction::MenuRole PythonQtWrapper_QAction::menuRole(QAction* theWrappedObject) const -{ - return ( theWrappedObject->menuRole()); -} - -bool PythonQtWrapper_QAction::event(QAction* theWrappedObject, QEvent* arg__1) -{ - return ( ((PythonQtPublicPromoter_QAction*)theWrappedObject)->promoted_event(arg__1)); -} - -Qt::ShortcutContext PythonQtWrapper_QAction::shortcutContext(QAction* theWrappedObject) const -{ - return ( theWrappedObject->shortcutContext()); -} - -void PythonQtWrapper_QAction::setMenu(QAction* theWrappedObject, QMenu* menu) -{ - ( theWrappedObject->setMenu(menu)); -} - -QString PythonQtWrapper_QAction::toolTip(QAction* theWrappedObject) const -{ - return ( theWrappedObject->toolTip()); -} - -QKeySequence PythonQtWrapper_QAction::shortcut(QAction* theWrappedObject) const -{ - return ( theWrappedObject->shortcut()); -} - -bool PythonQtWrapper_QAction::isCheckable(QAction* theWrappedObject) const -{ - return ( theWrappedObject->isCheckable()); -} - -QString PythonQtWrapper_QAction::text(QAction* theWrappedObject) const -{ - return ( theWrappedObject->text()); -} - -QList PythonQtWrapper_QAction::associatedWidgets(QAction* theWrappedObject) const -{ - return ( theWrappedObject->associatedWidgets()); -} - -void PythonQtWrapper_QAction::setIcon(QAction* theWrappedObject, const QIcon& icon) -{ - ( theWrappedObject->setIcon(icon)); -} - -QMenu* PythonQtWrapper_QAction::menu(QAction* theWrappedObject) const -{ - return ( theWrappedObject->menu()); -} - -void PythonQtWrapper_QAction::setCheckable(QAction* theWrappedObject, bool arg__1) -{ - ( theWrappedObject->setCheckable(arg__1)); -} - -bool PythonQtWrapper_QAction::isIconVisibleInMenu(QAction* theWrappedObject) const -{ - return ( theWrappedObject->isIconVisibleInMenu()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAction.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAction.h deleted file mode 100644 index ec52f5c..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QAction.h +++ /dev/null @@ -1,101 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QACTION_H -#define PYTHONQTWRAPPER_QACTION_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QAction : public QAction -{ -public: - PythonQtShell_QAction(QObject* parent):QAction(parent),_wrapper(NULL) {}; - PythonQtShell_QAction(const QIcon& icon, const QString& text, QObject* parent):QAction(icon, text, parent),_wrapper(NULL) {}; - PythonQtShell_QAction(const QString& text, QObject* parent):QAction(text, parent),_wrapper(NULL) {}; - -virtual void childEvent(QChildEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QAction : public QAction -{ public: -inline bool promoted_event(QEvent* arg__1) { return QAction::event(arg__1); } -}; - -class PythonQtWrapper_QAction : public QObject -{ Q_OBJECT -public: -Q_ENUMS(ActionEvent ) -enum ActionEvent{ - Trigger = QAction::Trigger, Hover = QAction::Hover}; -public slots: -QAction* new_QAction(QObject* parent); -QAction* new_QAction(const QIcon& icon, const QString& text, QObject* parent); -QAction* new_QAction(const QString& text, QObject* parent); -void delete_QAction(QAction* obj) { delete obj; } - void setData(QAction* theWrappedObject, const QVariant& var); - QIcon icon(QAction* theWrappedObject) const; - void setShortcuts(QAction* theWrappedObject, const QList& shortcuts); - QString whatsThis(QAction* theWrappedObject) const; - void setIconText(QAction* theWrappedObject, const QString& text); - bool isVisible(QAction* theWrappedObject) const; - void setSeparator(QAction* theWrappedObject, bool b); - bool isEnabled(QAction* theWrappedObject) const; - void setText(QAction* theWrappedObject, const QString& text); - QList shortcuts(QAction* theWrappedObject) const; - QWidget* parentWidget(QAction* theWrappedObject) const; - void setWhatsThis(QAction* theWrappedObject, const QString& what); - void setIconVisibleInMenu(QAction* theWrappedObject, bool visible); - QActionGroup* actionGroup(QAction* theWrappedObject) const; - void setMenuRole(QAction* theWrappedObject, QAction::MenuRole menuRole); - QString statusTip(QAction* theWrappedObject) const; - void setShortcutContext(QAction* theWrappedObject, Qt::ShortcutContext context); - QString iconText(QAction* theWrappedObject) const; - void setAutoRepeat(QAction* theWrappedObject, bool arg__1); - bool isChecked(QAction* theWrappedObject) const; - void setStatusTip(QAction* theWrappedObject, const QString& statusTip); - bool showStatusText(QAction* theWrappedObject, QWidget* widget = 0); - QVariant data(QAction* theWrappedObject) const; - void setFont(QAction* theWrappedObject, const QFont& font); - void setShortcuts(QAction* theWrappedObject, QKeySequence::StandardKey arg__1); - bool isSeparator(QAction* theWrappedObject) const; - bool autoRepeat(QAction* theWrappedObject) const; - void setActionGroup(QAction* theWrappedObject, QActionGroup* group); - QFont font(QAction* theWrappedObject) const; - void setToolTip(QAction* theWrappedObject, const QString& tip); - void setShortcut(QAction* theWrappedObject, const QKeySequence& shortcut); - void activate(QAction* theWrappedObject, QAction::ActionEvent event); - QAction::MenuRole menuRole(QAction* theWrappedObject) const; - bool event(QAction* theWrappedObject, QEvent* arg__1); - Qt::ShortcutContext shortcutContext(QAction* theWrappedObject) const; - void setMenu(QAction* theWrappedObject, QMenu* menu); - QString toolTip(QAction* theWrappedObject) const; - QKeySequence shortcut(QAction* theWrappedObject) const; - bool isCheckable(QAction* theWrappedObject) const; - QString text(QAction* theWrappedObject) const; - QList associatedWidgets(QAction* theWrappedObject) const; - void setIcon(QAction* theWrappedObject, const QIcon& icon); - QMenu* menu(QAction* theWrappedObject) const; - void setCheckable(QAction* theWrappedObject, bool arg__1); - bool isIconVisibleInMenu(QAction* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QACTION_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QActionEvent.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QActionEvent.cpp deleted file mode 100644 index 66f8cc7..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QActionEvent.cpp +++ /dev/null @@ -1,22 +0,0 @@ -#include "PythonQtWrapper_QActionEvent.h" - -#include -#include -#include -#include -#include - -QActionEvent* PythonQtWrapper_QActionEvent::new_QActionEvent(int type, QAction* action, QAction* before) -{ -return new QActionEvent(type, action, before); } - -QAction* PythonQtWrapper_QActionEvent::action(QActionEvent* theWrappedObject) const -{ - return ( theWrappedObject->action()); -} - -QAction* PythonQtWrapper_QActionEvent::before(QActionEvent* theWrappedObject) const -{ - return ( theWrappedObject->before()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QActionEvent.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QActionEvent.h deleted file mode 100644 index d0585e1..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QActionEvent.h +++ /dev/null @@ -1,22 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QACTIONEVENT_H -#define PYTHONQTWRAPPER_QACTIONEVENT_H - -#include -#include - -#include - -#include -#include - -class PythonQtWrapper_QActionEvent : public QObject -{ Q_OBJECT -public: -public slots: -QActionEvent* new_QActionEvent(int type, QAction* action, QAction* before = 0); -void delete_QActionEvent(QActionEvent* obj) { delete obj; } - QAction* action(QActionEvent* theWrappedObject) const; - QAction* before(QActionEvent* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QACTIONEVENT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QActionGroup.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QActionGroup.cpp deleted file mode 100644 index cfefd81..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QActionGroup.cpp +++ /dev/null @@ -1,170 +0,0 @@ -#include "PythonQtWrapper_QActionGroup.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QActionGroup::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; - } -} - QActionGroup::childEvent(arg__1); -} -void PythonQtShell_QActionGroup::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; - } -} - QActionGroup::customEvent(arg__1); -} -bool PythonQtShell_QActionGroup::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QActionGroup::event(arg__1); -} -bool PythonQtShell_QActionGroup::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QActionGroup::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QActionGroup::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; - } -} - QActionGroup::timerEvent(arg__1); -} -QActionGroup* PythonQtWrapper_QActionGroup::new_QActionGroup(QObject* parent) -{ -return new PythonQtShell_QActionGroup(parent); } - -QAction* PythonQtWrapper_QActionGroup::checkedAction(QActionGroup* theWrappedObject) const -{ - return ( theWrappedObject->checkedAction()); -} - -QAction* PythonQtWrapper_QActionGroup::addAction(QActionGroup* theWrappedObject, QAction* a) -{ - return ( theWrappedObject->addAction(a)); -} - -QAction* PythonQtWrapper_QActionGroup::addAction(QActionGroup* theWrappedObject, const QString& text) -{ - return ( theWrappedObject->addAction(text)); -} - -bool PythonQtWrapper_QActionGroup::isEnabled(QActionGroup* theWrappedObject) const -{ - return ( theWrappedObject->isEnabled()); -} - -bool PythonQtWrapper_QActionGroup::isExclusive(QActionGroup* theWrappedObject) const -{ - return ( theWrappedObject->isExclusive()); -} - -bool PythonQtWrapper_QActionGroup::isVisible(QActionGroup* theWrappedObject) const -{ - return ( theWrappedObject->isVisible()); -} - -QList PythonQtWrapper_QActionGroup::actions(QActionGroup* theWrappedObject) const -{ - return ( theWrappedObject->actions()); -} - -QAction* PythonQtWrapper_QActionGroup::addAction(QActionGroup* theWrappedObject, const QIcon& icon, const QString& text) -{ - return ( theWrappedObject->addAction(icon, text)); -} - -void PythonQtWrapper_QActionGroup::removeAction(QActionGroup* theWrappedObject, QAction* a) -{ - ( theWrappedObject->removeAction(a)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QActionGroup.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QActionGroup.h deleted file mode 100644 index 04138d9..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QActionGroup.h +++ /dev/null @@ -1,49 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QACTIONGROUP_H -#define PYTHONQTWRAPPER_QACTIONGROUP_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QActionGroup : public QActionGroup -{ -public: - PythonQtShell_QActionGroup(QObject* parent):QActionGroup(parent),_wrapper(NULL) {}; - -virtual void childEvent(QChildEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QActionGroup : public QObject -{ Q_OBJECT -public: -public slots: -QActionGroup* new_QActionGroup(QObject* parent); -void delete_QActionGroup(QActionGroup* obj) { delete obj; } - QAction* checkedAction(QActionGroup* theWrappedObject) const; - QAction* addAction(QActionGroup* theWrappedObject, QAction* a); - QAction* addAction(QActionGroup* theWrappedObject, const QString& text); - bool isEnabled(QActionGroup* theWrappedObject) const; - bool isExclusive(QActionGroup* theWrappedObject) const; - bool isVisible(QActionGroup* theWrappedObject) const; - QList actions(QActionGroup* theWrappedObject) const; - QAction* addAction(QActionGroup* theWrappedObject, const QIcon& icon, const QString& text); - void removeAction(QActionGroup* theWrappedObject, QAction* a); -}; - -#endif // PYTHONQTWRAPPER_QACTIONGROUP_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QApplication.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QApplication.cpp deleted file mode 100644 index a637a24..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QApplication.cpp +++ /dev/null @@ -1,558 +0,0 @@ -#include "PythonQtWrapper_QApplication.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QApplication::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; - } -} - QApplication::childEvent(arg__1); -} -void PythonQtShell_QApplication::commitData(QSessionManager& sm) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "commitData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QSessionManager&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&sm}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QApplication::commitData(sm); -} -void PythonQtShell_QApplication::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; - } -} - QApplication::customEvent(arg__1); -} -bool PythonQtShell_QApplication::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QApplication::event(arg__1); -} -bool PythonQtShell_QApplication::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QApplication::eventFilter(arg__1, arg__2); -} -bool PythonQtShell_QApplication::notify(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "notify"); - 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("notify", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QApplication::notify(arg__1, arg__2); -} -void PythonQtShell_QApplication::saveState(QSessionManager& sm) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "saveState"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QSessionManager&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&sm}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QApplication::saveState(sm); -} -void PythonQtShell_QApplication::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; - } -} - QApplication::timerEvent(arg__1); -} -int PythonQtWrapper_QApplication::static_QApplication_wheelScrollLines() -{ - return (QApplication::wheelScrollLines()); -} - -Qt::LayoutDirection PythonQtWrapper_QApplication::static_QApplication_layoutDirection() -{ - return (QApplication::layoutDirection()); -} - -QWidget* PythonQtWrapper_QApplication::static_QApplication_focusWidget() -{ - return (QApplication::focusWidget()); -} - -void PythonQtWrapper_QApplication::static_QApplication_setGlobalStrut(const QSize& arg__1) -{ - (QApplication::setGlobalStrut(arg__1)); -} - -bool PythonQtWrapper_QApplication::isSessionRestored(QApplication* theWrappedObject) const -{ - return ( theWrappedObject->isSessionRestored()); -} - -QLocale PythonQtWrapper_QApplication::static_QApplication_keyboardInputLocale() -{ - return (QApplication::keyboardInputLocale()); -} - -void PythonQtWrapper_QApplication::static_QApplication_setDoubleClickInterval(int arg__1) -{ - (QApplication::setDoubleClickInterval(arg__1)); -} - -QWidget* PythonQtWrapper_QApplication::static_QApplication_widgetAt(int x, int y) -{ - return (QApplication::widgetAt(x, y)); -} - -bool PythonQtWrapper_QApplication::static_QApplication_quitOnLastWindowClosed() -{ - return (QApplication::quitOnLastWindowClosed()); -} - -void PythonQtWrapper_QApplication::static_QApplication_setLayoutDirection(Qt::LayoutDirection direction) -{ - (QApplication::setLayoutDirection(direction)); -} - -QString PythonQtWrapper_QApplication::styleSheet(QApplication* theWrappedObject) const -{ - return ( theWrappedObject->styleSheet()); -} - -QCursor* PythonQtWrapper_QApplication::static_QApplication_overrideCursor() -{ - return (QApplication::overrideCursor()); -} - -Qt::KeyboardModifiers PythonQtWrapper_QApplication::static_QApplication_keyboardModifiers() -{ - return (QApplication::keyboardModifiers()); -} - -QString PythonQtWrapper_QApplication::sessionId(QApplication* theWrappedObject) const -{ - return ( theWrappedObject->sessionId()); -} - -QWidget* PythonQtWrapper_QApplication::static_QApplication_topLevelAt(const QPoint& p) -{ - return (QApplication::topLevelAt(p)); -} - -void PythonQtWrapper_QApplication::static_QApplication_setQuitOnLastWindowClosed(bool quit) -{ - (QApplication::setQuitOnLastWindowClosed(quit)); -} - -Qt::MouseButtons PythonQtWrapper_QApplication::static_QApplication_mouseButtons() -{ - return (QApplication::mouseButtons()); -} - -QWidget* PythonQtWrapper_QApplication::static_QApplication_activePopupWidget() -{ - return (QApplication::activePopupWidget()); -} - -Qt::LayoutDirection PythonQtWrapper_QApplication::static_QApplication_keyboardInputDirection() -{ - return (QApplication::keyboardInputDirection()); -} - -bool PythonQtWrapper_QApplication::event(QApplication* theWrappedObject, QEvent* arg__1) -{ - return ( ((PythonQtPublicPromoter_QApplication*)theWrappedObject)->promoted_event(arg__1)); -} - -void PythonQtWrapper_QApplication::setInputContext(QApplication* theWrappedObject, QInputContext* arg__1) -{ - ( theWrappedObject->setInputContext(arg__1)); -} - -QFont PythonQtWrapper_QApplication::static_QApplication_font() -{ - return (QApplication::font()); -} - -bool PythonQtWrapper_QApplication::static_QApplication_isEffectEnabled(Qt::UIEffect arg__1) -{ - return (QApplication::isEffectEnabled(arg__1)); -} - -QDesktopWidget* PythonQtWrapper_QApplication::static_QApplication_desktop() -{ - return (QApplication::desktop()); -} - -int PythonQtWrapper_QApplication::static_QApplication_exec() -{ - return (QApplication::exec()); -} - -void PythonQtWrapper_QApplication::static_QApplication_setOverrideCursor(const QCursor& arg__1) -{ - (QApplication::setOverrideCursor(arg__1)); -} - -void PythonQtWrapper_QApplication::static_QApplication_setStyle(QStyle* arg__1) -{ - (QApplication::setStyle(arg__1)); -} - -void PythonQtWrapper_QApplication::static_QApplication_setStartDragDistance(int l) -{ - (QApplication::setStartDragDistance(l)); -} - -QWidget* PythonQtWrapper_QApplication::static_QApplication_activeModalWidget() -{ - return (QApplication::activeModalWidget()); -} - -bool PythonQtWrapper_QApplication::static_QApplication_isRightToLeft() -{ - return (QApplication::isRightToLeft()); -} - -QList PythonQtWrapper_QApplication::static_QApplication_topLevelWidgets() -{ - return (QApplication::topLevelWidgets()); -} - -int PythonQtWrapper_QApplication::static_QApplication_cursorFlashTime() -{ - return (QApplication::cursorFlashTime()); -} - -int PythonQtWrapper_QApplication::static_QApplication_keyboardInputInterval() -{ - return (QApplication::keyboardInputInterval()); -} - -QClipboard* PythonQtWrapper_QApplication::static_QApplication_clipboard() -{ - return (QApplication::clipboard()); -} - -QPalette PythonQtWrapper_QApplication::static_QApplication_palette(const QWidget* arg__1) -{ - return (QApplication::palette(arg__1)); -} - -void PythonQtWrapper_QApplication::static_QApplication_setWheelScrollLines(int arg__1) -{ - (QApplication::setWheelScrollLines(arg__1)); -} - -void PythonQtWrapper_QApplication::static_QApplication_restoreOverrideCursor() -{ - (QApplication::restoreOverrideCursor()); -} - -int PythonQtWrapper_QApplication::static_QApplication_doubleClickInterval() -{ - return (QApplication::doubleClickInterval()); -} - -bool PythonQtWrapper_QApplication::notify(QApplication* theWrappedObject, QObject* arg__1, QEvent* arg__2) -{ - return ( ((PythonQtPublicPromoter_QApplication*)theWrappedObject)->promoted_notify(arg__1, arg__2)); -} - -QApplication::Type PythonQtWrapper_QApplication::static_QApplication_type() -{ - return (QApplication::type()); -} - -int PythonQtWrapper_QApplication::static_QApplication_startDragDistance() -{ - return (QApplication::startDragDistance()); -} - -void PythonQtWrapper_QApplication::static_QApplication_setActiveWindow(QWidget* act) -{ - (QApplication::setActiveWindow(act)); -} - -QSize PythonQtWrapper_QApplication::static_QApplication_globalStrut() -{ - return (QApplication::globalStrut()); -} - -QString PythonQtWrapper_QApplication::sessionKey(QApplication* theWrappedObject) const -{ - return ( theWrappedObject->sessionKey()); -} - -void PythonQtWrapper_QApplication::static_QApplication_syncX() -{ - (QApplication::syncX()); -} - -void PythonQtWrapper_QApplication::static_QApplication_alert(QWidget* widget, int duration) -{ - (QApplication::alert(widget, duration)); -} - -void PythonQtWrapper_QApplication::static_QApplication_setColorSpec(int arg__1) -{ - (QApplication::setColorSpec(arg__1)); -} - -QFont PythonQtWrapper_QApplication::static_QApplication_font(const QWidget* arg__1) -{ - return (QApplication::font(arg__1)); -} - -void PythonQtWrapper_QApplication::static_QApplication_setWindowIcon(const QIcon& icon) -{ - (QApplication::setWindowIcon(icon)); -} - -void PythonQtWrapper_QApplication::static_QApplication_setFont(const QFont& arg__1, const char* className) -{ - (QApplication::setFont(arg__1, className)); -} - -QStyle* PythonQtWrapper_QApplication::static_QApplication_style() -{ - return (QApplication::style()); -} - -QInputContext* PythonQtWrapper_QApplication::inputContext(QApplication* theWrappedObject) const -{ - return ( theWrappedObject->inputContext()); -} - -bool PythonQtWrapper_QApplication::static_QApplication_desktopSettingsAware() -{ - return (QApplication::desktopSettingsAware()); -} - -int PythonQtWrapper_QApplication::static_QApplication_startDragTime() -{ - return (QApplication::startDragTime()); -} - -void PythonQtWrapper_QApplication::static_QApplication_setStartDragTime(int ms) -{ - (QApplication::setStartDragTime(ms)); -} - -QWidget* PythonQtWrapper_QApplication::static_QApplication_topLevelAt(int x, int y) -{ - return (QApplication::topLevelAt(x, y)); -} - -QPalette PythonQtWrapper_QApplication::static_QApplication_palette() -{ - return (QApplication::palette()); -} - -void PythonQtWrapper_QApplication::static_QApplication_setEffectEnabled(Qt::UIEffect arg__1, bool enable) -{ - (QApplication::setEffectEnabled(arg__1, enable)); -} - -void PythonQtWrapper_QApplication::static_QApplication_setKeyboardInputInterval(int arg__1) -{ - (QApplication::setKeyboardInputInterval(arg__1)); -} - -QIcon PythonQtWrapper_QApplication::static_QApplication_windowIcon() -{ - return (QApplication::windowIcon()); -} - -void PythonQtWrapper_QApplication::static_QApplication_setDesktopSettingsAware(bool arg__1) -{ - (QApplication::setDesktopSettingsAware(arg__1)); -} - -QList PythonQtWrapper_QApplication::static_QApplication_allWidgets() -{ - return (QApplication::allWidgets()); -} - -int PythonQtWrapper_QApplication::static_QApplication_colorSpec() -{ - return (QApplication::colorSpec()); -} - -void PythonQtWrapper_QApplication::static_QApplication_changeOverrideCursor(const QCursor& arg__1) -{ - (QApplication::changeOverrideCursor(arg__1)); -} - -void PythonQtWrapper_QApplication::static_QApplication_setPalette(const QPalette& arg__1, const char* className) -{ - (QApplication::setPalette(arg__1, className)); -} - -void PythonQtWrapper_QApplication::static_QApplication_beep() -{ - (QApplication::beep()); -} - -QWidget* PythonQtWrapper_QApplication::static_QApplication_activeWindow() -{ - return (QApplication::activeWindow()); -} - -QWidget* PythonQtWrapper_QApplication::static_QApplication_widgetAt(const QPoint& p) -{ - return (QApplication::widgetAt(p)); -} - -void PythonQtWrapper_QApplication::static_QApplication_setCursorFlashTime(int arg__1) -{ - (QApplication::setCursorFlashTime(arg__1)); -} - -bool PythonQtWrapper_QApplication::static_QApplication_isLeftToRight() -{ - return (QApplication::isLeftToRight()); -} - -QStyle* PythonQtWrapper_QApplication::static_QApplication_setStyle(const QString& arg__1) -{ - return (QApplication::setStyle(arg__1)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QApplication.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QApplication.h deleted file mode 100644 index a15f041..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QApplication.h +++ /dev/null @@ -1,143 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QAPPLICATION_H -#define PYTHONQTWRAPPER_QAPPLICATION_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QApplication : public QApplication -{ -public: - -virtual void childEvent(QChildEvent* arg__1); -virtual void commitData(QSessionManager& sm); -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual bool notify(QObject* arg__1, QEvent* arg__2); -virtual void saveState(QSessionManager& sm); -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QApplication : public QApplication -{ public: -inline bool promoted_event(QEvent* arg__1) { return QApplication::event(arg__1); } -inline bool promoted_notify(QObject* arg__1, QEvent* arg__2) { return QApplication::notify(arg__1, arg__2); } -}; - -class PythonQtWrapper_QApplication : public QObject -{ Q_OBJECT -public: -Q_ENUMS(Type ColorSpec ) -enum Type{ - Tty = QApplication::Tty, GuiClient = QApplication::GuiClient, GuiServer = QApplication::GuiServer}; -enum ColorSpec{ - NormalColor = QApplication::NormalColor, CustomColor = QApplication::CustomColor, ManyColor = QApplication::ManyColor}; -public slots: -void delete_QApplication(QApplication* obj) { delete obj; } - int static_QApplication_wheelScrollLines(); - Qt::LayoutDirection static_QApplication_layoutDirection(); - QWidget* static_QApplication_focusWidget(); - void static_QApplication_setGlobalStrut(const QSize& arg__1); - bool isSessionRestored(QApplication* theWrappedObject) const; - QLocale static_QApplication_keyboardInputLocale(); - void static_QApplication_setDoubleClickInterval(int arg__1); - QWidget* static_QApplication_widgetAt(int x, int y); - bool static_QApplication_quitOnLastWindowClosed(); - void static_QApplication_setLayoutDirection(Qt::LayoutDirection direction); - QString styleSheet(QApplication* theWrappedObject) const; - QCursor* static_QApplication_overrideCursor(); - Qt::KeyboardModifiers static_QApplication_keyboardModifiers(); - QString sessionId(QApplication* theWrappedObject) const; - QWidget* static_QApplication_topLevelAt(const QPoint& p); - void static_QApplication_setQuitOnLastWindowClosed(bool quit); - Qt::MouseButtons static_QApplication_mouseButtons(); - QWidget* static_QApplication_activePopupWidget(); - Qt::LayoutDirection static_QApplication_keyboardInputDirection(); - bool event(QApplication* theWrappedObject, QEvent* arg__1); - void setInputContext(QApplication* theWrappedObject, QInputContext* arg__1); - QFont static_QApplication_font(); - bool static_QApplication_isEffectEnabled(Qt::UIEffect arg__1); - QDesktopWidget* static_QApplication_desktop(); - int static_QApplication_exec(); - void static_QApplication_setOverrideCursor(const QCursor& arg__1); - void static_QApplication_setStyle(QStyle* arg__1); - void static_QApplication_setStartDragDistance(int l); - QWidget* static_QApplication_activeModalWidget(); - bool static_QApplication_isRightToLeft(); - QList static_QApplication_topLevelWidgets(); - int static_QApplication_cursorFlashTime(); - int static_QApplication_keyboardInputInterval(); - QClipboard* static_QApplication_clipboard(); - QPalette static_QApplication_palette(const QWidget* arg__1); - void static_QApplication_setWheelScrollLines(int arg__1); - void static_QApplication_restoreOverrideCursor(); - int static_QApplication_doubleClickInterval(); - bool notify(QApplication* theWrappedObject, QObject* arg__1, QEvent* arg__2); - QApplication::Type static_QApplication_type(); - int static_QApplication_startDragDistance(); - void static_QApplication_setActiveWindow(QWidget* act); - QSize static_QApplication_globalStrut(); - QString sessionKey(QApplication* theWrappedObject) const; - void static_QApplication_syncX(); - void static_QApplication_alert(QWidget* widget, int duration = 0); - void static_QApplication_setColorSpec(int arg__1); - QFont static_QApplication_font(const QWidget* arg__1); - void static_QApplication_setWindowIcon(const QIcon& icon); - void static_QApplication_setFont(const QFont& arg__1, const char* className = 0); - QStyle* static_QApplication_style(); - QInputContext* inputContext(QApplication* theWrappedObject) const; - bool static_QApplication_desktopSettingsAware(); - int static_QApplication_startDragTime(); - void static_QApplication_setStartDragTime(int ms); - QWidget* static_QApplication_topLevelAt(int x, int y); - QPalette static_QApplication_palette(); - void static_QApplication_setEffectEnabled(Qt::UIEffect arg__1, bool enable = true); - void static_QApplication_setKeyboardInputInterval(int arg__1); - QIcon static_QApplication_windowIcon(); - void static_QApplication_setDesktopSettingsAware(bool arg__1); - QList static_QApplication_allWidgets(); - int static_QApplication_colorSpec(); - void static_QApplication_changeOverrideCursor(const QCursor& arg__1); - void static_QApplication_setPalette(const QPalette& arg__1, const char* className = 0); - void static_QApplication_beep(); - QWidget* static_QApplication_activeWindow(); - QWidget* static_QApplication_widgetAt(const QPoint& p); - void static_QApplication_setCursorFlashTime(int arg__1); - bool static_QApplication_isLeftToRight(); - QStyle* static_QApplication_setStyle(const QString& arg__1); -}; - -#endif // PYTHONQTWRAPPER_QAPPLICATION_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QBitmap.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QBitmap.cpp deleted file mode 100644 index 78e5d5f..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QBitmap.cpp +++ /dev/null @@ -1,145 +0,0 @@ -#include "PythonQtWrapper_QBitmap.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -int PythonQtShell_QBitmap::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QBitmap::devType(); -} -int PythonQtShell_QBitmap::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QBitmap::metric(arg__1); -} -QPaintEngine* PythonQtShell_QBitmap::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QBitmap::paintEngine(); -} -QBitmap* PythonQtWrapper_QBitmap::new_QBitmap() -{ -return new PythonQtShell_QBitmap(); } - -QBitmap* PythonQtWrapper_QBitmap::new_QBitmap(const QPixmap& arg__1) -{ -return new PythonQtShell_QBitmap(arg__1); } - -QBitmap* PythonQtWrapper_QBitmap::new_QBitmap(const QSize& arg__1) -{ -return new PythonQtShell_QBitmap(arg__1); } - -QBitmap* PythonQtWrapper_QBitmap::new_QBitmap(const QString& fileName, const char* format) -{ -return new PythonQtShell_QBitmap(fileName, format); } - -QBitmap* PythonQtWrapper_QBitmap::new_QBitmap(int w, int h) -{ -return new PythonQtShell_QBitmap(w, h); } - -void PythonQtWrapper_QBitmap::clear(QBitmap* theWrappedObject) -{ - ( theWrappedObject->clear()); -} - -QBitmap PythonQtWrapper_QBitmap::transformed(QBitmap* theWrappedObject, const QMatrix& arg__1) const -{ - return ( theWrappedObject->transformed(arg__1)); -} - -QBitmap PythonQtWrapper_QBitmap::static_QBitmap_fromImage(const QImage& image, Qt::ImageConversionFlags flags) -{ - return (QBitmap::fromImage(image, flags)); -} - -QBitmap PythonQtWrapper_QBitmap::transformed(QBitmap* theWrappedObject, const QTransform& matrix) const -{ - return ( theWrappedObject->transformed(matrix)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QBitmap.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QBitmap.h deleted file mode 100644 index 5f7b9a3..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QBitmap.h +++ /dev/null @@ -1,61 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QBITMAP_H -#define PYTHONQTWRAPPER_QBITMAP_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QBitmap : public QBitmap -{ -public: - PythonQtShell_QBitmap():QBitmap(),_wrapper(NULL) {}; - PythonQtShell_QBitmap(const QPixmap& arg__1):QBitmap(arg__1),_wrapper(NULL) {}; - PythonQtShell_QBitmap(const QSize& arg__1):QBitmap(arg__1),_wrapper(NULL) {}; - PythonQtShell_QBitmap(const QString& fileName, const char* format = 0):QBitmap(fileName, format),_wrapper(NULL) {}; - PythonQtShell_QBitmap(int w, int h):QBitmap(w, h),_wrapper(NULL) {}; - -virtual int devType() const; -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QPaintEngine* paintEngine() const; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QBitmap : public QObject -{ Q_OBJECT -public: -public slots: -QBitmap* new_QBitmap(); -QBitmap* new_QBitmap(const QPixmap& arg__1); -QBitmap* new_QBitmap(const QSize& arg__1); -QBitmap* new_QBitmap(const QString& fileName, const char* format = 0); -QBitmap* new_QBitmap(int w, int h); -QBitmap* new_QBitmap(const QBitmap& other) { -PythonQtShell_QBitmap* a = new PythonQtShell_QBitmap(); -*((QBitmap*)a) = other; -return a; } -void delete_QBitmap(QBitmap* obj) { delete obj; } - void clear(QBitmap* theWrappedObject); - QBitmap transformed(QBitmap* theWrappedObject, const QMatrix& arg__1) const; - QBitmap static_QBitmap_fromImage(const QImage& image, Qt::ImageConversionFlags flags = Qt::AutoColor); - QBitmap transformed(QBitmap* theWrappedObject, const QTransform& matrix) const; -}; - -#endif // PYTHONQTWRAPPER_QBITMAP_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QBoxLayout.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QBoxLayout.cpp deleted file mode 100644 index fcec873..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QBoxLayout.cpp +++ /dev/null @@ -1,609 +0,0 @@ -#include "PythonQtWrapper_QBoxLayout.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QBoxLayout::addItem(QLayoutItem* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "addItem"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QLayoutItem*"}; - 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; - } -} - QBoxLayout::addItem(arg__1); -} -void PythonQtShell_QBoxLayout::childEvent(QChildEvent* e) -{ -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*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QBoxLayout::childEvent(e); -} -int PythonQtShell_QBoxLayout::count() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "count"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QBoxLayout::count(); -} -void PythonQtShell_QBoxLayout::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; - } -} - QBoxLayout::customEvent(arg__1); -} -bool PythonQtShell_QBoxLayout::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QBoxLayout::event(arg__1); -} -bool PythonQtShell_QBoxLayout::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QBoxLayout::eventFilter(arg__1, arg__2); -} -Qt::Orientations PythonQtShell_QBoxLayout::expandingDirections() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "expandingDirections"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"Qt::Orientations"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::Orientations returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); - } else { - returnValue = *((Qt::Orientations*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QBoxLayout::expandingDirections(); -} -QRect PythonQtShell_QBoxLayout::geometry() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "geometry"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QRect"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRect returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QBoxLayout::geometry(); -} -int PythonQtShell_QBoxLayout::indexOf(QWidget* arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "indexOf"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("indexOf", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QBoxLayout::indexOf(arg__1); -} -void PythonQtShell_QBoxLayout::invalidate() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "invalidate"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QBoxLayout::invalidate(); -} -bool PythonQtShell_QBoxLayout::isEmpty() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isEmpty"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QBoxLayout::isEmpty(); -} -QLayoutItem* PythonQtShell_QBoxLayout::itemAt(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemAt"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QLayoutItem*" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QLayoutItem* 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("itemAt", methodInfo, result); - } else { - returnValue = *((QLayoutItem**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QBoxLayout::itemAt(arg__1); -} -QLayout* PythonQtShell_QBoxLayout::layout() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "layout"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QLayout*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QLayout* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("layout", methodInfo, result); - } else { - returnValue = *((QLayout**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QBoxLayout::layout(); -} -QSize PythonQtShell_QBoxLayout::maximumSize() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "maximumSize"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QBoxLayout::maximumSize(); -} -QSize PythonQtShell_QBoxLayout::minimumSize() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "minimumSize"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QBoxLayout::minimumSize(); -} -void PythonQtShell_QBoxLayout::setGeometry(const QRect& arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setGeometry"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QRect&"}; - 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; - } -} - QBoxLayout::setGeometry(arg__1); -} -QLayoutItem* PythonQtShell_QBoxLayout::takeAt(int arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "takeAt"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QLayoutItem*" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QLayoutItem* 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("takeAt", methodInfo, result); - } else { - returnValue = *((QLayoutItem**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QBoxLayout::takeAt(arg__1); -} -void PythonQtShell_QBoxLayout::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; - } -} - QBoxLayout::timerEvent(arg__1); -} -QBoxLayout* PythonQtWrapper_QBoxLayout::new_QBoxLayout(QBoxLayout::Direction arg__1, QWidget* parent) -{ -return new PythonQtShell_QBoxLayout(arg__1, parent); } - -void PythonQtWrapper_QBoxLayout::addStretch(QBoxLayout* theWrappedObject, int stretch) -{ - ( theWrappedObject->addStretch(stretch)); -} - -QLayoutItem* PythonQtWrapper_QBoxLayout::takeAt(QBoxLayout* theWrappedObject, int arg__1) -{ - return ( ((PythonQtPublicPromoter_QBoxLayout*)theWrappedObject)->promoted_takeAt(arg__1)); -} - -void PythonQtWrapper_QBoxLayout::addSpacerItem(QBoxLayout* theWrappedObject, QSpacerItem* spacerItem) -{ - ( theWrappedObject->addSpacerItem(spacerItem)); -} - -void PythonQtWrapper_QBoxLayout::addStrut(QBoxLayout* theWrappedObject, int arg__1) -{ - ( theWrappedObject->addStrut(arg__1)); -} - -void PythonQtWrapper_QBoxLayout::insertSpacing(QBoxLayout* theWrappedObject, int index, int size) -{ - ( theWrappedObject->insertSpacing(index, size)); -} - -void PythonQtWrapper_QBoxLayout::setDirection(QBoxLayout* theWrappedObject, QBoxLayout::Direction arg__1) -{ - ( theWrappedObject->setDirection(arg__1)); -} - -void PythonQtWrapper_QBoxLayout::insertStretch(QBoxLayout* theWrappedObject, int index, int stretch) -{ - ( theWrappedObject->insertStretch(index, stretch)); -} - -int PythonQtWrapper_QBoxLayout::spacing(QBoxLayout* theWrappedObject) const -{ - return ( theWrappedObject->spacing()); -} - -int PythonQtWrapper_QBoxLayout::count(QBoxLayout* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QBoxLayout*)theWrappedObject)->promoted_count()); -} - -int PythonQtWrapper_QBoxLayout::heightForWidth(QBoxLayout* theWrappedObject, int arg__1) const -{ - return ( theWrappedObject->heightForWidth(arg__1)); -} - -QBoxLayout::Direction PythonQtWrapper_QBoxLayout::direction(QBoxLayout* theWrappedObject) const -{ - return ( theWrappedObject->direction()); -} - -int PythonQtWrapper_QBoxLayout::minimumHeightForWidth(QBoxLayout* theWrappedObject, int arg__1) const -{ - return ( theWrappedObject->minimumHeightForWidth(arg__1)); -} - -void PythonQtWrapper_QBoxLayout::addItem(QBoxLayout* theWrappedObject, QLayoutItem* arg__1) -{ - ( ((PythonQtPublicPromoter_QBoxLayout*)theWrappedObject)->promoted_addItem(arg__1)); -} - -QSize PythonQtWrapper_QBoxLayout::minimumSize(QBoxLayout* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QBoxLayout*)theWrappedObject)->promoted_minimumSize()); -} - -bool PythonQtWrapper_QBoxLayout::setStretchFactor(QBoxLayout* theWrappedObject, QLayout* l, int stretch) -{ - return ( theWrappedObject->setStretchFactor(l, stretch)); -} - -void PythonQtWrapper_QBoxLayout::insertSpacerItem(QBoxLayout* theWrappedObject, int index, QSpacerItem* spacerItem) -{ - ( theWrappedObject->insertSpacerItem(index, spacerItem)); -} - -QLayoutItem* PythonQtWrapper_QBoxLayout::itemAt(QBoxLayout* theWrappedObject, int arg__1) const -{ - return ( ((PythonQtPublicPromoter_QBoxLayout*)theWrappedObject)->promoted_itemAt(arg__1)); -} - -bool PythonQtWrapper_QBoxLayout::setStretchFactor(QBoxLayout* theWrappedObject, QWidget* w, int stretch) -{ - return ( theWrappedObject->setStretchFactor(w, stretch)); -} - -Qt::Orientations PythonQtWrapper_QBoxLayout::expandingDirections(QBoxLayout* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QBoxLayout*)theWrappedObject)->promoted_expandingDirections()); -} - -QSize PythonQtWrapper_QBoxLayout::sizeHint(QBoxLayout* theWrappedObject) const -{ - return ( theWrappedObject->sizeHint()); -} - -void PythonQtWrapper_QBoxLayout::setSpacing(QBoxLayout* theWrappedObject, int spacing) -{ - ( theWrappedObject->setSpacing(spacing)); -} - -void PythonQtWrapper_QBoxLayout::setGeometry(QBoxLayout* theWrappedObject, const QRect& arg__1) -{ - ( ((PythonQtPublicPromoter_QBoxLayout*)theWrappedObject)->promoted_setGeometry(arg__1)); -} - -void PythonQtWrapper_QBoxLayout::insertWidget(QBoxLayout* theWrappedObject, int index, QWidget* widget, int stretch, Qt::Alignment alignment) -{ - ( theWrappedObject->insertWidget(index, widget, stretch, alignment)); -} - -void PythonQtWrapper_QBoxLayout::invalidate(QBoxLayout* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QBoxLayout*)theWrappedObject)->promoted_invalidate()); -} - -QSize PythonQtWrapper_QBoxLayout::maximumSize(QBoxLayout* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QBoxLayout*)theWrappedObject)->promoted_maximumSize()); -} - -void PythonQtWrapper_QBoxLayout::addSpacing(QBoxLayout* theWrappedObject, int size) -{ - ( theWrappedObject->addSpacing(size)); -} - -bool PythonQtWrapper_QBoxLayout::hasHeightForWidth(QBoxLayout* theWrappedObject) const -{ - return ( theWrappedObject->hasHeightForWidth()); -} - -void PythonQtWrapper_QBoxLayout::insertLayout(QBoxLayout* theWrappedObject, int index, QLayout* layout, int stretch) -{ - ( theWrappedObject->insertLayout(index, layout, stretch)); -} - -void PythonQtWrapper_QBoxLayout::addWidget(QBoxLayout* theWrappedObject, QWidget* arg__1, int stretch, Qt::Alignment alignment) -{ - ( theWrappedObject->addWidget(arg__1, stretch, alignment)); -} - -void PythonQtWrapper_QBoxLayout::addLayout(QBoxLayout* theWrappedObject, QLayout* layout, int stretch) -{ - ( theWrappedObject->addLayout(layout, stretch)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QBoxLayout.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QBoxLayout.h deleted file mode 100644 index 99e53b0..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QBoxLayout.h +++ /dev/null @@ -1,102 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QBOXLAYOUT_H -#define PYTHONQTWRAPPER_QBOXLAYOUT_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QBoxLayout : public QBoxLayout -{ -public: - PythonQtShell_QBoxLayout(QBoxLayout::Direction arg__1, QWidget* parent = 0):QBoxLayout(arg__1, parent),_wrapper(NULL) {}; - -virtual void addItem(QLayoutItem* arg__1); -virtual void childEvent(QChildEvent* e); -virtual int count() const; -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual Qt::Orientations expandingDirections() const; -virtual QRect geometry() const; -virtual int indexOf(QWidget* arg__1) const; -virtual void invalidate(); -virtual bool isEmpty() const; -virtual QLayoutItem* itemAt(int arg__1) const; -virtual QLayout* layout(); -virtual QSize maximumSize() const; -virtual QSize minimumSize() const; -virtual void setGeometry(const QRect& arg__1); -virtual QLayoutItem* takeAt(int arg__1); -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QBoxLayout : public QBoxLayout -{ public: -inline QLayoutItem* promoted_takeAt(int arg__1) { return QBoxLayout::takeAt(arg__1); } -inline int promoted_count() const { return QBoxLayout::count(); } -inline void promoted_addItem(QLayoutItem* arg__1) { QBoxLayout::addItem(arg__1); } -inline QSize promoted_minimumSize() const { return QBoxLayout::minimumSize(); } -inline QLayoutItem* promoted_itemAt(int arg__1) const { return QBoxLayout::itemAt(arg__1); } -inline Qt::Orientations promoted_expandingDirections() const { return QBoxLayout::expandingDirections(); } -inline void promoted_setGeometry(const QRect& arg__1) { QBoxLayout::setGeometry(arg__1); } -inline void promoted_invalidate() { QBoxLayout::invalidate(); } -inline QSize promoted_maximumSize() const { return QBoxLayout::maximumSize(); } -}; - -class PythonQtWrapper_QBoxLayout : public QObject -{ Q_OBJECT -public: -Q_ENUMS(Direction ) -enum Direction{ - LeftToRight = QBoxLayout::LeftToRight, RightToLeft = QBoxLayout::RightToLeft, TopToBottom = QBoxLayout::TopToBottom, BottomToTop = QBoxLayout::BottomToTop, Down = QBoxLayout::Down, Up = QBoxLayout::Up}; -public slots: -QBoxLayout* new_QBoxLayout(QBoxLayout::Direction arg__1, QWidget* parent = 0); -void delete_QBoxLayout(QBoxLayout* obj) { delete obj; } - void addStretch(QBoxLayout* theWrappedObject, int stretch = 0); - QLayoutItem* takeAt(QBoxLayout* theWrappedObject, int arg__1); - void addSpacerItem(QBoxLayout* theWrappedObject, QSpacerItem* spacerItem); - void addStrut(QBoxLayout* theWrappedObject, int arg__1); - void insertSpacing(QBoxLayout* theWrappedObject, int index, int size); - void setDirection(QBoxLayout* theWrappedObject, QBoxLayout::Direction arg__1); - void insertStretch(QBoxLayout* theWrappedObject, int index, int stretch = 0); - int spacing(QBoxLayout* theWrappedObject) const; - int count(QBoxLayout* theWrappedObject) const; - int heightForWidth(QBoxLayout* theWrappedObject, int arg__1) const; - QBoxLayout::Direction direction(QBoxLayout* theWrappedObject) const; - int minimumHeightForWidth(QBoxLayout* theWrappedObject, int arg__1) const; - void addItem(QBoxLayout* theWrappedObject, QLayoutItem* arg__1); - QSize minimumSize(QBoxLayout* theWrappedObject) const; - bool setStretchFactor(QBoxLayout* theWrappedObject, QLayout* l, int stretch); - void insertSpacerItem(QBoxLayout* theWrappedObject, int index, QSpacerItem* spacerItem); - QLayoutItem* itemAt(QBoxLayout* theWrappedObject, int arg__1) const; - bool setStretchFactor(QBoxLayout* theWrappedObject, QWidget* w, int stretch); - Qt::Orientations expandingDirections(QBoxLayout* theWrappedObject) const; - QSize sizeHint(QBoxLayout* theWrappedObject) const; - void setSpacing(QBoxLayout* theWrappedObject, int spacing); - void setGeometry(QBoxLayout* theWrappedObject, const QRect& arg__1); - void insertWidget(QBoxLayout* theWrappedObject, int index, QWidget* widget, int stretch = 0, Qt::Alignment alignment = 0); - void invalidate(QBoxLayout* theWrappedObject); - QSize maximumSize(QBoxLayout* theWrappedObject) const; - void addSpacing(QBoxLayout* theWrappedObject, int size); - bool hasHeightForWidth(QBoxLayout* theWrappedObject) const; - void insertLayout(QBoxLayout* theWrappedObject, int index, QLayout* layout, int stretch = 0); - void addWidget(QBoxLayout* theWrappedObject, QWidget* arg__1, int stretch = 0, Qt::Alignment alignment = 0); - void addLayout(QBoxLayout* theWrappedObject, QLayout* layout, int stretch = 0); -}; - -#endif // PYTHONQTWRAPPER_QBOXLAYOUT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QBrush.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QBrush.cpp deleted file mode 100644 index 14476f3..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QBrush.cpp +++ /dev/null @@ -1,148 +0,0 @@ -#include "PythonQtWrapper_QBrush.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QBrush* PythonQtWrapper_QBrush::new_QBrush() -{ -return new QBrush(); } - -QBrush* PythonQtWrapper_QBrush::new_QBrush(Qt::BrushStyle bs) -{ -return new QBrush(bs); } - -QBrush* PythonQtWrapper_QBrush::new_QBrush(Qt::GlobalColor color, const QPixmap& pixmap) -{ -return new QBrush(color, pixmap); } - -QBrush* PythonQtWrapper_QBrush::new_QBrush(const QBrush& brush) -{ -return new QBrush(brush); } - -QBrush* PythonQtWrapper_QBrush::new_QBrush(const QColor& color, Qt::BrushStyle bs) -{ -return new QBrush(color, bs); } - -QBrush* PythonQtWrapper_QBrush::new_QBrush(const QColor& color, const QPixmap& pixmap) -{ -return new QBrush(color, pixmap); } - -QBrush* PythonQtWrapper_QBrush::new_QBrush(const QGradient& gradient) -{ -return new QBrush(gradient); } - -QBrush* PythonQtWrapper_QBrush::new_QBrush(const QImage& image) -{ -return new QBrush(image); } - -QBrush* PythonQtWrapper_QBrush::new_QBrush(const QPixmap& pixmap) -{ -return new QBrush(pixmap); } - -void PythonQtWrapper_QBrush::setColor(QBrush* theWrappedObject, const QColor& color) -{ - ( theWrappedObject->setColor(color)); -} - -const QColor* PythonQtWrapper_QBrush::color(QBrush* theWrappedObject) const -{ - return &( theWrappedObject->color()); -} - -void PythonQtWrapper_QBrush::setStyle(QBrush* theWrappedObject, Qt::BrushStyle arg__1) -{ - ( theWrappedObject->setStyle(arg__1)); -} - -bool PythonQtWrapper_QBrush::isOpaque(QBrush* theWrappedObject) const -{ - return ( theWrappedObject->isOpaque()); -} - -void PythonQtWrapper_QBrush::setTexture(QBrush* theWrappedObject, const QPixmap& pixmap) -{ - ( theWrappedObject->setTexture(pixmap)); -} - -QImage PythonQtWrapper_QBrush::textureImage(QBrush* theWrappedObject) const -{ - return ( theWrappedObject->textureImage()); -} - -bool PythonQtWrapper_QBrush::operator_equal(QBrush* theWrappedObject, const QBrush& b) const -{ - return ( (*theWrappedObject)== b); -} - -void PythonQtWrapper_QBrush::setMatrix(QBrush* theWrappedObject, const QMatrix& mat) -{ - ( theWrappedObject->setMatrix(mat)); -} - -void PythonQtWrapper_QBrush::writeTo(QBrush* theWrappedObject, QDataStream& arg__1) -{ - arg__1 << (*theWrappedObject); -} - -void PythonQtWrapper_QBrush::setTextureImage(QBrush* theWrappedObject, const QImage& image) -{ - ( theWrappedObject->setTextureImage(image)); -} - -Qt::BrushStyle PythonQtWrapper_QBrush::style(QBrush* theWrappedObject) const -{ - return ( theWrappedObject->style()); -} - -const QGradient* PythonQtWrapper_QBrush::gradient(QBrush* theWrappedObject) const -{ - return ( theWrappedObject->gradient()); -} - -void PythonQtWrapper_QBrush::setColor(QBrush* theWrappedObject, Qt::GlobalColor color) -{ - ( theWrappedObject->setColor(color)); -} - -void PythonQtWrapper_QBrush::setTransform(QBrush* theWrappedObject, const QTransform& arg__1) -{ - ( theWrappedObject->setTransform(arg__1)); -} - -void PythonQtWrapper_QBrush::readFrom(QBrush* theWrappedObject, QDataStream& arg__1) -{ - arg__1 >> (*theWrappedObject); -} - -const QMatrix* PythonQtWrapper_QBrush::matrix(QBrush* theWrappedObject) const -{ - return &( theWrappedObject->matrix()); -} - -QPixmap PythonQtWrapper_QBrush::texture(QBrush* theWrappedObject) const -{ - return ( theWrappedObject->texture()); -} - -QTransform PythonQtWrapper_QBrush::transform(QBrush* theWrappedObject) const -{ - return ( theWrappedObject->transform()); -} - -QString PythonQtWrapper_QBrush::toString(QBrush* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QBrush.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QBrush.h deleted file mode 100644 index 2324d50..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QBrush.h +++ /dev/null @@ -1,54 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QBRUSH_H -#define PYTHONQTWRAPPER_QBRUSH_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtWrapper_QBrush : public QObject -{ Q_OBJECT -public: -public slots: -QBrush* new_QBrush(); -QBrush* new_QBrush(Qt::BrushStyle bs); -QBrush* new_QBrush(Qt::GlobalColor color, const QPixmap& pixmap); -QBrush* new_QBrush(const QBrush& brush); -QBrush* new_QBrush(const QColor& color, Qt::BrushStyle bs = Qt::SolidPattern); -QBrush* new_QBrush(const QColor& color, const QPixmap& pixmap); -QBrush* new_QBrush(const QGradient& gradient); -QBrush* new_QBrush(const QImage& image); -QBrush* new_QBrush(const QPixmap& pixmap); -void delete_QBrush(QBrush* obj) { delete obj; } - void setColor(QBrush* theWrappedObject, const QColor& color); - const QColor* color(QBrush* theWrappedObject) const; - void setStyle(QBrush* theWrappedObject, Qt::BrushStyle arg__1); - bool isOpaque(QBrush* theWrappedObject) const; - void setTexture(QBrush* theWrappedObject, const QPixmap& pixmap); - QImage textureImage(QBrush* theWrappedObject) const; - bool operator_equal(QBrush* theWrappedObject, const QBrush& b) const; - void setMatrix(QBrush* theWrappedObject, const QMatrix& mat); - void writeTo(QBrush* theWrappedObject, QDataStream& arg__1); - void setTextureImage(QBrush* theWrappedObject, const QImage& image); - Qt::BrushStyle style(QBrush* theWrappedObject) const; - const QGradient* gradient(QBrush* theWrappedObject) const; - void setColor(QBrush* theWrappedObject, Qt::GlobalColor color); - void setTransform(QBrush* theWrappedObject, const QTransform& arg__1); - void readFrom(QBrush* theWrappedObject, QDataStream& arg__1); - const QMatrix* matrix(QBrush* theWrappedObject) const; - QPixmap texture(QBrush* theWrappedObject) const; - QTransform transform(QBrush* theWrappedObject) const; - QString toString(QBrush*); -}; - -#endif // PYTHONQTWRAPPER_QBRUSH_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QButtonGroup.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QButtonGroup.cpp deleted file mode 100644 index 53be8d4..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QButtonGroup.cpp +++ /dev/null @@ -1,179 +0,0 @@ -#include "PythonQtWrapper_QButtonGroup.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QButtonGroup::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; - } -} - QButtonGroup::childEvent(arg__1); -} -void PythonQtShell_QButtonGroup::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; - } -} - QButtonGroup::customEvent(arg__1); -} -bool PythonQtShell_QButtonGroup::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QButtonGroup::event(arg__1); -} -bool PythonQtShell_QButtonGroup::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QButtonGroup::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QButtonGroup::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; - } -} - QButtonGroup::timerEvent(arg__1); -} -QButtonGroup* PythonQtWrapper_QButtonGroup::new_QButtonGroup(QObject* parent) -{ -return new PythonQtShell_QButtonGroup(parent); } - -int PythonQtWrapper_QButtonGroup::id(QButtonGroup* theWrappedObject, QAbstractButton* button) const -{ - return ( theWrappedObject->id(button)); -} - -int PythonQtWrapper_QButtonGroup::checkedId(QButtonGroup* theWrappedObject) const -{ - return ( theWrappedObject->checkedId()); -} - -QAbstractButton* PythonQtWrapper_QButtonGroup::button(QButtonGroup* theWrappedObject, int id) const -{ - return ( theWrappedObject->button(id)); -} - -bool PythonQtWrapper_QButtonGroup::exclusive(QButtonGroup* theWrappedObject) const -{ - return ( theWrappedObject->exclusive()); -} - -void PythonQtWrapper_QButtonGroup::setId(QButtonGroup* theWrappedObject, QAbstractButton* button, int id) -{ - ( theWrappedObject->setId(button, id)); -} - -void PythonQtWrapper_QButtonGroup::addButton(QButtonGroup* theWrappedObject, QAbstractButton* arg__1, int id) -{ - ( theWrappedObject->addButton(arg__1, id)); -} - -QAbstractButton* PythonQtWrapper_QButtonGroup::checkedButton(QButtonGroup* theWrappedObject) const -{ - return ( theWrappedObject->checkedButton()); -} - -void PythonQtWrapper_QButtonGroup::addButton(QButtonGroup* theWrappedObject, QAbstractButton* arg__1) -{ - ( theWrappedObject->addButton(arg__1)); -} - -QList PythonQtWrapper_QButtonGroup::buttons(QButtonGroup* theWrappedObject) const -{ - return ( theWrappedObject->buttons()); -} - -void PythonQtWrapper_QButtonGroup::removeButton(QButtonGroup* theWrappedObject, QAbstractButton* arg__1) -{ - ( theWrappedObject->removeButton(arg__1)); -} - -void PythonQtWrapper_QButtonGroup::setExclusive(QButtonGroup* theWrappedObject, bool arg__1) -{ - ( theWrappedObject->setExclusive(arg__1)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QButtonGroup.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QButtonGroup.h deleted file mode 100644 index 0fe5bb9..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QButtonGroup.h +++ /dev/null @@ -1,50 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QBUTTONGROUP_H -#define PYTHONQTWRAPPER_QBUTTONGROUP_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QButtonGroup : public QButtonGroup -{ -public: - PythonQtShell_QButtonGroup(QObject* parent = 0):QButtonGroup(parent),_wrapper(NULL) {}; - -virtual void childEvent(QChildEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QButtonGroup : public QObject -{ Q_OBJECT -public: -public slots: -QButtonGroup* new_QButtonGroup(QObject* parent = 0); -void delete_QButtonGroup(QButtonGroup* obj) { delete obj; } - int id(QButtonGroup* theWrappedObject, QAbstractButton* button) const; - int checkedId(QButtonGroup* theWrappedObject) const; - QAbstractButton* button(QButtonGroup* theWrappedObject, int id) const; - bool exclusive(QButtonGroup* theWrappedObject) const; - void setId(QButtonGroup* theWrappedObject, QAbstractButton* button, int id); - void addButton(QButtonGroup* theWrappedObject, QAbstractButton* arg__1, int id); - QAbstractButton* checkedButton(QButtonGroup* theWrappedObject) const; - void addButton(QButtonGroup* theWrappedObject, QAbstractButton* arg__1); - QList buttons(QButtonGroup* theWrappedObject) const; - void removeButton(QButtonGroup* theWrappedObject, QAbstractButton* arg__1); - void setExclusive(QButtonGroup* theWrappedObject, bool arg__1); -}; - -#endif // PYTHONQTWRAPPER_QBUTTONGROUP_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QCDEStyle.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QCDEStyle.cpp deleted file mode 100644 index 3d4a8bf..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QCDEStyle.cpp +++ /dev/null @@ -1,604 +0,0 @@ -#include "PythonQtWrapper_QCDEStyle.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QCDEStyle::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; - } -} - QCDEStyle::childEvent(arg__1); -} -void PythonQtShell_QCDEStyle::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; - } -} - QCDEStyle::customEvent(arg__1); -} -void PythonQtShell_QCDEStyle::drawComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QPainter* p, const QWidget* w) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawComplexControl"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QStyle::ComplexControl" , "const QStyleOptionComplex*" , "QPainter*" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&cc, (void*)&opt, (void*)&p, (void*)&w}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QCDEStyle::drawComplexControl(cc, opt, p, w); -} -void PythonQtShell_QCDEStyle::drawControl(QStyle::ControlElement element, const QStyleOption* opt, QPainter* p, const QWidget* w) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawControl"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QStyle::ControlElement" , "const QStyleOption*" , "QPainter*" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&element, (void*)&opt, (void*)&p, (void*)&w}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QCDEStyle::drawControl(element, opt, p, w); -} -void PythonQtShell_QCDEStyle::drawItemPixmap(QPainter* painter, const QRect& rect, int alignment, const QPixmap& pixmap) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawItemPixmap"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "int" , "const QPixmap&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&painter, (void*)&rect, (void*)&alignment, (void*)&pixmap}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QCDEStyle::drawItemPixmap(painter, rect, alignment, pixmap); -} -void PythonQtShell_QCDEStyle::drawItemText(QPainter* painter, const QRect& rect, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawItemText"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "int" , "const QPalette&" , "bool" , "const QString&" , "QPalette::ColorRole"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(8, argumentList); - void* args[8] = {NULL, (void*)&painter, (void*)&rect, (void*)&flags, (void*)&pal, (void*)&enabled, (void*)&text, (void*)&textRole}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QCDEStyle::drawItemText(painter, rect, flags, pal, enabled, text, textRole); -} -void PythonQtShell_QCDEStyle::drawPrimitive(QStyle::PrimitiveElement pe, const QStyleOption* opt, QPainter* p, const QWidget* w) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawPrimitive"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QStyle::PrimitiveElement" , "const QStyleOption*" , "QPainter*" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&pe, (void*)&opt, (void*)&p, (void*)&w}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QCDEStyle::drawPrimitive(pe, opt, p, w); -} -bool PythonQtShell_QCDEStyle::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QCDEStyle::event(arg__1); -} -bool PythonQtShell_QCDEStyle::eventFilter(QObject* o, QEvent* e) -{ -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*)&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) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QCDEStyle::eventFilter(o, e); -} -QPixmap PythonQtShell_QCDEStyle::generatedIconPixmap(QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "generatedIconPixmap"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPixmap" , "QIcon::Mode" , "const QPixmap&" , "const QStyleOption*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QPixmap returnValue; - void* args[4] = {NULL, (void*)&iconMode, (void*)&pixmap, (void*)&opt}; - 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("generatedIconPixmap", methodInfo, result); - } else { - returnValue = *((QPixmap*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QCDEStyle::generatedIconPixmap(iconMode, pixmap, opt); -} -QStyle::SubControl PythonQtShell_QCDEStyle::hitTestComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, const QPoint& pt, const QWidget* w) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hitTestComplexControl"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QStyle::SubControl" , "QStyle::ComplexControl" , "const QStyleOptionComplex*" , "const QPoint&" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - QStyle::SubControl returnValue; - void* args[5] = {NULL, (void*)&cc, (void*)&opt, (void*)&pt, (void*)&w}; - 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("hitTestComplexControl", methodInfo, result); - } else { - returnValue = *((QStyle::SubControl*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QCDEStyle::hitTestComplexControl(cc, opt, pt, w); -} -QRect PythonQtShell_QCDEStyle::itemPixmapRect(const QRect& r, int flags, const QPixmap& pixmap) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemPixmapRect"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QRect" , "const QRect&" , "int" , "const QPixmap&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QRect returnValue; - void* args[4] = {NULL, (void*)&r, (void*)&flags, (void*)&pixmap}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemPixmapRect", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QCDEStyle::itemPixmapRect(r, flags, pixmap); -} -int PythonQtShell_QCDEStyle::pixelMetric(QStyle::PixelMetric metric, const QStyleOption* option, const QWidget* widget) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "pixelMetric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QStyle::PixelMetric" , "const QStyleOption*" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - int returnValue; - void* args[4] = {NULL, (void*)&metric, (void*)&option, (void*)&widget}; - 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("pixelMetric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QCDEStyle::pixelMetric(metric, option, widget); -} -void PythonQtShell_QCDEStyle::polish(QApplication* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "polish"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QApplication*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QCDEStyle::polish(arg__1); -} -void PythonQtShell_QCDEStyle::polish(QPalette& arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "polish"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPalette&"}; - 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; - } -} - QCDEStyle::polish(arg__1); -} -void PythonQtShell_QCDEStyle::polish(QWidget* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "polish"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWidget*"}; - 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; - } -} - QCDEStyle::polish(arg__1); -} -QSize PythonQtShell_QCDEStyle::sizeFromContents(QStyle::ContentsType ct, const QStyleOption* opt, const QSize& contentsSize, const QWidget* widget) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeFromContents"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize" , "QStyle::ContentsType" , "const QStyleOption*" , "const QSize&" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - QSize returnValue; - void* args[5] = {NULL, (void*)&ct, (void*)&opt, (void*)&contentsSize, (void*)&widget}; - 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("sizeFromContents", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QCDEStyle::sizeFromContents(ct, opt, contentsSize, widget); -} -QPalette PythonQtShell_QCDEStyle::standardPalette() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "standardPalette"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPalette"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPalette returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("standardPalette", methodInfo, result); - } else { - returnValue = *((QPalette*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QCDEStyle::standardPalette(); -} -QPixmap PythonQtShell_QCDEStyle::standardPixmap(QStyle::StandardPixmap standardPixmap, const QStyleOption* opt, const QWidget* widget) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "standardPixmap"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPixmap" , "QStyle::StandardPixmap" , "const QStyleOption*" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QPixmap returnValue; - void* args[4] = {NULL, (void*)&standardPixmap, (void*)&opt, (void*)&widget}; - 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("standardPixmap", methodInfo, result); - } else { - returnValue = *((QPixmap*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QPixmap result; -return result; -} -int PythonQtShell_QCDEStyle::styleHint(QStyle::StyleHint hint, const QStyleOption* opt, const QWidget* widget, QStyleHintReturn* returnData) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "styleHint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QStyle::StyleHint" , "const QStyleOption*" , "const QWidget*" , "QStyleHintReturn*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - int returnValue; - void* args[5] = {NULL, (void*)&hint, (void*)&opt, (void*)&widget, (void*)&returnData}; - 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("styleHint", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QCDEStyle::styleHint(hint, opt, widget, returnData); -} -QRect PythonQtShell_QCDEStyle::subControlRect(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* widget) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "subControlRect"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QRect" , "QStyle::ComplexControl" , "const QStyleOptionComplex*" , "QStyle::SubControl" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - QRect returnValue; - void* args[5] = {NULL, (void*)&cc, (void*)&opt, (void*)&sc, (void*)&widget}; - 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("subControlRect", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QCDEStyle::subControlRect(cc, opt, sc, widget); -} -QRect PythonQtShell_QCDEStyle::subElementRect(QStyle::SubElement r, const QStyleOption* opt, const QWidget* widget) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "subElementRect"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QRect" , "QStyle::SubElement" , "const QStyleOption*" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QRect returnValue; - void* args[4] = {NULL, (void*)&r, (void*)&opt, (void*)&widget}; - 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("subElementRect", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QCDEStyle::subElementRect(r, opt, widget); -} -void PythonQtShell_QCDEStyle::timerEvent(QTimerEvent* event) -{ -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*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QCDEStyle::timerEvent(event); -} -void PythonQtShell_QCDEStyle::unpolish(QApplication* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "unpolish"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QApplication*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QCDEStyle::unpolish(arg__1); -} -void PythonQtShell_QCDEStyle::unpolish(QWidget* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "unpolish"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QCDEStyle::unpolish(arg__1); -} -QCDEStyle* PythonQtWrapper_QCDEStyle::new_QCDEStyle(bool useHighlightCols) -{ -return new PythonQtShell_QCDEStyle(useHighlightCols); } - -int PythonQtWrapper_QCDEStyle::pixelMetric(QCDEStyle* theWrappedObject, QStyle::PixelMetric metric, const QStyleOption* option, const QWidget* widget) const -{ - return ( ((PythonQtPublicPromoter_QCDEStyle*)theWrappedObject)->promoted_pixelMetric(metric, option, widget)); -} - -QPalette PythonQtWrapper_QCDEStyle::standardPalette(QCDEStyle* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QCDEStyle*)theWrappedObject)->promoted_standardPalette()); -} - -void PythonQtWrapper_QCDEStyle::drawControl(QCDEStyle* theWrappedObject, QStyle::ControlElement element, const QStyleOption* opt, QPainter* p, const QWidget* w) const -{ - ( ((PythonQtPublicPromoter_QCDEStyle*)theWrappedObject)->promoted_drawControl(element, opt, p, w)); -} - -void PythonQtWrapper_QCDEStyle::drawPrimitive(QCDEStyle* theWrappedObject, QStyle::PrimitiveElement pe, const QStyleOption* opt, QPainter* p, const QWidget* w) const -{ - ( ((PythonQtPublicPromoter_QCDEStyle*)theWrappedObject)->promoted_drawPrimitive(pe, opt, p, w)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QCDEStyle.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QCDEStyle.h deleted file mode 100644 index 46fb438..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QCDEStyle.h +++ /dev/null @@ -1,80 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QCDESTYLE_H -#define PYTHONQTWRAPPER_QCDESTYLE_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QCDEStyle : public QCDEStyle -{ -public: - PythonQtShell_QCDEStyle(bool useHighlightCols = false):QCDEStyle(useHighlightCols),_wrapper(NULL) {}; - -virtual void childEvent(QChildEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual void drawComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QPainter* p, const QWidget* w) const; -virtual void drawControl(QStyle::ControlElement element, const QStyleOption* opt, QPainter* p, const QWidget* w = 0) const; -virtual void drawItemPixmap(QPainter* painter, const QRect& rect, int alignment, const QPixmap& pixmap) const; -virtual void drawItemText(QPainter* painter, const QRect& rect, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole) const; -virtual void drawPrimitive(QStyle::PrimitiveElement pe, const QStyleOption* opt, QPainter* p, const QWidget* w = 0) const; -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* o, QEvent* e); -virtual QPixmap generatedIconPixmap(QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const; -virtual QStyle::SubControl hitTestComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, const QPoint& pt, const QWidget* w) const; -virtual QRect itemPixmapRect(const QRect& r, int flags, const QPixmap& pixmap) const; -virtual int pixelMetric(QStyle::PixelMetric metric, const QStyleOption* option = 0, const QWidget* widget = 0) const; -virtual void polish(QApplication* arg__1); -virtual void polish(QPalette& arg__1); -virtual void polish(QWidget* arg__1); -virtual QSize sizeFromContents(QStyle::ContentsType ct, const QStyleOption* opt, const QSize& contentsSize, const QWidget* widget) const; -virtual QPalette standardPalette() const; -virtual QPixmap standardPixmap(QStyle::StandardPixmap standardPixmap, const QStyleOption* opt, const QWidget* widget) const; -virtual int styleHint(QStyle::StyleHint hint, const QStyleOption* opt, const QWidget* widget, QStyleHintReturn* returnData) const; -virtual QRect subControlRect(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* widget) const; -virtual QRect subElementRect(QStyle::SubElement r, const QStyleOption* opt, const QWidget* widget) const; -virtual void timerEvent(QTimerEvent* event); -virtual void unpolish(QApplication* arg__1); -virtual void unpolish(QWidget* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QCDEStyle : public QCDEStyle -{ public: -inline int promoted_pixelMetric(QStyle::PixelMetric metric, const QStyleOption* option = 0, const QWidget* widget = 0) const { return QCDEStyle::pixelMetric(metric, option, widget); } -inline QPalette promoted_standardPalette() const { return QCDEStyle::standardPalette(); } -inline void promoted_drawControl(QStyle::ControlElement element, const QStyleOption* opt, QPainter* p, const QWidget* w = 0) const { QCDEStyle::drawControl(element, opt, p, w); } -inline void promoted_drawPrimitive(QStyle::PrimitiveElement pe, const QStyleOption* opt, QPainter* p, const QWidget* w = 0) const { QCDEStyle::drawPrimitive(pe, opt, p, w); } -}; - -class PythonQtWrapper_QCDEStyle : public QObject -{ Q_OBJECT -public: -public slots: -QCDEStyle* new_QCDEStyle(bool useHighlightCols = false); -void delete_QCDEStyle(QCDEStyle* obj) { delete obj; } - int pixelMetric(QCDEStyle* theWrappedObject, QStyle::PixelMetric metric, const QStyleOption* option = 0, const QWidget* widget = 0) const; - QPalette standardPalette(QCDEStyle* theWrappedObject) const; - void drawControl(QCDEStyle* theWrappedObject, QStyle::ControlElement element, const QStyleOption* opt, QPainter* p, const QWidget* w = 0) const; - void drawPrimitive(QCDEStyle* theWrappedObject, QStyle::PrimitiveElement pe, const QStyleOption* opt, QPainter* p, const QWidget* w = 0) const; -}; - -#endif // PYTHONQTWRAPPER_QCDESTYLE_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QCalendarWidget.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QCalendarWidget.cpp deleted file mode 100644 index 378a1de..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QCalendarWidget.cpp +++ /dev/null @@ -1,1022 +0,0 @@ -#include "PythonQtWrapper_QCalendarWidget.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QCalendarWidget::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QCalendarWidget::actionEvent(arg__1); -} -void PythonQtShell_QCalendarWidget::changeEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QCalendarWidget::changeEvent(arg__1); -} -void PythonQtShell_QCalendarWidget::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; - } -} - QCalendarWidget::childEvent(arg__1); -} -void PythonQtShell_QCalendarWidget::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QCalendarWidget::closeEvent(arg__1); -} -void PythonQtShell_QCalendarWidget::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QCalendarWidget::contextMenuEvent(arg__1); -} -void PythonQtShell_QCalendarWidget::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; - } -} - QCalendarWidget::customEvent(arg__1); -} -int PythonQtShell_QCalendarWidget::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QCalendarWidget::devType(); -} -void PythonQtShell_QCalendarWidget::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QCalendarWidget::dragEnterEvent(arg__1); -} -void PythonQtShell_QCalendarWidget::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QCalendarWidget::dragLeaveEvent(arg__1); -} -void PythonQtShell_QCalendarWidget::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QCalendarWidget::dragMoveEvent(arg__1); -} -void PythonQtShell_QCalendarWidget::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QCalendarWidget::dropEvent(arg__1); -} -void PythonQtShell_QCalendarWidget::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QCalendarWidget::enterEvent(arg__1); -} -bool PythonQtShell_QCalendarWidget::event(QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QCalendarWidget::event(event); -} -bool PythonQtShell_QCalendarWidget::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QCalendarWidget::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QCalendarWidget::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QCalendarWidget::focusInEvent(arg__1); -} -bool PythonQtShell_QCalendarWidget::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QCalendarWidget::focusNextPrevChild(next); -} -void PythonQtShell_QCalendarWidget::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QCalendarWidget::focusOutEvent(arg__1); -} -int PythonQtShell_QCalendarWidget::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QCalendarWidget::heightForWidth(arg__1); -} -void PythonQtShell_QCalendarWidget::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QCalendarWidget::hideEvent(arg__1); -} -void PythonQtShell_QCalendarWidget::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QCalendarWidget::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QCalendarWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QCalendarWidget::inputMethodQuery(arg__1); -} -void PythonQtShell_QCalendarWidget::keyPressEvent(QKeyEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QCalendarWidget::keyPressEvent(event); -} -void PythonQtShell_QCalendarWidget::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QCalendarWidget::keyReleaseEvent(arg__1); -} -void PythonQtShell_QCalendarWidget::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QCalendarWidget::languageChange(); -} -void PythonQtShell_QCalendarWidget::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QCalendarWidget::leaveEvent(arg__1); -} -int PythonQtShell_QCalendarWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QCalendarWidget::metric(arg__1); -} -QSize PythonQtShell_QCalendarWidget::minimumSizeHint() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QCalendarWidget::minimumSizeHint(); -} -void PythonQtShell_QCalendarWidget::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QCalendarWidget::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QCalendarWidget::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QCalendarWidget::mouseMoveEvent(arg__1); -} -void PythonQtShell_QCalendarWidget::mousePressEvent(QMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QCalendarWidget::mousePressEvent(event); -} -void PythonQtShell_QCalendarWidget::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QCalendarWidget::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QCalendarWidget::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QCalendarWidget::moveEvent(arg__1); -} -void PythonQtShell_QCalendarWidget::paintCell(QPainter* painter, const QRect& rect, const QDate& date) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintCell"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "const QDate&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter, (void*)&rect, (void*)&date}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QCalendarWidget::paintCell(painter, rect, date); -} -QPaintEngine* PythonQtShell_QCalendarWidget::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QCalendarWidget::paintEngine(); -} -void PythonQtShell_QCalendarWidget::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - 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; - } -} - QCalendarWidget::paintEvent(arg__1); -} -void PythonQtShell_QCalendarWidget::resizeEvent(QResizeEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - 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; - } -} - QCalendarWidget::resizeEvent(event); -} -void PythonQtShell_QCalendarWidget::showEvent(QShowEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QCalendarWidget::showEvent(arg__1); -} -QSize PythonQtShell_QCalendarWidget::sizeHint() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getSizeHint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QCalendarWidget::sizeHint(); -} -void PythonQtShell_QCalendarWidget::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QCalendarWidget::tabletEvent(arg__1); -} -void PythonQtShell_QCalendarWidget::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; - } -} - QCalendarWidget::timerEvent(arg__1); -} -void PythonQtShell_QCalendarWidget::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QCalendarWidget::wheelEvent(arg__1); -} -QCalendarWidget* PythonQtWrapper_QCalendarWidget::new_QCalendarWidget(QWidget* parent) -{ -return new PythonQtShell_QCalendarWidget(parent); } - -void PythonQtWrapper_QCalendarWidget::paintCell(QCalendarWidget* theWrappedObject, QPainter* painter, const QRect& rect, const QDate& date) const -{ - ( ((PythonQtPublicPromoter_QCalendarWidget*)theWrappedObject)->promoted_paintCell(painter, rect, date)); -} - -QDate PythonQtWrapper_QCalendarWidget::maximumDate(QCalendarWidget* theWrappedObject) const -{ - return ( theWrappedObject->maximumDate()); -} - -QTextCharFormat PythonQtWrapper_QCalendarWidget::headerTextFormat(QCalendarWidget* theWrappedObject) const -{ - return ( theWrappedObject->headerTextFormat()); -} - -QMap PythonQtWrapper_QCalendarWidget::dateTextFormat(QCalendarWidget* theWrappedObject) const -{ - return ( theWrappedObject->dateTextFormat()); -} - -void PythonQtWrapper_QCalendarWidget::mousePressEvent(QCalendarWidget* theWrappedObject, QMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QCalendarWidget*)theWrappedObject)->promoted_mousePressEvent(event)); -} - -void PythonQtWrapper_QCalendarWidget::resizeEvent(QCalendarWidget* theWrappedObject, QResizeEvent* event) -{ - ( ((PythonQtPublicPromoter_QCalendarWidget*)theWrappedObject)->promoted_resizeEvent(event)); -} - -void PythonQtWrapper_QCalendarWidget::setVerticalHeaderFormat(QCalendarWidget* theWrappedObject, QCalendarWidget::VerticalHeaderFormat format) -{ - ( theWrappedObject->setVerticalHeaderFormat(format)); -} - -QDate PythonQtWrapper_QCalendarWidget::minimumDate(QCalendarWidget* theWrappedObject) const -{ - return ( theWrappedObject->minimumDate()); -} - -void PythonQtWrapper_QCalendarWidget::setDateEditEnabled(QCalendarWidget* theWrappedObject, bool enable) -{ - ( theWrappedObject->setDateEditEnabled(enable)); -} - -int PythonQtWrapper_QCalendarWidget::monthShown(QCalendarWidget* theWrappedObject) const -{ - return ( theWrappedObject->monthShown()); -} - -Qt::DayOfWeek PythonQtWrapper_QCalendarWidget::firstDayOfWeek(QCalendarWidget* theWrappedObject) const -{ - return ( theWrappedObject->firstDayOfWeek()); -} - -int PythonQtWrapper_QCalendarWidget::yearShown(QCalendarWidget* theWrappedObject) const -{ - return ( theWrappedObject->yearShown()); -} - -void PythonQtWrapper_QCalendarWidget::setMinimumDate(QCalendarWidget* theWrappedObject, const QDate& date) -{ - ( theWrappedObject->setMinimumDate(date)); -} - -QCalendarWidget::SelectionMode PythonQtWrapper_QCalendarWidget::selectionMode(QCalendarWidget* theWrappedObject) const -{ - return ( theWrappedObject->selectionMode()); -} - -QSize PythonQtWrapper_QCalendarWidget::sizeHint(QCalendarWidget* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QCalendarWidget*)theWrappedObject)->promoted_sizeHint()); -} - -void PythonQtWrapper_QCalendarWidget::setSelectionMode(QCalendarWidget* theWrappedObject, QCalendarWidget::SelectionMode mode) -{ - ( theWrappedObject->setSelectionMode(mode)); -} - -bool PythonQtWrapper_QCalendarWidget::isNavigationBarVisible(QCalendarWidget* theWrappedObject) const -{ - return ( theWrappedObject->isNavigationBarVisible()); -} - -QCalendarWidget::VerticalHeaderFormat PythonQtWrapper_QCalendarWidget::verticalHeaderFormat(QCalendarWidget* theWrappedObject) const -{ - return ( theWrappedObject->verticalHeaderFormat()); -} - -void PythonQtWrapper_QCalendarWidget::keyPressEvent(QCalendarWidget* theWrappedObject, QKeyEvent* event) -{ - ( ((PythonQtPublicPromoter_QCalendarWidget*)theWrappedObject)->promoted_keyPressEvent(event)); -} - -QTextCharFormat PythonQtWrapper_QCalendarWidget::dateTextFormat(QCalendarWidget* theWrappedObject, const QDate& date) const -{ - return ( theWrappedObject->dateTextFormat(date)); -} - -bool PythonQtWrapper_QCalendarWidget::isDateEditEnabled(QCalendarWidget* theWrappedObject) const -{ - return ( theWrappedObject->isDateEditEnabled()); -} - -QDate PythonQtWrapper_QCalendarWidget::selectedDate(QCalendarWidget* theWrappedObject) const -{ - return ( theWrappedObject->selectedDate()); -} - -void PythonQtWrapper_QCalendarWidget::setMaximumDate(QCalendarWidget* theWrappedObject, const QDate& date) -{ - ( theWrappedObject->setMaximumDate(date)); -} - -void PythonQtWrapper_QCalendarWidget::setHorizontalHeaderFormat(QCalendarWidget* theWrappedObject, QCalendarWidget::HorizontalHeaderFormat format) -{ - ( theWrappedObject->setHorizontalHeaderFormat(format)); -} - -void PythonQtWrapper_QCalendarWidget::setDateTextFormat(QCalendarWidget* theWrappedObject, const QDate& date, const QTextCharFormat& format) -{ - ( theWrappedObject->setDateTextFormat(date, format)); -} - -void PythonQtWrapper_QCalendarWidget::setFirstDayOfWeek(QCalendarWidget* theWrappedObject, Qt::DayOfWeek dayOfWeek) -{ - ( theWrappedObject->setFirstDayOfWeek(dayOfWeek)); -} - -bool PythonQtWrapper_QCalendarWidget::isGridVisible(QCalendarWidget* theWrappedObject) const -{ - return ( theWrappedObject->isGridVisible()); -} - -void PythonQtWrapper_QCalendarWidget::setDateEditAcceptDelay(QCalendarWidget* theWrappedObject, int delay) -{ - ( theWrappedObject->setDateEditAcceptDelay(delay)); -} - -void PythonQtWrapper_QCalendarWidget::setWeekdayTextFormat(QCalendarWidget* theWrappedObject, Qt::DayOfWeek dayOfWeek, const QTextCharFormat& format) -{ - ( theWrappedObject->setWeekdayTextFormat(dayOfWeek, format)); -} - -void PythonQtWrapper_QCalendarWidget::setHeaderTextFormat(QCalendarWidget* theWrappedObject, const QTextCharFormat& format) -{ - ( theWrappedObject->setHeaderTextFormat(format)); -} - -QSize PythonQtWrapper_QCalendarWidget::minimumSizeHint(QCalendarWidget* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QCalendarWidget*)theWrappedObject)->promoted_minimumSizeHint()); -} - -int PythonQtWrapper_QCalendarWidget::dateEditAcceptDelay(QCalendarWidget* theWrappedObject) const -{ - return ( theWrappedObject->dateEditAcceptDelay()); -} - -QCalendarWidget::HorizontalHeaderFormat PythonQtWrapper_QCalendarWidget::horizontalHeaderFormat(QCalendarWidget* theWrappedObject) const -{ - return ( theWrappedObject->horizontalHeaderFormat()); -} - -QTextCharFormat PythonQtWrapper_QCalendarWidget::weekdayTextFormat(QCalendarWidget* theWrappedObject, Qt::DayOfWeek dayOfWeek) const -{ - return ( theWrappedObject->weekdayTextFormat(dayOfWeek)); -} - -bool PythonQtWrapper_QCalendarWidget::event(QCalendarWidget* theWrappedObject, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QCalendarWidget*)theWrappedObject)->promoted_event(event)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QCalendarWidget.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QCalendarWidget.h deleted file mode 100644 index 4cd1ef3..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QCalendarWidget.h +++ /dev/null @@ -1,144 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QCALENDARWIDGET_H -#define PYTHONQTWRAPPER_QCALENDARWIDGET_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QCalendarWidget : public QCalendarWidget -{ -public: - PythonQtShell_QCalendarWidget(QWidget* parent = 0):QCalendarWidget(parent),_wrapper(NULL) {}; - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* arg__1); -virtual void paintCell(QPainter* painter, const QRect& rect, const QDate& date) const; -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual void resizeEvent(QResizeEvent* event); -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QCalendarWidget : public QCalendarWidget -{ public: -inline void promoted_paintCell(QPainter* painter, const QRect& rect, const QDate& date) const { QCalendarWidget::paintCell(painter, rect, date); } -inline void promoted_mousePressEvent(QMouseEvent* event) { QCalendarWidget::mousePressEvent(event); } -inline void promoted_resizeEvent(QResizeEvent* event) { QCalendarWidget::resizeEvent(event); } -inline QSize promoted_sizeHint() const { return QCalendarWidget::sizeHint(); } -inline void promoted_keyPressEvent(QKeyEvent* event) { QCalendarWidget::keyPressEvent(event); } -inline QSize promoted_minimumSizeHint() const { return QCalendarWidget::minimumSizeHint(); } -inline bool promoted_event(QEvent* event) { return QCalendarWidget::event(event); } -}; - -class PythonQtWrapper_QCalendarWidget : public QObject -{ Q_OBJECT -public: -public slots: -QCalendarWidget* new_QCalendarWidget(QWidget* parent = 0); -void delete_QCalendarWidget(QCalendarWidget* obj) { delete obj; } - void paintCell(QCalendarWidget* theWrappedObject, QPainter* painter, const QRect& rect, const QDate& date) const; - QDate maximumDate(QCalendarWidget* theWrappedObject) const; - QTextCharFormat headerTextFormat(QCalendarWidget* theWrappedObject) const; - QMap dateTextFormat(QCalendarWidget* theWrappedObject) const; - void mousePressEvent(QCalendarWidget* theWrappedObject, QMouseEvent* event); - void resizeEvent(QCalendarWidget* theWrappedObject, QResizeEvent* event); - void setVerticalHeaderFormat(QCalendarWidget* theWrappedObject, QCalendarWidget::VerticalHeaderFormat format); - QDate minimumDate(QCalendarWidget* theWrappedObject) const; - void setDateEditEnabled(QCalendarWidget* theWrappedObject, bool enable); - int monthShown(QCalendarWidget* theWrappedObject) const; - Qt::DayOfWeek firstDayOfWeek(QCalendarWidget* theWrappedObject) const; - int yearShown(QCalendarWidget* theWrappedObject) const; - void setMinimumDate(QCalendarWidget* theWrappedObject, const QDate& date); - QCalendarWidget::SelectionMode selectionMode(QCalendarWidget* theWrappedObject) const; - QSize sizeHint(QCalendarWidget* theWrappedObject) const; - void setSelectionMode(QCalendarWidget* theWrappedObject, QCalendarWidget::SelectionMode mode); - bool isNavigationBarVisible(QCalendarWidget* theWrappedObject) const; - QCalendarWidget::VerticalHeaderFormat verticalHeaderFormat(QCalendarWidget* theWrappedObject) const; - void keyPressEvent(QCalendarWidget* theWrappedObject, QKeyEvent* event); - QTextCharFormat dateTextFormat(QCalendarWidget* theWrappedObject, const QDate& date) const; - bool isDateEditEnabled(QCalendarWidget* theWrappedObject) const; - QDate selectedDate(QCalendarWidget* theWrappedObject) const; - void setMaximumDate(QCalendarWidget* theWrappedObject, const QDate& date); - void setHorizontalHeaderFormat(QCalendarWidget* theWrappedObject, QCalendarWidget::HorizontalHeaderFormat format); - void setDateTextFormat(QCalendarWidget* theWrappedObject, const QDate& date, const QTextCharFormat& format); - void setFirstDayOfWeek(QCalendarWidget* theWrappedObject, Qt::DayOfWeek dayOfWeek); - bool isGridVisible(QCalendarWidget* theWrappedObject) const; - void setDateEditAcceptDelay(QCalendarWidget* theWrappedObject, int delay); - void setWeekdayTextFormat(QCalendarWidget* theWrappedObject, Qt::DayOfWeek dayOfWeek, const QTextCharFormat& format); - void setHeaderTextFormat(QCalendarWidget* theWrappedObject, const QTextCharFormat& format); - QSize minimumSizeHint(QCalendarWidget* theWrappedObject) const; - int dateEditAcceptDelay(QCalendarWidget* theWrappedObject) const; - QCalendarWidget::HorizontalHeaderFormat horizontalHeaderFormat(QCalendarWidget* theWrappedObject) const; - QTextCharFormat weekdayTextFormat(QCalendarWidget* theWrappedObject, Qt::DayOfWeek dayOfWeek) const; - bool event(QCalendarWidget* theWrappedObject, QEvent* event); -}; - -#endif // PYTHONQTWRAPPER_QCALENDARWIDGET_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QCheckBox.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QCheckBox.cpp deleted file mode 100644 index e9e0c53..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QCheckBox.cpp +++ /dev/null @@ -1,922 +0,0 @@ -#include "PythonQtWrapper_QCheckBox.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QCheckBox::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QCheckBox::actionEvent(arg__1); -} -void PythonQtShell_QCheckBox::changeEvent(QEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QCheckBox::changeEvent(e); -} -void PythonQtShell_QCheckBox::checkStateSet() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "checkStateSet"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QCheckBox::checkStateSet(); -} -void PythonQtShell_QCheckBox::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; - } -} - QCheckBox::childEvent(arg__1); -} -void PythonQtShell_QCheckBox::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QCheckBox::closeEvent(arg__1); -} -void PythonQtShell_QCheckBox::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QCheckBox::contextMenuEvent(arg__1); -} -void PythonQtShell_QCheckBox::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; - } -} - QCheckBox::customEvent(arg__1); -} -int PythonQtShell_QCheckBox::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QCheckBox::devType(); -} -void PythonQtShell_QCheckBox::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QCheckBox::dragEnterEvent(arg__1); -} -void PythonQtShell_QCheckBox::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QCheckBox::dragLeaveEvent(arg__1); -} -void PythonQtShell_QCheckBox::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QCheckBox::dragMoveEvent(arg__1); -} -void PythonQtShell_QCheckBox::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QCheckBox::dropEvent(arg__1); -} -void PythonQtShell_QCheckBox::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QCheckBox::enterEvent(arg__1); -} -bool PythonQtShell_QCheckBox::event(QEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QCheckBox::event(e); -} -bool PythonQtShell_QCheckBox::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QCheckBox::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QCheckBox::focusInEvent(QFocusEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QCheckBox::focusInEvent(e); -} -bool PythonQtShell_QCheckBox::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QCheckBox::focusNextPrevChild(next); -} -void PythonQtShell_QCheckBox::focusOutEvent(QFocusEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QCheckBox::focusOutEvent(e); -} -int PythonQtShell_QCheckBox::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QCheckBox::heightForWidth(arg__1); -} -void PythonQtShell_QCheckBox::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QCheckBox::hideEvent(arg__1); -} -bool PythonQtShell_QCheckBox::hitButton(const QPoint& pos) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hitButton"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QPoint&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&pos}; - 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("hitButton", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QCheckBox::hitButton(pos); -} -void PythonQtShell_QCheckBox::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QCheckBox::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QCheckBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QCheckBox::inputMethodQuery(arg__1); -} -void PythonQtShell_QCheckBox::keyPressEvent(QKeyEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QCheckBox::keyPressEvent(e); -} -void PythonQtShell_QCheckBox::keyReleaseEvent(QKeyEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QCheckBox::keyReleaseEvent(e); -} -void PythonQtShell_QCheckBox::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QCheckBox::languageChange(); -} -void PythonQtShell_QCheckBox::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QCheckBox::leaveEvent(arg__1); -} -int PythonQtShell_QCheckBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QCheckBox::metric(arg__1); -} -QSize PythonQtShell_QCheckBox::minimumSizeHint() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QCheckBox::minimumSizeHint(); -} -void PythonQtShell_QCheckBox::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QCheckBox::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QCheckBox::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QCheckBox::mouseMoveEvent(arg__1); -} -void PythonQtShell_QCheckBox::mousePressEvent(QMouseEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QCheckBox::mousePressEvent(e); -} -void PythonQtShell_QCheckBox::mouseReleaseEvent(QMouseEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QCheckBox::mouseReleaseEvent(e); -} -void PythonQtShell_QCheckBox::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QCheckBox::moveEvent(arg__1); -} -void PythonQtShell_QCheckBox::nextCheckState() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "nextCheckState"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QCheckBox::nextCheckState(); -} -QPaintEngine* PythonQtShell_QCheckBox::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QCheckBox::paintEngine(); -} -void PythonQtShell_QCheckBox::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - 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; - } -} - QCheckBox::paintEvent(arg__1); -} -void PythonQtShell_QCheckBox::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - 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; - } -} - QCheckBox::resizeEvent(arg__1); -} -void PythonQtShell_QCheckBox::showEvent(QShowEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QCheckBox::showEvent(arg__1); -} -void PythonQtShell_QCheckBox::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QCheckBox::tabletEvent(arg__1); -} -void PythonQtShell_QCheckBox::timerEvent(QTimerEvent* e) -{ -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*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QCheckBox::timerEvent(e); -} -void PythonQtShell_QCheckBox::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QCheckBox::wheelEvent(arg__1); -} -QCheckBox* PythonQtWrapper_QCheckBox::new_QCheckBox(QWidget* parent) -{ -return new PythonQtShell_QCheckBox(parent); } - -QCheckBox* PythonQtWrapper_QCheckBox::new_QCheckBox(const QString& text, QWidget* parent) -{ -return new PythonQtShell_QCheckBox(text, parent); } - -Qt::CheckState PythonQtWrapper_QCheckBox::checkState(QCheckBox* theWrappedObject) const -{ - return ( theWrappedObject->checkState()); -} - -void PythonQtWrapper_QCheckBox::setTristate(QCheckBox* theWrappedObject, bool y) -{ - ( theWrappedObject->setTristate(y)); -} - -void PythonQtWrapper_QCheckBox::paintEvent(QCheckBox* theWrappedObject, QPaintEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QCheckBox*)theWrappedObject)->promoted_paintEvent(arg__1)); -} - -void PythonQtWrapper_QCheckBox::mouseMoveEvent(QCheckBox* theWrappedObject, QMouseEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QCheckBox*)theWrappedObject)->promoted_mouseMoveEvent(arg__1)); -} - -void PythonQtWrapper_QCheckBox::nextCheckState(QCheckBox* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QCheckBox*)theWrappedObject)->promoted_nextCheckState()); -} - -QSize PythonQtWrapper_QCheckBox::sizeHint(QCheckBox* theWrappedObject) const -{ - return ( theWrappedObject->sizeHint()); -} - -bool PythonQtWrapper_QCheckBox::isTristate(QCheckBox* theWrappedObject) const -{ - return ( theWrappedObject->isTristate()); -} - -void PythonQtWrapper_QCheckBox::checkStateSet(QCheckBox* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QCheckBox*)theWrappedObject)->promoted_checkStateSet()); -} - -bool PythonQtWrapper_QCheckBox::hitButton(QCheckBox* theWrappedObject, const QPoint& pos) const -{ - return ( ((PythonQtPublicPromoter_QCheckBox*)theWrappedObject)->promoted_hitButton(pos)); -} - -void PythonQtWrapper_QCheckBox::setCheckState(QCheckBox* theWrappedObject, Qt::CheckState state) -{ - ( theWrappedObject->setCheckState(state)); -} - -bool PythonQtWrapper_QCheckBox::event(QCheckBox* theWrappedObject, QEvent* e) -{ - return ( ((PythonQtPublicPromoter_QCheckBox*)theWrappedObject)->promoted_event(e)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QCheckBox.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QCheckBox.h deleted file mode 100644 index 0fe570b..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QCheckBox.h +++ /dev/null @@ -1,121 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QCHECKBOX_H -#define PYTHONQTWRAPPER_QCHECKBOX_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QCheckBox : public QCheckBox -{ -public: - PythonQtShell_QCheckBox(QWidget* parent = 0):QCheckBox(parent),_wrapper(NULL) {}; - PythonQtShell_QCheckBox(const QString& text, QWidget* parent = 0):QCheckBox(text, parent),_wrapper(NULL) {}; - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* e); -virtual void checkStateSet(); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* e); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* e); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual bool hitButton(const QPoint& pos) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* e); -virtual void keyReleaseEvent(QKeyEvent* e); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* e); -virtual void mouseReleaseEvent(QMouseEvent* e); -virtual void moveEvent(QMoveEvent* arg__1); -virtual void nextCheckState(); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void showEvent(QShowEvent* arg__1); -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* e); -virtual void wheelEvent(QWheelEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QCheckBox : public QCheckBox -{ public: -inline void promoted_paintEvent(QPaintEvent* arg__1) { QCheckBox::paintEvent(arg__1); } -inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { QCheckBox::mouseMoveEvent(arg__1); } -inline void promoted_nextCheckState() { QCheckBox::nextCheckState(); } -inline void promoted_checkStateSet() { QCheckBox::checkStateSet(); } -inline bool promoted_hitButton(const QPoint& pos) const { return QCheckBox::hitButton(pos); } -inline bool promoted_event(QEvent* e) { return QCheckBox::event(e); } -}; - -class PythonQtWrapper_QCheckBox : public QObject -{ Q_OBJECT -public: -public slots: -QCheckBox* new_QCheckBox(QWidget* parent = 0); -QCheckBox* new_QCheckBox(const QString& text, QWidget* parent = 0); -void delete_QCheckBox(QCheckBox* obj) { delete obj; } - Qt::CheckState checkState(QCheckBox* theWrappedObject) const; - void setTristate(QCheckBox* theWrappedObject, bool y = true); - void paintEvent(QCheckBox* theWrappedObject, QPaintEvent* arg__1); - void mouseMoveEvent(QCheckBox* theWrappedObject, QMouseEvent* arg__1); - void nextCheckState(QCheckBox* theWrappedObject); - QSize sizeHint(QCheckBox* theWrappedObject) const; - bool isTristate(QCheckBox* theWrappedObject) const; - void checkStateSet(QCheckBox* theWrappedObject); - bool hitButton(QCheckBox* theWrappedObject, const QPoint& pos) const; - void setCheckState(QCheckBox* theWrappedObject, Qt::CheckState state); - bool event(QCheckBox* theWrappedObject, QEvent* e); -}; - -#endif // PYTHONQTWRAPPER_QCHECKBOX_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QCleanlooksStyle.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QCleanlooksStyle.cpp deleted file mode 100644 index 7caeff6..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QCleanlooksStyle.cpp +++ /dev/null @@ -1,679 +0,0 @@ -#include "PythonQtWrapper_QCleanlooksStyle.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QCleanlooksStyle::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; - } -} - QCleanlooksStyle::childEvent(arg__1); -} -void PythonQtShell_QCleanlooksStyle::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; - } -} - QCleanlooksStyle::customEvent(arg__1); -} -void PythonQtShell_QCleanlooksStyle::drawComplexControl(QStyle::ComplexControl control, const QStyleOptionComplex* option, QPainter* painter, const QWidget* widget) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawComplexControl"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QStyle::ComplexControl" , "const QStyleOptionComplex*" , "QPainter*" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&control, (void*)&option, (void*)&painter, (void*)&widget}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QCleanlooksStyle::drawComplexControl(control, option, painter, widget); -} -void PythonQtShell_QCleanlooksStyle::drawControl(QStyle::ControlElement ce, const QStyleOption* option, QPainter* painter, const QWidget* widget) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawControl"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QStyle::ControlElement" , "const QStyleOption*" , "QPainter*" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&ce, (void*)&option, (void*)&painter, (void*)&widget}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QCleanlooksStyle::drawControl(ce, option, painter, widget); -} -void PythonQtShell_QCleanlooksStyle::drawItemPixmap(QPainter* painter, const QRect& rect, int alignment, const QPixmap& pixmap) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawItemPixmap"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "int" , "const QPixmap&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&painter, (void*)&rect, (void*)&alignment, (void*)&pixmap}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QCleanlooksStyle::drawItemPixmap(painter, rect, alignment, pixmap); -} -void PythonQtShell_QCleanlooksStyle::drawItemText(QPainter* painter, const QRect& rect, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawItemText"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "int" , "const QPalette&" , "bool" , "const QString&" , "QPalette::ColorRole"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(8, argumentList); - void* args[8] = {NULL, (void*)&painter, (void*)&rect, (void*)&flags, (void*)&pal, (void*)&enabled, (void*)&text, (void*)&textRole}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QCleanlooksStyle::drawItemText(painter, rect, flags, pal, enabled, text, textRole); -} -void PythonQtShell_QCleanlooksStyle::drawPrimitive(QStyle::PrimitiveElement elem, const QStyleOption* option, QPainter* painter, const QWidget* widget) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawPrimitive"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QStyle::PrimitiveElement" , "const QStyleOption*" , "QPainter*" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&elem, (void*)&option, (void*)&painter, (void*)&widget}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QCleanlooksStyle::drawPrimitive(elem, option, painter, widget); -} -bool PythonQtShell_QCleanlooksStyle::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QCleanlooksStyle::event(arg__1); -} -bool PythonQtShell_QCleanlooksStyle::eventFilter(QObject* o, QEvent* e) -{ -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*)&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) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QCleanlooksStyle::eventFilter(o, e); -} -QPixmap PythonQtShell_QCleanlooksStyle::generatedIconPixmap(QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "generatedIconPixmap"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPixmap" , "QIcon::Mode" , "const QPixmap&" , "const QStyleOption*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QPixmap returnValue; - void* args[4] = {NULL, (void*)&iconMode, (void*)&pixmap, (void*)&opt}; - 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("generatedIconPixmap", methodInfo, result); - } else { - returnValue = *((QPixmap*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QCleanlooksStyle::generatedIconPixmap(iconMode, pixmap, opt); -} -QStyle::SubControl PythonQtShell_QCleanlooksStyle::hitTestComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, const QPoint& pt, const QWidget* w) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hitTestComplexControl"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QStyle::SubControl" , "QStyle::ComplexControl" , "const QStyleOptionComplex*" , "const QPoint&" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - QStyle::SubControl returnValue; - void* args[5] = {NULL, (void*)&cc, (void*)&opt, (void*)&pt, (void*)&w}; - 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("hitTestComplexControl", methodInfo, result); - } else { - returnValue = *((QStyle::SubControl*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QCleanlooksStyle::hitTestComplexControl(cc, opt, pt, w); -} -QRect PythonQtShell_QCleanlooksStyle::itemPixmapRect(const QRect& r, int flags, const QPixmap& pixmap) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemPixmapRect"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QRect" , "const QRect&" , "int" , "const QPixmap&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QRect returnValue; - void* args[4] = {NULL, (void*)&r, (void*)&flags, (void*)&pixmap}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemPixmapRect", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QCleanlooksStyle::itemPixmapRect(r, flags, pixmap); -} -int PythonQtShell_QCleanlooksStyle::pixelMetric(QStyle::PixelMetric metric, const QStyleOption* option, const QWidget* widget) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "pixelMetric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QStyle::PixelMetric" , "const QStyleOption*" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - int returnValue; - void* args[4] = {NULL, (void*)&metric, (void*)&option, (void*)&widget}; - 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("pixelMetric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QCleanlooksStyle::pixelMetric(metric, option, widget); -} -void PythonQtShell_QCleanlooksStyle::polish(QApplication* app) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "polish"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QApplication*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&app}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QCleanlooksStyle::polish(app); -} -void PythonQtShell_QCleanlooksStyle::polish(QPalette& pal) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "polish"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPalette&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&pal}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QCleanlooksStyle::polish(pal); -} -void PythonQtShell_QCleanlooksStyle::polish(QWidget* widget) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "polish"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&widget}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QCleanlooksStyle::polish(widget); -} -QSize PythonQtShell_QCleanlooksStyle::sizeFromContents(QStyle::ContentsType type, const QStyleOption* option, const QSize& size, const QWidget* widget) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeFromContents"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize" , "QStyle::ContentsType" , "const QStyleOption*" , "const QSize&" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - QSize returnValue; - void* args[5] = {NULL, (void*)&type, (void*)&option, (void*)&size, (void*)&widget}; - 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("sizeFromContents", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QCleanlooksStyle::sizeFromContents(type, option, size, widget); -} -QPalette PythonQtShell_QCleanlooksStyle::standardPalette() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "standardPalette"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPalette"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPalette returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("standardPalette", methodInfo, result); - } else { - returnValue = *((QPalette*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QCleanlooksStyle::standardPalette(); -} -QPixmap PythonQtShell_QCleanlooksStyle::standardPixmap(QStyle::StandardPixmap standardPixmap, const QStyleOption* opt, const QWidget* widget) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "standardPixmap"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPixmap" , "QStyle::StandardPixmap" , "const QStyleOption*" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QPixmap returnValue; - void* args[4] = {NULL, (void*)&standardPixmap, (void*)&opt, (void*)&widget}; - 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("standardPixmap", methodInfo, result); - } else { - returnValue = *((QPixmap*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QPixmap result; -return result; -} -int PythonQtShell_QCleanlooksStyle::styleHint(QStyle::StyleHint hint, const QStyleOption* option, const QWidget* widget, QStyleHintReturn* returnData) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "styleHint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QStyle::StyleHint" , "const QStyleOption*" , "const QWidget*" , "QStyleHintReturn*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - int returnValue; - void* args[5] = {NULL, (void*)&hint, (void*)&option, (void*)&widget, (void*)&returnData}; - 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("styleHint", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QCleanlooksStyle::styleHint(hint, option, widget, returnData); -} -QRect PythonQtShell_QCleanlooksStyle::subControlRect(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* widget) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "subControlRect"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QRect" , "QStyle::ComplexControl" , "const QStyleOptionComplex*" , "QStyle::SubControl" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - QRect returnValue; - void* args[5] = {NULL, (void*)&cc, (void*)&opt, (void*)&sc, (void*)&widget}; - 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("subControlRect", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QCleanlooksStyle::subControlRect(cc, opt, sc, widget); -} -QRect PythonQtShell_QCleanlooksStyle::subElementRect(QStyle::SubElement r, const QStyleOption* opt, const QWidget* widget) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "subElementRect"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QRect" , "QStyle::SubElement" , "const QStyleOption*" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QRect returnValue; - void* args[4] = {NULL, (void*)&r, (void*)&opt, (void*)&widget}; - 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("subElementRect", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QCleanlooksStyle::subElementRect(r, opt, widget); -} -void PythonQtShell_QCleanlooksStyle::timerEvent(QTimerEvent* event) -{ -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*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QCleanlooksStyle::timerEvent(event); -} -void PythonQtShell_QCleanlooksStyle::unpolish(QApplication* app) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "unpolish"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QApplication*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&app}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QCleanlooksStyle::unpolish(app); -} -void PythonQtShell_QCleanlooksStyle::unpolish(QWidget* widget) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "unpolish"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&widget}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QCleanlooksStyle::unpolish(widget); -} -QCleanlooksStyle* PythonQtWrapper_QCleanlooksStyle::new_QCleanlooksStyle() -{ -return new PythonQtShell_QCleanlooksStyle(); } - -int PythonQtWrapper_QCleanlooksStyle::pixelMetric(QCleanlooksStyle* theWrappedObject, QStyle::PixelMetric metric, const QStyleOption* option, const QWidget* widget) const -{ - return ( ((PythonQtPublicPromoter_QCleanlooksStyle*)theWrappedObject)->promoted_pixelMetric(metric, option, widget)); -} - -void PythonQtWrapper_QCleanlooksStyle::unpolish(QCleanlooksStyle* theWrappedObject, QApplication* app) -{ - ( ((PythonQtPublicPromoter_QCleanlooksStyle*)theWrappedObject)->promoted_unpolish(app)); -} - -void PythonQtWrapper_QCleanlooksStyle::drawComplexControl(QCleanlooksStyle* theWrappedObject, QStyle::ComplexControl control, const QStyleOptionComplex* option, QPainter* painter, const QWidget* widget) const -{ - ( ((PythonQtPublicPromoter_QCleanlooksStyle*)theWrappedObject)->promoted_drawComplexControl(control, option, painter, widget)); -} - -QRect PythonQtWrapper_QCleanlooksStyle::itemPixmapRect(QCleanlooksStyle* theWrappedObject, const QRect& r, int flags, const QPixmap& pixmap) const -{ - return ( ((PythonQtPublicPromoter_QCleanlooksStyle*)theWrappedObject)->promoted_itemPixmapRect(r, flags, pixmap)); -} - -QRect PythonQtWrapper_QCleanlooksStyle::subControlRect(QCleanlooksStyle* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* widget) const -{ - return ( ((PythonQtPublicPromoter_QCleanlooksStyle*)theWrappedObject)->promoted_subControlRect(cc, opt, sc, widget)); -} - -void PythonQtWrapper_QCleanlooksStyle::drawItemText(QCleanlooksStyle* theWrappedObject, QPainter* painter, const QRect& rect, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole) const -{ - ( ((PythonQtPublicPromoter_QCleanlooksStyle*)theWrappedObject)->promoted_drawItemText(painter, rect, flags, pal, enabled, text, textRole)); -} - -void PythonQtWrapper_QCleanlooksStyle::polish(QCleanlooksStyle* theWrappedObject, QPalette& pal) -{ - ( ((PythonQtPublicPromoter_QCleanlooksStyle*)theWrappedObject)->promoted_polish(pal)); -} - -QSize PythonQtWrapper_QCleanlooksStyle::sizeFromContents(QCleanlooksStyle* theWrappedObject, QStyle::ContentsType type, const QStyleOption* option, const QSize& size, const QWidget* widget) const -{ - return ( ((PythonQtPublicPromoter_QCleanlooksStyle*)theWrappedObject)->promoted_sizeFromContents(type, option, size, widget)); -} - -void PythonQtWrapper_QCleanlooksStyle::polish(QCleanlooksStyle* theWrappedObject, QApplication* app) -{ - ( ((PythonQtPublicPromoter_QCleanlooksStyle*)theWrappedObject)->promoted_polish(app)); -} - -QPalette PythonQtWrapper_QCleanlooksStyle::standardPalette(QCleanlooksStyle* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QCleanlooksStyle*)theWrappedObject)->promoted_standardPalette()); -} - -QRect PythonQtWrapper_QCleanlooksStyle::subElementRect(QCleanlooksStyle* theWrappedObject, QStyle::SubElement r, const QStyleOption* opt, const QWidget* widget) const -{ - return ( ((PythonQtPublicPromoter_QCleanlooksStyle*)theWrappedObject)->promoted_subElementRect(r, opt, widget)); -} - -int PythonQtWrapper_QCleanlooksStyle::styleHint(QCleanlooksStyle* theWrappedObject, QStyle::StyleHint hint, const QStyleOption* option, const QWidget* widget, QStyleHintReturn* returnData) const -{ - return ( ((PythonQtPublicPromoter_QCleanlooksStyle*)theWrappedObject)->promoted_styleHint(hint, option, widget, returnData)); -} - -void PythonQtWrapper_QCleanlooksStyle::drawControl(QCleanlooksStyle* theWrappedObject, QStyle::ControlElement ce, const QStyleOption* option, QPainter* painter, const QWidget* widget) const -{ - ( ((PythonQtPublicPromoter_QCleanlooksStyle*)theWrappedObject)->promoted_drawControl(ce, option, painter, widget)); -} - -void PythonQtWrapper_QCleanlooksStyle::drawItemPixmap(QCleanlooksStyle* theWrappedObject, QPainter* painter, const QRect& rect, int alignment, const QPixmap& pixmap) const -{ - ( ((PythonQtPublicPromoter_QCleanlooksStyle*)theWrappedObject)->promoted_drawItemPixmap(painter, rect, alignment, pixmap)); -} - -void PythonQtWrapper_QCleanlooksStyle::polish(QCleanlooksStyle* theWrappedObject, QWidget* widget) -{ - ( ((PythonQtPublicPromoter_QCleanlooksStyle*)theWrappedObject)->promoted_polish(widget)); -} - -QStyle::SubControl PythonQtWrapper_QCleanlooksStyle::hitTestComplexControl(QCleanlooksStyle* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex* opt, const QPoint& pt, const QWidget* w) const -{ - return ( ((PythonQtPublicPromoter_QCleanlooksStyle*)theWrappedObject)->promoted_hitTestComplexControl(cc, opt, pt, w)); -} - -QPixmap PythonQtWrapper_QCleanlooksStyle::generatedIconPixmap(QCleanlooksStyle* theWrappedObject, QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const -{ - return ( ((PythonQtPublicPromoter_QCleanlooksStyle*)theWrappedObject)->promoted_generatedIconPixmap(iconMode, pixmap, opt)); -} - -void PythonQtWrapper_QCleanlooksStyle::drawPrimitive(QCleanlooksStyle* theWrappedObject, QStyle::PrimitiveElement elem, const QStyleOption* option, QPainter* painter, const QWidget* widget) const -{ - ( ((PythonQtPublicPromoter_QCleanlooksStyle*)theWrappedObject)->promoted_drawPrimitive(elem, option, painter, widget)); -} - -void PythonQtWrapper_QCleanlooksStyle::unpolish(QCleanlooksStyle* theWrappedObject, QWidget* widget) -{ - ( ((PythonQtPublicPromoter_QCleanlooksStyle*)theWrappedObject)->promoted_unpolish(widget)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QCleanlooksStyle.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QCleanlooksStyle.h deleted file mode 100644 index cfdf22b..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QCleanlooksStyle.h +++ /dev/null @@ -1,110 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QCLEANLOOKSSTYLE_H -#define PYTHONQTWRAPPER_QCLEANLOOKSSTYLE_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QCleanlooksStyle : public QCleanlooksStyle -{ -public: - PythonQtShell_QCleanlooksStyle():QCleanlooksStyle(),_wrapper(NULL) {}; - -virtual void childEvent(QChildEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual void drawComplexControl(QStyle::ComplexControl control, const QStyleOptionComplex* option, QPainter* painter, const QWidget* widget) const; -virtual void drawControl(QStyle::ControlElement ce, const QStyleOption* option, QPainter* painter, const QWidget* widget) const; -virtual void drawItemPixmap(QPainter* painter, const QRect& rect, int alignment, const QPixmap& pixmap) const; -virtual void drawItemText(QPainter* painter, const QRect& rect, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole = QPalette::NoRole) const; -virtual void drawPrimitive(QStyle::PrimitiveElement elem, const QStyleOption* option, QPainter* painter, const QWidget* widget = 0) const; -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* o, QEvent* e); -virtual QPixmap generatedIconPixmap(QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const; -virtual QStyle::SubControl hitTestComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, const QPoint& pt, const QWidget* w = 0) const; -virtual QRect itemPixmapRect(const QRect& r, int flags, const QPixmap& pixmap) const; -virtual int pixelMetric(QStyle::PixelMetric metric, const QStyleOption* option = 0, const QWidget* widget = 0) const; -virtual void polish(QApplication* app); -virtual void polish(QPalette& pal); -virtual void polish(QWidget* widget); -virtual QSize sizeFromContents(QStyle::ContentsType type, const QStyleOption* option, const QSize& size, const QWidget* widget) const; -virtual QPalette standardPalette() const; -virtual QPixmap standardPixmap(QStyle::StandardPixmap standardPixmap, const QStyleOption* opt, const QWidget* widget) const; -virtual int styleHint(QStyle::StyleHint hint, const QStyleOption* option = 0, const QWidget* widget = 0, QStyleHintReturn* returnData = 0) const; -virtual QRect subControlRect(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* widget) const; -virtual QRect subElementRect(QStyle::SubElement r, const QStyleOption* opt, const QWidget* widget = 0) const; -virtual void timerEvent(QTimerEvent* event); -virtual void unpolish(QApplication* app); -virtual void unpolish(QWidget* widget); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QCleanlooksStyle : public QCleanlooksStyle -{ public: -inline int promoted_pixelMetric(QStyle::PixelMetric metric, const QStyleOption* option = 0, const QWidget* widget = 0) const { return QCleanlooksStyle::pixelMetric(metric, option, widget); } -inline void promoted_unpolish(QApplication* app) { QCleanlooksStyle::unpolish(app); } -inline void promoted_drawComplexControl(QStyle::ComplexControl control, const QStyleOptionComplex* option, QPainter* painter, const QWidget* widget) const { QCleanlooksStyle::drawComplexControl(control, option, painter, widget); } -inline QRect promoted_itemPixmapRect(const QRect& r, int flags, const QPixmap& pixmap) const { return QCleanlooksStyle::itemPixmapRect(r, flags, pixmap); } -inline QRect promoted_subControlRect(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* widget) const { return QCleanlooksStyle::subControlRect(cc, opt, sc, widget); } -inline void promoted_drawItemText(QPainter* painter, const QRect& rect, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole = QPalette::NoRole) const { QCleanlooksStyle::drawItemText(painter, rect, flags, pal, enabled, text, textRole); } -inline void promoted_polish(QPalette& pal) { QCleanlooksStyle::polish(pal); } -inline QSize promoted_sizeFromContents(QStyle::ContentsType type, const QStyleOption* option, const QSize& size, const QWidget* widget) const { return QCleanlooksStyle::sizeFromContents(type, option, size, widget); } -inline void promoted_polish(QApplication* app) { QCleanlooksStyle::polish(app); } -inline QPalette promoted_standardPalette() const { return QCleanlooksStyle::standardPalette(); } -inline QRect promoted_subElementRect(QStyle::SubElement r, const QStyleOption* opt, const QWidget* widget = 0) const { return QCleanlooksStyle::subElementRect(r, opt, widget); } -inline int promoted_styleHint(QStyle::StyleHint hint, const QStyleOption* option = 0, const QWidget* widget = 0, QStyleHintReturn* returnData = 0) const { return QCleanlooksStyle::styleHint(hint, option, widget, returnData); } -inline void promoted_drawControl(QStyle::ControlElement ce, const QStyleOption* option, QPainter* painter, const QWidget* widget) const { QCleanlooksStyle::drawControl(ce, option, painter, widget); } -inline void promoted_drawItemPixmap(QPainter* painter, const QRect& rect, int alignment, const QPixmap& pixmap) const { QCleanlooksStyle::drawItemPixmap(painter, rect, alignment, pixmap); } -inline void promoted_polish(QWidget* widget) { QCleanlooksStyle::polish(widget); } -inline QStyle::SubControl promoted_hitTestComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, const QPoint& pt, const QWidget* w = 0) const { return QCleanlooksStyle::hitTestComplexControl(cc, opt, pt, w); } -inline QPixmap promoted_generatedIconPixmap(QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const { return QCleanlooksStyle::generatedIconPixmap(iconMode, pixmap, opt); } -inline void promoted_drawPrimitive(QStyle::PrimitiveElement elem, const QStyleOption* option, QPainter* painter, const QWidget* widget = 0) const { QCleanlooksStyle::drawPrimitive(elem, option, painter, widget); } -inline void promoted_unpolish(QWidget* widget) { QCleanlooksStyle::unpolish(widget); } -}; - -class PythonQtWrapper_QCleanlooksStyle : public QObject -{ Q_OBJECT -public: -public slots: -QCleanlooksStyle* new_QCleanlooksStyle(); -void delete_QCleanlooksStyle(QCleanlooksStyle* obj) { delete obj; } - int pixelMetric(QCleanlooksStyle* theWrappedObject, QStyle::PixelMetric metric, const QStyleOption* option = 0, const QWidget* widget = 0) const; - void unpolish(QCleanlooksStyle* theWrappedObject, QApplication* app); - void drawComplexControl(QCleanlooksStyle* theWrappedObject, QStyle::ComplexControl control, const QStyleOptionComplex* option, QPainter* painter, const QWidget* widget) const; - QRect itemPixmapRect(QCleanlooksStyle* theWrappedObject, const QRect& r, int flags, const QPixmap& pixmap) const; - QRect subControlRect(QCleanlooksStyle* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* widget) const; - void drawItemText(QCleanlooksStyle* theWrappedObject, QPainter* painter, const QRect& rect, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole = QPalette::NoRole) const; - void polish(QCleanlooksStyle* theWrappedObject, QPalette& pal); - QSize sizeFromContents(QCleanlooksStyle* theWrappedObject, QStyle::ContentsType type, const QStyleOption* option, const QSize& size, const QWidget* widget) const; - void polish(QCleanlooksStyle* theWrappedObject, QApplication* app); - QPalette standardPalette(QCleanlooksStyle* theWrappedObject) const; - QRect subElementRect(QCleanlooksStyle* theWrappedObject, QStyle::SubElement r, const QStyleOption* opt, const QWidget* widget = 0) const; - int styleHint(QCleanlooksStyle* theWrappedObject, QStyle::StyleHint hint, const QStyleOption* option = 0, const QWidget* widget = 0, QStyleHintReturn* returnData = 0) const; - void drawControl(QCleanlooksStyle* theWrappedObject, QStyle::ControlElement ce, const QStyleOption* option, QPainter* painter, const QWidget* widget) const; - void drawItemPixmap(QCleanlooksStyle* theWrappedObject, QPainter* painter, const QRect& rect, int alignment, const QPixmap& pixmap) const; - void polish(QCleanlooksStyle* theWrappedObject, QWidget* widget); - QStyle::SubControl hitTestComplexControl(QCleanlooksStyle* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex* opt, const QPoint& pt, const QWidget* w = 0) const; - QPixmap generatedIconPixmap(QCleanlooksStyle* theWrappedObject, QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const; - void drawPrimitive(QCleanlooksStyle* theWrappedObject, QStyle::PrimitiveElement elem, const QStyleOption* option, QPainter* painter, const QWidget* widget = 0) const; - void unpolish(QCleanlooksStyle* theWrappedObject, QWidget* widget); -}; - -#endif // PYTHONQTWRAPPER_QCLEANLOOKSSTYLE_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QClipboard.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QClipboard.cpp deleted file mode 100644 index ae0bcba..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QClipboard.cpp +++ /dev/null @@ -1,97 +0,0 @@ -#include "PythonQtWrapper_QClipboard.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -bool PythonQtWrapper_QClipboard::supportsSelection(QClipboard* theWrappedObject) const -{ - return ( theWrappedObject->supportsSelection()); -} - -bool PythonQtWrapper_QClipboard::ownsSelection(QClipboard* theWrappedObject) const -{ - return ( theWrappedObject->ownsSelection()); -} - -void PythonQtWrapper_QClipboard::setPixmap(QClipboard* theWrappedObject, const QPixmap& arg__1, QClipboard::Mode mode) -{ - ( theWrappedObject->setPixmap(arg__1, mode)); -} - -void PythonQtWrapper_QClipboard::clear(QClipboard* theWrappedObject, QClipboard::Mode mode) -{ - ( theWrappedObject->clear(mode)); -} - -void PythonQtWrapper_QClipboard::setMimeData(QClipboard* theWrappedObject, QMimeData* data, QClipboard::Mode mode) -{ - ( theWrappedObject->setMimeData(data, mode)); -} - -QImage PythonQtWrapper_QClipboard::image(QClipboard* theWrappedObject, QClipboard::Mode mode) const -{ - return ( theWrappedObject->image(mode)); -} - -bool PythonQtWrapper_QClipboard::ownsClipboard(QClipboard* theWrappedObject) const -{ - return ( theWrappedObject->ownsClipboard()); -} - -QPixmap PythonQtWrapper_QClipboard::pixmap(QClipboard* theWrappedObject, QClipboard::Mode mode) const -{ - return ( theWrappedObject->pixmap(mode)); -} - -void PythonQtWrapper_QClipboard::setImage(QClipboard* theWrappedObject, const QImage& arg__1, QClipboard::Mode mode) -{ - ( theWrappedObject->setImage(arg__1, mode)); -} - -bool PythonQtWrapper_QClipboard::supportsFindBuffer(QClipboard* theWrappedObject) const -{ - return ( theWrappedObject->supportsFindBuffer()); -} - -void PythonQtWrapper_QClipboard::setText(QClipboard* theWrappedObject, const QString& arg__1, QClipboard::Mode mode) -{ - ( theWrappedObject->setText(arg__1, mode)); -} - -bool PythonQtWrapper_QClipboard::event(QClipboard* theWrappedObject, QEvent* arg__1) -{ - return ( ((PythonQtPublicPromoter_QClipboard*)theWrappedObject)->promoted_event(arg__1)); -} - -QString PythonQtWrapper_QClipboard::text(QClipboard* theWrappedObject, QString& subtype, QClipboard::Mode mode) const -{ - return ( theWrappedObject->text(subtype, mode)); -} - -const QMimeData* PythonQtWrapper_QClipboard::mimeData(QClipboard* theWrappedObject, QClipboard::Mode mode) const -{ - return ( theWrappedObject->mimeData(mode)); -} - -bool PythonQtWrapper_QClipboard::ownsFindBuffer(QClipboard* theWrappedObject) const -{ - return ( theWrappedObject->ownsFindBuffer()); -} - -QString PythonQtWrapper_QClipboard::text(QClipboard* theWrappedObject, QClipboard::Mode mode) const -{ - return ( theWrappedObject->text(mode)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QClipboard.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QClipboard.h deleted file mode 100644 index 29c3b75..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QClipboard.h +++ /dev/null @@ -1,51 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QCLIPBOARD_H -#define PYTHONQTWRAPPER_QCLIPBOARD_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtPublicPromoter_QClipboard : public QClipboard -{ public: -inline bool promoted_event(QEvent* arg__1) { return QClipboard::event(arg__1); } -}; - -class PythonQtWrapper_QClipboard : public QObject -{ Q_OBJECT -public: -Q_ENUMS(Mode ) -enum Mode{ - Clipboard = QClipboard::Clipboard, Selection = QClipboard::Selection, FindBuffer = QClipboard::FindBuffer, LastMode = QClipboard::LastMode}; -public slots: - bool supportsSelection(QClipboard* theWrappedObject) const; - bool ownsSelection(QClipboard* theWrappedObject) const; - void setPixmap(QClipboard* theWrappedObject, const QPixmap& arg__1, QClipboard::Mode mode = QClipboard::Clipboard); - void clear(QClipboard* theWrappedObject, QClipboard::Mode mode = QClipboard::Clipboard); - void setMimeData(QClipboard* theWrappedObject, QMimeData* data, QClipboard::Mode mode = QClipboard::Clipboard); - QImage image(QClipboard* theWrappedObject, QClipboard::Mode mode = QClipboard::Clipboard) const; - bool ownsClipboard(QClipboard* theWrappedObject) const; - QPixmap pixmap(QClipboard* theWrappedObject, QClipboard::Mode mode = QClipboard::Clipboard) const; - void setImage(QClipboard* theWrappedObject, const QImage& arg__1, QClipboard::Mode mode = QClipboard::Clipboard); - bool supportsFindBuffer(QClipboard* theWrappedObject) const; - void setText(QClipboard* theWrappedObject, const QString& arg__1, QClipboard::Mode mode = QClipboard::Clipboard); - bool event(QClipboard* theWrappedObject, QEvent* arg__1); - QString text(QClipboard* theWrappedObject, QString& subtype, QClipboard::Mode mode = QClipboard::Clipboard) const; - const QMimeData* mimeData(QClipboard* theWrappedObject, QClipboard::Mode mode = QClipboard::Clipboard) const; - bool ownsFindBuffer(QClipboard* theWrappedObject) const; - QString text(QClipboard* theWrappedObject, QClipboard::Mode mode = QClipboard::Clipboard) const; -}; - -#endif // PYTHONQTWRAPPER_QCLIPBOARD_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QClipboardEvent.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QClipboardEvent.cpp deleted file mode 100644 index ed8d1c5..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QClipboardEvent.cpp +++ /dev/null @@ -1,7 +0,0 @@ -#include "PythonQtWrapper_QClipboardEvent.h" - -#include -#include -#include -#include - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QClipboardEvent.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QClipboardEvent.h deleted file mode 100644 index 5777d1b..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QClipboardEvent.h +++ /dev/null @@ -1,18 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QCLIPBOARDEVENT_H -#define PYTHONQTWRAPPER_QCLIPBOARDEVENT_H - -#include -#include - -#include - -#include - -class PythonQtWrapper_QClipboardEvent : public QObject -{ Q_OBJECT -public: -public slots: -void delete_QClipboardEvent(QClipboardEvent* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QCLIPBOARDEVENT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QCloseEvent.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QCloseEvent.cpp deleted file mode 100644 index 19a432a..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QCloseEvent.cpp +++ /dev/null @@ -1,11 +0,0 @@ -#include "PythonQtWrapper_QCloseEvent.h" - -#include -#include -#include -#include - -QCloseEvent* PythonQtWrapper_QCloseEvent::new_QCloseEvent() -{ -return new QCloseEvent(); } - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QCloseEvent.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QCloseEvent.h deleted file mode 100644 index ff2ffd8..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QCloseEvent.h +++ /dev/null @@ -1,19 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QCLOSEEVENT_H -#define PYTHONQTWRAPPER_QCLOSEEVENT_H - -#include -#include - -#include - -#include - -class PythonQtWrapper_QCloseEvent : public QObject -{ Q_OBJECT -public: -public slots: -QCloseEvent* new_QCloseEvent(); -void delete_QCloseEvent(QCloseEvent* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QCLOSEEVENT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QColor.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QColor.cpp deleted file mode 100644 index cb636db..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QColor.cpp +++ /dev/null @@ -1,351 +0,0 @@ -#include "PythonQtWrapper_QColor.h" - -#include -#include -#include -#include -#include -#include -#include - -QColor* PythonQtWrapper_QColor::new_QColor() -{ -return new QColor(); } - -QColor* PythonQtWrapper_QColor::new_QColor(Qt::GlobalColor color) -{ -return new QColor(color); } - -QColor* PythonQtWrapper_QColor::new_QColor(const QColor& color) -{ -return new QColor(color); } - -QColor* PythonQtWrapper_QColor::new_QColor(const QString& name) -{ -return new QColor(name); } - -QColor* PythonQtWrapper_QColor::new_QColor(int r, int g, int b, int a) -{ -return new QColor(r, g, b, a); } - -QColor* PythonQtWrapper_QColor::new_QColor(unsigned int rgb) -{ -return new QColor(rgb); } - -void PythonQtWrapper_QColor::setNamedColor(QColor* theWrappedObject, const QString& name) -{ - ( theWrappedObject->setNamedColor(name)); -} - -void PythonQtWrapper_QColor::setRedF(QColor* theWrappedObject, qreal red) -{ - ( theWrappedObject->setRedF(red)); -} - -int PythonQtWrapper_QColor::value(QColor* theWrappedObject) const -{ - return ( theWrappedObject->value()); -} - -void PythonQtWrapper_QColor::setBlue(QColor* theWrappedObject, int blue) -{ - ( theWrappedObject->setBlue(blue)); -} - -void PythonQtWrapper_QColor::setHsvF(QColor* theWrappedObject, qreal h, qreal s, qreal v, qreal a) -{ - ( theWrappedObject->setHsvF(h, s, v, a)); -} - -unsigned int PythonQtWrapper_QColor::rgba(QColor* theWrappedObject) const -{ - return ( theWrappedObject->rgba()); -} - -void PythonQtWrapper_QColor::writeTo(QColor* theWrappedObject, QDataStream& arg__1) -{ - arg__1 << (*theWrappedObject); -} - -unsigned int PythonQtWrapper_QColor::rgb(QColor* theWrappedObject) const -{ - return ( theWrappedObject->rgb()); -} - -int PythonQtWrapper_QColor::black(QColor* theWrappedObject) const -{ - return ( theWrappedObject->black()); -} - -void PythonQtWrapper_QColor::setRgbF(QColor* theWrappedObject, qreal r, qreal g, qreal b, qreal a) -{ - ( theWrappedObject->setRgbF(r, g, b, a)); -} - -void PythonQtWrapper_QColor::setRed(QColor* theWrappedObject, int red) -{ - ( theWrappedObject->setRed(red)); -} - -QColor PythonQtWrapper_QColor::toHsv(QColor* theWrappedObject) const -{ - return ( theWrappedObject->toHsv()); -} - -qreal PythonQtWrapper_QColor::saturationF(QColor* theWrappedObject) const -{ - return ( theWrappedObject->saturationF()); -} - -qreal PythonQtWrapper_QColor::valueF(QColor* theWrappedObject) const -{ - return ( theWrappedObject->valueF()); -} - -QColor PythonQtWrapper_QColor::static_QColor_fromRgbF(qreal r, qreal g, qreal b, qreal a) -{ - return (QColor::fromRgbF(r, g, b, a)); -} - -qreal PythonQtWrapper_QColor::magentaF(QColor* theWrappedObject) const -{ - return ( theWrappedObject->magentaF()); -} - -void PythonQtWrapper_QColor::setRgba(QColor* theWrappedObject, unsigned int rgba) -{ - ( theWrappedObject->setRgba(rgba)); -} - -int PythonQtWrapper_QColor::hue(QColor* theWrappedObject) const -{ - return ( theWrappedObject->hue()); -} - -void PythonQtWrapper_QColor::setAlphaF(QColor* theWrappedObject, qreal alpha) -{ - ( theWrappedObject->setAlphaF(alpha)); -} - -int PythonQtWrapper_QColor::red(QColor* theWrappedObject) const -{ - return ( theWrappedObject->red()); -} - -QColor::Spec PythonQtWrapper_QColor::spec(QColor* theWrappedObject) const -{ - return ( theWrappedObject->spec()); -} - -qreal PythonQtWrapper_QColor::blueF(QColor* theWrappedObject) const -{ - return ( theWrappedObject->blueF()); -} - -void PythonQtWrapper_QColor::setCmyk(QColor* theWrappedObject, int c, int m, int y, int k, int a) -{ - ( theWrappedObject->setCmyk(c, m, y, k, a)); -} - -QColor PythonQtWrapper_QColor::toCmyk(QColor* theWrappedObject) const -{ - return ( theWrappedObject->toCmyk()); -} - -qreal PythonQtWrapper_QColor::blackF(QColor* theWrappedObject) const -{ - return ( theWrappedObject->blackF()); -} - -QColor PythonQtWrapper_QColor::toRgb(QColor* theWrappedObject) const -{ - return ( theWrappedObject->toRgb()); -} - -void PythonQtWrapper_QColor::setCmykF(QColor* theWrappedObject, qreal c, qreal m, qreal y, qreal k, qreal a) -{ - ( theWrappedObject->setCmykF(c, m, y, k, a)); -} - -qreal PythonQtWrapper_QColor::alphaF(QColor* theWrappedObject) const -{ - return ( theWrappedObject->alphaF()); -} - -QColor PythonQtWrapper_QColor::darker(QColor* theWrappedObject, int f) const -{ - return ( theWrappedObject->darker(f)); -} - -QColor PythonQtWrapper_QColor::static_QColor_fromHsvF(qreal h, qreal s, qreal v, qreal a) -{ - return (QColor::fromHsvF(h, s, v, a)); -} - -qreal PythonQtWrapper_QColor::redF(QColor* theWrappedObject) const -{ - return ( theWrappedObject->redF()); -} - -int PythonQtWrapper_QColor::yellow(QColor* theWrappedObject) const -{ - return ( theWrappedObject->yellow()); -} - -int PythonQtWrapper_QColor::alpha(QColor* theWrappedObject) const -{ - return ( theWrappedObject->alpha()); -} - -QColor PythonQtWrapper_QColor::static_QColor_fromRgb(int r, int g, int b, int a) -{ - return (QColor::fromRgb(r, g, b, a)); -} - -qreal PythonQtWrapper_QColor::greenF(QColor* theWrappedObject) const -{ - return ( theWrappedObject->greenF()); -} - -void PythonQtWrapper_QColor::setBlueF(QColor* theWrappedObject, qreal blue) -{ - ( theWrappedObject->setBlueF(blue)); -} - -QColor PythonQtWrapper_QColor::convertTo(QColor* theWrappedObject, QColor::Spec colorSpec) const -{ - return ( theWrappedObject->convertTo(colorSpec)); -} - -void PythonQtWrapper_QColor::setHsv(QColor* theWrappedObject, int h, int s, int v, int a) -{ - ( theWrappedObject->setHsv(h, s, v, a)); -} - -int PythonQtWrapper_QColor::cyan(QColor* theWrappedObject) const -{ - return ( theWrappedObject->cyan()); -} - -QColor PythonQtWrapper_QColor::static_QColor_fromHsv(int h, int s, int v, int a) -{ - return (QColor::fromHsv(h, s, v, a)); -} - -QColor PythonQtWrapper_QColor::static_QColor_fromRgba(unsigned int rgba) -{ - return (QColor::fromRgba(rgba)); -} - -void PythonQtWrapper_QColor::setRgb(QColor* theWrappedObject, int r, int g, int b, int a) -{ - ( theWrappedObject->setRgb(r, g, b, a)); -} - -bool PythonQtWrapper_QColor::operator_equal(QColor* theWrappedObject, const QColor& c) const -{ - return ( (*theWrappedObject)== c); -} - -void PythonQtWrapper_QColor::readFrom(QColor* theWrappedObject, QDataStream& arg__1) -{ - arg__1 >> (*theWrappedObject); -} - -void PythonQtWrapper_QColor::setAlpha(QColor* theWrappedObject, int alpha) -{ - ( theWrappedObject->setAlpha(alpha)); -} - -int PythonQtWrapper_QColor::green(QColor* theWrappedObject) const -{ - return ( theWrappedObject->green()); -} - -QColor PythonQtWrapper_QColor::static_QColor_fromRgb(unsigned int rgb) -{ - return (QColor::fromRgb(rgb)); -} - -QColor PythonQtWrapper_QColor::static_QColor_fromCmyk(int c, int m, int y, int k, int a) -{ - return (QColor::fromCmyk(c, m, y, k, a)); -} - -qreal PythonQtWrapper_QColor::yellowF(QColor* theWrappedObject) const -{ - return ( theWrappedObject->yellowF()); -} - -qreal PythonQtWrapper_QColor::cyanF(QColor* theWrappedObject) const -{ - return ( theWrappedObject->cyanF()); -} - -QColor PythonQtWrapper_QColor::static_QColor_fromCmykF(qreal c, qreal m, qreal y, qreal k, qreal a) -{ - return (QColor::fromCmykF(c, m, y, k, a)); -} - -int PythonQtWrapper_QColor::magenta(QColor* theWrappedObject) const -{ - return ( theWrappedObject->magenta()); -} - -int PythonQtWrapper_QColor::saturation(QColor* theWrappedObject) const -{ - return ( theWrappedObject->saturation()); -} - -int PythonQtWrapper_QColor::blue(QColor* theWrappedObject) const -{ - return ( theWrappedObject->blue()); -} - -QStringList PythonQtWrapper_QColor::static_QColor_colorNames() -{ - return (QColor::colorNames()); -} - -qreal PythonQtWrapper_QColor::hueF(QColor* theWrappedObject) const -{ - return ( theWrappedObject->hueF()); -} - -bool PythonQtWrapper_QColor::isValid(QColor* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -void PythonQtWrapper_QColor::setGreen(QColor* theWrappedObject, int green) -{ - ( theWrappedObject->setGreen(green)); -} - -void PythonQtWrapper_QColor::setRgb(QColor* theWrappedObject, unsigned int rgb) -{ - ( theWrappedObject->setRgb(rgb)); -} - -QString PythonQtWrapper_QColor::name(QColor* theWrappedObject) const -{ - return ( theWrappedObject->name()); -} - -void PythonQtWrapper_QColor::setGreenF(QColor* theWrappedObject, qreal green) -{ - ( theWrappedObject->setGreenF(green)); -} - -QColor PythonQtWrapper_QColor::lighter(QColor* theWrappedObject, int f) const -{ - return ( theWrappedObject->lighter(f)); -} - -QString PythonQtWrapper_QColor::toString(QColor* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QColor.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QColor.h deleted file mode 100644 index bc30536..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QColor.h +++ /dev/null @@ -1,93 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QCOLOR_H -#define PYTHONQTWRAPPER_QCOLOR_H - -#include -#include - -#include - -#include -#include -#include -#include - -class PythonQtWrapper_QColor : public QObject -{ Q_OBJECT -public: -Q_ENUMS(Spec ) -enum Spec{ - Invalid = QColor::Invalid, Rgb = QColor::Rgb, Hsv = QColor::Hsv, Cmyk = QColor::Cmyk}; -public slots: -QColor* new_QColor(); -QColor* new_QColor(Qt::GlobalColor color); -QColor* new_QColor(const QColor& color); -QColor* new_QColor(const QString& name); -QColor* new_QColor(int r, int g, int b, int a = 255); -QColor* new_QColor(unsigned int rgb); -void delete_QColor(QColor* obj) { delete obj; } - void setNamedColor(QColor* theWrappedObject, const QString& name); - void setRedF(QColor* theWrappedObject, qreal red); - int value(QColor* theWrappedObject) const; - void setBlue(QColor* theWrappedObject, int blue); - void setHsvF(QColor* theWrappedObject, qreal h, qreal s, qreal v, qreal a = 1.0); - unsigned int rgba(QColor* theWrappedObject) const; - void writeTo(QColor* theWrappedObject, QDataStream& arg__1); - unsigned int rgb(QColor* theWrappedObject) const; - int black(QColor* theWrappedObject) const; - void setRgbF(QColor* theWrappedObject, qreal r, qreal g, qreal b, qreal a = 1.0); - void setRed(QColor* theWrappedObject, int red); - QColor toHsv(QColor* theWrappedObject) const; - qreal saturationF(QColor* theWrappedObject) const; - qreal valueF(QColor* theWrappedObject) const; - QColor static_QColor_fromRgbF(qreal r, qreal g, qreal b, qreal a = 1.0); - qreal magentaF(QColor* theWrappedObject) const; - void setRgba(QColor* theWrappedObject, unsigned int rgba); - int hue(QColor* theWrappedObject) const; - void setAlphaF(QColor* theWrappedObject, qreal alpha); - int red(QColor* theWrappedObject) const; - QColor::Spec spec(QColor* theWrappedObject) const; - qreal blueF(QColor* theWrappedObject) const; - void setCmyk(QColor* theWrappedObject, int c, int m, int y, int k, int a = 255); - QColor toCmyk(QColor* theWrappedObject) const; - qreal blackF(QColor* theWrappedObject) const; - QColor toRgb(QColor* theWrappedObject) const; - void setCmykF(QColor* theWrappedObject, qreal c, qreal m, qreal y, qreal k, qreal a = 1.0); - qreal alphaF(QColor* theWrappedObject) const; - QColor darker(QColor* theWrappedObject, int f = 200) const; - QColor static_QColor_fromHsvF(qreal h, qreal s, qreal v, qreal a = 1.0); - qreal redF(QColor* theWrappedObject) const; - int yellow(QColor* theWrappedObject) const; - int alpha(QColor* theWrappedObject) const; - QColor static_QColor_fromRgb(int r, int g, int b, int a = 255); - qreal greenF(QColor* theWrappedObject) const; - void setBlueF(QColor* theWrappedObject, qreal blue); - QColor convertTo(QColor* theWrappedObject, QColor::Spec colorSpec) const; - void setHsv(QColor* theWrappedObject, int h, int s, int v, int a = 255); - int cyan(QColor* theWrappedObject) const; - QColor static_QColor_fromHsv(int h, int s, int v, int a = 255); - QColor static_QColor_fromRgba(unsigned int rgba); - void setRgb(QColor* theWrappedObject, int r, int g, int b, int a = 255); - bool operator_equal(QColor* theWrappedObject, const QColor& c) const; - void readFrom(QColor* theWrappedObject, QDataStream& arg__1); - void setAlpha(QColor* theWrappedObject, int alpha); - int green(QColor* theWrappedObject) const; - QColor static_QColor_fromRgb(unsigned int rgb); - QColor static_QColor_fromCmyk(int c, int m, int y, int k, int a = 255); - qreal yellowF(QColor* theWrappedObject) const; - qreal cyanF(QColor* theWrappedObject) const; - QColor static_QColor_fromCmykF(qreal c, qreal m, qreal y, qreal k, qreal a = 1.0); - int magenta(QColor* theWrappedObject) const; - int saturation(QColor* theWrappedObject) const; - int blue(QColor* theWrappedObject) const; - QStringList static_QColor_colorNames(); - qreal hueF(QColor* theWrappedObject) const; - bool isValid(QColor* theWrappedObject) const; - void setGreen(QColor* theWrappedObject, int green); - void setRgb(QColor* theWrappedObject, unsigned int rgb); - QString name(QColor* theWrappedObject) const; - void setGreenF(QColor* theWrappedObject, qreal green); - QColor lighter(QColor* theWrappedObject, int f = 150) const; - QString toString(QColor*); -}; - -#endif // PYTHONQTWRAPPER_QCOLOR_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QColorDialog.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QColorDialog.cpp deleted file mode 100644 index adddd34..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QColorDialog.cpp +++ /dev/null @@ -1,64 +0,0 @@ -#include "PythonQtWrapper_QColorDialog.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtWrapper_QColorDialog::static_QColorDialog_setCustomColor(int arg__1, unsigned int arg__2) -{ - (QColorDialog::setCustomColor(arg__1, arg__2)); -} - -QColor PythonQtWrapper_QColorDialog::static_QColorDialog_getColor(const QColor& init, QWidget* parent) -{ - return (QColorDialog::getColor(init, parent)); -} - -void PythonQtWrapper_QColorDialog::static_QColorDialog_setStandardColor(int arg__1, unsigned int arg__2) -{ - (QColorDialog::setStandardColor(arg__1, arg__2)); -} - -void PythonQtWrapper_QColorDialog::changeEvent(QColorDialog* theWrappedObject, QEvent* e) -{ - ( ((PythonQtPublicPromoter_QColorDialog*)theWrappedObject)->promoted_changeEvent(e)); -} - -int PythonQtWrapper_QColorDialog::static_QColorDialog_customCount() -{ - return (QColorDialog::customCount()); -} - -unsigned int PythonQtWrapper_QColorDialog::static_QColorDialog_customColor(int arg__1) -{ - return (QColorDialog::customColor(arg__1)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QColorDialog.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QColorDialog.h deleted file mode 100644 index 27ffb03..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QColorDialog.h +++ /dev/null @@ -1,55 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QCOLORDIALOG_H -#define PYTHONQTWRAPPER_QCOLORDIALOG_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtPublicPromoter_QColorDialog : public QColorDialog -{ public: -inline void promoted_changeEvent(QEvent* e) { QColorDialog::changeEvent(e); } -}; - -class PythonQtWrapper_QColorDialog : public QObject -{ Q_OBJECT -public: -public slots: - void static_QColorDialog_setCustomColor(int arg__1, unsigned int arg__2); - QColor static_QColorDialog_getColor(const QColor& init = Qt::white, QWidget* parent = 0); - void static_QColorDialog_setStandardColor(int arg__1, unsigned int arg__2); - void changeEvent(QColorDialog* theWrappedObject, QEvent* e); - int static_QColorDialog_customCount(); - unsigned int static_QColorDialog_customColor(int arg__1); -}; - -#endif // PYTHONQTWRAPPER_QCOLORDIALOG_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QColumnView.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QColumnView.cpp deleted file mode 100644 index e4c33c5..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QColumnView.cpp +++ /dev/null @@ -1,1721 +0,0 @@ -#include "PythonQtWrapper_QColumnView.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QColumnView::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QColumnView::actionEvent(arg__1); -} -void PythonQtShell_QColumnView::changeEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QColumnView::changeEvent(arg__1); -} -void PythonQtShell_QColumnView::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; - } -} - QColumnView::childEvent(arg__1); -} -void PythonQtShell_QColumnView::closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEditor"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&editor, (void*)&hint}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QColumnView::closeEditor(editor, hint); -} -void PythonQtShell_QColumnView::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QColumnView::closeEvent(arg__1); -} -void PythonQtShell_QColumnView::commitData(QWidget* editor) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "commitData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QColumnView::commitData(editor); -} -void PythonQtShell_QColumnView::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QColumnView::contextMenuEvent(arg__1); -} -QAbstractItemView* PythonQtShell_QColumnView::createColumn(const QModelIndex& rootIndex) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "createColumn"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QAbstractItemView*" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QAbstractItemView* returnValue; - void* args[2] = {NULL, (void*)&rootIndex}; - 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("createColumn", methodInfo, result); - } else { - returnValue = *((QAbstractItemView**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QColumnView::createColumn(rootIndex); -} -void PythonQtShell_QColumnView::currentChanged(const QModelIndex& current, const QModelIndex& previous) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "currentChanged"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)¤t, (void*)&previous}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QColumnView::currentChanged(current, previous); -} -void PythonQtShell_QColumnView::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; - } -} - QColumnView::customEvent(arg__1); -} -void PythonQtShell_QColumnView::dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dataChanged"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&topLeft, (void*)&bottomRight}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QColumnView::dataChanged(topLeft, bottomRight); -} -int PythonQtShell_QColumnView::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QColumnView::devType(); -} -void PythonQtShell_QColumnView::doItemsLayout() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "doItemsLayout"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QColumnView::doItemsLayout(); -} -void PythonQtShell_QColumnView::dragEnterEvent(QDragEnterEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QColumnView::dragEnterEvent(event); -} -void PythonQtShell_QColumnView::dragLeaveEvent(QDragLeaveEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QColumnView::dragLeaveEvent(event); -} -void PythonQtShell_QColumnView::dragMoveEvent(QDragMoveEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QColumnView::dragMoveEvent(event); -} -void PythonQtShell_QColumnView::dropEvent(QDropEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QColumnView::dropEvent(event); -} -bool PythonQtShell_QColumnView::edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "edit"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&index, (void*)&trigger, (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("edit", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QColumnView::edit(index, trigger, event); -} -void PythonQtShell_QColumnView::editorDestroyed(QObject* editor) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "editorDestroyed"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QObject*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QColumnView::editorDestroyed(editor); -} -void PythonQtShell_QColumnView::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QColumnView::enterEvent(arg__1); -} -bool PythonQtShell_QColumnView::event(QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QColumnView::event(event); -} -bool PythonQtShell_QColumnView::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QColumnView::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QColumnView::focusInEvent(QFocusEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QColumnView::focusInEvent(event); -} -bool PythonQtShell_QColumnView::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QColumnView::focusNextPrevChild(next); -} -void PythonQtShell_QColumnView::focusOutEvent(QFocusEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QColumnView::focusOutEvent(event); -} -int PythonQtShell_QColumnView::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QColumnView::heightForWidth(arg__1); -} -void PythonQtShell_QColumnView::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QColumnView::hideEvent(arg__1); -} -int PythonQtShell_QColumnView::horizontalOffset() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "horizontalOffset"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QColumnView::horizontalOffset(); -} -void PythonQtShell_QColumnView::horizontalScrollbarAction(int action) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "horizontalScrollbarAction"); - 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*)&action}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QColumnView::horizontalScrollbarAction(action); -} -void PythonQtShell_QColumnView::horizontalScrollbarValueChanged(int value) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "horizontalScrollbarValueChanged"); - 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*)&value}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QColumnView::horizontalScrollbarValueChanged(value); -} -QModelIndex PythonQtShell_QColumnView::indexAt(const QPoint& point) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "indexAt"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&point}; - 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("indexAt", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QColumnView::indexAt(point); -} -void PythonQtShell_QColumnView::inputMethodEvent(QInputMethodEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QColumnView::inputMethodEvent(event); -} -QVariant PythonQtShell_QColumnView::inputMethodQuery(Qt::InputMethodQuery query) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&query}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QColumnView::inputMethodQuery(query); -} -bool PythonQtShell_QColumnView::isIndexHidden(const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isIndexHidden"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool 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) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QColumnView::isIndexHidden(index); -} -void PythonQtShell_QColumnView::keyPressEvent(QKeyEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QColumnView::keyPressEvent(event); -} -void PythonQtShell_QColumnView::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QColumnView::keyReleaseEvent(arg__1); -} -void PythonQtShell_QColumnView::keyboardSearch(const QString& search) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyboardSearch"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&search}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QColumnView::keyboardSearch(search); -} -void PythonQtShell_QColumnView::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QColumnView::languageChange(); -} -void PythonQtShell_QColumnView::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QColumnView::leaveEvent(arg__1); -} -int PythonQtShell_QColumnView::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QColumnView::metric(arg__1); -} -void PythonQtShell_QColumnView::mouseDoubleClickEvent(QMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QColumnView::mouseDoubleClickEvent(event); -} -void PythonQtShell_QColumnView::mouseMoveEvent(QMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QColumnView::mouseMoveEvent(event); -} -void PythonQtShell_QColumnView::mousePressEvent(QMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QColumnView::mousePressEvent(event); -} -void PythonQtShell_QColumnView::mouseReleaseEvent(QMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QColumnView::mouseReleaseEvent(event); -} -void PythonQtShell_QColumnView::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QColumnView::moveEvent(arg__1); -} -QPaintEngine* PythonQtShell_QColumnView::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QColumnView::paintEngine(); -} -void PythonQtShell_QColumnView::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - 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; - } -} - QColumnView::paintEvent(arg__1); -} -void PythonQtShell_QColumnView::reset() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reset"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QColumnView::reset(); -} -void PythonQtShell_QColumnView::resizeEvent(QResizeEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - 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; - } -} - QColumnView::resizeEvent(event); -} -void PythonQtShell_QColumnView::rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowsAboutToBeRemoved"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent, (void*)&start, (void*)&end}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QColumnView::rowsAboutToBeRemoved(parent, start, end); -} -void PythonQtShell_QColumnView::rowsInserted(const QModelIndex& parent, int start, int end) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowsInserted"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent, (void*)&start, (void*)&end}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QColumnView::rowsInserted(parent, start, end); -} -void PythonQtShell_QColumnView::scrollContentsBy(int dx, int dy) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "scrollContentsBy"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&dx, (void*)&dy}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QColumnView::scrollContentsBy(dx, dy); -} -void PythonQtShell_QColumnView::scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "scrollTo"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&index, (void*)&hint}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QColumnView::scrollTo(index, hint); -} -void PythonQtShell_QColumnView::selectAll() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectAll"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QColumnView::selectAll(); -} -QList PythonQtShell_QColumnView::selectedIndexes() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectedIndexes"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QList returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); - } else { - returnValue = *((QList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QColumnView::selectedIndexes(); -} -void PythonQtShell_QColumnView::selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectionChanged"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&selected, (void*)&deselected}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QColumnView::selectionChanged(selected, deselected); -} -QItemSelectionModel::SelectionFlags PythonQtShell_QColumnView::selectionCommand(const QModelIndex& index, const QEvent* event) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectionCommand"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QItemSelectionModel::SelectionFlags" , "const QModelIndex&" , "const QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QItemSelectionModel::SelectionFlags returnValue; - void* args[3] = {NULL, (void*)&index, (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("selectionCommand", methodInfo, result); - } else { - returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QColumnView::selectionCommand(index, event); -} -void PythonQtShell_QColumnView::setModel(QAbstractItemModel* model) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setModel"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QAbstractItemModel*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&model}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QColumnView::setModel(model); -} -void PythonQtShell_QColumnView::setRootIndex(const QModelIndex& index) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setRootIndex"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QColumnView::setRootIndex(index); -} -void PythonQtShell_QColumnView::setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setSelection"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&rect, (void*)&command}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QColumnView::setSelection(rect, command); -} -void PythonQtShell_QColumnView::setSelectionModel(QItemSelectionModel* selectionModel) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setSelectionModel"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QItemSelectionModel*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&selectionModel}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QColumnView::setSelectionModel(selectionModel); -} -void PythonQtShell_QColumnView::showEvent(QShowEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QColumnView::showEvent(arg__1); -} -int PythonQtShell_QColumnView::sizeHintForColumn(int column) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeHintForColumn"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&column}; - 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("sizeHintForColumn", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QColumnView::sizeHintForColumn(column); -} -int PythonQtShell_QColumnView::sizeHintForRow(int row) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeHintForRow"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&row}; - 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("sizeHintForRow", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QColumnView::sizeHintForRow(row); -} -void PythonQtShell_QColumnView::startDrag(Qt::DropActions supportedActions) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "startDrag"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "Qt::DropActions"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&supportedActions}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QColumnView::startDrag(supportedActions); -} -void PythonQtShell_QColumnView::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QColumnView::tabletEvent(arg__1); -} -void PythonQtShell_QColumnView::timerEvent(QTimerEvent* event) -{ -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*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QColumnView::timerEvent(event); -} -void PythonQtShell_QColumnView::updateEditorData() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateEditorData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QColumnView::updateEditorData(); -} -void PythonQtShell_QColumnView::updateEditorGeometries() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateEditorGeometries"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QColumnView::updateEditorGeometries(); -} -void PythonQtShell_QColumnView::updateGeometries() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateGeometries"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QColumnView::updateGeometries(); -} -int PythonQtShell_QColumnView::verticalOffset() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "verticalOffset"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QColumnView::verticalOffset(); -} -void PythonQtShell_QColumnView::verticalScrollbarAction(int action) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "verticalScrollbarAction"); - 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*)&action}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QColumnView::verticalScrollbarAction(action); -} -void PythonQtShell_QColumnView::verticalScrollbarValueChanged(int value) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "verticalScrollbarValueChanged"); - 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*)&value}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QColumnView::verticalScrollbarValueChanged(value); -} -QStyleOptionViewItem PythonQtShell_QColumnView::viewOptions() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "viewOptions"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QStyleOptionViewItem"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStyleOptionViewItem returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); - } else { - returnValue = *((QStyleOptionViewItem*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QColumnView::viewOptions(); -} -bool PythonQtShell_QColumnView::viewportEvent(QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "viewportEvent"); - 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("viewportEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QColumnView::viewportEvent(event); -} -QRect PythonQtShell_QColumnView::visualRect(const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "visualRect"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRect 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) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QColumnView::visualRect(index); -} -QRegion PythonQtShell_QColumnView::visualRegionForSelection(const QItemSelection& selection) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "visualRegionForSelection"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRegion returnValue; - void* args[2] = {NULL, (void*)&selection}; - 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("visualRegionForSelection", methodInfo, result); - } else { - returnValue = *((QRegion*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QColumnView::visualRegionForSelection(selection); -} -void PythonQtShell_QColumnView::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QColumnView::wheelEvent(arg__1); -} -QColumnView* PythonQtWrapper_QColumnView::new_QColumnView(QWidget* parent) -{ -return new PythonQtShell_QColumnView(parent); } - -void PythonQtWrapper_QColumnView::setSelectionModel(QColumnView* theWrappedObject, QItemSelectionModel* selectionModel) -{ - ( ((PythonQtPublicPromoter_QColumnView*)theWrappedObject)->promoted_setSelectionModel(selectionModel)); -} - -QWidget* PythonQtWrapper_QColumnView::previewWidget(QColumnView* theWrappedObject) const -{ - return ( theWrappedObject->previewWidget()); -} - -QSize PythonQtWrapper_QColumnView::sizeHint(QColumnView* theWrappedObject) const -{ - return ( theWrappedObject->sizeHint()); -} - -void PythonQtWrapper_QColumnView::scrollTo(QColumnView* theWrappedObject, const QModelIndex& index, QAbstractItemView::ScrollHint hint) -{ - ( ((PythonQtPublicPromoter_QColumnView*)theWrappedObject)->promoted_scrollTo(index, hint)); -} - -void PythonQtWrapper_QColumnView::scrollContentsBy(QColumnView* theWrappedObject, int dx, int dy) -{ - ( ((PythonQtPublicPromoter_QColumnView*)theWrappedObject)->promoted_scrollContentsBy(dx, dy)); -} - -int PythonQtWrapper_QColumnView::horizontalOffset(QColumnView* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QColumnView*)theWrappedObject)->promoted_horizontalOffset()); -} - -bool PythonQtWrapper_QColumnView::isIndexHidden(QColumnView* theWrappedObject, const QModelIndex& index) const -{ - return ( ((PythonQtPublicPromoter_QColumnView*)theWrappedObject)->promoted_isIndexHidden(index)); -} - -QModelIndex PythonQtWrapper_QColumnView::indexAt(QColumnView* theWrappedObject, const QPoint& point) const -{ - return ( ((PythonQtPublicPromoter_QColumnView*)theWrappedObject)->promoted_indexAt(point)); -} - -void PythonQtWrapper_QColumnView::setResizeGripsVisible(QColumnView* theWrappedObject, bool visible) -{ - ( theWrappedObject->setResizeGripsVisible(visible)); -} - -QRect PythonQtWrapper_QColumnView::visualRect(QColumnView* theWrappedObject, const QModelIndex& index) const -{ - return ( ((PythonQtPublicPromoter_QColumnView*)theWrappedObject)->promoted_visualRect(index)); -} - -void PythonQtWrapper_QColumnView::setColumnWidths(QColumnView* theWrappedObject, const QList& list) -{ - ( theWrappedObject->setColumnWidths(list)); -} - -void PythonQtWrapper_QColumnView::setSelection(QColumnView* theWrappedObject, const QRect& rect, QItemSelectionModel::SelectionFlags command) -{ - ( ((PythonQtPublicPromoter_QColumnView*)theWrappedObject)->promoted_setSelection(rect, command)); -} - -void PythonQtWrapper_QColumnView::setModel(QColumnView* theWrappedObject, QAbstractItemModel* model) -{ - ( ((PythonQtPublicPromoter_QColumnView*)theWrappedObject)->promoted_setModel(model)); -} - -QRegion PythonQtWrapper_QColumnView::visualRegionForSelection(QColumnView* theWrappedObject, const QItemSelection& selection) const -{ - return ( ((PythonQtPublicPromoter_QColumnView*)theWrappedObject)->promoted_visualRegionForSelection(selection)); -} - -void PythonQtWrapper_QColumnView::setRootIndex(QColumnView* theWrappedObject, const QModelIndex& index) -{ - ( ((PythonQtPublicPromoter_QColumnView*)theWrappedObject)->promoted_setRootIndex(index)); -} - -bool PythonQtWrapper_QColumnView::resizeGripsVisible(QColumnView* theWrappedObject) const -{ - return ( theWrappedObject->resizeGripsVisible()); -} - -void PythonQtWrapper_QColumnView::setPreviewWidget(QColumnView* theWrappedObject, QWidget* widget) -{ - ( theWrappedObject->setPreviewWidget(widget)); -} - -void PythonQtWrapper_QColumnView::selectAll(QColumnView* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QColumnView*)theWrappedObject)->promoted_selectAll()); -} - -void PythonQtWrapper_QColumnView::resizeEvent(QColumnView* theWrappedObject, QResizeEvent* event) -{ - ( ((PythonQtPublicPromoter_QColumnView*)theWrappedObject)->promoted_resizeEvent(event)); -} - -int PythonQtWrapper_QColumnView::verticalOffset(QColumnView* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QColumnView*)theWrappedObject)->promoted_verticalOffset()); -} - -QList PythonQtWrapper_QColumnView::columnWidths(QColumnView* theWrappedObject) const -{ - return ( theWrappedObject->columnWidths()); -} - -QAbstractItemView* PythonQtWrapper_QColumnView::createColumn(QColumnView* theWrappedObject, const QModelIndex& rootIndex) -{ - return ( ((PythonQtPublicPromoter_QColumnView*)theWrappedObject)->promoted_createColumn(rootIndex)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QColumnView.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QColumnView.h deleted file mode 100644 index 96398f3..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QColumnView.h +++ /dev/null @@ -1,180 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QCOLUMNVIEW_H -#define PYTHONQTWRAPPER_QCOLUMNVIEW_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QColumnView : public QColumnView -{ -public: - PythonQtShell_QColumnView(QWidget* parent = 0):QColumnView(parent),_wrapper(NULL) {}; - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void commitData(QWidget* editor); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual QAbstractItemView* createColumn(const QModelIndex& rootIndex); -virtual void currentChanged(const QModelIndex& current, const QModelIndex& previous); -virtual void customEvent(QEvent* arg__1); -virtual void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight); -virtual int devType() const; -virtual void doItemsLayout(); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event); -virtual void editorDestroyed(QObject* editor); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual int horizontalOffset() const; -virtual void horizontalScrollbarAction(int action); -virtual void horizontalScrollbarValueChanged(int value); -virtual QModelIndex indexAt(const QPoint& point) const; -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual bool isIndexHidden(const QModelIndex& index) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void keyboardSearch(const QString& search); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* arg__1); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual void reset(); -virtual void resizeEvent(QResizeEvent* event); -virtual void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end); -virtual void rowsInserted(const QModelIndex& parent, int start, int end); -virtual void scrollContentsBy(int dx, int dy); -virtual void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible); -virtual void selectAll(); -virtual QList selectedIndexes() const; -virtual void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected); -virtual QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event) const; -virtual void setModel(QAbstractItemModel* model); -virtual void setRootIndex(const QModelIndex& index); -virtual void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command); -virtual void setSelectionModel(QItemSelectionModel* selectionModel); -virtual void showEvent(QShowEvent* arg__1); -virtual int sizeHintForColumn(int column) const; -virtual int sizeHintForRow(int row) const; -virtual void startDrag(Qt::DropActions supportedActions); -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* event); -virtual void updateEditorData(); -virtual void updateEditorGeometries(); -virtual void updateGeometries(); -virtual int verticalOffset() const; -virtual void verticalScrollbarAction(int action); -virtual void verticalScrollbarValueChanged(int value); -virtual QStyleOptionViewItem viewOptions() const; -virtual bool viewportEvent(QEvent* event); -virtual QRect visualRect(const QModelIndex& index) const; -virtual QRegion visualRegionForSelection(const QItemSelection& selection) const; -virtual void wheelEvent(QWheelEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QColumnView : public QColumnView -{ public: -inline void promoted_setSelectionModel(QItemSelectionModel* selectionModel) { QColumnView::setSelectionModel(selectionModel); } -inline void promoted_scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible) { QColumnView::scrollTo(index, hint); } -inline void promoted_scrollContentsBy(int dx, int dy) { QColumnView::scrollContentsBy(dx, dy); } -inline int promoted_horizontalOffset() const { return QColumnView::horizontalOffset(); } -inline bool promoted_isIndexHidden(const QModelIndex& index) const { return QColumnView::isIndexHidden(index); } -inline void promoted_currentChanged(const QModelIndex& current, const QModelIndex& previous) { QColumnView::currentChanged(current, previous); } -inline QModelIndex promoted_indexAt(const QPoint& point) const { return QColumnView::indexAt(point); } -inline QRect promoted_visualRect(const QModelIndex& index) const { return QColumnView::visualRect(index); } -inline void promoted_setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) { QColumnView::setSelection(rect, command); } -inline void promoted_setModel(QAbstractItemModel* model) { QColumnView::setModel(model); } -inline QRegion promoted_visualRegionForSelection(const QItemSelection& selection) const { return QColumnView::visualRegionForSelection(selection); } -inline void promoted_setRootIndex(const QModelIndex& index) { QColumnView::setRootIndex(index); } -inline void promoted_selectAll() { QColumnView::selectAll(); } -inline void promoted_resizeEvent(QResizeEvent* event) { QColumnView::resizeEvent(event); } -inline int promoted_verticalOffset() const { return QColumnView::verticalOffset(); } -inline QAbstractItemView* promoted_createColumn(const QModelIndex& rootIndex) { return QColumnView::createColumn(rootIndex); } -}; - -class PythonQtWrapper_QColumnView : public QObject -{ Q_OBJECT -public: -public slots: -QColumnView* new_QColumnView(QWidget* parent = 0); -void delete_QColumnView(QColumnView* obj) { delete obj; } - void setSelectionModel(QColumnView* theWrappedObject, QItemSelectionModel* selectionModel); - QWidget* previewWidget(QColumnView* theWrappedObject) const; - QSize sizeHint(QColumnView* theWrappedObject) const; - void scrollTo(QColumnView* theWrappedObject, const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible); - void scrollContentsBy(QColumnView* theWrappedObject, int dx, int dy); - int horizontalOffset(QColumnView* theWrappedObject) const; - bool isIndexHidden(QColumnView* theWrappedObject, const QModelIndex& index) const; - QModelIndex indexAt(QColumnView* theWrappedObject, const QPoint& point) const; - void setResizeGripsVisible(QColumnView* theWrappedObject, bool visible); - QRect visualRect(QColumnView* theWrappedObject, const QModelIndex& index) const; - void setColumnWidths(QColumnView* theWrappedObject, const QList& list); - void setSelection(QColumnView* theWrappedObject, const QRect& rect, QItemSelectionModel::SelectionFlags command); - void setModel(QColumnView* theWrappedObject, QAbstractItemModel* model); - QRegion visualRegionForSelection(QColumnView* theWrappedObject, const QItemSelection& selection) const; - void setRootIndex(QColumnView* theWrappedObject, const QModelIndex& index); - bool resizeGripsVisible(QColumnView* theWrappedObject) const; - void setPreviewWidget(QColumnView* theWrappedObject, QWidget* widget); - void selectAll(QColumnView* theWrappedObject); - void resizeEvent(QColumnView* theWrappedObject, QResizeEvent* event); - int verticalOffset(QColumnView* theWrappedObject) const; - QList columnWidths(QColumnView* theWrappedObject) const; - QAbstractItemView* createColumn(QColumnView* theWrappedObject, const QModelIndex& rootIndex); -}; - -#endif // PYTHONQTWRAPPER_QCOLUMNVIEW_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QComboBox.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QComboBox.cpp deleted file mode 100644 index 4fe7220..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QComboBox.cpp +++ /dev/null @@ -1,1178 +0,0 @@ -#include "PythonQtWrapper_QComboBox.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QComboBox::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QComboBox::actionEvent(arg__1); -} -void PythonQtShell_QComboBox::changeEvent(QEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QComboBox::changeEvent(e); -} -void PythonQtShell_QComboBox::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; - } -} - QComboBox::childEvent(arg__1); -} -void PythonQtShell_QComboBox::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QComboBox::closeEvent(arg__1); -} -void PythonQtShell_QComboBox::contextMenuEvent(QContextMenuEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QComboBox::contextMenuEvent(e); -} -void PythonQtShell_QComboBox::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; - } -} - QComboBox::customEvent(arg__1); -} -int PythonQtShell_QComboBox::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QComboBox::devType(); -} -void PythonQtShell_QComboBox::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QComboBox::dragEnterEvent(arg__1); -} -void PythonQtShell_QComboBox::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QComboBox::dragLeaveEvent(arg__1); -} -void PythonQtShell_QComboBox::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QComboBox::dragMoveEvent(arg__1); -} -void PythonQtShell_QComboBox::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QComboBox::dropEvent(arg__1); -} -void PythonQtShell_QComboBox::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QComboBox::enterEvent(arg__1); -} -bool PythonQtShell_QComboBox::event(QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QComboBox::event(event); -} -bool PythonQtShell_QComboBox::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QComboBox::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QComboBox::focusInEvent(QFocusEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QComboBox::focusInEvent(e); -} -bool PythonQtShell_QComboBox::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QComboBox::focusNextPrevChild(next); -} -void PythonQtShell_QComboBox::focusOutEvent(QFocusEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QComboBox::focusOutEvent(e); -} -int PythonQtShell_QComboBox::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QComboBox::heightForWidth(arg__1); -} -void PythonQtShell_QComboBox::hideEvent(QHideEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QComboBox::hideEvent(e); -} -void PythonQtShell_QComboBox::hidePopup() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hidePopup"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QComboBox::hidePopup(); -} -void PythonQtShell_QComboBox::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QComboBox::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QComboBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QComboBox::inputMethodQuery(arg__1); -} -void PythonQtShell_QComboBox::keyPressEvent(QKeyEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QComboBox::keyPressEvent(e); -} -void PythonQtShell_QComboBox::keyReleaseEvent(QKeyEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QComboBox::keyReleaseEvent(e); -} -void PythonQtShell_QComboBox::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QComboBox::languageChange(); -} -void PythonQtShell_QComboBox::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QComboBox::leaveEvent(arg__1); -} -int PythonQtShell_QComboBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QComboBox::metric(arg__1); -} -void PythonQtShell_QComboBox::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QComboBox::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QComboBox::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QComboBox::mouseMoveEvent(arg__1); -} -void PythonQtShell_QComboBox::mousePressEvent(QMouseEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QComboBox::mousePressEvent(e); -} -void PythonQtShell_QComboBox::mouseReleaseEvent(QMouseEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QComboBox::mouseReleaseEvent(e); -} -void PythonQtShell_QComboBox::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QComboBox::moveEvent(arg__1); -} -QPaintEngine* PythonQtShell_QComboBox::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QComboBox::paintEngine(); -} -void PythonQtShell_QComboBox::paintEvent(QPaintEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QComboBox::paintEvent(e); -} -void PythonQtShell_QComboBox::resizeEvent(QResizeEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QComboBox::resizeEvent(e); -} -void PythonQtShell_QComboBox::showEvent(QShowEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QComboBox::showEvent(e); -} -void PythonQtShell_QComboBox::showPopup() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showPopup"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QComboBox::showPopup(); -} -void PythonQtShell_QComboBox::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QComboBox::tabletEvent(arg__1); -} -void PythonQtShell_QComboBox::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; - } -} - QComboBox::timerEvent(arg__1); -} -void PythonQtShell_QComboBox::wheelEvent(QWheelEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QComboBox::wheelEvent(e); -} -QComboBox* PythonQtWrapper_QComboBox::new_QComboBox(QWidget* parent) -{ -return new PythonQtShell_QComboBox(parent); } - -void PythonQtWrapper_QComboBox::paintEvent(QComboBox* theWrappedObject, QPaintEvent* e) -{ - ( ((PythonQtPublicPromoter_QComboBox*)theWrappedObject)->promoted_paintEvent(e)); -} - -void PythonQtWrapper_QComboBox::showEvent(QComboBox* theWrappedObject, QShowEvent* e) -{ - ( ((PythonQtPublicPromoter_QComboBox*)theWrappedObject)->promoted_showEvent(e)); -} - -void PythonQtWrapper_QComboBox::addItem(QComboBox* theWrappedObject, const QString& text, const QVariant& userData) -{ - ( theWrappedObject->addItem(text, userData)); -} - -QSize PythonQtWrapper_QComboBox::sizeHint(QComboBox* theWrappedObject) const -{ - return ( theWrappedObject->sizeHint()); -} - -void PythonQtWrapper_QComboBox::setMaxVisibleItems(QComboBox* theWrappedObject, int maxItems) -{ - ( theWrappedObject->setMaxVisibleItems(maxItems)); -} - -void PythonQtWrapper_QComboBox::setModelColumn(QComboBox* theWrappedObject, int visibleColumn) -{ - ( theWrappedObject->setModelColumn(visibleColumn)); -} - -void PythonQtWrapper_QComboBox::setCompleter(QComboBox* theWrappedObject, QCompleter* c) -{ - ( theWrappedObject->setCompleter(c)); -} - -void PythonQtWrapper_QComboBox::setRootModelIndex(QComboBox* theWrappedObject, const QModelIndex& index) -{ - ( theWrappedObject->setRootModelIndex(index)); -} - -int PythonQtWrapper_QComboBox::count(QComboBox* theWrappedObject) const -{ - return ( theWrappedObject->count()); -} - -void PythonQtWrapper_QComboBox::changeEvent(QComboBox* theWrappedObject, QEvent* e) -{ - ( ((PythonQtPublicPromoter_QComboBox*)theWrappedObject)->promoted_changeEvent(e)); -} - -void PythonQtWrapper_QComboBox::setLineEdit(QComboBox* theWrappedObject, QLineEdit* edit) -{ - ( theWrappedObject->setLineEdit(edit)); -} - -void PythonQtWrapper_QComboBox::removeItem(QComboBox* theWrappedObject, int index) -{ - ( theWrappedObject->removeItem(index)); -} - -QModelIndex PythonQtWrapper_QComboBox::rootModelIndex(QComboBox* theWrappedObject) const -{ - return ( theWrappedObject->rootModelIndex()); -} - -QString PythonQtWrapper_QComboBox::currentText(QComboBox* theWrappedObject) const -{ - return ( theWrappedObject->currentText()); -} - -void PythonQtWrapper_QComboBox::hidePopup(QComboBox* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QComboBox*)theWrappedObject)->promoted_hidePopup()); -} - -void PythonQtWrapper_QComboBox::insertItem(QComboBox* theWrappedObject, int index, const QString& text, const QVariant& userData) -{ - ( theWrappedObject->insertItem(index, text, userData)); -} - -QAbstractItemModel* PythonQtWrapper_QComboBox::model(QComboBox* theWrappedObject) const -{ - return ( theWrappedObject->model()); -} - -void PythonQtWrapper_QComboBox::contextMenuEvent(QComboBox* theWrappedObject, QContextMenuEvent* e) -{ - ( ((PythonQtPublicPromoter_QComboBox*)theWrappedObject)->promoted_contextMenuEvent(e)); -} - -QSize PythonQtWrapper_QComboBox::minimumSizeHint(QComboBox* theWrappedObject) const -{ - return ( theWrappedObject->minimumSizeHint()); -} - -QCompleter* PythonQtWrapper_QComboBox::completer(QComboBox* theWrappedObject) const -{ - return ( theWrappedObject->completer()); -} - -void PythonQtWrapper_QComboBox::setItemIcon(QComboBox* theWrappedObject, int index, const QIcon& icon) -{ - ( theWrappedObject->setItemIcon(index, icon)); -} - -void PythonQtWrapper_QComboBox::addItem(QComboBox* theWrappedObject, const QIcon& icon, const QString& text, const QVariant& userData) -{ - ( theWrappedObject->addItem(icon, text, userData)); -} - -void PythonQtWrapper_QComboBox::inputMethodEvent(QComboBox* theWrappedObject, QInputMethodEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QComboBox*)theWrappedObject)->promoted_inputMethodEvent(arg__1)); -} - -bool PythonQtWrapper_QComboBox::hasFrame(QComboBox* theWrappedObject) const -{ - return ( theWrappedObject->hasFrame()); -} - -QComboBox::InsertPolicy PythonQtWrapper_QComboBox::insertPolicy(QComboBox* theWrappedObject) const -{ - return ( theWrappedObject->insertPolicy()); -} - -void PythonQtWrapper_QComboBox::setItemData(QComboBox* theWrappedObject, int index, const QVariant& value, int role) -{ - ( theWrappedObject->setItemData(index, value, role)); -} - -int PythonQtWrapper_QComboBox::currentIndex(QComboBox* theWrappedObject) const -{ - return ( theWrappedObject->currentIndex()); -} - -void PythonQtWrapper_QComboBox::focusOutEvent(QComboBox* theWrappedObject, QFocusEvent* e) -{ - ( ((PythonQtPublicPromoter_QComboBox*)theWrappedObject)->promoted_focusOutEvent(e)); -} - -bool PythonQtWrapper_QComboBox::duplicatesEnabled(QComboBox* theWrappedObject) const -{ - return ( theWrappedObject->duplicatesEnabled()); -} - -void PythonQtWrapper_QComboBox::hideEvent(QComboBox* theWrappedObject, QHideEvent* e) -{ - ( ((PythonQtPublicPromoter_QComboBox*)theWrappedObject)->promoted_hideEvent(e)); -} - -void PythonQtWrapper_QComboBox::setIconSize(QComboBox* theWrappedObject, const QSize& size) -{ - ( theWrappedObject->setIconSize(size)); -} - -QAbstractItemView* PythonQtWrapper_QComboBox::view(QComboBox* theWrappedObject) const -{ - return ( theWrappedObject->view()); -} - -void PythonQtWrapper_QComboBox::wheelEvent(QComboBox* theWrappedObject, QWheelEvent* e) -{ - ( ((PythonQtPublicPromoter_QComboBox*)theWrappedObject)->promoted_wheelEvent(e)); -} - -void PythonQtWrapper_QComboBox::mousePressEvent(QComboBox* theWrappedObject, QMouseEvent* e) -{ - ( ((PythonQtPublicPromoter_QComboBox*)theWrappedObject)->promoted_mousePressEvent(e)); -} - -void PythonQtWrapper_QComboBox::mouseReleaseEvent(QComboBox* theWrappedObject, QMouseEvent* e) -{ - ( ((PythonQtPublicPromoter_QComboBox*)theWrappedObject)->promoted_mouseReleaseEvent(e)); -} - -void PythonQtWrapper_QComboBox::showPopup(QComboBox* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QComboBox*)theWrappedObject)->promoted_showPopup()); -} - -void PythonQtWrapper_QComboBox::insertItem(QComboBox* theWrappedObject, int index, const QIcon& icon, const QString& text, const QVariant& userData) -{ - ( theWrappedObject->insertItem(index, icon, text, userData)); -} - -void PythonQtWrapper_QComboBox::addItems(QComboBox* theWrappedObject, const QStringList& texts) -{ - ( theWrappedObject->addItems(texts)); -} - -const QValidator* PythonQtWrapper_QComboBox::validator(QComboBox* theWrappedObject) const -{ - return ( theWrappedObject->validator()); -} - -QIcon PythonQtWrapper_QComboBox::itemIcon(QComboBox* theWrappedObject, int index) const -{ - return ( theWrappedObject->itemIcon(index)); -} - -int PythonQtWrapper_QComboBox::maxCount(QComboBox* theWrappedObject) const -{ - return ( theWrappedObject->maxCount()); -} - -int PythonQtWrapper_QComboBox::findData(QComboBox* theWrappedObject, const QVariant& data, int role, Qt::MatchFlags flags) const -{ - return ( theWrappedObject->findData(data, role, flags)); -} - -void PythonQtWrapper_QComboBox::resizeEvent(QComboBox* theWrappedObject, QResizeEvent* e) -{ - ( ((PythonQtPublicPromoter_QComboBox*)theWrappedObject)->promoted_resizeEvent(e)); -} - -void PythonQtWrapper_QComboBox::setSizeAdjustPolicy(QComboBox* theWrappedObject, QComboBox::SizeAdjustPolicy policy) -{ - ( theWrappedObject->setSizeAdjustPolicy(policy)); -} - -void PythonQtWrapper_QComboBox::setValidator(QComboBox* theWrappedObject, const QValidator* v) -{ - ( theWrappedObject->setValidator(v)); -} - -void PythonQtWrapper_QComboBox::setDuplicatesEnabled(QComboBox* theWrappedObject, bool enable) -{ - ( theWrappedObject->setDuplicatesEnabled(enable)); -} - -void PythonQtWrapper_QComboBox::setFrame(QComboBox* theWrappedObject, bool arg__1) -{ - ( theWrappedObject->setFrame(arg__1)); -} - -bool PythonQtWrapper_QComboBox::event(QComboBox* theWrappedObject, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QComboBox*)theWrappedObject)->promoted_event(event)); -} - -void PythonQtWrapper_QComboBox::setEditable(QComboBox* theWrappedObject, bool editable) -{ - ( theWrappedObject->setEditable(editable)); -} - -void PythonQtWrapper_QComboBox::focusInEvent(QComboBox* theWrappedObject, QFocusEvent* e) -{ - ( ((PythonQtPublicPromoter_QComboBox*)theWrappedObject)->promoted_focusInEvent(e)); -} - -QLineEdit* PythonQtWrapper_QComboBox::lineEdit(QComboBox* theWrappedObject) const -{ - return ( theWrappedObject->lineEdit()); -} - -void PythonQtWrapper_QComboBox::setItemDelegate(QComboBox* theWrappedObject, QAbstractItemDelegate* delegate) -{ - ( theWrappedObject->setItemDelegate(delegate)); -} - -void PythonQtWrapper_QComboBox::keyReleaseEvent(QComboBox* theWrappedObject, QKeyEvent* e) -{ - ( ((PythonQtPublicPromoter_QComboBox*)theWrappedObject)->promoted_keyReleaseEvent(e)); -} - -int PythonQtWrapper_QComboBox::maxVisibleItems(QComboBox* theWrappedObject) const -{ - return ( theWrappedObject->maxVisibleItems()); -} - -QComboBox::SizeAdjustPolicy PythonQtWrapper_QComboBox::sizeAdjustPolicy(QComboBox* theWrappedObject) const -{ - return ( theWrappedObject->sizeAdjustPolicy()); -} - -void PythonQtWrapper_QComboBox::setInsertPolicy(QComboBox* theWrappedObject, QComboBox::InsertPolicy policy) -{ - ( theWrappedObject->setInsertPolicy(policy)); -} - -void PythonQtWrapper_QComboBox::setMaxCount(QComboBox* theWrappedObject, int max) -{ - ( theWrappedObject->setMaxCount(max)); -} - -void PythonQtWrapper_QComboBox::keyPressEvent(QComboBox* theWrappedObject, QKeyEvent* e) -{ - ( ((PythonQtPublicPromoter_QComboBox*)theWrappedObject)->promoted_keyPressEvent(e)); -} - -QSize PythonQtWrapper_QComboBox::iconSize(QComboBox* theWrappedObject) const -{ - return ( theWrappedObject->iconSize()); -} - -int PythonQtWrapper_QComboBox::minimumContentsLength(QComboBox* theWrappedObject) const -{ - return ( theWrappedObject->minimumContentsLength()); -} - -void PythonQtWrapper_QComboBox::setMinimumContentsLength(QComboBox* theWrappedObject, int characters) -{ - ( theWrappedObject->setMinimumContentsLength(characters)); -} - -void PythonQtWrapper_QComboBox::insertSeparator(QComboBox* theWrappedObject, int index) -{ - ( theWrappedObject->insertSeparator(index)); -} - -int PythonQtWrapper_QComboBox::modelColumn(QComboBox* theWrappedObject) const -{ - return ( theWrappedObject->modelColumn()); -} - -int PythonQtWrapper_QComboBox::findText(QComboBox* theWrappedObject, const QString& text, Qt::MatchFlags flags) const -{ - return ( theWrappedObject->findText(text, flags)); -} - -void PythonQtWrapper_QComboBox::setModel(QComboBox* theWrappedObject, QAbstractItemModel* model) -{ - ( theWrappedObject->setModel(model)); -} - -QVariant PythonQtWrapper_QComboBox::inputMethodQuery(QComboBox* theWrappedObject, Qt::InputMethodQuery arg__1) const -{ - return ( ((PythonQtPublicPromoter_QComboBox*)theWrappedObject)->promoted_inputMethodQuery(arg__1)); -} - -void PythonQtWrapper_QComboBox::setItemText(QComboBox* theWrappedObject, int index, const QString& text) -{ - ( theWrappedObject->setItemText(index, text)); -} - -void PythonQtWrapper_QComboBox::setView(QComboBox* theWrappedObject, QAbstractItemView* itemView) -{ - ( theWrappedObject->setView(itemView)); -} - -void PythonQtWrapper_QComboBox::insertItems(QComboBox* theWrappedObject, int index, const QStringList& texts) -{ - ( theWrappedObject->insertItems(index, texts)); -} - -bool PythonQtWrapper_QComboBox::isEditable(QComboBox* theWrappedObject) const -{ - return ( theWrappedObject->isEditable()); -} - -QString PythonQtWrapper_QComboBox::itemText(QComboBox* theWrappedObject, int index) const -{ - return ( theWrappedObject->itemText(index)); -} - -QAbstractItemDelegate* PythonQtWrapper_QComboBox::itemDelegate(QComboBox* theWrappedObject) const -{ - return ( theWrappedObject->itemDelegate()); -} - -QVariant PythonQtWrapper_QComboBox::itemData(QComboBox* theWrappedObject, int index, int role) const -{ - return ( theWrappedObject->itemData(index, role)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QComboBox.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QComboBox.h deleted file mode 100644 index e4a75c4..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QComboBox.h +++ /dev/null @@ -1,197 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QCOMBOBOX_H -#define PYTHONQTWRAPPER_QCOMBOBOX_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QComboBox : public QComboBox -{ -public: - PythonQtShell_QComboBox(QWidget* parent = 0):QComboBox(parent),_wrapper(NULL) {}; - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* e); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* e); -virtual void customEvent(QEvent* arg__1); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* e); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* e); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* e); -virtual void hidePopup(); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* e); -virtual void keyReleaseEvent(QKeyEvent* e); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* e); -virtual void mouseReleaseEvent(QMouseEvent* e); -virtual void moveEvent(QMoveEvent* arg__1); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* e); -virtual void resizeEvent(QResizeEvent* e); -virtual void showEvent(QShowEvent* e); -virtual void showPopup(); -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* e); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QComboBox : public QComboBox -{ public: -inline void promoted_paintEvent(QPaintEvent* e) { QComboBox::paintEvent(e); } -inline void promoted_showEvent(QShowEvent* e) { QComboBox::showEvent(e); } -inline void promoted_changeEvent(QEvent* e) { QComboBox::changeEvent(e); } -inline void promoted_hidePopup() { QComboBox::hidePopup(); } -inline void promoted_contextMenuEvent(QContextMenuEvent* e) { QComboBox::contextMenuEvent(e); } -inline void promoted_inputMethodEvent(QInputMethodEvent* arg__1) { QComboBox::inputMethodEvent(arg__1); } -inline void promoted_focusOutEvent(QFocusEvent* e) { QComboBox::focusOutEvent(e); } -inline void promoted_hideEvent(QHideEvent* e) { QComboBox::hideEvent(e); } -inline void promoted_wheelEvent(QWheelEvent* e) { QComboBox::wheelEvent(e); } -inline void promoted_mousePressEvent(QMouseEvent* e) { QComboBox::mousePressEvent(e); } -inline void promoted_mouseReleaseEvent(QMouseEvent* e) { QComboBox::mouseReleaseEvent(e); } -inline void promoted_showPopup() { QComboBox::showPopup(); } -inline void promoted_resizeEvent(QResizeEvent* e) { QComboBox::resizeEvent(e); } -inline bool promoted_event(QEvent* event) { return QComboBox::event(event); } -inline void promoted_focusInEvent(QFocusEvent* e) { QComboBox::focusInEvent(e); } -inline void promoted_keyReleaseEvent(QKeyEvent* e) { QComboBox::keyReleaseEvent(e); } -inline void promoted_keyPressEvent(QKeyEvent* e) { QComboBox::keyPressEvent(e); } -inline QVariant promoted_inputMethodQuery(Qt::InputMethodQuery arg__1) const { return QComboBox::inputMethodQuery(arg__1); } -}; - -class PythonQtWrapper_QComboBox : public QObject -{ Q_OBJECT -public: -public slots: -QComboBox* new_QComboBox(QWidget* parent = 0); -void delete_QComboBox(QComboBox* obj) { delete obj; } - void paintEvent(QComboBox* theWrappedObject, QPaintEvent* e); - void showEvent(QComboBox* theWrappedObject, QShowEvent* e); - void addItem(QComboBox* theWrappedObject, const QString& text, const QVariant& userData = QVariant()); - QSize sizeHint(QComboBox* theWrappedObject) const; - void setMaxVisibleItems(QComboBox* theWrappedObject, int maxItems); - void setModelColumn(QComboBox* theWrappedObject, int visibleColumn); - void setCompleter(QComboBox* theWrappedObject, QCompleter* c); - void setRootModelIndex(QComboBox* theWrappedObject, const QModelIndex& index); - int count(QComboBox* theWrappedObject) const; - void changeEvent(QComboBox* theWrappedObject, QEvent* e); - void setLineEdit(QComboBox* theWrappedObject, QLineEdit* edit); - void removeItem(QComboBox* theWrappedObject, int index); - QModelIndex rootModelIndex(QComboBox* theWrappedObject) const; - QString currentText(QComboBox* theWrappedObject) const; - void hidePopup(QComboBox* theWrappedObject); - void insertItem(QComboBox* theWrappedObject, int index, const QString& text, const QVariant& userData = QVariant()); - QAbstractItemModel* model(QComboBox* theWrappedObject) const; - void contextMenuEvent(QComboBox* theWrappedObject, QContextMenuEvent* e); - QSize minimumSizeHint(QComboBox* theWrappedObject) const; - QCompleter* completer(QComboBox* theWrappedObject) const; - void setItemIcon(QComboBox* theWrappedObject, int index, const QIcon& icon); - void addItem(QComboBox* theWrappedObject, const QIcon& icon, const QString& text, const QVariant& userData = QVariant()); - void inputMethodEvent(QComboBox* theWrappedObject, QInputMethodEvent* arg__1); - bool hasFrame(QComboBox* theWrappedObject) const; - QComboBox::InsertPolicy insertPolicy(QComboBox* theWrappedObject) const; - void setItemData(QComboBox* theWrappedObject, int index, const QVariant& value, int role = Qt::UserRole); - int currentIndex(QComboBox* theWrappedObject) const; - void focusOutEvent(QComboBox* theWrappedObject, QFocusEvent* e); - bool duplicatesEnabled(QComboBox* theWrappedObject) const; - void hideEvent(QComboBox* theWrappedObject, QHideEvent* e); - void setIconSize(QComboBox* theWrappedObject, const QSize& size); - QAbstractItemView* view(QComboBox* theWrappedObject) const; - void wheelEvent(QComboBox* theWrappedObject, QWheelEvent* e); - void mousePressEvent(QComboBox* theWrappedObject, QMouseEvent* e); - void mouseReleaseEvent(QComboBox* theWrappedObject, QMouseEvent* e); - void showPopup(QComboBox* theWrappedObject); - void insertItem(QComboBox* theWrappedObject, int index, const QIcon& icon, const QString& text, const QVariant& userData = QVariant()); - void addItems(QComboBox* theWrappedObject, const QStringList& texts); - const QValidator* validator(QComboBox* theWrappedObject) const; - QIcon itemIcon(QComboBox* theWrappedObject, int index) const; - int maxCount(QComboBox* theWrappedObject) const; - int findData(QComboBox* theWrappedObject, const QVariant& data, int role = Qt::UserRole, Qt::MatchFlags flags = Qt::MatchExactly|Qt::MatchCaseSensitive) const; - void resizeEvent(QComboBox* theWrappedObject, QResizeEvent* e); - void setSizeAdjustPolicy(QComboBox* theWrappedObject, QComboBox::SizeAdjustPolicy policy); - void setValidator(QComboBox* theWrappedObject, const QValidator* v); - void setDuplicatesEnabled(QComboBox* theWrappedObject, bool enable); - void setFrame(QComboBox* theWrappedObject, bool arg__1); - bool event(QComboBox* theWrappedObject, QEvent* event); - void setEditable(QComboBox* theWrappedObject, bool editable); - void focusInEvent(QComboBox* theWrappedObject, QFocusEvent* e); - QLineEdit* lineEdit(QComboBox* theWrappedObject) const; - void setItemDelegate(QComboBox* theWrappedObject, QAbstractItemDelegate* delegate); - void keyReleaseEvent(QComboBox* theWrappedObject, QKeyEvent* e); - int maxVisibleItems(QComboBox* theWrappedObject) const; - QComboBox::SizeAdjustPolicy sizeAdjustPolicy(QComboBox* theWrappedObject) const; - void setInsertPolicy(QComboBox* theWrappedObject, QComboBox::InsertPolicy policy); - void setMaxCount(QComboBox* theWrappedObject, int max); - void keyPressEvent(QComboBox* theWrappedObject, QKeyEvent* e); - QSize iconSize(QComboBox* theWrappedObject) const; - int minimumContentsLength(QComboBox* theWrappedObject) const; - void setMinimumContentsLength(QComboBox* theWrappedObject, int characters); - void insertSeparator(QComboBox* theWrappedObject, int index); - int modelColumn(QComboBox* theWrappedObject) const; - int findText(QComboBox* theWrappedObject, const QString& text, Qt::MatchFlags flags = Qt::MatchExactly|Qt::MatchCaseSensitive) const; - void setModel(QComboBox* theWrappedObject, QAbstractItemModel* model); - QVariant inputMethodQuery(QComboBox* theWrappedObject, Qt::InputMethodQuery arg__1) const; - void setItemText(QComboBox* theWrappedObject, int index, const QString& text); - void setView(QComboBox* theWrappedObject, QAbstractItemView* itemView); - void insertItems(QComboBox* theWrappedObject, int index, const QStringList& texts); - bool isEditable(QComboBox* theWrappedObject) const; - QString itemText(QComboBox* theWrappedObject, int index) const; - QAbstractItemDelegate* itemDelegate(QComboBox* theWrappedObject) const; - QVariant itemData(QComboBox* theWrappedObject, int index, int role = Qt::UserRole) const; -}; - -#endif // PYTHONQTWRAPPER_QCOMBOBOX_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QCommandLinkButton.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QCommandLinkButton.cpp deleted file mode 100644 index 74e7a28..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QCommandLinkButton.cpp +++ /dev/null @@ -1,869 +0,0 @@ -#include "PythonQtWrapper_QCommandLinkButton.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QCommandLinkButton::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QCommandLinkButton::actionEvent(arg__1); -} -void PythonQtShell_QCommandLinkButton::changeEvent(QEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QCommandLinkButton::changeEvent(e); -} -void PythonQtShell_QCommandLinkButton::checkStateSet() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "checkStateSet"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QCommandLinkButton::checkStateSet(); -} -void PythonQtShell_QCommandLinkButton::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; - } -} - QCommandLinkButton::childEvent(arg__1); -} -void PythonQtShell_QCommandLinkButton::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QCommandLinkButton::closeEvent(arg__1); -} -void PythonQtShell_QCommandLinkButton::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QCommandLinkButton::contextMenuEvent(arg__1); -} -void PythonQtShell_QCommandLinkButton::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; - } -} - QCommandLinkButton::customEvent(arg__1); -} -int PythonQtShell_QCommandLinkButton::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QCommandLinkButton::devType(); -} -void PythonQtShell_QCommandLinkButton::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QCommandLinkButton::dragEnterEvent(arg__1); -} -void PythonQtShell_QCommandLinkButton::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QCommandLinkButton::dragLeaveEvent(arg__1); -} -void PythonQtShell_QCommandLinkButton::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QCommandLinkButton::dragMoveEvent(arg__1); -} -void PythonQtShell_QCommandLinkButton::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QCommandLinkButton::dropEvent(arg__1); -} -void PythonQtShell_QCommandLinkButton::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QCommandLinkButton::enterEvent(arg__1); -} -bool PythonQtShell_QCommandLinkButton::event(QEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QCommandLinkButton::event(e); -} -bool PythonQtShell_QCommandLinkButton::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QCommandLinkButton::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QCommandLinkButton::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QCommandLinkButton::focusInEvent(arg__1); -} -bool PythonQtShell_QCommandLinkButton::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QCommandLinkButton::focusNextPrevChild(next); -} -void PythonQtShell_QCommandLinkButton::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QCommandLinkButton::focusOutEvent(arg__1); -} -int PythonQtShell_QCommandLinkButton::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QCommandLinkButton::heightForWidth(arg__1); -} -void PythonQtShell_QCommandLinkButton::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QCommandLinkButton::hideEvent(arg__1); -} -bool PythonQtShell_QCommandLinkButton::hitButton(const QPoint& pos) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hitButton"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QPoint&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&pos}; - 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("hitButton", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QCommandLinkButton::hitButton(pos); -} -void PythonQtShell_QCommandLinkButton::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QCommandLinkButton::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QCommandLinkButton::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QCommandLinkButton::inputMethodQuery(arg__1); -} -void PythonQtShell_QCommandLinkButton::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QCommandLinkButton::keyPressEvent(arg__1); -} -void PythonQtShell_QCommandLinkButton::keyReleaseEvent(QKeyEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QCommandLinkButton::keyReleaseEvent(e); -} -void PythonQtShell_QCommandLinkButton::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QCommandLinkButton::languageChange(); -} -void PythonQtShell_QCommandLinkButton::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QCommandLinkButton::leaveEvent(arg__1); -} -int PythonQtShell_QCommandLinkButton::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QCommandLinkButton::metric(arg__1); -} -void PythonQtShell_QCommandLinkButton::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QCommandLinkButton::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QCommandLinkButton::mouseMoveEvent(QMouseEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QCommandLinkButton::mouseMoveEvent(e); -} -void PythonQtShell_QCommandLinkButton::mousePressEvent(QMouseEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QCommandLinkButton::mousePressEvent(e); -} -void PythonQtShell_QCommandLinkButton::mouseReleaseEvent(QMouseEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QCommandLinkButton::mouseReleaseEvent(e); -} -void PythonQtShell_QCommandLinkButton::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QCommandLinkButton::moveEvent(arg__1); -} -void PythonQtShell_QCommandLinkButton::nextCheckState() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "nextCheckState"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QCommandLinkButton::nextCheckState(); -} -QPaintEngine* PythonQtShell_QCommandLinkButton::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QCommandLinkButton::paintEngine(); -} -void PythonQtShell_QCommandLinkButton::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - 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; - } -} - QCommandLinkButton::paintEvent(arg__1); -} -void PythonQtShell_QCommandLinkButton::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - 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; - } -} - QCommandLinkButton::resizeEvent(arg__1); -} -void PythonQtShell_QCommandLinkButton::showEvent(QShowEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QCommandLinkButton::showEvent(arg__1); -} -void PythonQtShell_QCommandLinkButton::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QCommandLinkButton::tabletEvent(arg__1); -} -void PythonQtShell_QCommandLinkButton::timerEvent(QTimerEvent* e) -{ -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*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QCommandLinkButton::timerEvent(e); -} -void PythonQtShell_QCommandLinkButton::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QCommandLinkButton::wheelEvent(arg__1); -} -QCommandLinkButton* PythonQtWrapper_QCommandLinkButton::new_QCommandLinkButton(QWidget* parent) -{ -return new PythonQtShell_QCommandLinkButton(parent); } - -QCommandLinkButton* PythonQtWrapper_QCommandLinkButton::new_QCommandLinkButton(const QString& text, QWidget* parent) -{ -return new PythonQtShell_QCommandLinkButton(text, parent); } - -QCommandLinkButton* PythonQtWrapper_QCommandLinkButton::new_QCommandLinkButton(const QString& text, const QString& description, QWidget* parent) -{ -return new PythonQtShell_QCommandLinkButton(text, description, parent); } - -bool PythonQtWrapper_QCommandLinkButton::event(QCommandLinkButton* theWrappedObject, QEvent* e) -{ - return ( ((PythonQtPublicPromoter_QCommandLinkButton*)theWrappedObject)->promoted_event(e)); -} - -QString PythonQtWrapper_QCommandLinkButton::description(QCommandLinkButton* theWrappedObject) const -{ - return ( theWrappedObject->description()); -} - -void PythonQtWrapper_QCommandLinkButton::setDescription(QCommandLinkButton* theWrappedObject, const QString& description) -{ - ( theWrappedObject->setDescription(description)); -} - -int PythonQtWrapper_QCommandLinkButton::heightForWidth(QCommandLinkButton* theWrappedObject, int arg__1) const -{ - return ( ((PythonQtPublicPromoter_QCommandLinkButton*)theWrappedObject)->promoted_heightForWidth(arg__1)); -} - -void PythonQtWrapper_QCommandLinkButton::paintEvent(QCommandLinkButton* theWrappedObject, QPaintEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QCommandLinkButton*)theWrappedObject)->promoted_paintEvent(arg__1)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QCommandLinkButton.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QCommandLinkButton.h deleted file mode 100644 index 3e6e613..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QCommandLinkButton.h +++ /dev/null @@ -1,114 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QCOMMANDLINKBUTTON_H -#define PYTHONQTWRAPPER_QCOMMANDLINKBUTTON_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QCommandLinkButton : public QCommandLinkButton -{ -public: - PythonQtShell_QCommandLinkButton(QWidget* parent = 0):QCommandLinkButton(parent),_wrapper(NULL) {}; - PythonQtShell_QCommandLinkButton(const QString& text, QWidget* parent = 0):QCommandLinkButton(text, parent),_wrapper(NULL) {}; - PythonQtShell_QCommandLinkButton(const QString& text, const QString& description, QWidget* parent = 0):QCommandLinkButton(text, description, parent),_wrapper(NULL) {}; - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* e); -virtual void checkStateSet(); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual bool hitButton(const QPoint& pos) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* e); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* e); -virtual void mousePressEvent(QMouseEvent* e); -virtual void mouseReleaseEvent(QMouseEvent* e); -virtual void moveEvent(QMoveEvent* arg__1); -virtual void nextCheckState(); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void showEvent(QShowEvent* arg__1); -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* e); -virtual void wheelEvent(QWheelEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QCommandLinkButton : public QCommandLinkButton -{ public: -inline bool promoted_event(QEvent* e) { return QCommandLinkButton::event(e); } -inline int promoted_heightForWidth(int arg__1) const { return QCommandLinkButton::heightForWidth(arg__1); } -inline void promoted_paintEvent(QPaintEvent* arg__1) { QCommandLinkButton::paintEvent(arg__1); } -}; - -class PythonQtWrapper_QCommandLinkButton : public QObject -{ Q_OBJECT -public: -public slots: -QCommandLinkButton* new_QCommandLinkButton(QWidget* parent = 0); -QCommandLinkButton* new_QCommandLinkButton(const QString& text, QWidget* parent = 0); -QCommandLinkButton* new_QCommandLinkButton(const QString& text, const QString& description, QWidget* parent = 0); -void delete_QCommandLinkButton(QCommandLinkButton* obj) { delete obj; } - bool event(QCommandLinkButton* theWrappedObject, QEvent* e); - QString description(QCommandLinkButton* theWrappedObject) const; - void setDescription(QCommandLinkButton* theWrappedObject, const QString& description); - int heightForWidth(QCommandLinkButton* theWrappedObject, int arg__1) const; - void paintEvent(QCommandLinkButton* theWrappedObject, QPaintEvent* arg__1); -}; - -#endif // PYTHONQTWRAPPER_QCOMMANDLINKBUTTON_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QCommonStyle.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QCommonStyle.cpp deleted file mode 100644 index cbbbeae..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QCommonStyle.cpp +++ /dev/null @@ -1,634 +0,0 @@ -#include "PythonQtWrapper_QCommonStyle.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QCommonStyle::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; - } -} - QCommonStyle::childEvent(arg__1); -} -void PythonQtShell_QCommonStyle::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; - } -} - QCommonStyle::customEvent(arg__1); -} -void PythonQtShell_QCommonStyle::drawComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QPainter* p, const QWidget* w) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawComplexControl"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QStyle::ComplexControl" , "const QStyleOptionComplex*" , "QPainter*" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&cc, (void*)&opt, (void*)&p, (void*)&w}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QCommonStyle::drawComplexControl(cc, opt, p, w); -} -void PythonQtShell_QCommonStyle::drawControl(QStyle::ControlElement element, const QStyleOption* opt, QPainter* p, const QWidget* w) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawControl"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QStyle::ControlElement" , "const QStyleOption*" , "QPainter*" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&element, (void*)&opt, (void*)&p, (void*)&w}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QCommonStyle::drawControl(element, opt, p, w); -} -void PythonQtShell_QCommonStyle::drawItemPixmap(QPainter* painter, const QRect& rect, int alignment, const QPixmap& pixmap) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawItemPixmap"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "int" , "const QPixmap&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&painter, (void*)&rect, (void*)&alignment, (void*)&pixmap}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QCommonStyle::drawItemPixmap(painter, rect, alignment, pixmap); -} -void PythonQtShell_QCommonStyle::drawItemText(QPainter* painter, const QRect& rect, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawItemText"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "int" , "const QPalette&" , "bool" , "const QString&" , "QPalette::ColorRole"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(8, argumentList); - void* args[8] = {NULL, (void*)&painter, (void*)&rect, (void*)&flags, (void*)&pal, (void*)&enabled, (void*)&text, (void*)&textRole}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QCommonStyle::drawItemText(painter, rect, flags, pal, enabled, text, textRole); -} -void PythonQtShell_QCommonStyle::drawPrimitive(QStyle::PrimitiveElement pe, const QStyleOption* opt, QPainter* p, const QWidget* w) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawPrimitive"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QStyle::PrimitiveElement" , "const QStyleOption*" , "QPainter*" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&pe, (void*)&opt, (void*)&p, (void*)&w}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QCommonStyle::drawPrimitive(pe, opt, p, w); -} -bool PythonQtShell_QCommonStyle::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QCommonStyle::event(arg__1); -} -bool PythonQtShell_QCommonStyle::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QCommonStyle::eventFilter(arg__1, arg__2); -} -QPixmap PythonQtShell_QCommonStyle::generatedIconPixmap(QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "generatedIconPixmap"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPixmap" , "QIcon::Mode" , "const QPixmap&" , "const QStyleOption*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QPixmap returnValue; - void* args[4] = {NULL, (void*)&iconMode, (void*)&pixmap, (void*)&opt}; - 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("generatedIconPixmap", methodInfo, result); - } else { - returnValue = *((QPixmap*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QCommonStyle::generatedIconPixmap(iconMode, pixmap, opt); -} -QStyle::SubControl PythonQtShell_QCommonStyle::hitTestComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, const QPoint& pt, const QWidget* w) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hitTestComplexControl"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QStyle::SubControl" , "QStyle::ComplexControl" , "const QStyleOptionComplex*" , "const QPoint&" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - QStyle::SubControl returnValue; - void* args[5] = {NULL, (void*)&cc, (void*)&opt, (void*)&pt, (void*)&w}; - 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("hitTestComplexControl", methodInfo, result); - } else { - returnValue = *((QStyle::SubControl*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QCommonStyle::hitTestComplexControl(cc, opt, pt, w); -} -QRect PythonQtShell_QCommonStyle::itemPixmapRect(const QRect& r, int flags, const QPixmap& pixmap) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemPixmapRect"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QRect" , "const QRect&" , "int" , "const QPixmap&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QRect returnValue; - void* args[4] = {NULL, (void*)&r, (void*)&flags, (void*)&pixmap}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemPixmapRect", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QCommonStyle::itemPixmapRect(r, flags, pixmap); -} -int PythonQtShell_QCommonStyle::pixelMetric(QStyle::PixelMetric m, const QStyleOption* opt, const QWidget* widget) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "pixelMetric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QStyle::PixelMetric" , "const QStyleOption*" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - int returnValue; - void* args[4] = {NULL, (void*)&m, (void*)&opt, (void*)&widget}; - 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("pixelMetric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QCommonStyle::pixelMetric(m, opt, widget); -} -void PythonQtShell_QCommonStyle::polish(QApplication* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "polish"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QApplication*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QCommonStyle::polish(arg__1); -} -void PythonQtShell_QCommonStyle::polish(QPalette& arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "polish"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPalette&"}; - 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; - } -} - QCommonStyle::polish(arg__1); -} -void PythonQtShell_QCommonStyle::polish(QWidget* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "polish"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWidget*"}; - 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; - } -} - QCommonStyle::polish(arg__1); -} -QSize PythonQtShell_QCommonStyle::sizeFromContents(QStyle::ContentsType ct, const QStyleOption* opt, const QSize& contentsSize, const QWidget* widget) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeFromContents"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize" , "QStyle::ContentsType" , "const QStyleOption*" , "const QSize&" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - QSize returnValue; - void* args[5] = {NULL, (void*)&ct, (void*)&opt, (void*)&contentsSize, (void*)&widget}; - 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("sizeFromContents", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QCommonStyle::sizeFromContents(ct, opt, contentsSize, widget); -} -QPalette PythonQtShell_QCommonStyle::standardPalette() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "standardPalette"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPalette"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPalette returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("standardPalette", methodInfo, result); - } else { - returnValue = *((QPalette*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QCommonStyle::standardPalette(); -} -QPixmap PythonQtShell_QCommonStyle::standardPixmap(QStyle::StandardPixmap standardPixmap, const QStyleOption* opt, const QWidget* widget) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "standardPixmap"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPixmap" , "QStyle::StandardPixmap" , "const QStyleOption*" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QPixmap returnValue; - void* args[4] = {NULL, (void*)&standardPixmap, (void*)&opt, (void*)&widget}; - 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("standardPixmap", methodInfo, result); - } else { - returnValue = *((QPixmap*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QPixmap result; -return result; -} -int PythonQtShell_QCommonStyle::styleHint(QStyle::StyleHint sh, const QStyleOption* opt, const QWidget* w, QStyleHintReturn* shret) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "styleHint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QStyle::StyleHint" , "const QStyleOption*" , "const QWidget*" , "QStyleHintReturn*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - int returnValue; - void* args[5] = {NULL, (void*)&sh, (void*)&opt, (void*)&w, (void*)&shret}; - 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("styleHint", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QCommonStyle::styleHint(sh, opt, w, shret); -} -QRect PythonQtShell_QCommonStyle::subControlRect(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* w) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "subControlRect"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QRect" , "QStyle::ComplexControl" , "const QStyleOptionComplex*" , "QStyle::SubControl" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - QRect returnValue; - void* args[5] = {NULL, (void*)&cc, (void*)&opt, (void*)&sc, (void*)&w}; - 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("subControlRect", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QCommonStyle::subControlRect(cc, opt, sc, w); -} -QRect PythonQtShell_QCommonStyle::subElementRect(QStyle::SubElement r, const QStyleOption* opt, const QWidget* widget) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "subElementRect"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QRect" , "QStyle::SubElement" , "const QStyleOption*" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QRect returnValue; - void* args[4] = {NULL, (void*)&r, (void*)&opt, (void*)&widget}; - 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("subElementRect", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QCommonStyle::subElementRect(r, opt, widget); -} -void PythonQtShell_QCommonStyle::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; - } -} - QCommonStyle::timerEvent(arg__1); -} -void PythonQtShell_QCommonStyle::unpolish(QApplication* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "unpolish"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QApplication*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QCommonStyle::unpolish(arg__1); -} -void PythonQtShell_QCommonStyle::unpolish(QWidget* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "unpolish"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QCommonStyle::unpolish(arg__1); -} -QCommonStyle* PythonQtWrapper_QCommonStyle::new_QCommonStyle() -{ -return new PythonQtShell_QCommonStyle(); } - -void PythonQtWrapper_QCommonStyle::drawControl(QCommonStyle* theWrappedObject, QStyle::ControlElement element, const QStyleOption* opt, QPainter* p, const QWidget* w) const -{ - ( ((PythonQtPublicPromoter_QCommonStyle*)theWrappedObject)->promoted_drawControl(element, opt, p, w)); -} - -QPixmap PythonQtWrapper_QCommonStyle::generatedIconPixmap(QCommonStyle* theWrappedObject, QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const -{ - return ( ((PythonQtPublicPromoter_QCommonStyle*)theWrappedObject)->promoted_generatedIconPixmap(iconMode, pixmap, opt)); -} - -void PythonQtWrapper_QCommonStyle::drawPrimitive(QCommonStyle* theWrappedObject, QStyle::PrimitiveElement pe, const QStyleOption* opt, QPainter* p, const QWidget* w) const -{ - ( ((PythonQtPublicPromoter_QCommonStyle*)theWrappedObject)->promoted_drawPrimitive(pe, opt, p, w)); -} - -int PythonQtWrapper_QCommonStyle::styleHint(QCommonStyle* theWrappedObject, QStyle::StyleHint sh, const QStyleOption* opt, const QWidget* w, QStyleHintReturn* shret) const -{ - return ( ((PythonQtPublicPromoter_QCommonStyle*)theWrappedObject)->promoted_styleHint(sh, opt, w, shret)); -} - -QRect PythonQtWrapper_QCommonStyle::subElementRect(QCommonStyle* theWrappedObject, QStyle::SubElement r, const QStyleOption* opt, const QWidget* widget) const -{ - return ( ((PythonQtPublicPromoter_QCommonStyle*)theWrappedObject)->promoted_subElementRect(r, opt, widget)); -} - -QSize PythonQtWrapper_QCommonStyle::sizeFromContents(QCommonStyle* theWrappedObject, QStyle::ContentsType ct, const QStyleOption* opt, const QSize& contentsSize, const QWidget* widget) const -{ - return ( ((PythonQtPublicPromoter_QCommonStyle*)theWrappedObject)->promoted_sizeFromContents(ct, opt, contentsSize, widget)); -} - -void PythonQtWrapper_QCommonStyle::drawComplexControl(QCommonStyle* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QPainter* p, const QWidget* w) const -{ - ( ((PythonQtPublicPromoter_QCommonStyle*)theWrappedObject)->promoted_drawComplexControl(cc, opt, p, w)); -} - -QRect PythonQtWrapper_QCommonStyle::subControlRect(QCommonStyle* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* w) const -{ - return ( ((PythonQtPublicPromoter_QCommonStyle*)theWrappedObject)->promoted_subControlRect(cc, opt, sc, w)); -} - -QStyle::SubControl PythonQtWrapper_QCommonStyle::hitTestComplexControl(QCommonStyle* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex* opt, const QPoint& pt, const QWidget* w) const -{ - return ( ((PythonQtPublicPromoter_QCommonStyle*)theWrappedObject)->promoted_hitTestComplexControl(cc, opt, pt, w)); -} - -int PythonQtWrapper_QCommonStyle::pixelMetric(QCommonStyle* theWrappedObject, QStyle::PixelMetric m, const QStyleOption* opt, const QWidget* widget) const -{ - return ( ((PythonQtPublicPromoter_QCommonStyle*)theWrappedObject)->promoted_pixelMetric(m, opt, widget)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QCommonStyle.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QCommonStyle.h deleted file mode 100644 index c89fa8d..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QCommonStyle.h +++ /dev/null @@ -1,92 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QCOMMONSTYLE_H -#define PYTHONQTWRAPPER_QCOMMONSTYLE_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QCommonStyle : public QCommonStyle -{ -public: - PythonQtShell_QCommonStyle():QCommonStyle(),_wrapper(NULL) {}; - -virtual void childEvent(QChildEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual void drawComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QPainter* p, const QWidget* w = 0) const; -virtual void drawControl(QStyle::ControlElement element, const QStyleOption* opt, QPainter* p, const QWidget* w = 0) const; -virtual void drawItemPixmap(QPainter* painter, const QRect& rect, int alignment, const QPixmap& pixmap) const; -virtual void drawItemText(QPainter* painter, const QRect& rect, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole) const; -virtual void drawPrimitive(QStyle::PrimitiveElement pe, const QStyleOption* opt, QPainter* p, const QWidget* w = 0) const; -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual QPixmap generatedIconPixmap(QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const; -virtual QStyle::SubControl hitTestComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, const QPoint& pt, const QWidget* w = 0) const; -virtual QRect itemPixmapRect(const QRect& r, int flags, const QPixmap& pixmap) const; -virtual int pixelMetric(QStyle::PixelMetric m, const QStyleOption* opt = 0, const QWidget* widget = 0) const; -virtual void polish(QApplication* arg__1); -virtual void polish(QPalette& arg__1); -virtual void polish(QWidget* arg__1); -virtual QSize sizeFromContents(QStyle::ContentsType ct, const QStyleOption* opt, const QSize& contentsSize, const QWidget* widget = 0) const; -virtual QPalette standardPalette() const; -virtual QPixmap standardPixmap(QStyle::StandardPixmap standardPixmap, const QStyleOption* opt, const QWidget* widget) const; -virtual int styleHint(QStyle::StyleHint sh, const QStyleOption* opt = 0, const QWidget* w = 0, QStyleHintReturn* shret = 0) const; -virtual QRect subControlRect(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* w = 0) const; -virtual QRect subElementRect(QStyle::SubElement r, const QStyleOption* opt, const QWidget* widget = 0) const; -virtual void timerEvent(QTimerEvent* arg__1); -virtual void unpolish(QApplication* arg__1); -virtual void unpolish(QWidget* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QCommonStyle : public QCommonStyle -{ public: -inline void promoted_drawControl(QStyle::ControlElement element, const QStyleOption* opt, QPainter* p, const QWidget* w = 0) const { QCommonStyle::drawControl(element, opt, p, w); } -inline QPixmap promoted_generatedIconPixmap(QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const { return QCommonStyle::generatedIconPixmap(iconMode, pixmap, opt); } -inline void promoted_drawPrimitive(QStyle::PrimitiveElement pe, const QStyleOption* opt, QPainter* p, const QWidget* w = 0) const { QCommonStyle::drawPrimitive(pe, opt, p, w); } -inline int promoted_styleHint(QStyle::StyleHint sh, const QStyleOption* opt = 0, const QWidget* w = 0, QStyleHintReturn* shret = 0) const { return QCommonStyle::styleHint(sh, opt, w, shret); } -inline QRect promoted_subElementRect(QStyle::SubElement r, const QStyleOption* opt, const QWidget* widget = 0) const { return QCommonStyle::subElementRect(r, opt, widget); } -inline QSize promoted_sizeFromContents(QStyle::ContentsType ct, const QStyleOption* opt, const QSize& contentsSize, const QWidget* widget = 0) const { return QCommonStyle::sizeFromContents(ct, opt, contentsSize, widget); } -inline void promoted_drawComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QPainter* p, const QWidget* w = 0) const { QCommonStyle::drawComplexControl(cc, opt, p, w); } -inline QRect promoted_subControlRect(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* w = 0) const { return QCommonStyle::subControlRect(cc, opt, sc, w); } -inline QStyle::SubControl promoted_hitTestComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, const QPoint& pt, const QWidget* w = 0) const { return QCommonStyle::hitTestComplexControl(cc, opt, pt, w); } -inline int promoted_pixelMetric(QStyle::PixelMetric m, const QStyleOption* opt = 0, const QWidget* widget = 0) const { return QCommonStyle::pixelMetric(m, opt, widget); } -}; - -class PythonQtWrapper_QCommonStyle : public QObject -{ Q_OBJECT -public: -public slots: -QCommonStyle* new_QCommonStyle(); -void delete_QCommonStyle(QCommonStyle* obj) { delete obj; } - void drawControl(QCommonStyle* theWrappedObject, QStyle::ControlElement element, const QStyleOption* opt, QPainter* p, const QWidget* w = 0) const; - QPixmap generatedIconPixmap(QCommonStyle* theWrappedObject, QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const; - void drawPrimitive(QCommonStyle* theWrappedObject, QStyle::PrimitiveElement pe, const QStyleOption* opt, QPainter* p, const QWidget* w = 0) const; - int styleHint(QCommonStyle* theWrappedObject, QStyle::StyleHint sh, const QStyleOption* opt = 0, const QWidget* w = 0, QStyleHintReturn* shret = 0) const; - QRect subElementRect(QCommonStyle* theWrappedObject, QStyle::SubElement r, const QStyleOption* opt, const QWidget* widget = 0) const; - QSize sizeFromContents(QCommonStyle* theWrappedObject, QStyle::ContentsType ct, const QStyleOption* opt, const QSize& contentsSize, const QWidget* widget = 0) const; - void drawComplexControl(QCommonStyle* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QPainter* p, const QWidget* w = 0) const; - QRect subControlRect(QCommonStyle* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* w = 0) const; - QStyle::SubControl hitTestComplexControl(QCommonStyle* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex* opt, const QPoint& pt, const QWidget* w = 0) const; - int pixelMetric(QCommonStyle* theWrappedObject, QStyle::PixelMetric m, const QStyleOption* opt = 0, const QWidget* widget = 0) const; -}; - -#endif // PYTHONQTWRAPPER_QCOMMONSTYLE_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QCompleter.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QCompleter.cpp deleted file mode 100644 index 79fa79b..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QCompleter.cpp +++ /dev/null @@ -1,332 +0,0 @@ -#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 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; - } -} - 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 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; - } -} - 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 char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return 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 char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - 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) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return 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 char* argumentList[] ={"QString" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - 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) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("pathFromIndex", methodInfo, result); - } else { - 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 char* argumentList[] ={"QStringList" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - 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) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("splitPath", methodInfo, result); - } else { - 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 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; - } -} - 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); } - -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()); -} - -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()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QCompleter.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QCompleter.h deleted file mode 100644 index 3f02906..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QCompleter.h +++ /dev/null @@ -1,90 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QCOMPLETER_H -#define PYTHONQTWRAPPER_QCOMPLETER_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QCompleter : public QCompleter -{ -public: - PythonQtShell_QCompleter(QAbstractItemModel* model, QObject* parent = 0):QCompleter(model, parent),_wrapper(NULL) {}; - PythonQtShell_QCompleter(QObject* parent = 0):QCompleter(parent),_wrapper(NULL) {}; - PythonQtShell_QCompleter(const QStringList& completions, QObject* parent = 0):QCompleter(completions, parent),_wrapper(NULL) {}; - -virtual void childEvent(QChildEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* o, QEvent* e); -virtual QString pathFromIndex(const QModelIndex& index) const; -virtual QStringList splitPath(const QString& path) const; -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QCompleter : public QCompleter -{ public: -inline QString promoted_pathFromIndex(const QModelIndex& index) const { return QCompleter::pathFromIndex(index); } -inline bool promoted_eventFilter(QObject* o, QEvent* e) { return QCompleter::eventFilter(o, e); } -inline QStringList promoted_splitPath(const QString& path) const { return QCompleter::splitPath(path); } -inline bool promoted_event(QEvent* arg__1) { return QCompleter::event(arg__1); } -}; - -class PythonQtWrapper_QCompleter : public QObject -{ Q_OBJECT -public: -Q_ENUMS(ModelSorting CompletionMode ) -enum ModelSorting{ - UnsortedModel = QCompleter::UnsortedModel, CaseSensitivelySortedModel = QCompleter::CaseSensitivelySortedModel, CaseInsensitivelySortedModel = QCompleter::CaseInsensitivelySortedModel}; -enum CompletionMode{ - PopupCompletion = QCompleter::PopupCompletion, UnfilteredPopupCompletion = QCompleter::UnfilteredPopupCompletion, InlineCompletion = QCompleter::InlineCompletion}; -public slots: -QCompleter* new_QCompleter(QAbstractItemModel* model, QObject* parent = 0); -QCompleter* new_QCompleter(QObject* parent = 0); -QCompleter* new_QCompleter(const QStringList& completions, QObject* parent = 0); -void delete_QCompleter(QCompleter* obj) { delete obj; } - void setCaseSensitivity(QCompleter* theWrappedObject, Qt::CaseSensitivity caseSensitivity); - QString pathFromIndex(QCompleter* theWrappedObject, const QModelIndex& index) const; - void setCompletionMode(QCompleter* theWrappedObject, QCompleter::CompletionMode mode); - void setModel(QCompleter* theWrappedObject, QAbstractItemModel* c); - void setCompletionColumn(QCompleter* theWrappedObject, int column); - int completionCount(QCompleter* theWrappedObject) const; - QAbstractItemModel* completionModel(QCompleter* theWrappedObject) const; - bool eventFilter(QCompleter* theWrappedObject, QObject* o, QEvent* e); - QCompleter::ModelSorting modelSorting(QCompleter* theWrappedObject) const; - QAbstractItemView* popup(QCompleter* theWrappedObject) const; - QStringList splitPath(QCompleter* theWrappedObject, const QString& path) const; - Qt::CaseSensitivity caseSensitivity(QCompleter* theWrappedObject) const; - void setModelSorting(QCompleter* theWrappedObject, QCompleter::ModelSorting sorting); - int completionColumn(QCompleter* theWrappedObject) const; - void setWidget(QCompleter* theWrappedObject, QWidget* widget); - QString completionPrefix(QCompleter* theWrappedObject) const; - int currentRow(QCompleter* theWrappedObject) const; - int completionRole(QCompleter* theWrappedObject) const; - bool setCurrentRow(QCompleter* theWrappedObject, int row); - void setPopup(QCompleter* theWrappedObject, QAbstractItemView* popup); - bool wrapAround(QCompleter* theWrappedObject) const; - QAbstractItemModel* model(QCompleter* theWrappedObject) const; - QWidget* widget(QCompleter* theWrappedObject) const; - bool event(QCompleter* theWrappedObject, QEvent* arg__1); - QCompleter::CompletionMode completionMode(QCompleter* theWrappedObject) const; - QModelIndex currentIndex(QCompleter* theWrappedObject) const; - void setCompletionRole(QCompleter* theWrappedObject, int role); - QString currentCompletion(QCompleter* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QCOMPLETER_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QConicalGradient.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QConicalGradient.cpp deleted file mode 100644 index eee21e6..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QConicalGradient.cpp +++ /dev/null @@ -1,49 +0,0 @@ -#include "PythonQtWrapper_QConicalGradient.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QConicalGradient* PythonQtWrapper_QConicalGradient::new_QConicalGradient() -{ -return new QConicalGradient(); } - -QConicalGradient* PythonQtWrapper_QConicalGradient::new_QConicalGradient(const QPointF& center, qreal startAngle) -{ -return new QConicalGradient(center, startAngle); } - -QConicalGradient* PythonQtWrapper_QConicalGradient::new_QConicalGradient(qreal cx, qreal cy, qreal startAngle) -{ -return new QConicalGradient(cx, cy, startAngle); } - -QPointF PythonQtWrapper_QConicalGradient::center(QConicalGradient* theWrappedObject) const -{ - return ( theWrappedObject->center()); -} - -qreal PythonQtWrapper_QConicalGradient::angle(QConicalGradient* theWrappedObject) const -{ - return ( theWrappedObject->angle()); -} - -void PythonQtWrapper_QConicalGradient::setAngle(QConicalGradient* theWrappedObject, qreal angle) -{ - ( theWrappedObject->setAngle(angle)); -} - -void PythonQtWrapper_QConicalGradient::setCenter(QConicalGradient* theWrappedObject, const QPointF& center) -{ - ( theWrappedObject->setCenter(center)); -} - -void PythonQtWrapper_QConicalGradient::setCenter(QConicalGradient* theWrappedObject, qreal x, qreal y) -{ - ( theWrappedObject->setCenter(x, y)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QConicalGradient.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QConicalGradient.h deleted file mode 100644 index 8eee019..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QConicalGradient.h +++ /dev/null @@ -1,35 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QCONICALGRADIENT_H -#define PYTHONQTWRAPPER_QCONICALGRADIENT_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include - -class PythonQtWrapper_QConicalGradient : public QObject -{ Q_OBJECT -public: -public slots: -QConicalGradient* new_QConicalGradient(); -QConicalGradient* new_QConicalGradient(const QPointF& center, qreal startAngle); -QConicalGradient* new_QConicalGradient(qreal cx, qreal cy, qreal startAngle); -QConicalGradient* new_QConicalGradient(const QConicalGradient& other) { -QConicalGradient* a = new QConicalGradient(); -*((QConicalGradient*)a) = other; -return a; } -void delete_QConicalGradient(QConicalGradient* obj) { delete obj; } - QPointF center(QConicalGradient* theWrappedObject) const; - qreal angle(QConicalGradient* theWrappedObject) const; - void setAngle(QConicalGradient* theWrappedObject, qreal angle); - void setCenter(QConicalGradient* theWrappedObject, const QPointF& center); - void setCenter(QConicalGradient* theWrappedObject, qreal x, qreal y); -}; - -#endif // PYTHONQTWRAPPER_QCONICALGRADIENT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QContextMenuEvent.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QContextMenuEvent.cpp deleted file mode 100644 index 5ba96fc..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QContextMenuEvent.cpp +++ /dev/null @@ -1,55 +0,0 @@ -#include "PythonQtWrapper_QContextMenuEvent.h" - -#include -#include -#include -#include -#include - -QContextMenuEvent* PythonQtWrapper_QContextMenuEvent::new_QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint& pos) -{ -return new PythonQtShell_QContextMenuEvent(reason, pos); } - -QContextMenuEvent* PythonQtWrapper_QContextMenuEvent::new_QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint& pos, const QPoint& globalPos) -{ -return new PythonQtShell_QContextMenuEvent(reason, pos, globalPos); } - -QContextMenuEvent* PythonQtWrapper_QContextMenuEvent::new_QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint& pos, const QPoint& globalPos, Qt::KeyboardModifiers modifiers) -{ -return new PythonQtShell_QContextMenuEvent(reason, pos, globalPos, modifiers); } - -const QPoint* PythonQtWrapper_QContextMenuEvent::globalPos(QContextMenuEvent* theWrappedObject) const -{ - return &( theWrappedObject->globalPos()); -} - -int PythonQtWrapper_QContextMenuEvent::globalX(QContextMenuEvent* theWrappedObject) const -{ - return ( theWrappedObject->globalX()); -} - -int PythonQtWrapper_QContextMenuEvent::globalY(QContextMenuEvent* theWrappedObject) const -{ - return ( theWrappedObject->globalY()); -} - -int PythonQtWrapper_QContextMenuEvent::y(QContextMenuEvent* theWrappedObject) const -{ - return ( theWrappedObject->y()); -} - -QContextMenuEvent::Reason PythonQtWrapper_QContextMenuEvent::reason(QContextMenuEvent* theWrappedObject) const -{ - return ( theWrappedObject->reason()); -} - -int PythonQtWrapper_QContextMenuEvent::x(QContextMenuEvent* theWrappedObject) const -{ - return ( theWrappedObject->x()); -} - -const QPoint* PythonQtWrapper_QContextMenuEvent::pos(QContextMenuEvent* theWrappedObject) const -{ - return &( theWrappedObject->pos()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QContextMenuEvent.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QContextMenuEvent.h deleted file mode 100644 index 05c28f7..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QContextMenuEvent.h +++ /dev/null @@ -1,43 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QCONTEXTMENUEVENT_H -#define PYTHONQTWRAPPER_QCONTEXTMENUEVENT_H - -#include -#include - -#include - -#include -#include - -class PythonQtShell_QContextMenuEvent : public QContextMenuEvent -{ -public: - PythonQtShell_QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint& pos):QContextMenuEvent(reason, pos),_wrapper(NULL) {}; - PythonQtShell_QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint& pos, const QPoint& globalPos):QContextMenuEvent(reason, pos, globalPos),_wrapper(NULL) {}; - PythonQtShell_QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint& pos, const QPoint& globalPos, Qt::KeyboardModifiers modifiers):QContextMenuEvent(reason, pos, globalPos, modifiers),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QContextMenuEvent : public QObject -{ Q_OBJECT -public: -Q_ENUMS(Reason ) -enum Reason{ - Mouse = QContextMenuEvent::Mouse, Keyboard = QContextMenuEvent::Keyboard, Other = QContextMenuEvent::Other}; -public slots: -QContextMenuEvent* new_QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint& pos); -QContextMenuEvent* new_QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint& pos, const QPoint& globalPos); -QContextMenuEvent* new_QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint& pos, const QPoint& globalPos, Qt::KeyboardModifiers modifiers); -void delete_QContextMenuEvent(QContextMenuEvent* obj) { delete obj; } - const QPoint* globalPos(QContextMenuEvent* theWrappedObject) const; - int globalX(QContextMenuEvent* theWrappedObject) const; - int globalY(QContextMenuEvent* theWrappedObject) const; - int y(QContextMenuEvent* theWrappedObject) const; - QContextMenuEvent::Reason reason(QContextMenuEvent* theWrappedObject) const; - int x(QContextMenuEvent* theWrappedObject) const; - const QPoint* pos(QContextMenuEvent* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QCONTEXTMENUEVENT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QCursor.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QCursor.cpp deleted file mode 100644 index d8bf3bf..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QCursor.cpp +++ /dev/null @@ -1,88 +0,0 @@ -#include "PythonQtWrapper_QCursor.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QCursor* PythonQtWrapper_QCursor::new_QCursor() -{ -return new QCursor(); } - -QCursor* PythonQtWrapper_QCursor::new_QCursor(Qt::CursorShape shape) -{ -return new QCursor(shape); } - -QCursor* PythonQtWrapper_QCursor::new_QCursor(const QBitmap& bitmap, const QBitmap& mask, int hotX, int hotY) -{ -return new QCursor(bitmap, mask, hotX, hotY); } - -QCursor* PythonQtWrapper_QCursor::new_QCursor(const QCursor& cursor) -{ -return new QCursor(cursor); } - -QCursor* PythonQtWrapper_QCursor::new_QCursor(const QPixmap& pixmap, int hotX, int hotY) -{ -return new QCursor(pixmap, hotX, hotY); } - -void PythonQtWrapper_QCursor::static_QCursor_setPos(const QPoint& p) -{ - (QCursor::setPos(p)); -} - -void PythonQtWrapper_QCursor::readFrom(QCursor* theWrappedObject, QDataStream& inS) -{ - inS >> (*theWrappedObject); -} - -QPoint PythonQtWrapper_QCursor::hotSpot(QCursor* theWrappedObject) const -{ - return ( theWrappedObject->hotSpot()); -} - -void PythonQtWrapper_QCursor::writeTo(QCursor* theWrappedObject, QDataStream& outS) -{ - outS << (*theWrappedObject); -} - -QPixmap PythonQtWrapper_QCursor::pixmap(QCursor* theWrappedObject) const -{ - return ( theWrappedObject->pixmap()); -} - -void PythonQtWrapper_QCursor::setShape(QCursor* theWrappedObject, Qt::CursorShape newShape) -{ - ( theWrappedObject->setShape(newShape)); -} - -void PythonQtWrapper_QCursor::static_QCursor_setPos(int x, int y) -{ - (QCursor::setPos(x, y)); -} - -Qt::CursorShape PythonQtWrapper_QCursor::shape(QCursor* theWrappedObject) const -{ - return ( theWrappedObject->shape()); -} - -const QBitmap* PythonQtWrapper_QCursor::bitmap(QCursor* theWrappedObject) const -{ - return ( theWrappedObject->bitmap()); -} - -QPoint PythonQtWrapper_QCursor::static_QCursor_pos() -{ - return (QCursor::pos()); -} - -const QBitmap* PythonQtWrapper_QCursor::mask(QCursor* theWrappedObject) const -{ - return ( theWrappedObject->mask()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QCursor.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QCursor.h deleted file mode 100644 index 45b6366..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QCursor.h +++ /dev/null @@ -1,40 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QCURSOR_H -#define PYTHONQTWRAPPER_QCURSOR_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include - -class PythonQtWrapper_QCursor : public QObject -{ Q_OBJECT -public: -public slots: -QCursor* new_QCursor(); -QCursor* new_QCursor(Qt::CursorShape shape); -QCursor* new_QCursor(const QBitmap& bitmap, const QBitmap& mask, int hotX = -1, int hotY = -1); -QCursor* new_QCursor(const QCursor& cursor); -QCursor* new_QCursor(const QPixmap& pixmap, int hotX = -1, int hotY = -1); -void delete_QCursor(QCursor* obj) { delete obj; } - void static_QCursor_setPos(const QPoint& p); - void readFrom(QCursor* theWrappedObject, QDataStream& inS); - QPoint hotSpot(QCursor* theWrappedObject) const; - void writeTo(QCursor* theWrappedObject, QDataStream& outS); - QPixmap pixmap(QCursor* theWrappedObject) const; - void setShape(QCursor* theWrappedObject, Qt::CursorShape newShape); - void static_QCursor_setPos(int x, int y); - Qt::CursorShape shape(QCursor* theWrappedObject) const; - const QBitmap* bitmap(QCursor* theWrappedObject) const; - QPoint static_QCursor_pos(); - const QBitmap* mask(QCursor* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QCURSOR_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDataWidgetMapper.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDataWidgetMapper.cpp deleted file mode 100644 index f6fbe9f..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDataWidgetMapper.cpp +++ /dev/null @@ -1,233 +0,0 @@ -#include "PythonQtWrapper_QDataWidgetMapper.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QDataWidgetMapper::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; - } -} - QDataWidgetMapper::childEvent(arg__1); -} -void PythonQtShell_QDataWidgetMapper::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; - } -} - QDataWidgetMapper::customEvent(arg__1); -} -bool PythonQtShell_QDataWidgetMapper::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDataWidgetMapper::event(arg__1); -} -bool PythonQtShell_QDataWidgetMapper::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDataWidgetMapper::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QDataWidgetMapper::setCurrentIndex(int index) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setCurrentIndex"); - 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*)&index}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDataWidgetMapper::setCurrentIndex(index); -} -void PythonQtShell_QDataWidgetMapper::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; - } -} - QDataWidgetMapper::timerEvent(arg__1); -} -QDataWidgetMapper* PythonQtWrapper_QDataWidgetMapper::new_QDataWidgetMapper(QObject* parent) -{ -return new PythonQtShell_QDataWidgetMapper(parent); } - -QAbstractItemDelegate* PythonQtWrapper_QDataWidgetMapper::itemDelegate(QDataWidgetMapper* theWrappedObject) const -{ - return ( theWrappedObject->itemDelegate()); -} - -QWidget* PythonQtWrapper_QDataWidgetMapper::mappedWidgetAt(QDataWidgetMapper* theWrappedObject, int section) const -{ - return ( theWrappedObject->mappedWidgetAt(section)); -} - -QDataWidgetMapper::SubmitPolicy PythonQtWrapper_QDataWidgetMapper::submitPolicy(QDataWidgetMapper* theWrappedObject) const -{ - return ( theWrappedObject->submitPolicy()); -} - -void PythonQtWrapper_QDataWidgetMapper::addMapping(QDataWidgetMapper* theWrappedObject, QWidget* widget, int section) -{ - ( theWrappedObject->addMapping(widget, section)); -} - -QAbstractItemModel* PythonQtWrapper_QDataWidgetMapper::model(QDataWidgetMapper* theWrappedObject) const -{ - return ( theWrappedObject->model()); -} - -int PythonQtWrapper_QDataWidgetMapper::currentIndex(QDataWidgetMapper* theWrappedObject) const -{ - return ( theWrappedObject->currentIndex()); -} - -QByteArray PythonQtWrapper_QDataWidgetMapper::mappedPropertyName(QDataWidgetMapper* theWrappedObject, QWidget* widget) const -{ - return ( theWrappedObject->mappedPropertyName(widget)); -} - -void PythonQtWrapper_QDataWidgetMapper::setRootIndex(QDataWidgetMapper* theWrappedObject, const QModelIndex& index) -{ - ( theWrappedObject->setRootIndex(index)); -} - -void PythonQtWrapper_QDataWidgetMapper::addMapping(QDataWidgetMapper* theWrappedObject, QWidget* widget, int section, const QByteArray& propertyName) -{ - ( theWrappedObject->addMapping(widget, section, propertyName)); -} - -void PythonQtWrapper_QDataWidgetMapper::setOrientation(QDataWidgetMapper* theWrappedObject, Qt::Orientation aOrientation) -{ - ( theWrappedObject->setOrientation(aOrientation)); -} - -QModelIndex PythonQtWrapper_QDataWidgetMapper::rootIndex(QDataWidgetMapper* theWrappedObject) const -{ - return ( theWrappedObject->rootIndex()); -} - -void PythonQtWrapper_QDataWidgetMapper::clearMapping(QDataWidgetMapper* theWrappedObject) -{ - ( theWrappedObject->clearMapping()); -} - -Qt::Orientation PythonQtWrapper_QDataWidgetMapper::orientation(QDataWidgetMapper* theWrappedObject) const -{ - return ( theWrappedObject->orientation()); -} - -void PythonQtWrapper_QDataWidgetMapper::setItemDelegate(QDataWidgetMapper* theWrappedObject, QAbstractItemDelegate* delegate) -{ - ( theWrappedObject->setItemDelegate(delegate)); -} - -int PythonQtWrapper_QDataWidgetMapper::mappedSection(QDataWidgetMapper* theWrappedObject, QWidget* widget) const -{ - return ( theWrappedObject->mappedSection(widget)); -} - -void PythonQtWrapper_QDataWidgetMapper::removeMapping(QDataWidgetMapper* theWrappedObject, QWidget* widget) -{ - ( theWrappedObject->removeMapping(widget)); -} - -void PythonQtWrapper_QDataWidgetMapper::setSubmitPolicy(QDataWidgetMapper* theWrappedObject, QDataWidgetMapper::SubmitPolicy policy) -{ - ( theWrappedObject->setSubmitPolicy(policy)); -} - -void PythonQtWrapper_QDataWidgetMapper::setModel(QDataWidgetMapper* theWrappedObject, QAbstractItemModel* model) -{ - ( theWrappedObject->setModel(model)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDataWidgetMapper.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDataWidgetMapper.h deleted file mode 100644 index 762df56..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDataWidgetMapper.h +++ /dev/null @@ -1,65 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QDATAWIDGETMAPPER_H -#define PYTHONQTWRAPPER_QDATAWIDGETMAPPER_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QDataWidgetMapper : public QDataWidgetMapper -{ -public: - PythonQtShell_QDataWidgetMapper(QObject* parent = 0):QDataWidgetMapper(parent),_wrapper(NULL) {}; - -virtual void childEvent(QChildEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void setCurrentIndex(int index); -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QDataWidgetMapper : public QDataWidgetMapper -{ public: -inline void promoted_setCurrentIndex(int index) { QDataWidgetMapper::setCurrentIndex(index); } -}; - -class PythonQtWrapper_QDataWidgetMapper : public QObject -{ Q_OBJECT -public: -public slots: -QDataWidgetMapper* new_QDataWidgetMapper(QObject* parent = 0); -void delete_QDataWidgetMapper(QDataWidgetMapper* obj) { delete obj; } - QAbstractItemDelegate* itemDelegate(QDataWidgetMapper* theWrappedObject) const; - QWidget* mappedWidgetAt(QDataWidgetMapper* theWrappedObject, int section) const; - QDataWidgetMapper::SubmitPolicy submitPolicy(QDataWidgetMapper* theWrappedObject) const; - void addMapping(QDataWidgetMapper* theWrappedObject, QWidget* widget, int section); - QAbstractItemModel* model(QDataWidgetMapper* theWrappedObject) const; - int currentIndex(QDataWidgetMapper* theWrappedObject) const; - QByteArray mappedPropertyName(QDataWidgetMapper* theWrappedObject, QWidget* widget) const; - void setRootIndex(QDataWidgetMapper* theWrappedObject, const QModelIndex& index); - void addMapping(QDataWidgetMapper* theWrappedObject, QWidget* widget, int section, const QByteArray& propertyName); - void setOrientation(QDataWidgetMapper* theWrappedObject, Qt::Orientation aOrientation); - QModelIndex rootIndex(QDataWidgetMapper* theWrappedObject) const; - void clearMapping(QDataWidgetMapper* theWrappedObject); - Qt::Orientation orientation(QDataWidgetMapper* theWrappedObject) const; - void setItemDelegate(QDataWidgetMapper* theWrappedObject, QAbstractItemDelegate* delegate); - int mappedSection(QDataWidgetMapper* theWrappedObject, QWidget* widget) const; - void removeMapping(QDataWidgetMapper* theWrappedObject, QWidget* widget); - void setSubmitPolicy(QDataWidgetMapper* theWrappedObject, QDataWidgetMapper::SubmitPolicy policy); - void setModel(QDataWidgetMapper* theWrappedObject, QAbstractItemModel* model); -}; - -#endif // PYTHONQTWRAPPER_QDATAWIDGETMAPPER_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDateEdit.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDateEdit.cpp deleted file mode 100644 index d88f81b..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDateEdit.cpp +++ /dev/null @@ -1,942 +0,0 @@ -#include "PythonQtWrapper_QDateEdit.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QDateEdit::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QDateEdit::actionEvent(arg__1); -} -void PythonQtShell_QDateEdit::changeEvent(QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDateEdit::changeEvent(event); -} -void PythonQtShell_QDateEdit::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; - } -} - QDateEdit::childEvent(arg__1); -} -void PythonQtShell_QDateEdit::clear() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "clear"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDateEdit::clear(); -} -void PythonQtShell_QDateEdit::closeEvent(QCloseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QDateEdit::closeEvent(event); -} -void PythonQtShell_QDateEdit::contextMenuEvent(QContextMenuEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - 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; - } -} - QDateEdit::contextMenuEvent(event); -} -void PythonQtShell_QDateEdit::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; - } -} - QDateEdit::customEvent(arg__1); -} -QDateTime PythonQtShell_QDateEdit::dateTimeFromText(const QString& text) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dateTimeFromText"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QDateTime" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QDateTime returnValue; - void* args[2] = {NULL, (void*)&text}; - 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("dateTimeFromText", methodInfo, result); - } else { - returnValue = *((QDateTime*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDateEdit::dateTimeFromText(text); -} -int PythonQtShell_QDateEdit::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDateEdit::devType(); -} -void PythonQtShell_QDateEdit::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QDateEdit::dragEnterEvent(arg__1); -} -void PythonQtShell_QDateEdit::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QDateEdit::dragLeaveEvent(arg__1); -} -void PythonQtShell_QDateEdit::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QDateEdit::dragMoveEvent(arg__1); -} -void PythonQtShell_QDateEdit::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QDateEdit::dropEvent(arg__1); -} -void PythonQtShell_QDateEdit::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QDateEdit::enterEvent(arg__1); -} -bool PythonQtShell_QDateEdit::event(QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDateEdit::event(event); -} -bool PythonQtShell_QDateEdit::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDateEdit::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QDateEdit::fixup(QString& input) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "fixup"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&input}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDateEdit::fixup(input); -} -void PythonQtShell_QDateEdit::focusInEvent(QFocusEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QDateEdit::focusInEvent(event); -} -bool PythonQtShell_QDateEdit::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDateEdit::focusNextPrevChild(next); -} -void PythonQtShell_QDateEdit::focusOutEvent(QFocusEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QDateEdit::focusOutEvent(event); -} -int PythonQtShell_QDateEdit::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDateEdit::heightForWidth(arg__1); -} -void PythonQtShell_QDateEdit::hideEvent(QHideEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QDateEdit::hideEvent(event); -} -void PythonQtShell_QDateEdit::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QDateEdit::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QDateEdit::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDateEdit::inputMethodQuery(arg__1); -} -void PythonQtShell_QDateEdit::keyPressEvent(QKeyEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDateEdit::keyPressEvent(event); -} -void PythonQtShell_QDateEdit::keyReleaseEvent(QKeyEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDateEdit::keyReleaseEvent(event); -} -void PythonQtShell_QDateEdit::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDateEdit::languageChange(); -} -void PythonQtShell_QDateEdit::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QDateEdit::leaveEvent(arg__1); -} -int PythonQtShell_QDateEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDateEdit::metric(arg__1); -} -void PythonQtShell_QDateEdit::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QDateEdit::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QDateEdit::mouseMoveEvent(QMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QDateEdit::mouseMoveEvent(event); -} -void PythonQtShell_QDateEdit::mousePressEvent(QMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QDateEdit::mousePressEvent(event); -} -void PythonQtShell_QDateEdit::mouseReleaseEvent(QMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QDateEdit::mouseReleaseEvent(event); -} -void PythonQtShell_QDateEdit::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDateEdit::moveEvent(arg__1); -} -QPaintEngine* PythonQtShell_QDateEdit::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDateEdit::paintEngine(); -} -void PythonQtShell_QDateEdit::paintEvent(QPaintEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - 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; - } -} - QDateEdit::paintEvent(event); -} -void PythonQtShell_QDateEdit::resizeEvent(QResizeEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - 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; - } -} - QDateEdit::resizeEvent(event); -} -void PythonQtShell_QDateEdit::showEvent(QShowEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QDateEdit::showEvent(event); -} -void PythonQtShell_QDateEdit::stepBy(int steps) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "stepBy"); - 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*)&steps}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDateEdit::stepBy(steps); -} -QAbstractSpinBox::StepEnabled PythonQtShell_QDateEdit::stepEnabled() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "stepEnabled"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QAbstractSpinBox::StepEnabled"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QAbstractSpinBox::StepEnabled returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("stepEnabled", methodInfo, result); - } else { - returnValue = *((QAbstractSpinBox::StepEnabled*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDateEdit::stepEnabled(); -} -void PythonQtShell_QDateEdit::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QDateEdit::tabletEvent(arg__1); -} -QString PythonQtShell_QDateEdit::textFromDateTime(const QDateTime& dt) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "textFromDateTime"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QString" , "const QDateTime&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QString returnValue; - void* args[2] = {NULL, (void*)&dt}; - 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("textFromDateTime", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDateEdit::textFromDateTime(dt); -} -void PythonQtShell_QDateEdit::timerEvent(QTimerEvent* event) -{ -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*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDateEdit::timerEvent(event); -} -QValidator::State PythonQtShell_QDateEdit::validate(QString& input, int& pos) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "validate"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QValidator::State returnValue; - void* args[3] = {NULL, (void*)&input, (void*)&pos}; - 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("validate", methodInfo, result); - } else { - returnValue = *((QValidator::State*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDateEdit::validate(input, pos); -} -void PythonQtShell_QDateEdit::wheelEvent(QWheelEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDateEdit::wheelEvent(event); -} -QDateEdit* PythonQtWrapper_QDateEdit::new_QDateEdit(QWidget* parent) -{ -return new PythonQtShell_QDateEdit(parent); } - -QDateEdit* PythonQtWrapper_QDateEdit::new_QDateEdit(const QDate& date, QWidget* parent) -{ -return new PythonQtShell_QDateEdit(date, parent); } - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDateEdit.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDateEdit.h deleted file mode 100644 index 72c1fce..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDateEdit.h +++ /dev/null @@ -1,105 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QDATEEDIT_H -#define PYTHONQTWRAPPER_QDATEEDIT_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QDateEdit : public QDateEdit -{ -public: - PythonQtShell_QDateEdit(QWidget* parent = 0):QDateEdit(parent),_wrapper(NULL) {}; - PythonQtShell_QDateEdit(const QDate& date, QWidget* parent = 0):QDateEdit(date, parent),_wrapper(NULL) {}; - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* event); -virtual void childEvent(QChildEvent* arg__1); -virtual void clear(); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual void customEvent(QEvent* arg__1); -virtual QDateTime dateTimeFromText(const QString& text) const; -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void fixup(QString& input) const; -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* arg__1); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual void resizeEvent(QResizeEvent* event); -virtual void showEvent(QShowEvent* event); -virtual void stepBy(int steps); -virtual QAbstractSpinBox::StepEnabled stepEnabled() const; -virtual void tabletEvent(QTabletEvent* arg__1); -virtual QString textFromDateTime(const QDateTime& dt) const; -virtual void timerEvent(QTimerEvent* event); -virtual QValidator::State validate(QString& input, int& pos) const; -virtual void wheelEvent(QWheelEvent* event); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QDateEdit : public QObject -{ Q_OBJECT -public: -public slots: -QDateEdit* new_QDateEdit(QWidget* parent = 0); -QDateEdit* new_QDateEdit(const QDate& date, QWidget* parent = 0); -void delete_QDateEdit(QDateEdit* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QDATEEDIT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDateTimeEdit.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDateTimeEdit.cpp deleted file mode 100644 index 57e654f..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDateTimeEdit.cpp +++ /dev/null @@ -1,1230 +0,0 @@ -#include "PythonQtWrapper_QDateTimeEdit.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QDateTimeEdit::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QDateTimeEdit::actionEvent(arg__1); -} -void PythonQtShell_QDateTimeEdit::changeEvent(QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDateTimeEdit::changeEvent(event); -} -void PythonQtShell_QDateTimeEdit::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; - } -} - QDateTimeEdit::childEvent(arg__1); -} -void PythonQtShell_QDateTimeEdit::clear() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "clear"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDateTimeEdit::clear(); -} -void PythonQtShell_QDateTimeEdit::closeEvent(QCloseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QDateTimeEdit::closeEvent(event); -} -void PythonQtShell_QDateTimeEdit::contextMenuEvent(QContextMenuEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - 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; - } -} - QDateTimeEdit::contextMenuEvent(event); -} -void PythonQtShell_QDateTimeEdit::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; - } -} - QDateTimeEdit::customEvent(arg__1); -} -QDateTime PythonQtShell_QDateTimeEdit::dateTimeFromText(const QString& text) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dateTimeFromText"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QDateTime" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QDateTime returnValue; - void* args[2] = {NULL, (void*)&text}; - 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("dateTimeFromText", methodInfo, result); - } else { - returnValue = *((QDateTime*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDateTimeEdit::dateTimeFromText(text); -} -int PythonQtShell_QDateTimeEdit::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDateTimeEdit::devType(); -} -void PythonQtShell_QDateTimeEdit::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QDateTimeEdit::dragEnterEvent(arg__1); -} -void PythonQtShell_QDateTimeEdit::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QDateTimeEdit::dragLeaveEvent(arg__1); -} -void PythonQtShell_QDateTimeEdit::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QDateTimeEdit::dragMoveEvent(arg__1); -} -void PythonQtShell_QDateTimeEdit::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QDateTimeEdit::dropEvent(arg__1); -} -void PythonQtShell_QDateTimeEdit::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QDateTimeEdit::enterEvent(arg__1); -} -bool PythonQtShell_QDateTimeEdit::event(QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDateTimeEdit::event(event); -} -bool PythonQtShell_QDateTimeEdit::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDateTimeEdit::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QDateTimeEdit::fixup(QString& input) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "fixup"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&input}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDateTimeEdit::fixup(input); -} -void PythonQtShell_QDateTimeEdit::focusInEvent(QFocusEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QDateTimeEdit::focusInEvent(event); -} -bool PythonQtShell_QDateTimeEdit::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDateTimeEdit::focusNextPrevChild(next); -} -void PythonQtShell_QDateTimeEdit::focusOutEvent(QFocusEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QDateTimeEdit::focusOutEvent(event); -} -int PythonQtShell_QDateTimeEdit::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDateTimeEdit::heightForWidth(arg__1); -} -void PythonQtShell_QDateTimeEdit::hideEvent(QHideEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QDateTimeEdit::hideEvent(event); -} -void PythonQtShell_QDateTimeEdit::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QDateTimeEdit::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QDateTimeEdit::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDateTimeEdit::inputMethodQuery(arg__1); -} -void PythonQtShell_QDateTimeEdit::keyPressEvent(QKeyEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDateTimeEdit::keyPressEvent(event); -} -void PythonQtShell_QDateTimeEdit::keyReleaseEvent(QKeyEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDateTimeEdit::keyReleaseEvent(event); -} -void PythonQtShell_QDateTimeEdit::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDateTimeEdit::languageChange(); -} -void PythonQtShell_QDateTimeEdit::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QDateTimeEdit::leaveEvent(arg__1); -} -int PythonQtShell_QDateTimeEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDateTimeEdit::metric(arg__1); -} -void PythonQtShell_QDateTimeEdit::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QDateTimeEdit::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QDateTimeEdit::mouseMoveEvent(QMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QDateTimeEdit::mouseMoveEvent(event); -} -void PythonQtShell_QDateTimeEdit::mousePressEvent(QMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QDateTimeEdit::mousePressEvent(event); -} -void PythonQtShell_QDateTimeEdit::mouseReleaseEvent(QMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QDateTimeEdit::mouseReleaseEvent(event); -} -void PythonQtShell_QDateTimeEdit::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDateTimeEdit::moveEvent(arg__1); -} -QPaintEngine* PythonQtShell_QDateTimeEdit::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDateTimeEdit::paintEngine(); -} -void PythonQtShell_QDateTimeEdit::paintEvent(QPaintEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - 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; - } -} - QDateTimeEdit::paintEvent(event); -} -void PythonQtShell_QDateTimeEdit::resizeEvent(QResizeEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - 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; - } -} - QDateTimeEdit::resizeEvent(event); -} -void PythonQtShell_QDateTimeEdit::showEvent(QShowEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QDateTimeEdit::showEvent(event); -} -void PythonQtShell_QDateTimeEdit::stepBy(int steps) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "stepBy"); - 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*)&steps}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDateTimeEdit::stepBy(steps); -} -QAbstractSpinBox::StepEnabled PythonQtShell_QDateTimeEdit::stepEnabled() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "stepEnabled"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QAbstractSpinBox::StepEnabled"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QAbstractSpinBox::StepEnabled returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("stepEnabled", methodInfo, result); - } else { - returnValue = *((QAbstractSpinBox::StepEnabled*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDateTimeEdit::stepEnabled(); -} -void PythonQtShell_QDateTimeEdit::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QDateTimeEdit::tabletEvent(arg__1); -} -QString PythonQtShell_QDateTimeEdit::textFromDateTime(const QDateTime& dt) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "textFromDateTime"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QString" , "const QDateTime&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QString returnValue; - void* args[2] = {NULL, (void*)&dt}; - 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("textFromDateTime", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDateTimeEdit::textFromDateTime(dt); -} -void PythonQtShell_QDateTimeEdit::timerEvent(QTimerEvent* event) -{ -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*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDateTimeEdit::timerEvent(event); -} -QValidator::State PythonQtShell_QDateTimeEdit::validate(QString& input, int& pos) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "validate"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QValidator::State returnValue; - void* args[3] = {NULL, (void*)&input, (void*)&pos}; - 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("validate", methodInfo, result); - } else { - returnValue = *((QValidator::State*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDateTimeEdit::validate(input, pos); -} -void PythonQtShell_QDateTimeEdit::wheelEvent(QWheelEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDateTimeEdit::wheelEvent(event); -} -QDateTimeEdit* PythonQtWrapper_QDateTimeEdit::new_QDateTimeEdit(QWidget* parent) -{ -return new PythonQtShell_QDateTimeEdit(parent); } - -QDateTimeEdit* PythonQtWrapper_QDateTimeEdit::new_QDateTimeEdit(const QDate& d, QWidget* parent) -{ -return new PythonQtShell_QDateTimeEdit(d, parent); } - -QDateTimeEdit* PythonQtWrapper_QDateTimeEdit::new_QDateTimeEdit(const QDateTime& dt, QWidget* parent) -{ -return new PythonQtShell_QDateTimeEdit(dt, parent); } - -QDateTimeEdit* PythonQtWrapper_QDateTimeEdit::new_QDateTimeEdit(const QTime& t, QWidget* parent) -{ -return new PythonQtShell_QDateTimeEdit(t, parent); } - -void PythonQtWrapper_QDateTimeEdit::setCurrentSectionIndex(QDateTimeEdit* theWrappedObject, int index) -{ - ( theWrappedObject->setCurrentSectionIndex(index)); -} - -QAbstractSpinBox::StepEnabled PythonQtWrapper_QDateTimeEdit::stepEnabled(QDateTimeEdit* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QDateTimeEdit*)theWrappedObject)->promoted_stepEnabled()); -} - -QDateTimeEdit::Sections PythonQtWrapper_QDateTimeEdit::displayedSections(QDateTimeEdit* theWrappedObject) const -{ - return ( theWrappedObject->displayedSections()); -} - -void PythonQtWrapper_QDateTimeEdit::setCalendarWidget(QDateTimeEdit* theWrappedObject, QCalendarWidget* calendarWidget) -{ - ( theWrappedObject->setCalendarWidget(calendarWidget)); -} - -void PythonQtWrapper_QDateTimeEdit::keyPressEvent(QDateTimeEdit* theWrappedObject, QKeyEvent* event) -{ - ( ((PythonQtPublicPromoter_QDateTimeEdit*)theWrappedObject)->promoted_keyPressEvent(event)); -} - -void PythonQtWrapper_QDateTimeEdit::setDateTimeRange(QDateTimeEdit* theWrappedObject, const QDateTime& min, const QDateTime& max) -{ - ( theWrappedObject->setDateTimeRange(min, max)); -} - -QDateTimeEdit::Section PythonQtWrapper_QDateTimeEdit::sectionAt(QDateTimeEdit* theWrappedObject, int index) const -{ - return ( theWrappedObject->sectionAt(index)); -} - -void PythonQtWrapper_QDateTimeEdit::mousePressEvent(QDateTimeEdit* theWrappedObject, QMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QDateTimeEdit*)theWrappedObject)->promoted_mousePressEvent(event)); -} - -QDateTime PythonQtWrapper_QDateTimeEdit::minimumDateTime(QDateTimeEdit* theWrappedObject) const -{ - return ( theWrappedObject->minimumDateTime()); -} - -void PythonQtWrapper_QDateTimeEdit::clearMaximumDateTime(QDateTimeEdit* theWrappedObject) -{ - ( theWrappedObject->clearMaximumDateTime()); -} - -QString PythonQtWrapper_QDateTimeEdit::sectionText(QDateTimeEdit* theWrappedObject, QDateTimeEdit::Section section) const -{ - return ( theWrappedObject->sectionText(section)); -} - -void PythonQtWrapper_QDateTimeEdit::fixup(QDateTimeEdit* theWrappedObject, QString& input) const -{ - ( ((PythonQtPublicPromoter_QDateTimeEdit*)theWrappedObject)->promoted_fixup(input)); -} - -void PythonQtWrapper_QDateTimeEdit::clearMaximumTime(QDateTimeEdit* theWrappedObject) -{ - ( theWrappedObject->clearMaximumTime()); -} - -void PythonQtWrapper_QDateTimeEdit::clearMaximumDate(QDateTimeEdit* theWrappedObject) -{ - ( theWrappedObject->clearMaximumDate()); -} - -void PythonQtWrapper_QDateTimeEdit::clearMinimumDateTime(QDateTimeEdit* theWrappedObject) -{ - ( theWrappedObject->clearMinimumDateTime()); -} - -QTime PythonQtWrapper_QDateTimeEdit::minimumTime(QDateTimeEdit* theWrappedObject) const -{ - return ( theWrappedObject->minimumTime()); -} - -QString PythonQtWrapper_QDateTimeEdit::textFromDateTime(QDateTimeEdit* theWrappedObject, const QDateTime& dt) const -{ - return ( ((PythonQtPublicPromoter_QDateTimeEdit*)theWrappedObject)->promoted_textFromDateTime(dt)); -} - -void PythonQtWrapper_QDateTimeEdit::setSelectedSection(QDateTimeEdit* theWrappedObject, QDateTimeEdit::Section section) -{ - ( theWrappedObject->setSelectedSection(section)); -} - -void PythonQtWrapper_QDateTimeEdit::clearMinimumDate(QDateTimeEdit* theWrappedObject) -{ - ( theWrappedObject->clearMinimumDate()); -} - -QDate PythonQtWrapper_QDateTimeEdit::date(QDateTimeEdit* theWrappedObject) const -{ - return ( theWrappedObject->date()); -} - -bool PythonQtWrapper_QDateTimeEdit::event(QDateTimeEdit* theWrappedObject, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QDateTimeEdit*)theWrappedObject)->promoted_event(event)); -} - -Qt::TimeSpec PythonQtWrapper_QDateTimeEdit::timeSpec(QDateTimeEdit* theWrappedObject) const -{ - return ( theWrappedObject->timeSpec()); -} - -void PythonQtWrapper_QDateTimeEdit::clearMinimumTime(QDateTimeEdit* theWrappedObject) -{ - ( theWrappedObject->clearMinimumTime()); -} - -void PythonQtWrapper_QDateTimeEdit::wheelEvent(QDateTimeEdit* theWrappedObject, QWheelEvent* event) -{ - ( ((PythonQtPublicPromoter_QDateTimeEdit*)theWrappedObject)->promoted_wheelEvent(event)); -} - -void PythonQtWrapper_QDateTimeEdit::setDateRange(QDateTimeEdit* theWrappedObject, const QDate& min, const QDate& max) -{ - ( theWrappedObject->setDateRange(min, max)); -} - -QDate PythonQtWrapper_QDateTimeEdit::maximumDate(QDateTimeEdit* theWrappedObject) const -{ - return ( theWrappedObject->maximumDate()); -} - -void PythonQtWrapper_QDateTimeEdit::setCalendarPopup(QDateTimeEdit* theWrappedObject, bool enable) -{ - ( theWrappedObject->setCalendarPopup(enable)); -} - -QTime PythonQtWrapper_QDateTimeEdit::time(QDateTimeEdit* theWrappedObject) const -{ - return ( theWrappedObject->time()); -} - -QDateTime PythonQtWrapper_QDateTimeEdit::dateTimeFromText(QDateTimeEdit* theWrappedObject, const QString& text) const -{ - return ( ((PythonQtPublicPromoter_QDateTimeEdit*)theWrappedObject)->promoted_dateTimeFromText(text)); -} - -void PythonQtWrapper_QDateTimeEdit::setDisplayFormat(QDateTimeEdit* theWrappedObject, const QString& format) -{ - ( theWrappedObject->setDisplayFormat(format)); -} - -QDateTime PythonQtWrapper_QDateTimeEdit::dateTime(QDateTimeEdit* theWrappedObject) const -{ - return ( theWrappedObject->dateTime()); -} - -void PythonQtWrapper_QDateTimeEdit::paintEvent(QDateTimeEdit* theWrappedObject, QPaintEvent* event) -{ - ( ((PythonQtPublicPromoter_QDateTimeEdit*)theWrappedObject)->promoted_paintEvent(event)); -} - -QDate PythonQtWrapper_QDateTimeEdit::minimumDate(QDateTimeEdit* theWrappedObject) const -{ - return ( theWrappedObject->minimumDate()); -} - -void PythonQtWrapper_QDateTimeEdit::setMaximumDateTime(QDateTimeEdit* theWrappedObject, const QDateTime& dt) -{ - ( theWrappedObject->setMaximumDateTime(dt)); -} - -bool PythonQtWrapper_QDateTimeEdit::focusNextPrevChild(QDateTimeEdit* theWrappedObject, bool next) -{ - return ( ((PythonQtPublicPromoter_QDateTimeEdit*)theWrappedObject)->promoted_focusNextPrevChild(next)); -} - -void PythonQtWrapper_QDateTimeEdit::setMaximumDate(QDateTimeEdit* theWrappedObject, const QDate& max) -{ - ( theWrappedObject->setMaximumDate(max)); -} - -void PythonQtWrapper_QDateTimeEdit::setMinimumDateTime(QDateTimeEdit* theWrappedObject, const QDateTime& dt) -{ - ( theWrappedObject->setMinimumDateTime(dt)); -} - -void PythonQtWrapper_QDateTimeEdit::setTimeRange(QDateTimeEdit* theWrappedObject, const QTime& min, const QTime& max) -{ - ( theWrappedObject->setTimeRange(min, max)); -} - -QTime PythonQtWrapper_QDateTimeEdit::maximumTime(QDateTimeEdit* theWrappedObject) const -{ - return ( theWrappedObject->maximumTime()); -} - -int PythonQtWrapper_QDateTimeEdit::currentSectionIndex(QDateTimeEdit* theWrappedObject) const -{ - return ( theWrappedObject->currentSectionIndex()); -} - -int PythonQtWrapper_QDateTimeEdit::sectionCount(QDateTimeEdit* theWrappedObject) const -{ - return ( theWrappedObject->sectionCount()); -} - -QSize PythonQtWrapper_QDateTimeEdit::sizeHint(QDateTimeEdit* theWrappedObject) const -{ - return ( theWrappedObject->sizeHint()); -} - -bool PythonQtWrapper_QDateTimeEdit::calendarPopup(QDateTimeEdit* theWrappedObject) const -{ - return ( theWrappedObject->calendarPopup()); -} - -QDateTimeEdit::Section PythonQtWrapper_QDateTimeEdit::currentSection(QDateTimeEdit* theWrappedObject) const -{ - return ( theWrappedObject->currentSection()); -} - -QString PythonQtWrapper_QDateTimeEdit::displayFormat(QDateTimeEdit* theWrappedObject) const -{ - return ( theWrappedObject->displayFormat()); -} - -void PythonQtWrapper_QDateTimeEdit::setMinimumTime(QDateTimeEdit* theWrappedObject, const QTime& min) -{ - ( theWrappedObject->setMinimumTime(min)); -} - -void PythonQtWrapper_QDateTimeEdit::stepBy(QDateTimeEdit* theWrappedObject, int steps) -{ - ( ((PythonQtPublicPromoter_QDateTimeEdit*)theWrappedObject)->promoted_stepBy(steps)); -} - -void PythonQtWrapper_QDateTimeEdit::setCurrentSection(QDateTimeEdit* theWrappedObject, QDateTimeEdit::Section section) -{ - ( theWrappedObject->setCurrentSection(section)); -} - -void PythonQtWrapper_QDateTimeEdit::focusInEvent(QDateTimeEdit* theWrappedObject, QFocusEvent* event) -{ - ( ((PythonQtPublicPromoter_QDateTimeEdit*)theWrappedObject)->promoted_focusInEvent(event)); -} - -QValidator::State PythonQtWrapper_QDateTimeEdit::validate(QDateTimeEdit* theWrappedObject, QString& input, int& pos) const -{ - return ( ((PythonQtPublicPromoter_QDateTimeEdit*)theWrappedObject)->promoted_validate(input, pos)); -} - -void PythonQtWrapper_QDateTimeEdit::clear(QDateTimeEdit* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QDateTimeEdit*)theWrappedObject)->promoted_clear()); -} - -void PythonQtWrapper_QDateTimeEdit::setMaximumTime(QDateTimeEdit* theWrappedObject, const QTime& max) -{ - ( theWrappedObject->setMaximumTime(max)); -} - -void PythonQtWrapper_QDateTimeEdit::setMinimumDate(QDateTimeEdit* theWrappedObject, const QDate& min) -{ - ( theWrappedObject->setMinimumDate(min)); -} - -QCalendarWidget* PythonQtWrapper_QDateTimeEdit::calendarWidget(QDateTimeEdit* theWrappedObject) const -{ - return ( theWrappedObject->calendarWidget()); -} - -QDateTime PythonQtWrapper_QDateTimeEdit::maximumDateTime(QDateTimeEdit* theWrappedObject) const -{ - return ( theWrappedObject->maximumDateTime()); -} - -void PythonQtWrapper_QDateTimeEdit::setTimeSpec(QDateTimeEdit* theWrappedObject, Qt::TimeSpec spec) -{ - ( theWrappedObject->setTimeSpec(spec)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDateTimeEdit.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDateTimeEdit.h deleted file mode 100644 index 498c69f..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDateTimeEdit.h +++ /dev/null @@ -1,184 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QDATETIMEEDIT_H -#define PYTHONQTWRAPPER_QDATETIMEEDIT_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QDateTimeEdit : public QDateTimeEdit -{ -public: - PythonQtShell_QDateTimeEdit(QWidget* parent = 0):QDateTimeEdit(parent),_wrapper(NULL) {}; - PythonQtShell_QDateTimeEdit(const QDate& d, QWidget* parent = 0):QDateTimeEdit(d, parent),_wrapper(NULL) {}; - PythonQtShell_QDateTimeEdit(const QDateTime& dt, QWidget* parent = 0):QDateTimeEdit(dt, parent),_wrapper(NULL) {}; - PythonQtShell_QDateTimeEdit(const QTime& t, QWidget* parent = 0):QDateTimeEdit(t, parent),_wrapper(NULL) {}; - PythonQtShell_QDateTimeEdit(const QVariant& val, QVariant::Type parserType, QWidget* parent = 0):QDateTimeEdit(val, parserType, parent),_wrapper(NULL) {}; - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* event); -virtual void childEvent(QChildEvent* arg__1); -virtual void clear(); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual void customEvent(QEvent* arg__1); -virtual QDateTime dateTimeFromText(const QString& text) const; -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void fixup(QString& input) const; -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* arg__1); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual void resizeEvent(QResizeEvent* event); -virtual void showEvent(QShowEvent* event); -virtual void stepBy(int steps); -virtual QAbstractSpinBox::StepEnabled stepEnabled() const; -virtual void tabletEvent(QTabletEvent* arg__1); -virtual QString textFromDateTime(const QDateTime& dt) const; -virtual void timerEvent(QTimerEvent* event); -virtual QValidator::State validate(QString& input, int& pos) const; -virtual void wheelEvent(QWheelEvent* event); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QDateTimeEdit : public QDateTimeEdit -{ public: -inline QAbstractSpinBox::StepEnabled promoted_stepEnabled() const { return QDateTimeEdit::stepEnabled(); } -inline void promoted_keyPressEvent(QKeyEvent* event) { QDateTimeEdit::keyPressEvent(event); } -inline void promoted_mousePressEvent(QMouseEvent* event) { QDateTimeEdit::mousePressEvent(event); } -inline void promoted_fixup(QString& input) const { QDateTimeEdit::fixup(input); } -inline QString promoted_textFromDateTime(const QDateTime& dt) const { return QDateTimeEdit::textFromDateTime(dt); } -inline bool promoted_event(QEvent* event) { return QDateTimeEdit::event(event); } -inline void promoted_wheelEvent(QWheelEvent* event) { QDateTimeEdit::wheelEvent(event); } -inline QDateTime promoted_dateTimeFromText(const QString& text) const { return QDateTimeEdit::dateTimeFromText(text); } -inline void promoted_paintEvent(QPaintEvent* event) { QDateTimeEdit::paintEvent(event); } -inline bool promoted_focusNextPrevChild(bool next) { return QDateTimeEdit::focusNextPrevChild(next); } -inline void promoted_stepBy(int steps) { QDateTimeEdit::stepBy(steps); } -inline void promoted_focusInEvent(QFocusEvent* event) { QDateTimeEdit::focusInEvent(event); } -inline QValidator::State promoted_validate(QString& input, int& pos) const { return QDateTimeEdit::validate(input, pos); } -inline void promoted_clear() { QDateTimeEdit::clear(); } -}; - -class PythonQtWrapper_QDateTimeEdit : public QObject -{ Q_OBJECT -public: -public slots: -QDateTimeEdit* new_QDateTimeEdit(QWidget* parent = 0); -QDateTimeEdit* new_QDateTimeEdit(const QDate& d, QWidget* parent = 0); -QDateTimeEdit* new_QDateTimeEdit(const QDateTime& dt, QWidget* parent = 0); -QDateTimeEdit* new_QDateTimeEdit(const QTime& t, QWidget* parent = 0); -void delete_QDateTimeEdit(QDateTimeEdit* obj) { delete obj; } - void setCurrentSectionIndex(QDateTimeEdit* theWrappedObject, int index); - QAbstractSpinBox::StepEnabled stepEnabled(QDateTimeEdit* theWrappedObject) const; - QDateTimeEdit::Sections displayedSections(QDateTimeEdit* theWrappedObject) const; - void setCalendarWidget(QDateTimeEdit* theWrappedObject, QCalendarWidget* calendarWidget); - void keyPressEvent(QDateTimeEdit* theWrappedObject, QKeyEvent* event); - void setDateTimeRange(QDateTimeEdit* theWrappedObject, const QDateTime& min, const QDateTime& max); - QDateTimeEdit::Section sectionAt(QDateTimeEdit* theWrappedObject, int index) const; - void mousePressEvent(QDateTimeEdit* theWrappedObject, QMouseEvent* event); - QDateTime minimumDateTime(QDateTimeEdit* theWrappedObject) const; - void clearMaximumDateTime(QDateTimeEdit* theWrappedObject); - QString sectionText(QDateTimeEdit* theWrappedObject, QDateTimeEdit::Section section) const; - void fixup(QDateTimeEdit* theWrappedObject, QString& input) const; - void clearMaximumTime(QDateTimeEdit* theWrappedObject); - void clearMaximumDate(QDateTimeEdit* theWrappedObject); - void clearMinimumDateTime(QDateTimeEdit* theWrappedObject); - QTime minimumTime(QDateTimeEdit* theWrappedObject) const; - QString textFromDateTime(QDateTimeEdit* theWrappedObject, const QDateTime& dt) const; - void setSelectedSection(QDateTimeEdit* theWrappedObject, QDateTimeEdit::Section section); - void clearMinimumDate(QDateTimeEdit* theWrappedObject); - QDate date(QDateTimeEdit* theWrappedObject) const; - bool event(QDateTimeEdit* theWrappedObject, QEvent* event); - Qt::TimeSpec timeSpec(QDateTimeEdit* theWrappedObject) const; - void clearMinimumTime(QDateTimeEdit* theWrappedObject); - void wheelEvent(QDateTimeEdit* theWrappedObject, QWheelEvent* event); - void setDateRange(QDateTimeEdit* theWrappedObject, const QDate& min, const QDate& max); - QDate maximumDate(QDateTimeEdit* theWrappedObject) const; - void setCalendarPopup(QDateTimeEdit* theWrappedObject, bool enable); - QTime time(QDateTimeEdit* theWrappedObject) const; - QDateTime dateTimeFromText(QDateTimeEdit* theWrappedObject, const QString& text) const; - void setDisplayFormat(QDateTimeEdit* theWrappedObject, const QString& format); - QDateTime dateTime(QDateTimeEdit* theWrappedObject) const; - void paintEvent(QDateTimeEdit* theWrappedObject, QPaintEvent* event); - QDate minimumDate(QDateTimeEdit* theWrappedObject) const; - void setMaximumDateTime(QDateTimeEdit* theWrappedObject, const QDateTime& dt); - bool focusNextPrevChild(QDateTimeEdit* theWrappedObject, bool next); - void setMaximumDate(QDateTimeEdit* theWrappedObject, const QDate& max); - void setMinimumDateTime(QDateTimeEdit* theWrappedObject, const QDateTime& dt); - void setTimeRange(QDateTimeEdit* theWrappedObject, const QTime& min, const QTime& max); - QTime maximumTime(QDateTimeEdit* theWrappedObject) const; - int currentSectionIndex(QDateTimeEdit* theWrappedObject) const; - int sectionCount(QDateTimeEdit* theWrappedObject) const; - QSize sizeHint(QDateTimeEdit* theWrappedObject) const; - bool calendarPopup(QDateTimeEdit* theWrappedObject) const; - QDateTimeEdit::Section currentSection(QDateTimeEdit* theWrappedObject) const; - QString displayFormat(QDateTimeEdit* theWrappedObject) const; - void setMinimumTime(QDateTimeEdit* theWrappedObject, const QTime& min); - void stepBy(QDateTimeEdit* theWrappedObject, int steps); - void setCurrentSection(QDateTimeEdit* theWrappedObject, QDateTimeEdit::Section section); - void focusInEvent(QDateTimeEdit* theWrappedObject, QFocusEvent* event); - QValidator::State validate(QDateTimeEdit* theWrappedObject, QString& input, int& pos) const; - void clear(QDateTimeEdit* theWrappedObject); - void setMaximumTime(QDateTimeEdit* theWrappedObject, const QTime& max); - void setMinimumDate(QDateTimeEdit* theWrappedObject, const QDate& min); - QCalendarWidget* calendarWidget(QDateTimeEdit* theWrappedObject) const; - QDateTime maximumDateTime(QDateTimeEdit* theWrappedObject) const; - void setTimeSpec(QDateTimeEdit* theWrappedObject, Qt::TimeSpec spec); -}; - -#endif // PYTHONQTWRAPPER_QDATETIMEEDIT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDesktopServices.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDesktopServices.cpp deleted file mode 100644 index 4987d51..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDesktopServices.cpp +++ /dev/null @@ -1,38 +0,0 @@ -#include "PythonQtWrapper_QDesktopServices.h" - -#include -#include -#include -#include -#include -#include - -QDesktopServices* PythonQtWrapper_QDesktopServices::new_QDesktopServices() -{ -return new PythonQtShell_QDesktopServices(); } - -bool PythonQtWrapper_QDesktopServices::static_QDesktopServices_openUrl(const QUrl& url) -{ - return (QDesktopServices::openUrl(url)); -} - -void PythonQtWrapper_QDesktopServices::static_QDesktopServices_unsetUrlHandler(const QString& scheme) -{ - (QDesktopServices::unsetUrlHandler(scheme)); -} - -QString PythonQtWrapper_QDesktopServices::static_QDesktopServices_storageLocation(QDesktopServices::StandardLocation type) -{ - return (QDesktopServices::storageLocation(type)); -} - -QString PythonQtWrapper_QDesktopServices::static_QDesktopServices_displayName(QDesktopServices::StandardLocation type) -{ - return (QDesktopServices::displayName(type)); -} - -void PythonQtWrapper_QDesktopServices::static_QDesktopServices_setUrlHandler(const QString& scheme, QObject* receiver, const char* method) -{ - (QDesktopServices::setUrlHandler(scheme, receiver, method)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDesktopServices.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDesktopServices.h deleted file mode 100644 index 55415cf..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDesktopServices.h +++ /dev/null @@ -1,38 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QDESKTOPSERVICES_H -#define PYTHONQTWRAPPER_QDESKTOPSERVICES_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtShell_QDesktopServices : public QDesktopServices -{ -public: - PythonQtShell_QDesktopServices():QDesktopServices(),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QDesktopServices : public QObject -{ Q_OBJECT -public: -Q_ENUMS(StandardLocation ) -enum StandardLocation{ - DesktopLocation = QDesktopServices::DesktopLocation, DocumentsLocation = QDesktopServices::DocumentsLocation, FontsLocation = QDesktopServices::FontsLocation, ApplicationsLocation = QDesktopServices::ApplicationsLocation, MusicLocation = QDesktopServices::MusicLocation, MoviesLocation = QDesktopServices::MoviesLocation, PicturesLocation = QDesktopServices::PicturesLocation, TempLocation = QDesktopServices::TempLocation, HomeLocation = QDesktopServices::HomeLocation, DataLocation = QDesktopServices::DataLocation}; -public slots: -QDesktopServices* new_QDesktopServices(); -void delete_QDesktopServices(QDesktopServices* obj) { delete obj; } - bool static_QDesktopServices_openUrl(const QUrl& url); - void static_QDesktopServices_unsetUrlHandler(const QString& scheme); - QString static_QDesktopServices_storageLocation(QDesktopServices::StandardLocation type); - QString static_QDesktopServices_displayName(QDesktopServices::StandardLocation type); - void static_QDesktopServices_setUrlHandler(const QString& scheme, QObject* receiver, const char* method); -}; - -#endif // PYTHONQTWRAPPER_QDESKTOPSERVICES_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDesktopWidget.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDesktopWidget.cpp deleted file mode 100644 index 2dfb2c7..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDesktopWidget.cpp +++ /dev/null @@ -1,892 +0,0 @@ -#include "PythonQtWrapper_QDesktopWidget.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QDesktopWidget::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QDesktopWidget::actionEvent(arg__1); -} -void PythonQtShell_QDesktopWidget::changeEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDesktopWidget::changeEvent(arg__1); -} -void PythonQtShell_QDesktopWidget::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; - } -} - QDesktopWidget::childEvent(arg__1); -} -void PythonQtShell_QDesktopWidget::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QDesktopWidget::closeEvent(arg__1); -} -void PythonQtShell_QDesktopWidget::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDesktopWidget::contextMenuEvent(arg__1); -} -void PythonQtShell_QDesktopWidget::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; - } -} - QDesktopWidget::customEvent(arg__1); -} -int PythonQtShell_QDesktopWidget::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDesktopWidget::devType(); -} -void PythonQtShell_QDesktopWidget::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QDesktopWidget::dragEnterEvent(arg__1); -} -void PythonQtShell_QDesktopWidget::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QDesktopWidget::dragLeaveEvent(arg__1); -} -void PythonQtShell_QDesktopWidget::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QDesktopWidget::dragMoveEvent(arg__1); -} -void PythonQtShell_QDesktopWidget::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QDesktopWidget::dropEvent(arg__1); -} -void PythonQtShell_QDesktopWidget::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QDesktopWidget::enterEvent(arg__1); -} -bool PythonQtShell_QDesktopWidget::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDesktopWidget::event(arg__1); -} -bool PythonQtShell_QDesktopWidget::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDesktopWidget::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QDesktopWidget::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QDesktopWidget::focusInEvent(arg__1); -} -bool PythonQtShell_QDesktopWidget::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDesktopWidget::focusNextPrevChild(next); -} -void PythonQtShell_QDesktopWidget::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QDesktopWidget::focusOutEvent(arg__1); -} -int PythonQtShell_QDesktopWidget::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDesktopWidget::heightForWidth(arg__1); -} -void PythonQtShell_QDesktopWidget::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QDesktopWidget::hideEvent(arg__1); -} -void PythonQtShell_QDesktopWidget::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QDesktopWidget::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QDesktopWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDesktopWidget::inputMethodQuery(arg__1); -} -void PythonQtShell_QDesktopWidget::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDesktopWidget::keyPressEvent(arg__1); -} -void PythonQtShell_QDesktopWidget::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDesktopWidget::keyReleaseEvent(arg__1); -} -void PythonQtShell_QDesktopWidget::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDesktopWidget::languageChange(); -} -void PythonQtShell_QDesktopWidget::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QDesktopWidget::leaveEvent(arg__1); -} -int PythonQtShell_QDesktopWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDesktopWidget::metric(arg__1); -} -QSize PythonQtShell_QDesktopWidget::minimumSizeHint() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDesktopWidget::minimumSizeHint(); -} -void PythonQtShell_QDesktopWidget::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QDesktopWidget::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QDesktopWidget::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QDesktopWidget::mouseMoveEvent(arg__1); -} -void PythonQtShell_QDesktopWidget::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QDesktopWidget::mousePressEvent(arg__1); -} -void PythonQtShell_QDesktopWidget::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QDesktopWidget::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QDesktopWidget::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDesktopWidget::moveEvent(arg__1); -} -QPaintEngine* PythonQtShell_QDesktopWidget::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDesktopWidget::paintEngine(); -} -void PythonQtShell_QDesktopWidget::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - 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; - } -} - QDesktopWidget::paintEvent(arg__1); -} -void PythonQtShell_QDesktopWidget::resizeEvent(QResizeEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDesktopWidget::resizeEvent(e); -} -void PythonQtShell_QDesktopWidget::showEvent(QShowEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QDesktopWidget::showEvent(arg__1); -} -QSize PythonQtShell_QDesktopWidget::sizeHint() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getSizeHint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDesktopWidget::sizeHint(); -} -void PythonQtShell_QDesktopWidget::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QDesktopWidget::tabletEvent(arg__1); -} -void PythonQtShell_QDesktopWidget::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; - } -} - QDesktopWidget::timerEvent(arg__1); -} -void PythonQtShell_QDesktopWidget::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDesktopWidget::wheelEvent(arg__1); -} -QDesktopWidget* PythonQtWrapper_QDesktopWidget::new_QDesktopWidget() -{ -return new PythonQtShell_QDesktopWidget(); } - -void PythonQtWrapper_QDesktopWidget::resizeEvent(QDesktopWidget* theWrappedObject, QResizeEvent* e) -{ - ( ((PythonQtPublicPromoter_QDesktopWidget*)theWrappedObject)->promoted_resizeEvent(e)); -} - -int PythonQtWrapper_QDesktopWidget::primaryScreen(QDesktopWidget* theWrappedObject) const -{ - return ( theWrappedObject->primaryScreen()); -} - -const QRect PythonQtWrapper_QDesktopWidget::availableGeometry(QDesktopWidget* theWrappedObject, int screen) const -{ - return ( theWrappedObject->availableGeometry(screen)); -} - -int PythonQtWrapper_QDesktopWidget::screenNumber(QDesktopWidget* theWrappedObject, const QPoint& arg__1) const -{ - return ( theWrappedObject->screenNumber(arg__1)); -} - -const QRect PythonQtWrapper_QDesktopWidget::screenGeometry(QDesktopWidget* theWrappedObject, const QPoint& point) const -{ - return ( theWrappedObject->screenGeometry(point)); -} - -const QRect PythonQtWrapper_QDesktopWidget::availableGeometry(QDesktopWidget* theWrappedObject, const QWidget* widget) const -{ - return ( theWrappedObject->availableGeometry(widget)); -} - -bool PythonQtWrapper_QDesktopWidget::isVirtualDesktop(QDesktopWidget* theWrappedObject) const -{ - return ( theWrappedObject->isVirtualDesktop()); -} - -int PythonQtWrapper_QDesktopWidget::numScreens(QDesktopWidget* theWrappedObject) const -{ - return ( theWrappedObject->numScreens()); -} - -QWidget* PythonQtWrapper_QDesktopWidget::screen(QDesktopWidget* theWrappedObject, int screen) -{ - return ( theWrappedObject->screen(screen)); -} - -const QRect PythonQtWrapper_QDesktopWidget::screenGeometry(QDesktopWidget* theWrappedObject, const QWidget* widget) const -{ - return ( theWrappedObject->screenGeometry(widget)); -} - -const QRect PythonQtWrapper_QDesktopWidget::availableGeometry(QDesktopWidget* theWrappedObject, const QPoint& point) const -{ - return ( theWrappedObject->availableGeometry(point)); -} - -const QRect PythonQtWrapper_QDesktopWidget::screenGeometry(QDesktopWidget* theWrappedObject, int screen) const -{ - return ( theWrappedObject->screenGeometry(screen)); -} - -int PythonQtWrapper_QDesktopWidget::screenNumber(QDesktopWidget* theWrappedObject, const QWidget* widget) const -{ - return ( theWrappedObject->screenNumber(widget)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDesktopWidget.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDesktopWidget.h deleted file mode 100644 index 4303620..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDesktopWidget.h +++ /dev/null @@ -1,112 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QDESKTOPWIDGET_H -#define PYTHONQTWRAPPER_QDESKTOPWIDGET_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QDesktopWidget : public QDesktopWidget -{ -public: - PythonQtShell_QDesktopWidget():QDesktopWidget(),_wrapper(NULL) {}; - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* arg__1); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual void resizeEvent(QResizeEvent* e); -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QDesktopWidget : public QDesktopWidget -{ public: -inline void promoted_resizeEvent(QResizeEvent* e) { QDesktopWidget::resizeEvent(e); } -}; - -class PythonQtWrapper_QDesktopWidget : public QObject -{ Q_OBJECT -public: -public slots: -QDesktopWidget* new_QDesktopWidget(); -void delete_QDesktopWidget(QDesktopWidget* obj) { delete obj; } - void resizeEvent(QDesktopWidget* theWrappedObject, QResizeEvent* e); - int primaryScreen(QDesktopWidget* theWrappedObject) const; - const QRect availableGeometry(QDesktopWidget* theWrappedObject, int screen = -1) const; - int screenNumber(QDesktopWidget* theWrappedObject, const QPoint& arg__1) const; - const QRect screenGeometry(QDesktopWidget* theWrappedObject, const QPoint& point) const; - const QRect availableGeometry(QDesktopWidget* theWrappedObject, const QWidget* widget) const; - bool isVirtualDesktop(QDesktopWidget* theWrappedObject) const; - int numScreens(QDesktopWidget* theWrappedObject) const; - QWidget* screen(QDesktopWidget* theWrappedObject, int screen = -1); - const QRect screenGeometry(QDesktopWidget* theWrappedObject, const QWidget* widget) const; - const QRect availableGeometry(QDesktopWidget* theWrappedObject, const QPoint& point) const; - const QRect screenGeometry(QDesktopWidget* theWrappedObject, int screen = -1) const; - int screenNumber(QDesktopWidget* theWrappedObject, const QWidget* widget = 0) const; -}; - -#endif // PYTHONQTWRAPPER_QDESKTOPWIDGET_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDial.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDial.cpp deleted file mode 100644 index 1d23c7d..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDial.cpp +++ /dev/null @@ -1,837 +0,0 @@ -#include "PythonQtWrapper_QDial.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QDial::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QDial::actionEvent(arg__1); -} -void PythonQtShell_QDial::changeEvent(QEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDial::changeEvent(e); -} -void PythonQtShell_QDial::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; - } -} - QDial::childEvent(arg__1); -} -void PythonQtShell_QDial::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QDial::closeEvent(arg__1); -} -void PythonQtShell_QDial::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDial::contextMenuEvent(arg__1); -} -void PythonQtShell_QDial::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; - } -} - QDial::customEvent(arg__1); -} -int PythonQtShell_QDial::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDial::devType(); -} -void PythonQtShell_QDial::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QDial::dragEnterEvent(arg__1); -} -void PythonQtShell_QDial::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QDial::dragLeaveEvent(arg__1); -} -void PythonQtShell_QDial::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QDial::dragMoveEvent(arg__1); -} -void PythonQtShell_QDial::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QDial::dropEvent(arg__1); -} -void PythonQtShell_QDial::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QDial::enterEvent(arg__1); -} -bool PythonQtShell_QDial::event(QEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDial::event(e); -} -bool PythonQtShell_QDial::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDial::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QDial::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QDial::focusInEvent(arg__1); -} -bool PythonQtShell_QDial::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDial::focusNextPrevChild(next); -} -void PythonQtShell_QDial::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QDial::focusOutEvent(arg__1); -} -int PythonQtShell_QDial::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDial::heightForWidth(arg__1); -} -void PythonQtShell_QDial::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QDial::hideEvent(arg__1); -} -void PythonQtShell_QDial::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QDial::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QDial::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDial::inputMethodQuery(arg__1); -} -void PythonQtShell_QDial::keyPressEvent(QKeyEvent* ev) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDial::keyPressEvent(ev); -} -void PythonQtShell_QDial::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDial::keyReleaseEvent(arg__1); -} -void PythonQtShell_QDial::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDial::languageChange(); -} -void PythonQtShell_QDial::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QDial::leaveEvent(arg__1); -} -int PythonQtShell_QDial::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDial::metric(arg__1); -} -void PythonQtShell_QDial::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QDial::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QDial::mouseMoveEvent(QMouseEvent* me) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&me}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDial::mouseMoveEvent(me); -} -void PythonQtShell_QDial::mousePressEvent(QMouseEvent* me) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&me}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDial::mousePressEvent(me); -} -void PythonQtShell_QDial::mouseReleaseEvent(QMouseEvent* me) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&me}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDial::mouseReleaseEvent(me); -} -void PythonQtShell_QDial::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDial::moveEvent(arg__1); -} -QPaintEngine* PythonQtShell_QDial::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDial::paintEngine(); -} -void PythonQtShell_QDial::paintEvent(QPaintEvent* pe) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&pe}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDial::paintEvent(pe); -} -void PythonQtShell_QDial::resizeEvent(QResizeEvent* re) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&re}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDial::resizeEvent(re); -} -void PythonQtShell_QDial::showEvent(QShowEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QDial::showEvent(arg__1); -} -void PythonQtShell_QDial::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QDial::tabletEvent(arg__1); -} -void PythonQtShell_QDial::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; - } -} - QDial::timerEvent(arg__1); -} -void PythonQtShell_QDial::wheelEvent(QWheelEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDial::wheelEvent(e); -} -QDial* PythonQtWrapper_QDial::new_QDial(QWidget* parent) -{ -return new PythonQtShell_QDial(parent); } - -bool PythonQtWrapper_QDial::notchesVisible(QDial* theWrappedObject) const -{ - return ( theWrappedObject->notchesVisible()); -} - -QSize PythonQtWrapper_QDial::sizeHint(QDial* theWrappedObject) const -{ - return ( theWrappedObject->sizeHint()); -} - -qreal PythonQtWrapper_QDial::notchTarget(QDial* theWrappedObject) const -{ - return ( theWrappedObject->notchTarget()); -} - -int PythonQtWrapper_QDial::notchSize(QDial* theWrappedObject) const -{ - return ( theWrappedObject->notchSize()); -} - -void PythonQtWrapper_QDial::mouseMoveEvent(QDial* theWrappedObject, QMouseEvent* me) -{ - ( ((PythonQtPublicPromoter_QDial*)theWrappedObject)->promoted_mouseMoveEvent(me)); -} - -bool PythonQtWrapper_QDial::wrapping(QDial* theWrappedObject) const -{ - return ( theWrappedObject->wrapping()); -} - -QSize PythonQtWrapper_QDial::minimumSizeHint(QDial* theWrappedObject) const -{ - return ( theWrappedObject->minimumSizeHint()); -} - -void PythonQtWrapper_QDial::resizeEvent(QDial* theWrappedObject, QResizeEvent* re) -{ - ( ((PythonQtPublicPromoter_QDial*)theWrappedObject)->promoted_resizeEvent(re)); -} - -void PythonQtWrapper_QDial::mousePressEvent(QDial* theWrappedObject, QMouseEvent* me) -{ - ( ((PythonQtPublicPromoter_QDial*)theWrappedObject)->promoted_mousePressEvent(me)); -} - -void PythonQtWrapper_QDial::mouseReleaseEvent(QDial* theWrappedObject, QMouseEvent* me) -{ - ( ((PythonQtPublicPromoter_QDial*)theWrappedObject)->promoted_mouseReleaseEvent(me)); -} - -bool PythonQtWrapper_QDial::event(QDial* theWrappedObject, QEvent* e) -{ - return ( ((PythonQtPublicPromoter_QDial*)theWrappedObject)->promoted_event(e)); -} - -void PythonQtWrapper_QDial::setNotchTarget(QDial* theWrappedObject, double target) -{ - ( theWrappedObject->setNotchTarget(target)); -} - -void PythonQtWrapper_QDial::paintEvent(QDial* theWrappedObject, QPaintEvent* pe) -{ - ( ((PythonQtPublicPromoter_QDial*)theWrappedObject)->promoted_paintEvent(pe)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDial.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDial.h deleted file mode 100644 index 07f34cb..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDial.h +++ /dev/null @@ -1,116 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QDIAL_H -#define PYTHONQTWRAPPER_QDIAL_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QDial : public QDial -{ -public: - PythonQtShell_QDial(QWidget* parent = 0):QDial(parent),_wrapper(NULL) {}; - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* e); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* ev); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* me); -virtual void mousePressEvent(QMouseEvent* me); -virtual void mouseReleaseEvent(QMouseEvent* me); -virtual void moveEvent(QMoveEvent* arg__1); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* pe); -virtual void resizeEvent(QResizeEvent* re); -virtual void showEvent(QShowEvent* arg__1); -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* e); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QDial : public QDial -{ public: -inline void promoted_mouseMoveEvent(QMouseEvent* me) { QDial::mouseMoveEvent(me); } -inline void promoted_resizeEvent(QResizeEvent* re) { QDial::resizeEvent(re); } -inline void promoted_mousePressEvent(QMouseEvent* me) { QDial::mousePressEvent(me); } -inline void promoted_mouseReleaseEvent(QMouseEvent* me) { QDial::mouseReleaseEvent(me); } -inline bool promoted_event(QEvent* e) { return QDial::event(e); } -inline void promoted_paintEvent(QPaintEvent* pe) { QDial::paintEvent(pe); } -}; - -class PythonQtWrapper_QDial : public QObject -{ Q_OBJECT -public: -public slots: -QDial* new_QDial(QWidget* parent = 0); -void delete_QDial(QDial* obj) { delete obj; } - bool notchesVisible(QDial* theWrappedObject) const; - QSize sizeHint(QDial* theWrappedObject) const; - qreal notchTarget(QDial* theWrappedObject) const; - int notchSize(QDial* theWrappedObject) const; - void mouseMoveEvent(QDial* theWrappedObject, QMouseEvent* me); - bool wrapping(QDial* theWrappedObject) const; - QSize minimumSizeHint(QDial* theWrappedObject) const; - void resizeEvent(QDial* theWrappedObject, QResizeEvent* re); - void mousePressEvent(QDial* theWrappedObject, QMouseEvent* me); - void mouseReleaseEvent(QDial* theWrappedObject, QMouseEvent* me); - bool event(QDial* theWrappedObject, QEvent* e); - void setNotchTarget(QDial* theWrappedObject, double target); - void paintEvent(QDial* theWrappedObject, QPaintEvent* pe); -}; - -#endif // PYTHONQTWRAPPER_QDIAL_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDialog.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDialog.cpp deleted file mode 100644 index a68cf86..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDialog.cpp +++ /dev/null @@ -1,892 +0,0 @@ -#include "PythonQtWrapper_QDialog.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QDialog::accept() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "accept"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDialog::accept(); -} -void PythonQtShell_QDialog::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QDialog::actionEvent(arg__1); -} -void PythonQtShell_QDialog::changeEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDialog::changeEvent(arg__1); -} -void PythonQtShell_QDialog::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; - } -} - QDialog::childEvent(arg__1); -} -void PythonQtShell_QDialog::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QDialog::closeEvent(arg__1); -} -void PythonQtShell_QDialog::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDialog::contextMenuEvent(arg__1); -} -void PythonQtShell_QDialog::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; - } -} - QDialog::customEvent(arg__1); -} -int PythonQtShell_QDialog::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDialog::devType(); -} -void PythonQtShell_QDialog::done(int arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "done"); - 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; - } -} - QDialog::done(arg__1); -} -void PythonQtShell_QDialog::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QDialog::dragEnterEvent(arg__1); -} -void PythonQtShell_QDialog::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QDialog::dragLeaveEvent(arg__1); -} -void PythonQtShell_QDialog::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QDialog::dragMoveEvent(arg__1); -} -void PythonQtShell_QDialog::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QDialog::dropEvent(arg__1); -} -void PythonQtShell_QDialog::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QDialog::enterEvent(arg__1); -} -bool PythonQtShell_QDialog::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDialog::event(arg__1); -} -bool PythonQtShell_QDialog::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDialog::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QDialog::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QDialog::focusInEvent(arg__1); -} -bool PythonQtShell_QDialog::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDialog::focusNextPrevChild(next); -} -void PythonQtShell_QDialog::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QDialog::focusOutEvent(arg__1); -} -int PythonQtShell_QDialog::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDialog::heightForWidth(arg__1); -} -void PythonQtShell_QDialog::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QDialog::hideEvent(arg__1); -} -void PythonQtShell_QDialog::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QDialog::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDialog::inputMethodQuery(arg__1); -} -void PythonQtShell_QDialog::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDialog::keyPressEvent(arg__1); -} -void PythonQtShell_QDialog::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDialog::keyReleaseEvent(arg__1); -} -void PythonQtShell_QDialog::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDialog::languageChange(); -} -void PythonQtShell_QDialog::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QDialog::leaveEvent(arg__1); -} -int PythonQtShell_QDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDialog::metric(arg__1); -} -void PythonQtShell_QDialog::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QDialog::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QDialog::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QDialog::mouseMoveEvent(arg__1); -} -void PythonQtShell_QDialog::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QDialog::mousePressEvent(arg__1); -} -void PythonQtShell_QDialog::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QDialog::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QDialog::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDialog::moveEvent(arg__1); -} -QPaintEngine* PythonQtShell_QDialog::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDialog::paintEngine(); -} -void PythonQtShell_QDialog::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - 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; - } -} - QDialog::paintEvent(arg__1); -} -void PythonQtShell_QDialog::reject() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reject"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDialog::reject(); -} -void PythonQtShell_QDialog::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - 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; - } -} - QDialog::resizeEvent(arg__1); -} -void PythonQtShell_QDialog::showEvent(QShowEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QDialog::showEvent(arg__1); -} -void PythonQtShell_QDialog::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QDialog::tabletEvent(arg__1); -} -void PythonQtShell_QDialog::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; - } -} - QDialog::timerEvent(arg__1); -} -void PythonQtShell_QDialog::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDialog::wheelEvent(arg__1); -} -QDialog* PythonQtWrapper_QDialog::new_QDialog(QWidget* parent, Qt::WindowFlags f) -{ -return new PythonQtShell_QDialog(parent, f); } - -void PythonQtWrapper_QDialog::setVisible(QDialog* theWrappedObject, bool visible) -{ - ( theWrappedObject->setVisible(visible)); -} - -void PythonQtWrapper_QDialog::closeEvent(QDialog* theWrappedObject, QCloseEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QDialog*)theWrappedObject)->promoted_closeEvent(arg__1)); -} - -void PythonQtWrapper_QDialog::keyPressEvent(QDialog* theWrappedObject, QKeyEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QDialog*)theWrappedObject)->promoted_keyPressEvent(arg__1)); -} - -bool PythonQtWrapper_QDialog::eventFilter(QDialog* theWrappedObject, QObject* arg__1, QEvent* arg__2) -{ - return ( ((PythonQtPublicPromoter_QDialog*)theWrappedObject)->promoted_eventFilter(arg__1, arg__2)); -} - -void PythonQtWrapper_QDialog::showEvent(QDialog* theWrappedObject, QShowEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QDialog*)theWrappedObject)->promoted_showEvent(arg__1)); -} - -QSize PythonQtWrapper_QDialog::minimumSizeHint(QDialog* theWrappedObject) const -{ - return ( theWrappedObject->minimumSizeHint()); -} - -bool PythonQtWrapper_QDialog::isSizeGripEnabled(QDialog* theWrappedObject) const -{ - return ( theWrappedObject->isSizeGripEnabled()); -} - -void PythonQtWrapper_QDialog::setResult(QDialog* theWrappedObject, int r) -{ - ( theWrappedObject->setResult(r)); -} - -void PythonQtWrapper_QDialog::setSizeGripEnabled(QDialog* theWrappedObject, bool arg__1) -{ - ( theWrappedObject->setSizeGripEnabled(arg__1)); -} - -void PythonQtWrapper_QDialog::setModal(QDialog* theWrappedObject, bool modal) -{ - ( theWrappedObject->setModal(modal)); -} - -void PythonQtWrapper_QDialog::resizeEvent(QDialog* theWrappedObject, QResizeEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QDialog*)theWrappedObject)->promoted_resizeEvent(arg__1)); -} - -int PythonQtWrapper_QDialog::result(QDialog* theWrappedObject) const -{ - return ( theWrappedObject->result()); -} - -QSize PythonQtWrapper_QDialog::sizeHint(QDialog* theWrappedObject) const -{ - return ( theWrappedObject->sizeHint()); -} - -void PythonQtWrapper_QDialog::contextMenuEvent(QDialog* theWrappedObject, QContextMenuEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QDialog*)theWrappedObject)->promoted_contextMenuEvent(arg__1)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDialog.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDialog.h deleted file mode 100644 index 397ece3..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDialog.h +++ /dev/null @@ -1,125 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QDIALOG_H -#define PYTHONQTWRAPPER_QDIALOG_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QDialog : public QDialog -{ -public: - PythonQtShell_QDialog(QWidget* parent = 0, Qt::WindowFlags f = 0):QDialog(parent, f),_wrapper(NULL) {}; - -virtual void accept(); -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual int devType() const; -virtual void done(int arg__1); -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* arg__1); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual void reject(); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void showEvent(QShowEvent* arg__1); -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QDialog : public QDialog -{ public: -inline void promoted_reject() { QDialog::reject(); } -inline void promoted_closeEvent(QCloseEvent* arg__1) { QDialog::closeEvent(arg__1); } -inline void promoted_keyPressEvent(QKeyEvent* arg__1) { QDialog::keyPressEvent(arg__1); } -inline bool promoted_eventFilter(QObject* arg__1, QEvent* arg__2) { return QDialog::eventFilter(arg__1, arg__2); } -inline void promoted_showEvent(QShowEvent* arg__1) { QDialog::showEvent(arg__1); } -inline void promoted_done(int arg__1) { QDialog::done(arg__1); } -inline void promoted_resizeEvent(QResizeEvent* arg__1) { QDialog::resizeEvent(arg__1); } -inline void promoted_contextMenuEvent(QContextMenuEvent* arg__1) { QDialog::contextMenuEvent(arg__1); } -inline void promoted_accept() { QDialog::accept(); } -}; - -class PythonQtWrapper_QDialog : public QObject -{ Q_OBJECT -public: -Q_ENUMS(DialogCode ) -enum DialogCode{ - Rejected = QDialog::Rejected, Accepted = QDialog::Accepted}; -public slots: -QDialog* new_QDialog(QWidget* parent = 0, Qt::WindowFlags f = 0); -void delete_QDialog(QDialog* obj) { delete obj; } - void setVisible(QDialog* theWrappedObject, bool visible); - void closeEvent(QDialog* theWrappedObject, QCloseEvent* arg__1); - void keyPressEvent(QDialog* theWrappedObject, QKeyEvent* arg__1); - bool eventFilter(QDialog* theWrappedObject, QObject* arg__1, QEvent* arg__2); - void showEvent(QDialog* theWrappedObject, QShowEvent* arg__1); - QSize minimumSizeHint(QDialog* theWrappedObject) const; - bool isSizeGripEnabled(QDialog* theWrappedObject) const; - void setResult(QDialog* theWrappedObject, int r); - void setSizeGripEnabled(QDialog* theWrappedObject, bool arg__1); - void setModal(QDialog* theWrappedObject, bool modal); - void resizeEvent(QDialog* theWrappedObject, QResizeEvent* arg__1); - int result(QDialog* theWrappedObject) const; - QSize sizeHint(QDialog* theWrappedObject) const; - void contextMenuEvent(QDialog* theWrappedObject, QContextMenuEvent* arg__1); -}; - -#endif // PYTHONQTWRAPPER_QDIALOG_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDialogButtonBox.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDialogButtonBox.cpp deleted file mode 100644 index 008da1f..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDialogButtonBox.cpp +++ /dev/null @@ -1,922 +0,0 @@ -#include "PythonQtWrapper_QDialogButtonBox.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QDialogButtonBox::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QDialogButtonBox::actionEvent(arg__1); -} -void PythonQtShell_QDialogButtonBox::changeEvent(QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDialogButtonBox::changeEvent(event); -} -void PythonQtShell_QDialogButtonBox::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; - } -} - QDialogButtonBox::childEvent(arg__1); -} -void PythonQtShell_QDialogButtonBox::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QDialogButtonBox::closeEvent(arg__1); -} -void PythonQtShell_QDialogButtonBox::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDialogButtonBox::contextMenuEvent(arg__1); -} -void PythonQtShell_QDialogButtonBox::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; - } -} - QDialogButtonBox::customEvent(arg__1); -} -int PythonQtShell_QDialogButtonBox::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDialogButtonBox::devType(); -} -void PythonQtShell_QDialogButtonBox::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QDialogButtonBox::dragEnterEvent(arg__1); -} -void PythonQtShell_QDialogButtonBox::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QDialogButtonBox::dragLeaveEvent(arg__1); -} -void PythonQtShell_QDialogButtonBox::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QDialogButtonBox::dragMoveEvent(arg__1); -} -void PythonQtShell_QDialogButtonBox::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QDialogButtonBox::dropEvent(arg__1); -} -void PythonQtShell_QDialogButtonBox::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QDialogButtonBox::enterEvent(arg__1); -} -bool PythonQtShell_QDialogButtonBox::event(QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDialogButtonBox::event(event); -} -bool PythonQtShell_QDialogButtonBox::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDialogButtonBox::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QDialogButtonBox::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QDialogButtonBox::focusInEvent(arg__1); -} -bool PythonQtShell_QDialogButtonBox::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDialogButtonBox::focusNextPrevChild(next); -} -void PythonQtShell_QDialogButtonBox::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QDialogButtonBox::focusOutEvent(arg__1); -} -int PythonQtShell_QDialogButtonBox::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDialogButtonBox::heightForWidth(arg__1); -} -void PythonQtShell_QDialogButtonBox::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QDialogButtonBox::hideEvent(arg__1); -} -void PythonQtShell_QDialogButtonBox::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QDialogButtonBox::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QDialogButtonBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDialogButtonBox::inputMethodQuery(arg__1); -} -void PythonQtShell_QDialogButtonBox::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDialogButtonBox::keyPressEvent(arg__1); -} -void PythonQtShell_QDialogButtonBox::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDialogButtonBox::keyReleaseEvent(arg__1); -} -void PythonQtShell_QDialogButtonBox::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDialogButtonBox::languageChange(); -} -void PythonQtShell_QDialogButtonBox::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QDialogButtonBox::leaveEvent(arg__1); -} -int PythonQtShell_QDialogButtonBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDialogButtonBox::metric(arg__1); -} -QSize PythonQtShell_QDialogButtonBox::minimumSizeHint() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDialogButtonBox::minimumSizeHint(); -} -void PythonQtShell_QDialogButtonBox::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QDialogButtonBox::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QDialogButtonBox::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QDialogButtonBox::mouseMoveEvent(arg__1); -} -void PythonQtShell_QDialogButtonBox::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QDialogButtonBox::mousePressEvent(arg__1); -} -void PythonQtShell_QDialogButtonBox::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QDialogButtonBox::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QDialogButtonBox::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDialogButtonBox::moveEvent(arg__1); -} -QPaintEngine* PythonQtShell_QDialogButtonBox::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDialogButtonBox::paintEngine(); -} -void PythonQtShell_QDialogButtonBox::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - 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; - } -} - QDialogButtonBox::paintEvent(arg__1); -} -void PythonQtShell_QDialogButtonBox::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - 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; - } -} - QDialogButtonBox::resizeEvent(arg__1); -} -void PythonQtShell_QDialogButtonBox::showEvent(QShowEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QDialogButtonBox::showEvent(arg__1); -} -QSize PythonQtShell_QDialogButtonBox::sizeHint() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getSizeHint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDialogButtonBox::sizeHint(); -} -void PythonQtShell_QDialogButtonBox::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QDialogButtonBox::tabletEvent(arg__1); -} -void PythonQtShell_QDialogButtonBox::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; - } -} - QDialogButtonBox::timerEvent(arg__1); -} -void PythonQtShell_QDialogButtonBox::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDialogButtonBox::wheelEvent(arg__1); -} -QDialogButtonBox* PythonQtWrapper_QDialogButtonBox::new_QDialogButtonBox(QDialogButtonBox::StandardButtons buttons, Qt::Orientation orientation, QWidget* parent) -{ -return new PythonQtShell_QDialogButtonBox(buttons, orientation, parent); } - -QDialogButtonBox* PythonQtWrapper_QDialogButtonBox::new_QDialogButtonBox(QWidget* parent) -{ -return new PythonQtShell_QDialogButtonBox(parent); } - -QDialogButtonBox* PythonQtWrapper_QDialogButtonBox::new_QDialogButtonBox(Qt::Orientation orientation, QWidget* parent) -{ -return new PythonQtShell_QDialogButtonBox(orientation, parent); } - -bool PythonQtWrapper_QDialogButtonBox::centerButtons(QDialogButtonBox* theWrappedObject) const -{ - return ( theWrappedObject->centerButtons()); -} - -Qt::Orientation PythonQtWrapper_QDialogButtonBox::orientation(QDialogButtonBox* theWrappedObject) const -{ - return ( theWrappedObject->orientation()); -} - -void PythonQtWrapper_QDialogButtonBox::setCenterButtons(QDialogButtonBox* theWrappedObject, bool center) -{ - ( theWrappedObject->setCenterButtons(center)); -} - -QDialogButtonBox::StandardButton PythonQtWrapper_QDialogButtonBox::standardButton(QDialogButtonBox* theWrappedObject, QAbstractButton* button) const -{ - return ( theWrappedObject->standardButton(button)); -} - -void PythonQtWrapper_QDialogButtonBox::clear(QDialogButtonBox* theWrappedObject) -{ - ( theWrappedObject->clear()); -} - -void PythonQtWrapper_QDialogButtonBox::setStandardButtons(QDialogButtonBox* theWrappedObject, QDialogButtonBox::StandardButtons buttons) -{ - ( theWrappedObject->setStandardButtons(buttons)); -} - -QPushButton* PythonQtWrapper_QDialogButtonBox::addButton(QDialogButtonBox* theWrappedObject, const QString& text, QDialogButtonBox::ButtonRole role) -{ - return ( theWrappedObject->addButton(text, role)); -} - -QPushButton* PythonQtWrapper_QDialogButtonBox::addButton(QDialogButtonBox* theWrappedObject, QDialogButtonBox::StandardButton button) -{ - return ( theWrappedObject->addButton(button)); -} - -void PythonQtWrapper_QDialogButtonBox::setOrientation(QDialogButtonBox* theWrappedObject, Qt::Orientation orientation) -{ - ( theWrappedObject->setOrientation(orientation)); -} - -void PythonQtWrapper_QDialogButtonBox::addButton(QDialogButtonBox* theWrappedObject, QAbstractButton* button, QDialogButtonBox::ButtonRole role) -{ - ( theWrappedObject->addButton(button, role)); -} - -bool PythonQtWrapper_QDialogButtonBox::event(QDialogButtonBox* theWrappedObject, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QDialogButtonBox*)theWrappedObject)->promoted_event(event)); -} - -QDialogButtonBox::StandardButtons PythonQtWrapper_QDialogButtonBox::standardButtons(QDialogButtonBox* theWrappedObject) const -{ - return ( theWrappedObject->standardButtons()); -} - -QDialogButtonBox::ButtonRole PythonQtWrapper_QDialogButtonBox::buttonRole(QDialogButtonBox* theWrappedObject, QAbstractButton* button) const -{ - return ( theWrappedObject->buttonRole(button)); -} - -void PythonQtWrapper_QDialogButtonBox::removeButton(QDialogButtonBox* theWrappedObject, QAbstractButton* button) -{ - ( theWrappedObject->removeButton(button)); -} - -QPushButton* PythonQtWrapper_QDialogButtonBox::button(QDialogButtonBox* theWrappedObject, QDialogButtonBox::StandardButton which) const -{ - return ( theWrappedObject->button(which)); -} - -QList PythonQtWrapper_QDialogButtonBox::buttons(QDialogButtonBox* theWrappedObject) const -{ - return ( theWrappedObject->buttons()); -} - -void PythonQtWrapper_QDialogButtonBox::changeEvent(QDialogButtonBox* theWrappedObject, QEvent* event) -{ - ( ((PythonQtPublicPromoter_QDialogButtonBox*)theWrappedObject)->promoted_changeEvent(event)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDialogButtonBox.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDialogButtonBox.h deleted file mode 100644 index e22e70a..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDialogButtonBox.h +++ /dev/null @@ -1,132 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QDIALOGBUTTONBOX_H -#define PYTHONQTWRAPPER_QDIALOGBUTTONBOX_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QDialogButtonBox : public QDialogButtonBox -{ -public: - PythonQtShell_QDialogButtonBox(QDialogButtonBox::StandardButtons buttons, Qt::Orientation orientation = Qt::Horizontal, QWidget* parent = 0):QDialogButtonBox(buttons, orientation, parent),_wrapper(NULL) {}; - PythonQtShell_QDialogButtonBox(QWidget* parent = 0):QDialogButtonBox(parent),_wrapper(NULL) {}; - PythonQtShell_QDialogButtonBox(Qt::Orientation orientation, QWidget* parent = 0):QDialogButtonBox(orientation, parent),_wrapper(NULL) {}; - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* event); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* arg__1); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QDialogButtonBox : public QDialogButtonBox -{ public: -inline bool promoted_event(QEvent* event) { return QDialogButtonBox::event(event); } -inline void promoted_changeEvent(QEvent* event) { QDialogButtonBox::changeEvent(event); } -}; - -class PythonQtWrapper_QDialogButtonBox : public QObject -{ Q_OBJECT -public: -Q_ENUMS(ButtonLayout ButtonRole StandardButton ) -Q_FLAGS(StandardButtons ) -enum ButtonLayout{ - WinLayout = QDialogButtonBox::WinLayout, MacLayout = QDialogButtonBox::MacLayout, KdeLayout = QDialogButtonBox::KdeLayout, GnomeLayout = QDialogButtonBox::GnomeLayout}; -enum ButtonRole{ - InvalidRole = QDialogButtonBox::InvalidRole, AcceptRole = QDialogButtonBox::AcceptRole, RejectRole = QDialogButtonBox::RejectRole, DestructiveRole = QDialogButtonBox::DestructiveRole, ActionRole = QDialogButtonBox::ActionRole, HelpRole = QDialogButtonBox::HelpRole, YesRole = QDialogButtonBox::YesRole, NoRole = QDialogButtonBox::NoRole, ResetRole = QDialogButtonBox::ResetRole, ApplyRole = QDialogButtonBox::ApplyRole, NRoles = QDialogButtonBox::NRoles}; -enum StandardButton{ - NoButton = QDialogButtonBox::NoButton, Ok = QDialogButtonBox::Ok, Save = QDialogButtonBox::Save, SaveAll = QDialogButtonBox::SaveAll, Open = QDialogButtonBox::Open, Yes = QDialogButtonBox::Yes, YesToAll = QDialogButtonBox::YesToAll, No = QDialogButtonBox::No, NoToAll = QDialogButtonBox::NoToAll, Abort = QDialogButtonBox::Abort, Retry = QDialogButtonBox::Retry, Ignore = QDialogButtonBox::Ignore, Close = QDialogButtonBox::Close, Cancel = QDialogButtonBox::Cancel, Discard = QDialogButtonBox::Discard, Help = QDialogButtonBox::Help, Apply = QDialogButtonBox::Apply, Reset = QDialogButtonBox::Reset, RestoreDefaults = QDialogButtonBox::RestoreDefaults, FirstButton = QDialogButtonBox::FirstButton, LastButton = QDialogButtonBox::LastButton}; -Q_DECLARE_FLAGS(StandardButtons, StandardButton) -public slots: -QDialogButtonBox* new_QDialogButtonBox(QDialogButtonBox::StandardButtons buttons, Qt::Orientation orientation = Qt::Horizontal, QWidget* parent = 0); -QDialogButtonBox* new_QDialogButtonBox(QWidget* parent = 0); -QDialogButtonBox* new_QDialogButtonBox(Qt::Orientation orientation, QWidget* parent = 0); -void delete_QDialogButtonBox(QDialogButtonBox* obj) { delete obj; } - bool centerButtons(QDialogButtonBox* theWrappedObject) const; - Qt::Orientation orientation(QDialogButtonBox* theWrappedObject) const; - void setCenterButtons(QDialogButtonBox* theWrappedObject, bool center); - QDialogButtonBox::StandardButton standardButton(QDialogButtonBox* theWrappedObject, QAbstractButton* button) const; - void clear(QDialogButtonBox* theWrappedObject); - void setStandardButtons(QDialogButtonBox* theWrappedObject, QDialogButtonBox::StandardButtons buttons); - QPushButton* addButton(QDialogButtonBox* theWrappedObject, const QString& text, QDialogButtonBox::ButtonRole role); - QPushButton* addButton(QDialogButtonBox* theWrappedObject, QDialogButtonBox::StandardButton button); - void setOrientation(QDialogButtonBox* theWrappedObject, Qt::Orientation orientation); - void addButton(QDialogButtonBox* theWrappedObject, QAbstractButton* button, QDialogButtonBox::ButtonRole role); - bool event(QDialogButtonBox* theWrappedObject, QEvent* event); - QDialogButtonBox::StandardButtons standardButtons(QDialogButtonBox* theWrappedObject) const; - QDialogButtonBox::ButtonRole buttonRole(QDialogButtonBox* theWrappedObject, QAbstractButton* button) const; - void removeButton(QDialogButtonBox* theWrappedObject, QAbstractButton* button); - QPushButton* button(QDialogButtonBox* theWrappedObject, QDialogButtonBox::StandardButton which) const; - QList buttons(QDialogButtonBox* theWrappedObject) const; - void changeEvent(QDialogButtonBox* theWrappedObject, QEvent* event); -}; - -#endif // PYTHONQTWRAPPER_QDIALOGBUTTONBOX_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDockWidget.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDockWidget.cpp deleted file mode 100644 index a46889f..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDockWidget.cpp +++ /dev/null @@ -1,912 +0,0 @@ -#include "PythonQtWrapper_QDockWidget.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QDockWidget::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QDockWidget::actionEvent(arg__1); -} -void PythonQtShell_QDockWidget::changeEvent(QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDockWidget::changeEvent(event); -} -void PythonQtShell_QDockWidget::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; - } -} - QDockWidget::childEvent(arg__1); -} -void PythonQtShell_QDockWidget::closeEvent(QCloseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QDockWidget::closeEvent(event); -} -void PythonQtShell_QDockWidget::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDockWidget::contextMenuEvent(arg__1); -} -void PythonQtShell_QDockWidget::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; - } -} - QDockWidget::customEvent(arg__1); -} -int PythonQtShell_QDockWidget::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDockWidget::devType(); -} -void PythonQtShell_QDockWidget::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QDockWidget::dragEnterEvent(arg__1); -} -void PythonQtShell_QDockWidget::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QDockWidget::dragLeaveEvent(arg__1); -} -void PythonQtShell_QDockWidget::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QDockWidget::dragMoveEvent(arg__1); -} -void PythonQtShell_QDockWidget::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QDockWidget::dropEvent(arg__1); -} -void PythonQtShell_QDockWidget::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QDockWidget::enterEvent(arg__1); -} -bool PythonQtShell_QDockWidget::event(QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDockWidget::event(event); -} -bool PythonQtShell_QDockWidget::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDockWidget::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QDockWidget::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QDockWidget::focusInEvent(arg__1); -} -bool PythonQtShell_QDockWidget::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDockWidget::focusNextPrevChild(next); -} -void PythonQtShell_QDockWidget::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QDockWidget::focusOutEvent(arg__1); -} -int PythonQtShell_QDockWidget::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDockWidget::heightForWidth(arg__1); -} -void PythonQtShell_QDockWidget::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QDockWidget::hideEvent(arg__1); -} -void PythonQtShell_QDockWidget::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QDockWidget::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QDockWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDockWidget::inputMethodQuery(arg__1); -} -void PythonQtShell_QDockWidget::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDockWidget::keyPressEvent(arg__1); -} -void PythonQtShell_QDockWidget::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDockWidget::keyReleaseEvent(arg__1); -} -void PythonQtShell_QDockWidget::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDockWidget::languageChange(); -} -void PythonQtShell_QDockWidget::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QDockWidget::leaveEvent(arg__1); -} -int PythonQtShell_QDockWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDockWidget::metric(arg__1); -} -QSize PythonQtShell_QDockWidget::minimumSizeHint() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDockWidget::minimumSizeHint(); -} -void PythonQtShell_QDockWidget::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QDockWidget::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QDockWidget::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QDockWidget::mouseMoveEvent(arg__1); -} -void PythonQtShell_QDockWidget::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QDockWidget::mousePressEvent(arg__1); -} -void PythonQtShell_QDockWidget::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QDockWidget::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QDockWidget::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDockWidget::moveEvent(arg__1); -} -QPaintEngine* PythonQtShell_QDockWidget::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDockWidget::paintEngine(); -} -void PythonQtShell_QDockWidget::paintEvent(QPaintEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - 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; - } -} - QDockWidget::paintEvent(event); -} -void PythonQtShell_QDockWidget::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - 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; - } -} - QDockWidget::resizeEvent(arg__1); -} -void PythonQtShell_QDockWidget::showEvent(QShowEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QDockWidget::showEvent(arg__1); -} -QSize PythonQtShell_QDockWidget::sizeHint() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getSizeHint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDockWidget::sizeHint(); -} -void PythonQtShell_QDockWidget::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QDockWidget::tabletEvent(arg__1); -} -void PythonQtShell_QDockWidget::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; - } -} - QDockWidget::timerEvent(arg__1); -} -void PythonQtShell_QDockWidget::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDockWidget::wheelEvent(arg__1); -} -QDockWidget* PythonQtWrapper_QDockWidget::new_QDockWidget(QWidget* parent, Qt::WindowFlags flags) -{ -return new PythonQtShell_QDockWidget(parent, flags); } - -QDockWidget* PythonQtWrapper_QDockWidget::new_QDockWidget(const QString& title, QWidget* parent, Qt::WindowFlags flags) -{ -return new PythonQtShell_QDockWidget(title, parent, flags); } - -QAction* PythonQtWrapper_QDockWidget::toggleViewAction(QDockWidget* theWrappedObject) const -{ - return ( theWrappedObject->toggleViewAction()); -} - -void PythonQtWrapper_QDockWidget::closeEvent(QDockWidget* theWrappedObject, QCloseEvent* event) -{ - ( ((PythonQtPublicPromoter_QDockWidget*)theWrappedObject)->promoted_closeEvent(event)); -} - -bool PythonQtWrapper_QDockWidget::isFloating(QDockWidget* theWrappedObject) const -{ - return ( theWrappedObject->isFloating()); -} - -void PythonQtWrapper_QDockWidget::setAllowedAreas(QDockWidget* theWrappedObject, Qt::DockWidgetAreas areas) -{ - ( theWrappedObject->setAllowedAreas(areas)); -} - -QDockWidget::DockWidgetFeatures PythonQtWrapper_QDockWidget::features(QDockWidget* theWrappedObject) const -{ - return ( theWrappedObject->features()); -} - -bool PythonQtWrapper_QDockWidget::isAreaAllowed(QDockWidget* theWrappedObject, Qt::DockWidgetArea area) const -{ - return ( theWrappedObject->isAreaAllowed(area)); -} - -void PythonQtWrapper_QDockWidget::setWidget(QDockWidget* theWrappedObject, QWidget* widget) -{ - ( theWrappedObject->setWidget(widget)); -} - -Qt::DockWidgetAreas PythonQtWrapper_QDockWidget::allowedAreas(QDockWidget* theWrappedObject) const -{ - return ( theWrappedObject->allowedAreas()); -} - -void PythonQtWrapper_QDockWidget::changeEvent(QDockWidget* theWrappedObject, QEvent* event) -{ - ( ((PythonQtPublicPromoter_QDockWidget*)theWrappedObject)->promoted_changeEvent(event)); -} - -QWidget* PythonQtWrapper_QDockWidget::widget(QDockWidget* theWrappedObject) const -{ - return ( theWrappedObject->widget()); -} - -void PythonQtWrapper_QDockWidget::paintEvent(QDockWidget* theWrappedObject, QPaintEvent* event) -{ - ( ((PythonQtPublicPromoter_QDockWidget*)theWrappedObject)->promoted_paintEvent(event)); -} - -void PythonQtWrapper_QDockWidget::setFeatures(QDockWidget* theWrappedObject, QDockWidget::DockWidgetFeatures features) -{ - ( theWrappedObject->setFeatures(features)); -} - -void PythonQtWrapper_QDockWidget::setTitleBarWidget(QDockWidget* theWrappedObject, QWidget* widget) -{ - ( theWrappedObject->setTitleBarWidget(widget)); -} - -QWidget* PythonQtWrapper_QDockWidget::titleBarWidget(QDockWidget* theWrappedObject) const -{ - return ( theWrappedObject->titleBarWidget()); -} - -void PythonQtWrapper_QDockWidget::setFloating(QDockWidget* theWrappedObject, bool floating) -{ - ( theWrappedObject->setFloating(floating)); -} - -bool PythonQtWrapper_QDockWidget::event(QDockWidget* theWrappedObject, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QDockWidget*)theWrappedObject)->promoted_event(event)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDockWidget.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDockWidget.h deleted file mode 100644 index 5ebd6b5..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDockWidget.h +++ /dev/null @@ -1,126 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QDOCKWIDGET_H -#define PYTHONQTWRAPPER_QDOCKWIDGET_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QDockWidget : public QDockWidget -{ -public: - PythonQtShell_QDockWidget(QWidget* parent = 0, Qt::WindowFlags flags = 0):QDockWidget(parent, flags),_wrapper(NULL) {}; - PythonQtShell_QDockWidget(const QString& title, QWidget* parent = 0, Qt::WindowFlags flags = 0):QDockWidget(title, parent, flags),_wrapper(NULL) {}; - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* event); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* arg__1); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QDockWidget : public QDockWidget -{ public: -inline void promoted_closeEvent(QCloseEvent* event) { QDockWidget::closeEvent(event); } -inline void promoted_changeEvent(QEvent* event) { QDockWidget::changeEvent(event); } -inline void promoted_paintEvent(QPaintEvent* event) { QDockWidget::paintEvent(event); } -inline bool promoted_event(QEvent* event) { return QDockWidget::event(event); } -}; - -class PythonQtWrapper_QDockWidget : public QObject -{ Q_OBJECT -public: -Q_ENUMS(DockWidgetFeature ) -Q_FLAGS(DockWidgetFeatures ) -enum DockWidgetFeature{ - DockWidgetClosable = QDockWidget::DockWidgetClosable, DockWidgetMovable = QDockWidget::DockWidgetMovable, DockWidgetFloatable = QDockWidget::DockWidgetFloatable, DockWidgetVerticalTitleBar = QDockWidget::DockWidgetVerticalTitleBar, DockWidgetFeatureMask = QDockWidget::DockWidgetFeatureMask, AllDockWidgetFeatures = QDockWidget::AllDockWidgetFeatures, NoDockWidgetFeatures = QDockWidget::NoDockWidgetFeatures, Reserved = QDockWidget::Reserved}; -Q_DECLARE_FLAGS(DockWidgetFeatures, DockWidgetFeature) -public slots: -QDockWidget* new_QDockWidget(QWidget* parent = 0, Qt::WindowFlags flags = 0); -QDockWidget* new_QDockWidget(const QString& title, QWidget* parent = 0, Qt::WindowFlags flags = 0); -void delete_QDockWidget(QDockWidget* obj) { delete obj; } - QAction* toggleViewAction(QDockWidget* theWrappedObject) const; - void closeEvent(QDockWidget* theWrappedObject, QCloseEvent* event); - bool isFloating(QDockWidget* theWrappedObject) const; - void setAllowedAreas(QDockWidget* theWrappedObject, Qt::DockWidgetAreas areas); - QDockWidget::DockWidgetFeatures features(QDockWidget* theWrappedObject) const; - bool isAreaAllowed(QDockWidget* theWrappedObject, Qt::DockWidgetArea area) const; - void setWidget(QDockWidget* theWrappedObject, QWidget* widget); - Qt::DockWidgetAreas allowedAreas(QDockWidget* theWrappedObject) const; - void changeEvent(QDockWidget* theWrappedObject, QEvent* event); - QWidget* widget(QDockWidget* theWrappedObject) const; - void paintEvent(QDockWidget* theWrappedObject, QPaintEvent* event); - void setFeatures(QDockWidget* theWrappedObject, QDockWidget::DockWidgetFeatures features); - void setTitleBarWidget(QDockWidget* theWrappedObject, QWidget* widget); - QWidget* titleBarWidget(QDockWidget* theWrappedObject) const; - void setFloating(QDockWidget* theWrappedObject, bool floating); - bool event(QDockWidget* theWrappedObject, QEvent* event); -}; - -#endif // PYTHONQTWRAPPER_QDOCKWIDGET_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDoubleSpinBox.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDoubleSpinBox.cpp deleted file mode 100644 index 2f4d949..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDoubleSpinBox.cpp +++ /dev/null @@ -1,1031 +0,0 @@ -#include "PythonQtWrapper_QDoubleSpinBox.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QDoubleSpinBox::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QDoubleSpinBox::actionEvent(arg__1); -} -void PythonQtShell_QDoubleSpinBox::changeEvent(QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDoubleSpinBox::changeEvent(event); -} -void PythonQtShell_QDoubleSpinBox::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; - } -} - QDoubleSpinBox::childEvent(arg__1); -} -void PythonQtShell_QDoubleSpinBox::clear() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "clear"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDoubleSpinBox::clear(); -} -void PythonQtShell_QDoubleSpinBox::closeEvent(QCloseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QDoubleSpinBox::closeEvent(event); -} -void PythonQtShell_QDoubleSpinBox::contextMenuEvent(QContextMenuEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - 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; - } -} - QDoubleSpinBox::contextMenuEvent(event); -} -void PythonQtShell_QDoubleSpinBox::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; - } -} - QDoubleSpinBox::customEvent(arg__1); -} -int PythonQtShell_QDoubleSpinBox::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDoubleSpinBox::devType(); -} -void PythonQtShell_QDoubleSpinBox::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QDoubleSpinBox::dragEnterEvent(arg__1); -} -void PythonQtShell_QDoubleSpinBox::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QDoubleSpinBox::dragLeaveEvent(arg__1); -} -void PythonQtShell_QDoubleSpinBox::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QDoubleSpinBox::dragMoveEvent(arg__1); -} -void PythonQtShell_QDoubleSpinBox::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QDoubleSpinBox::dropEvent(arg__1); -} -void PythonQtShell_QDoubleSpinBox::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QDoubleSpinBox::enterEvent(arg__1); -} -bool PythonQtShell_QDoubleSpinBox::event(QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDoubleSpinBox::event(event); -} -bool PythonQtShell_QDoubleSpinBox::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDoubleSpinBox::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QDoubleSpinBox::fixup(QString& str) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "fixup"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&str}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDoubleSpinBox::fixup(str); -} -void PythonQtShell_QDoubleSpinBox::focusInEvent(QFocusEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QDoubleSpinBox::focusInEvent(event); -} -bool PythonQtShell_QDoubleSpinBox::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDoubleSpinBox::focusNextPrevChild(next); -} -void PythonQtShell_QDoubleSpinBox::focusOutEvent(QFocusEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QDoubleSpinBox::focusOutEvent(event); -} -int PythonQtShell_QDoubleSpinBox::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDoubleSpinBox::heightForWidth(arg__1); -} -void PythonQtShell_QDoubleSpinBox::hideEvent(QHideEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QDoubleSpinBox::hideEvent(event); -} -void PythonQtShell_QDoubleSpinBox::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QDoubleSpinBox::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QDoubleSpinBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDoubleSpinBox::inputMethodQuery(arg__1); -} -void PythonQtShell_QDoubleSpinBox::keyPressEvent(QKeyEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDoubleSpinBox::keyPressEvent(event); -} -void PythonQtShell_QDoubleSpinBox::keyReleaseEvent(QKeyEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDoubleSpinBox::keyReleaseEvent(event); -} -void PythonQtShell_QDoubleSpinBox::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDoubleSpinBox::languageChange(); -} -void PythonQtShell_QDoubleSpinBox::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QDoubleSpinBox::leaveEvent(arg__1); -} -int PythonQtShell_QDoubleSpinBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDoubleSpinBox::metric(arg__1); -} -void PythonQtShell_QDoubleSpinBox::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QDoubleSpinBox::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QDoubleSpinBox::mouseMoveEvent(QMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QDoubleSpinBox::mouseMoveEvent(event); -} -void PythonQtShell_QDoubleSpinBox::mousePressEvent(QMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QDoubleSpinBox::mousePressEvent(event); -} -void PythonQtShell_QDoubleSpinBox::mouseReleaseEvent(QMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QDoubleSpinBox::mouseReleaseEvent(event); -} -void PythonQtShell_QDoubleSpinBox::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDoubleSpinBox::moveEvent(arg__1); -} -QPaintEngine* PythonQtShell_QDoubleSpinBox::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDoubleSpinBox::paintEngine(); -} -void PythonQtShell_QDoubleSpinBox::paintEvent(QPaintEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - 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; - } -} - QDoubleSpinBox::paintEvent(event); -} -void PythonQtShell_QDoubleSpinBox::resizeEvent(QResizeEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - 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; - } -} - QDoubleSpinBox::resizeEvent(event); -} -void PythonQtShell_QDoubleSpinBox::showEvent(QShowEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QDoubleSpinBox::showEvent(event); -} -void PythonQtShell_QDoubleSpinBox::stepBy(int steps) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "stepBy"); - 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*)&steps}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDoubleSpinBox::stepBy(steps); -} -QAbstractSpinBox::StepEnabled PythonQtShell_QDoubleSpinBox::stepEnabled() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "stepEnabled"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QAbstractSpinBox::StepEnabled"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QAbstractSpinBox::StepEnabled returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("stepEnabled", methodInfo, result); - } else { - returnValue = *((QAbstractSpinBox::StepEnabled*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDoubleSpinBox::stepEnabled(); -} -void PythonQtShell_QDoubleSpinBox::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QDoubleSpinBox::tabletEvent(arg__1); -} -QString PythonQtShell_QDoubleSpinBox::textFromValue(double val) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "textFromValue"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QString" , "double"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QString returnValue; - void* args[2] = {NULL, (void*)&val}; - 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("textFromValue", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDoubleSpinBox::textFromValue(val); -} -void PythonQtShell_QDoubleSpinBox::timerEvent(QTimerEvent* event) -{ -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*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDoubleSpinBox::timerEvent(event); -} -QValidator::State PythonQtShell_QDoubleSpinBox::validate(QString& input, int& pos) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "validate"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QValidator::State returnValue; - void* args[3] = {NULL, (void*)&input, (void*)&pos}; - 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("validate", methodInfo, result); - } else { - returnValue = *((QValidator::State*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDoubleSpinBox::validate(input, pos); -} -double PythonQtShell_QDoubleSpinBox::valueFromText(const QString& text) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "valueFromText"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"double" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - double returnValue; - void* args[2] = {NULL, (void*)&text}; - 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("valueFromText", methodInfo, result); - } else { - returnValue = *((double*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDoubleSpinBox::valueFromText(text); -} -void PythonQtShell_QDoubleSpinBox::wheelEvent(QWheelEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDoubleSpinBox::wheelEvent(event); -} -QDoubleSpinBox* PythonQtWrapper_QDoubleSpinBox::new_QDoubleSpinBox(QWidget* parent) -{ -return new PythonQtShell_QDoubleSpinBox(parent); } - -void PythonQtWrapper_QDoubleSpinBox::setMaximum(QDoubleSpinBox* theWrappedObject, double max) -{ - ( theWrappedObject->setMaximum(max)); -} - -void PythonQtWrapper_QDoubleSpinBox::setDecimals(QDoubleSpinBox* theWrappedObject, int prec) -{ - ( theWrappedObject->setDecimals(prec)); -} - -void PythonQtWrapper_QDoubleSpinBox::setPrefix(QDoubleSpinBox* theWrappedObject, const QString& prefix) -{ - ( theWrappedObject->setPrefix(prefix)); -} - -void PythonQtWrapper_QDoubleSpinBox::setSuffix(QDoubleSpinBox* theWrappedObject, const QString& suffix) -{ - ( theWrappedObject->setSuffix(suffix)); -} - -QValidator::State PythonQtWrapper_QDoubleSpinBox::validate(QDoubleSpinBox* theWrappedObject, QString& input, int& pos) const -{ - return ( ((PythonQtPublicPromoter_QDoubleSpinBox*)theWrappedObject)->promoted_validate(input, pos)); -} - -double PythonQtWrapper_QDoubleSpinBox::valueFromText(QDoubleSpinBox* theWrappedObject, const QString& text) const -{ - return ( ((PythonQtPublicPromoter_QDoubleSpinBox*)theWrappedObject)->promoted_valueFromText(text)); -} - -double PythonQtWrapper_QDoubleSpinBox::value(QDoubleSpinBox* theWrappedObject) const -{ - return ( theWrappedObject->value()); -} - -double PythonQtWrapper_QDoubleSpinBox::singleStep(QDoubleSpinBox* theWrappedObject) const -{ - return ( theWrappedObject->singleStep()); -} - -double PythonQtWrapper_QDoubleSpinBox::minimum(QDoubleSpinBox* theWrappedObject) const -{ - return ( theWrappedObject->minimum()); -} - -QString PythonQtWrapper_QDoubleSpinBox::suffix(QDoubleSpinBox* theWrappedObject) const -{ - return ( theWrappedObject->suffix()); -} - -int PythonQtWrapper_QDoubleSpinBox::decimals(QDoubleSpinBox* theWrappedObject) const -{ - return ( theWrappedObject->decimals()); -} - -void PythonQtWrapper_QDoubleSpinBox::fixup(QDoubleSpinBox* theWrappedObject, QString& str) const -{ - ( ((PythonQtPublicPromoter_QDoubleSpinBox*)theWrappedObject)->promoted_fixup(str)); -} - -void PythonQtWrapper_QDoubleSpinBox::setSingleStep(QDoubleSpinBox* theWrappedObject, double val) -{ - ( theWrappedObject->setSingleStep(val)); -} - -void PythonQtWrapper_QDoubleSpinBox::setMinimum(QDoubleSpinBox* theWrappedObject, double min) -{ - ( theWrappedObject->setMinimum(min)); -} - -QString PythonQtWrapper_QDoubleSpinBox::textFromValue(QDoubleSpinBox* theWrappedObject, double val) const -{ - return ( ((PythonQtPublicPromoter_QDoubleSpinBox*)theWrappedObject)->promoted_textFromValue(val)); -} - -QString PythonQtWrapper_QDoubleSpinBox::cleanText(QDoubleSpinBox* theWrappedObject) const -{ - return ( theWrappedObject->cleanText()); -} - -QString PythonQtWrapper_QDoubleSpinBox::prefix(QDoubleSpinBox* theWrappedObject) const -{ - return ( theWrappedObject->prefix()); -} - -double PythonQtWrapper_QDoubleSpinBox::maximum(QDoubleSpinBox* theWrappedObject) const -{ - return ( theWrappedObject->maximum()); -} - -void PythonQtWrapper_QDoubleSpinBox::setRange(QDoubleSpinBox* theWrappedObject, double min, double max) -{ - ( theWrappedObject->setRange(min, max)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDoubleSpinBox.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDoubleSpinBox.h deleted file mode 100644 index 8096115..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDoubleSpinBox.h +++ /dev/null @@ -1,128 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QDOUBLESPINBOX_H -#define PYTHONQTWRAPPER_QDOUBLESPINBOX_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QDoubleSpinBox : public QDoubleSpinBox -{ -public: - PythonQtShell_QDoubleSpinBox(QWidget* parent = 0):QDoubleSpinBox(parent),_wrapper(NULL) {}; - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* event); -virtual void childEvent(QChildEvent* arg__1); -virtual void clear(); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual void customEvent(QEvent* arg__1); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void fixup(QString& str) const; -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* arg__1); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual void resizeEvent(QResizeEvent* event); -virtual void showEvent(QShowEvent* event); -virtual void stepBy(int steps); -virtual QAbstractSpinBox::StepEnabled stepEnabled() const; -virtual void tabletEvent(QTabletEvent* arg__1); -virtual QString textFromValue(double val) const; -virtual void timerEvent(QTimerEvent* event); -virtual QValidator::State validate(QString& input, int& pos) const; -virtual double valueFromText(const QString& text) const; -virtual void wheelEvent(QWheelEvent* event); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QDoubleSpinBox : public QDoubleSpinBox -{ public: -inline QValidator::State promoted_validate(QString& input, int& pos) const { return QDoubleSpinBox::validate(input, pos); } -inline double promoted_valueFromText(const QString& text) const { return QDoubleSpinBox::valueFromText(text); } -inline void promoted_fixup(QString& str) const { QDoubleSpinBox::fixup(str); } -inline QString promoted_textFromValue(double val) const { return QDoubleSpinBox::textFromValue(val); } -}; - -class PythonQtWrapper_QDoubleSpinBox : public QObject -{ Q_OBJECT -public: -public slots: -QDoubleSpinBox* new_QDoubleSpinBox(QWidget* parent = 0); -void delete_QDoubleSpinBox(QDoubleSpinBox* obj) { delete obj; } - void setMaximum(QDoubleSpinBox* theWrappedObject, double max); - void setDecimals(QDoubleSpinBox* theWrappedObject, int prec); - void setPrefix(QDoubleSpinBox* theWrappedObject, const QString& prefix); - void setSuffix(QDoubleSpinBox* theWrappedObject, const QString& suffix); - QValidator::State validate(QDoubleSpinBox* theWrappedObject, QString& input, int& pos) const; - double valueFromText(QDoubleSpinBox* theWrappedObject, const QString& text) const; - double value(QDoubleSpinBox* theWrappedObject) const; - double singleStep(QDoubleSpinBox* theWrappedObject) const; - double minimum(QDoubleSpinBox* theWrappedObject) const; - QString suffix(QDoubleSpinBox* theWrappedObject) const; - int decimals(QDoubleSpinBox* theWrappedObject) const; - void fixup(QDoubleSpinBox* theWrappedObject, QString& str) const; - void setSingleStep(QDoubleSpinBox* theWrappedObject, double val); - void setMinimum(QDoubleSpinBox* theWrappedObject, double min); - QString textFromValue(QDoubleSpinBox* theWrappedObject, double val) const; - QString cleanText(QDoubleSpinBox* theWrappedObject) const; - QString prefix(QDoubleSpinBox* theWrappedObject) const; - double maximum(QDoubleSpinBox* theWrappedObject) const; - void setRange(QDoubleSpinBox* theWrappedObject, double min, double max); -}; - -#endif // PYTHONQTWRAPPER_QDOUBLESPINBOX_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDoubleValidator.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDoubleValidator.cpp deleted file mode 100644 index 8f460e6..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDoubleValidator.cpp +++ /dev/null @@ -1,240 +0,0 @@ -#include "PythonQtWrapper_QDoubleValidator.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QDoubleValidator::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; - } -} - QDoubleValidator::childEvent(arg__1); -} -void PythonQtShell_QDoubleValidator::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; - } -} - QDoubleValidator::customEvent(arg__1); -} -bool PythonQtShell_QDoubleValidator::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDoubleValidator::event(arg__1); -} -bool PythonQtShell_QDoubleValidator::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDoubleValidator::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QDoubleValidator::fixup(QString& arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "fixup"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QString&"}; - 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; - } -} - QDoubleValidator::fixup(arg__1); -} -void PythonQtShell_QDoubleValidator::setRange(double bottom, double top, int decimals) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setRange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "double" , "double" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&bottom, (void*)&top, (void*)&decimals}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QDoubleValidator::setRange(bottom, top, decimals); -} -void PythonQtShell_QDoubleValidator::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; - } -} - QDoubleValidator::timerEvent(arg__1); -} -QValidator::State PythonQtShell_QDoubleValidator::validate(QString& arg__1, int& arg__2) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "validate"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QValidator::State 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("validate", methodInfo, result); - } else { - returnValue = *((QValidator::State*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDoubleValidator::validate(arg__1, arg__2); -} -QDoubleValidator* PythonQtWrapper_QDoubleValidator::new_QDoubleValidator(QObject* parent) -{ -return new PythonQtShell_QDoubleValidator(parent); } - -QDoubleValidator* PythonQtWrapper_QDoubleValidator::new_QDoubleValidator(double bottom, double top, int decimals, QObject* parent) -{ -return new PythonQtShell_QDoubleValidator(bottom, top, decimals, parent); } - -void PythonQtWrapper_QDoubleValidator::setBottom(QDoubleValidator* theWrappedObject, double arg__1) -{ - ( theWrappedObject->setBottom(arg__1)); -} - -double PythonQtWrapper_QDoubleValidator::top(QDoubleValidator* theWrappedObject) const -{ - return ( theWrappedObject->top()); -} - -double PythonQtWrapper_QDoubleValidator::bottom(QDoubleValidator* theWrappedObject) const -{ - return ( theWrappedObject->bottom()); -} - -QDoubleValidator::Notation PythonQtWrapper_QDoubleValidator::notation(QDoubleValidator* theWrappedObject) const -{ - return ( theWrappedObject->notation()); -} - -void PythonQtWrapper_QDoubleValidator::setTop(QDoubleValidator* theWrappedObject, double arg__1) -{ - ( theWrappedObject->setTop(arg__1)); -} - -void PythonQtWrapper_QDoubleValidator::setNotation(QDoubleValidator* theWrappedObject, QDoubleValidator::Notation arg__1) -{ - ( theWrappedObject->setNotation(arg__1)); -} - -int PythonQtWrapper_QDoubleValidator::decimals(QDoubleValidator* theWrappedObject) const -{ - return ( theWrappedObject->decimals()); -} - -void PythonQtWrapper_QDoubleValidator::setDecimals(QDoubleValidator* theWrappedObject, int arg__1) -{ - ( theWrappedObject->setDecimals(arg__1)); -} - -void PythonQtWrapper_QDoubleValidator::setRange(QDoubleValidator* theWrappedObject, double bottom, double top, int decimals) -{ - ( ((PythonQtPublicPromoter_QDoubleValidator*)theWrappedObject)->promoted_setRange(bottom, top, decimals)); -} - -QValidator::State PythonQtWrapper_QDoubleValidator::validate(QDoubleValidator* theWrappedObject, QString& arg__1, int& arg__2) const -{ - return ( ((PythonQtPublicPromoter_QDoubleValidator*)theWrappedObject)->promoted_validate(arg__1, arg__2)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDoubleValidator.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDoubleValidator.h deleted file mode 100644 index 3ca512f..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDoubleValidator.h +++ /dev/null @@ -1,63 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QDOUBLEVALIDATOR_H -#define PYTHONQTWRAPPER_QDOUBLEVALIDATOR_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QDoubleValidator : public QDoubleValidator -{ -public: - PythonQtShell_QDoubleValidator(QObject* parent):QDoubleValidator(parent),_wrapper(NULL) {}; - PythonQtShell_QDoubleValidator(double bottom, double top, int decimals, QObject* parent):QDoubleValidator(bottom, top, decimals, parent),_wrapper(NULL) {}; - -virtual void childEvent(QChildEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void fixup(QString& arg__1) const; -virtual void setRange(double bottom, double top, int decimals = 0); -virtual void timerEvent(QTimerEvent* arg__1); -virtual QValidator::State validate(QString& arg__1, int& arg__2) const; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QDoubleValidator : public QDoubleValidator -{ public: -inline void promoted_setRange(double bottom, double top, int decimals = 0) { QDoubleValidator::setRange(bottom, top, decimals); } -inline QValidator::State promoted_validate(QString& arg__1, int& arg__2) const { return QDoubleValidator::validate(arg__1, arg__2); } -}; - -class PythonQtWrapper_QDoubleValidator : public QObject -{ Q_OBJECT -public: -Q_ENUMS(Notation ) -enum Notation{ - StandardNotation = QDoubleValidator::StandardNotation, ScientificNotation = QDoubleValidator::ScientificNotation}; -public slots: -QDoubleValidator* new_QDoubleValidator(QObject* parent); -QDoubleValidator* new_QDoubleValidator(double bottom, double top, int decimals, QObject* parent); -void delete_QDoubleValidator(QDoubleValidator* obj) { delete obj; } - void setBottom(QDoubleValidator* theWrappedObject, double arg__1); - double top(QDoubleValidator* theWrappedObject) const; - double bottom(QDoubleValidator* theWrappedObject) const; - QDoubleValidator::Notation notation(QDoubleValidator* theWrappedObject) const; - void setTop(QDoubleValidator* theWrappedObject, double arg__1); - void setNotation(QDoubleValidator* theWrappedObject, QDoubleValidator::Notation arg__1); - int decimals(QDoubleValidator* theWrappedObject) const; - void setDecimals(QDoubleValidator* theWrappedObject, int arg__1); - void setRange(QDoubleValidator* theWrappedObject, double bottom, double top, int decimals = 0); - QValidator::State validate(QDoubleValidator* theWrappedObject, QString& arg__1, int& arg__2) const; -}; - -#endif // PYTHONQTWRAPPER_QDOUBLEVALIDATOR_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDrag.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDrag.cpp deleted file mode 100644 index 116408d..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDrag.cpp +++ /dev/null @@ -1,184 +0,0 @@ -#include "PythonQtWrapper_QDrag.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QDrag::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; - } -} - QDrag::childEvent(arg__1); -} -void PythonQtShell_QDrag::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; - } -} - QDrag::customEvent(arg__1); -} -bool PythonQtShell_QDrag::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDrag::event(arg__1); -} -bool PythonQtShell_QDrag::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QDrag::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QDrag::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; - } -} - QDrag::timerEvent(arg__1); -} -QDrag* PythonQtWrapper_QDrag::new_QDrag(QWidget* dragSource) -{ -return new PythonQtShell_QDrag(dragSource); } - -Qt::DropAction PythonQtWrapper_QDrag::exec(QDrag* theWrappedObject, Qt::DropActions supportedActions) -{ - return ( theWrappedObject->exec(supportedActions)); -} - -void PythonQtWrapper_QDrag::setHotSpot(QDrag* theWrappedObject, const QPoint& hotspot) -{ - ( theWrappedObject->setHotSpot(hotspot)); -} - -QMimeData* PythonQtWrapper_QDrag::mimeData(QDrag* theWrappedObject) const -{ - return ( theWrappedObject->mimeData()); -} - -QPixmap PythonQtWrapper_QDrag::pixmap(QDrag* theWrappedObject) const -{ - return ( theWrappedObject->pixmap()); -} - -void PythonQtWrapper_QDrag::setMimeData(QDrag* theWrappedObject, QMimeData* data) -{ - ( theWrappedObject->setMimeData(data)); -} - -void PythonQtWrapper_QDrag::setDragCursor(QDrag* theWrappedObject, const QPixmap& cursor, Qt::DropAction action) -{ - ( theWrappedObject->setDragCursor(cursor, action)); -} - -QWidget* PythonQtWrapper_QDrag::target(QDrag* theWrappedObject) const -{ - return ( theWrappedObject->target()); -} - -Qt::DropAction PythonQtWrapper_QDrag::exec(QDrag* theWrappedObject, Qt::DropActions supportedActions, Qt::DropAction defaultAction) -{ - return ( theWrappedObject->exec(supportedActions, defaultAction)); -} - -void PythonQtWrapper_QDrag::setPixmap(QDrag* theWrappedObject, const QPixmap& arg__1) -{ - ( theWrappedObject->setPixmap(arg__1)); -} - -QPoint PythonQtWrapper_QDrag::hotSpot(QDrag* theWrappedObject) const -{ - return ( theWrappedObject->hotSpot()); -} - -QWidget* PythonQtWrapper_QDrag::source(QDrag* theWrappedObject) const -{ - return ( theWrappedObject->source()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDrag.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDrag.h deleted file mode 100644 index 86cea59..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDrag.h +++ /dev/null @@ -1,55 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QDRAG_H -#define PYTHONQTWRAPPER_QDRAG_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QDrag : public QDrag -{ -public: - PythonQtShell_QDrag(QWidget* dragSource):QDrag(dragSource),_wrapper(NULL) {}; - -virtual void childEvent(QChildEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QDrag : public QObject -{ Q_OBJECT -public: -public slots: -QDrag* new_QDrag(QWidget* dragSource); -void delete_QDrag(QDrag* obj) { delete obj; } - Qt::DropAction exec(QDrag* theWrappedObject, Qt::DropActions supportedActions = Qt::MoveAction); - void setHotSpot(QDrag* theWrappedObject, const QPoint& hotspot); - QMimeData* mimeData(QDrag* theWrappedObject) const; - QPixmap pixmap(QDrag* theWrappedObject) const; - void setMimeData(QDrag* theWrappedObject, QMimeData* data); - void setDragCursor(QDrag* theWrappedObject, const QPixmap& cursor, Qt::DropAction action); - QWidget* target(QDrag* theWrappedObject) const; - Qt::DropAction exec(QDrag* theWrappedObject, Qt::DropActions supportedActions, Qt::DropAction defaultAction); - void setPixmap(QDrag* theWrappedObject, const QPixmap& arg__1); - QPoint hotSpot(QDrag* theWrappedObject) const; - QWidget* source(QDrag* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QDRAG_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDragEnterEvent.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDragEnterEvent.cpp deleted file mode 100644 index ecc7585..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDragEnterEvent.cpp +++ /dev/null @@ -1,15 +0,0 @@ -#include "PythonQtWrapper_QDragEnterEvent.h" - -#include -#include -#include -#include -#include -#include -#include -#include - -QDragEnterEvent* PythonQtWrapper_QDragEnterEvent::new_QDragEnterEvent(const QPoint& pos, Qt::DropActions actions, const QMimeData* data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers) -{ -return new QDragEnterEvent(pos, actions, data, buttons, modifiers); } - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDragEnterEvent.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDragEnterEvent.h deleted file mode 100644 index 10eff9c..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDragEnterEvent.h +++ /dev/null @@ -1,23 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QDRAGENTEREVENT_H -#define PYTHONQTWRAPPER_QDRAGENTEREVENT_H - -#include -#include - -#include - -#include -#include -#include -#include -#include - -class PythonQtWrapper_QDragEnterEvent : public QObject -{ Q_OBJECT -public: -public slots: -QDragEnterEvent* new_QDragEnterEvent(const QPoint& pos, Qt::DropActions actions, const QMimeData* data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers); -void delete_QDragEnterEvent(QDragEnterEvent* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QDRAGENTEREVENT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDragLeaveEvent.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDragLeaveEvent.cpp deleted file mode 100644 index 993a2e9..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDragLeaveEvent.cpp +++ /dev/null @@ -1,11 +0,0 @@ -#include "PythonQtWrapper_QDragLeaveEvent.h" - -#include -#include -#include -#include - -QDragLeaveEvent* PythonQtWrapper_QDragLeaveEvent::new_QDragLeaveEvent() -{ -return new QDragLeaveEvent(); } - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDragLeaveEvent.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDragLeaveEvent.h deleted file mode 100644 index 2d14296..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDragLeaveEvent.h +++ /dev/null @@ -1,19 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QDRAGLEAVEEVENT_H -#define PYTHONQTWRAPPER_QDRAGLEAVEEVENT_H - -#include -#include - -#include - -#include - -class PythonQtWrapper_QDragLeaveEvent : public QObject -{ Q_OBJECT -public: -public slots: -QDragLeaveEvent* new_QDragLeaveEvent(); -void delete_QDragLeaveEvent(QDragLeaveEvent* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QDRAGLEAVEEVENT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDragMoveEvent.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDragMoveEvent.cpp deleted file mode 100644 index 8130cbd..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDragMoveEvent.cpp +++ /dev/null @@ -1,30 +0,0 @@ -#include "PythonQtWrapper_QDragMoveEvent.h" - -#include -#include -#include -#include -#include -#include -#include -#include - -QDragMoveEvent* PythonQtWrapper_QDragMoveEvent::new_QDragMoveEvent(const QPoint& pos, Qt::DropActions actions, const QMimeData* data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, QEvent::Type type) -{ -return new PythonQtShell_QDragMoveEvent(pos, actions, data, buttons, modifiers, type); } - -QRect PythonQtWrapper_QDragMoveEvent::answerRect(QDragMoveEvent* theWrappedObject) const -{ - return ( theWrappedObject->answerRect()); -} - -void PythonQtWrapper_QDragMoveEvent::ignore(QDragMoveEvent* theWrappedObject, const QRect& r) -{ - ( theWrappedObject->ignore(r)); -} - -void PythonQtWrapper_QDragMoveEvent::accept(QDragMoveEvent* theWrappedObject, const QRect& r) -{ - ( theWrappedObject->accept(r)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDragMoveEvent.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDragMoveEvent.h deleted file mode 100644 index 70985fc..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDragMoveEvent.h +++ /dev/null @@ -1,35 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QDRAGMOVEEVENT_H -#define PYTHONQTWRAPPER_QDRAGMOVEEVENT_H - -#include -#include - -#include - -#include -#include -#include -#include -#include - -class PythonQtShell_QDragMoveEvent : public QDragMoveEvent -{ -public: - PythonQtShell_QDragMoveEvent(const QPoint& pos, Qt::DropActions actions, const QMimeData* data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, QEvent::Type type = QEvent::DragMove):QDragMoveEvent(pos, actions, data, buttons, modifiers, type),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QDragMoveEvent : public QObject -{ Q_OBJECT -public: -public slots: -QDragMoveEvent* new_QDragMoveEvent(const QPoint& pos, Qt::DropActions actions, const QMimeData* data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, QEvent::Type type = QEvent::DragMove); -void delete_QDragMoveEvent(QDragMoveEvent* obj) { delete obj; } - QRect answerRect(QDragMoveEvent* theWrappedObject) const; - void ignore(QDragMoveEvent* theWrappedObject, const QRect& r); - void accept(QDragMoveEvent* theWrappedObject, const QRect& r); -}; - -#endif // PYTHONQTWRAPPER_QDRAGMOVEEVENT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDragResponseEvent.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDragResponseEvent.cpp deleted file mode 100644 index 94b83cf..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDragResponseEvent.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include "PythonQtWrapper_QDragResponseEvent.h" - -#include -#include -#include -#include - -QDragResponseEvent* PythonQtWrapper_QDragResponseEvent::new_QDragResponseEvent(bool accepted) -{ -return new PythonQtShell_QDragResponseEvent(accepted); } - -bool PythonQtWrapper_QDragResponseEvent::dragAccepted(QDragResponseEvent* theWrappedObject) const -{ - return ( theWrappedObject->dragAccepted()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDragResponseEvent.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDragResponseEvent.h deleted file mode 100644 index 18b0491..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDragResponseEvent.h +++ /dev/null @@ -1,29 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QDRAGRESPONSEEVENT_H -#define PYTHONQTWRAPPER_QDRAGRESPONSEEVENT_H - -#include -#include - -#include - -#include - -class PythonQtShell_QDragResponseEvent : public QDragResponseEvent -{ -public: - PythonQtShell_QDragResponseEvent(bool accepted):QDragResponseEvent(accepted),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QDragResponseEvent : public QObject -{ Q_OBJECT -public: -public slots: -QDragResponseEvent* new_QDragResponseEvent(bool accepted); -void delete_QDragResponseEvent(QDragResponseEvent* obj) { delete obj; } - bool dragAccepted(QDragResponseEvent* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QDRAGRESPONSEEVENT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDropEvent.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDropEvent.cpp deleted file mode 100644 index 5a479ba..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDropEvent.cpp +++ /dev/null @@ -1,64 +0,0 @@ -#include "PythonQtWrapper_QDropEvent.h" - -#include -#include -#include -#include -#include -#include -#include - -QDropEvent* PythonQtWrapper_QDropEvent::new_QDropEvent(const QPoint& pos, Qt::DropActions actions, const QMimeData* data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, QEvent::Type type) -{ -return new PythonQtShell_QDropEvent(pos, actions, data, buttons, modifiers, type); } - -Qt::DropAction PythonQtWrapper_QDropEvent::proposedAction(QDropEvent* theWrappedObject) const -{ - return ( theWrappedObject->proposedAction()); -} - -void PythonQtWrapper_QDropEvent::acceptProposedAction(QDropEvent* theWrappedObject) -{ - ( theWrappedObject->acceptProposedAction()); -} - -Qt::DropAction PythonQtWrapper_QDropEvent::dropAction(QDropEvent* theWrappedObject) const -{ - return ( theWrappedObject->dropAction()); -} - -void PythonQtWrapper_QDropEvent::setDropAction(QDropEvent* theWrappedObject, Qt::DropAction action) -{ - ( theWrappedObject->setDropAction(action)); -} - -QWidget* PythonQtWrapper_QDropEvent::source(QDropEvent* theWrappedObject) const -{ - return ( theWrappedObject->source()); -} - -const QMimeData* PythonQtWrapper_QDropEvent::mimeData(QDropEvent* theWrappedObject) const -{ - return ( theWrappedObject->mimeData()); -} - -Qt::DropActions PythonQtWrapper_QDropEvent::possibleActions(QDropEvent* theWrappedObject) const -{ - return ( theWrappedObject->possibleActions()); -} - -Qt::KeyboardModifiers PythonQtWrapper_QDropEvent::keyboardModifiers(QDropEvent* theWrappedObject) const -{ - return ( theWrappedObject->keyboardModifiers()); -} - -Qt::MouseButtons PythonQtWrapper_QDropEvent::mouseButtons(QDropEvent* theWrappedObject) const -{ - return ( theWrappedObject->mouseButtons()); -} - -const QPoint* PythonQtWrapper_QDropEvent::pos(QDropEvent* theWrappedObject) const -{ - return &( theWrappedObject->pos()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDropEvent.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDropEvent.h deleted file mode 100644 index 47e7ff6..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QDropEvent.h +++ /dev/null @@ -1,41 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QDROPEVENT_H -#define PYTHONQTWRAPPER_QDROPEVENT_H - -#include -#include - -#include - -#include -#include -#include -#include - -class PythonQtShell_QDropEvent : public QDropEvent -{ -public: - PythonQtShell_QDropEvent(const QPoint& pos, Qt::DropActions actions, const QMimeData* data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, QEvent::Type type = QEvent::Drop):QDropEvent(pos, actions, data, buttons, modifiers, type),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QDropEvent : public QObject -{ Q_OBJECT -public: -public slots: -QDropEvent* new_QDropEvent(const QPoint& pos, Qt::DropActions actions, const QMimeData* data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, QEvent::Type type = QEvent::Drop); -void delete_QDropEvent(QDropEvent* obj) { delete obj; } - Qt::DropAction proposedAction(QDropEvent* theWrappedObject) const; - void acceptProposedAction(QDropEvent* theWrappedObject); - Qt::DropAction dropAction(QDropEvent* theWrappedObject) const; - void setDropAction(QDropEvent* theWrappedObject, Qt::DropAction action); - QWidget* source(QDropEvent* theWrappedObject) const; - const QMimeData* mimeData(QDropEvent* theWrappedObject) const; - Qt::DropActions possibleActions(QDropEvent* theWrappedObject) const; - Qt::KeyboardModifiers keyboardModifiers(QDropEvent* theWrappedObject) const; - Qt::MouseButtons mouseButtons(QDropEvent* theWrappedObject) const; - const QPoint* pos(QDropEvent* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QDROPEVENT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QErrorMessage.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QErrorMessage.cpp deleted file mode 100644 index 68cfb88..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QErrorMessage.cpp +++ /dev/null @@ -1,837 +0,0 @@ -#include "PythonQtWrapper_QErrorMessage.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QErrorMessage::accept() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "accept"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QErrorMessage::accept(); -} -void PythonQtShell_QErrorMessage::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QErrorMessage::actionEvent(arg__1); -} -void PythonQtShell_QErrorMessage::changeEvent(QEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QErrorMessage::changeEvent(e); -} -void PythonQtShell_QErrorMessage::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; - } -} - QErrorMessage::childEvent(arg__1); -} -void PythonQtShell_QErrorMessage::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QErrorMessage::closeEvent(arg__1); -} -void PythonQtShell_QErrorMessage::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QErrorMessage::contextMenuEvent(arg__1); -} -void PythonQtShell_QErrorMessage::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; - } -} - QErrorMessage::customEvent(arg__1); -} -int PythonQtShell_QErrorMessage::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QErrorMessage::devType(); -} -void PythonQtShell_QErrorMessage::done(int arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "done"); - 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; - } -} - QErrorMessage::done(arg__1); -} -void PythonQtShell_QErrorMessage::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QErrorMessage::dragEnterEvent(arg__1); -} -void PythonQtShell_QErrorMessage::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QErrorMessage::dragLeaveEvent(arg__1); -} -void PythonQtShell_QErrorMessage::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QErrorMessage::dragMoveEvent(arg__1); -} -void PythonQtShell_QErrorMessage::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QErrorMessage::dropEvent(arg__1); -} -void PythonQtShell_QErrorMessage::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QErrorMessage::enterEvent(arg__1); -} -bool PythonQtShell_QErrorMessage::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QErrorMessage::event(arg__1); -} -bool PythonQtShell_QErrorMessage::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QErrorMessage::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QErrorMessage::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QErrorMessage::focusInEvent(arg__1); -} -bool PythonQtShell_QErrorMessage::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QErrorMessage::focusNextPrevChild(next); -} -void PythonQtShell_QErrorMessage::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QErrorMessage::focusOutEvent(arg__1); -} -int PythonQtShell_QErrorMessage::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QErrorMessage::heightForWidth(arg__1); -} -void PythonQtShell_QErrorMessage::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QErrorMessage::hideEvent(arg__1); -} -void PythonQtShell_QErrorMessage::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QErrorMessage::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QErrorMessage::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QErrorMessage::inputMethodQuery(arg__1); -} -void PythonQtShell_QErrorMessage::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QErrorMessage::keyPressEvent(arg__1); -} -void PythonQtShell_QErrorMessage::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QErrorMessage::keyReleaseEvent(arg__1); -} -void PythonQtShell_QErrorMessage::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QErrorMessage::languageChange(); -} -void PythonQtShell_QErrorMessage::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QErrorMessage::leaveEvent(arg__1); -} -int PythonQtShell_QErrorMessage::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QErrorMessage::metric(arg__1); -} -void PythonQtShell_QErrorMessage::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QErrorMessage::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QErrorMessage::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QErrorMessage::mouseMoveEvent(arg__1); -} -void PythonQtShell_QErrorMessage::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QErrorMessage::mousePressEvent(arg__1); -} -void PythonQtShell_QErrorMessage::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QErrorMessage::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QErrorMessage::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QErrorMessage::moveEvent(arg__1); -} -QPaintEngine* PythonQtShell_QErrorMessage::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QErrorMessage::paintEngine(); -} -void PythonQtShell_QErrorMessage::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - 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; - } -} - QErrorMessage::paintEvent(arg__1); -} -void PythonQtShell_QErrorMessage::reject() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reject"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QErrorMessage::reject(); -} -void PythonQtShell_QErrorMessage::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - 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; - } -} - QErrorMessage::resizeEvent(arg__1); -} -void PythonQtShell_QErrorMessage::showEvent(QShowEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QErrorMessage::showEvent(arg__1); -} -void PythonQtShell_QErrorMessage::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QErrorMessage::tabletEvent(arg__1); -} -void PythonQtShell_QErrorMessage::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; - } -} - QErrorMessage::timerEvent(arg__1); -} -void PythonQtShell_QErrorMessage::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QErrorMessage::wheelEvent(arg__1); -} -QErrorMessage* PythonQtWrapper_QErrorMessage::new_QErrorMessage(QWidget* parent) -{ -return new PythonQtShell_QErrorMessage(parent); } - -void PythonQtWrapper_QErrorMessage::changeEvent(QErrorMessage* theWrappedObject, QEvent* e) -{ - ( ((PythonQtPublicPromoter_QErrorMessage*)theWrappedObject)->promoted_changeEvent(e)); -} - -QErrorMessage* PythonQtWrapper_QErrorMessage::static_QErrorMessage_qtHandler() -{ - return (QErrorMessage::qtHandler()); -} - -void PythonQtWrapper_QErrorMessage::done(QErrorMessage* theWrappedObject, int arg__1) -{ - ( ((PythonQtPublicPromoter_QErrorMessage*)theWrappedObject)->promoted_done(arg__1)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QErrorMessage.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QErrorMessage.h deleted file mode 100644 index 9b111cd..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QErrorMessage.h +++ /dev/null @@ -1,104 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QERRORMESSAGE_H -#define PYTHONQTWRAPPER_QERRORMESSAGE_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QErrorMessage : public QErrorMessage -{ -public: - PythonQtShell_QErrorMessage(QWidget* parent = 0):QErrorMessage(parent),_wrapper(NULL) {}; - -virtual void accept(); -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* e); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual int devType() const; -virtual void done(int arg__1); -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* arg__1); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual void reject(); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void showEvent(QShowEvent* arg__1); -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QErrorMessage : public QErrorMessage -{ public: -inline void promoted_changeEvent(QEvent* e) { QErrorMessage::changeEvent(e); } -inline void promoted_done(int arg__1) { QErrorMessage::done(arg__1); } -}; - -class PythonQtWrapper_QErrorMessage : public QObject -{ Q_OBJECT -public: -public slots: -QErrorMessage* new_QErrorMessage(QWidget* parent = 0); -void delete_QErrorMessage(QErrorMessage* obj) { delete obj; } - void changeEvent(QErrorMessage* theWrappedObject, QEvent* e); - QErrorMessage* static_QErrorMessage_qtHandler(); - void done(QErrorMessage* theWrappedObject, int arg__1); -}; - -#endif // PYTHONQTWRAPPER_QERRORMESSAGE_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFileDialog.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFileDialog.cpp deleted file mode 100644 index b4dcc6e..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFileDialog.cpp +++ /dev/null @@ -1,1102 +0,0 @@ -#include "PythonQtWrapper_QFileDialog.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QFileDialog::accept() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "accept"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QFileDialog::accept(); -} -void PythonQtShell_QFileDialog::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QFileDialog::actionEvent(arg__1); -} -void PythonQtShell_QFileDialog::changeEvent(QEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QFileDialog::changeEvent(e); -} -void PythonQtShell_QFileDialog::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; - } -} - QFileDialog::childEvent(arg__1); -} -void PythonQtShell_QFileDialog::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QFileDialog::closeEvent(arg__1); -} -void PythonQtShell_QFileDialog::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QFileDialog::contextMenuEvent(arg__1); -} -void PythonQtShell_QFileDialog::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; - } -} - QFileDialog::customEvent(arg__1); -} -int PythonQtShell_QFileDialog::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFileDialog::devType(); -} -void PythonQtShell_QFileDialog::done(int result) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "done"); - 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*)&result}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QFileDialog::done(result); -} -void PythonQtShell_QFileDialog::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QFileDialog::dragEnterEvent(arg__1); -} -void PythonQtShell_QFileDialog::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QFileDialog::dragLeaveEvent(arg__1); -} -void PythonQtShell_QFileDialog::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QFileDialog::dragMoveEvent(arg__1); -} -void PythonQtShell_QFileDialog::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QFileDialog::dropEvent(arg__1); -} -void PythonQtShell_QFileDialog::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QFileDialog::enterEvent(arg__1); -} -bool PythonQtShell_QFileDialog::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFileDialog::event(arg__1); -} -bool PythonQtShell_QFileDialog::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFileDialog::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QFileDialog::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QFileDialog::focusInEvent(arg__1); -} -bool PythonQtShell_QFileDialog::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFileDialog::focusNextPrevChild(next); -} -void PythonQtShell_QFileDialog::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QFileDialog::focusOutEvent(arg__1); -} -int PythonQtShell_QFileDialog::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFileDialog::heightForWidth(arg__1); -} -void PythonQtShell_QFileDialog::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QFileDialog::hideEvent(arg__1); -} -void PythonQtShell_QFileDialog::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QFileDialog::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QFileDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFileDialog::inputMethodQuery(arg__1); -} -void PythonQtShell_QFileDialog::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QFileDialog::keyPressEvent(arg__1); -} -void PythonQtShell_QFileDialog::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QFileDialog::keyReleaseEvent(arg__1); -} -void PythonQtShell_QFileDialog::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QFileDialog::languageChange(); -} -void PythonQtShell_QFileDialog::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QFileDialog::leaveEvent(arg__1); -} -int PythonQtShell_QFileDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFileDialog::metric(arg__1); -} -void PythonQtShell_QFileDialog::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QFileDialog::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QFileDialog::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QFileDialog::mouseMoveEvent(arg__1); -} -void PythonQtShell_QFileDialog::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QFileDialog::mousePressEvent(arg__1); -} -void PythonQtShell_QFileDialog::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QFileDialog::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QFileDialog::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QFileDialog::moveEvent(arg__1); -} -QPaintEngine* PythonQtShell_QFileDialog::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFileDialog::paintEngine(); -} -void PythonQtShell_QFileDialog::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - 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; - } -} - QFileDialog::paintEvent(arg__1); -} -void PythonQtShell_QFileDialog::reject() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reject"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QFileDialog::reject(); -} -void PythonQtShell_QFileDialog::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - 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; - } -} - QFileDialog::resizeEvent(arg__1); -} -void PythonQtShell_QFileDialog::showEvent(QShowEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QFileDialog::showEvent(arg__1); -} -void PythonQtShell_QFileDialog::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QFileDialog::tabletEvent(arg__1); -} -void PythonQtShell_QFileDialog::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; - } -} - QFileDialog::timerEvent(arg__1); -} -void PythonQtShell_QFileDialog::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QFileDialog::wheelEvent(arg__1); -} -QFileDialog* PythonQtWrapper_QFileDialog::new_QFileDialog(QWidget* parent, Qt::WindowFlags f) -{ -return new PythonQtShell_QFileDialog(parent, f); } - -QFileDialog* PythonQtWrapper_QFileDialog::new_QFileDialog(QWidget* parent, const QString& caption, const QString& directory, const QString& filter) -{ -return new PythonQtShell_QFileDialog(parent, caption, directory, filter); } - -void PythonQtWrapper_QFileDialog::accept(QFileDialog* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QFileDialog*)theWrappedObject)->promoted_accept()); -} - -QFileIconProvider* PythonQtWrapper_QFileDialog::iconProvider(QFileDialog* theWrappedObject) const -{ - return ( theWrappedObject->iconProvider()); -} - -void PythonQtWrapper_QFileDialog::setConfirmOverwrite(QFileDialog* theWrappedObject, bool enabled) -{ - ( theWrappedObject->setConfirmOverwrite(enabled)); -} - -QString PythonQtWrapper_QFileDialog::static_QFileDialog_getSaveFileName(QWidget* parent, const QString& caption, const QString& dir, const QString& filter, QString* selectedFilter, QFileDialog::Options options) -{ - return (QFileDialog::getSaveFileName(parent, caption, dir, filter, selectedFilter, options)); -} - -void PythonQtWrapper_QFileDialog::setFilters(QFileDialog* theWrappedObject, const QStringList& filters) -{ - ( theWrappedObject->setFilters(filters)); -} - -bool PythonQtWrapper_QFileDialog::confirmOverwrite(QFileDialog* theWrappedObject) const -{ - return ( theWrappedObject->confirmOverwrite()); -} - -void PythonQtWrapper_QFileDialog::done(QFileDialog* theWrappedObject, int result) -{ - ( ((PythonQtPublicPromoter_QFileDialog*)theWrappedObject)->promoted_done(result)); -} - -QFileDialog::FileMode PythonQtWrapper_QFileDialog::fileMode(QFileDialog* theWrappedObject) const -{ - return ( theWrappedObject->fileMode()); -} - -void PythonQtWrapper_QFileDialog::setHistory(QFileDialog* theWrappedObject, const QStringList& paths) -{ - ( theWrappedObject->setHistory(paths)); -} - -void PythonQtWrapper_QFileDialog::setProxyModel(QFileDialog* theWrappedObject, QAbstractProxyModel* model) -{ - ( theWrappedObject->setProxyModel(model)); -} - -QDir::Filters PythonQtWrapper_QFileDialog::filter(QFileDialog* theWrappedObject) const -{ - return ( theWrappedObject->filter()); -} - -void PythonQtWrapper_QFileDialog::setDefaultSuffix(QFileDialog* theWrappedObject, const QString& suffix) -{ - ( theWrappedObject->setDefaultSuffix(suffix)); -} - -void PythonQtWrapper_QFileDialog::setNameFilterDetailsVisible(QFileDialog* theWrappedObject, bool enabled) -{ - ( theWrappedObject->setNameFilterDetailsVisible(enabled)); -} - -void PythonQtWrapper_QFileDialog::setResolveSymlinks(QFileDialog* theWrappedObject, bool enabled) -{ - ( theWrappedObject->setResolveSymlinks(enabled)); -} - -QStringList PythonQtWrapper_QFileDialog::history(QFileDialog* theWrappedObject) const -{ - return ( theWrappedObject->history()); -} - -void PythonQtWrapper_QFileDialog::selectFile(QFileDialog* theWrappedObject, const QString& filename) -{ - ( theWrappedObject->selectFile(filename)); -} - -QString PythonQtWrapper_QFileDialog::defaultSuffix(QFileDialog* theWrappedObject) const -{ - return ( theWrappedObject->defaultSuffix()); -} - -QString PythonQtWrapper_QFileDialog::static_QFileDialog_getOpenFileName(QWidget* parent, const QString& caption, const QString& dir, const QString& filter, QString* selectedFilter, QFileDialog::Options options) -{ - return (QFileDialog::getOpenFileName(parent, caption, dir, filter, selectedFilter, options)); -} - -QFileDialog::AcceptMode PythonQtWrapper_QFileDialog::acceptMode(QFileDialog* theWrappedObject) const -{ - return ( theWrappedObject->acceptMode()); -} - -QStringList PythonQtWrapper_QFileDialog::nameFilters(QFileDialog* theWrappedObject) const -{ - return ( theWrappedObject->nameFilters()); -} - -void PythonQtWrapper_QFileDialog::setFilter(QFileDialog* theWrappedObject, const QString& filter) -{ - ( theWrappedObject->setFilter(filter)); -} - -QFileDialog::ViewMode PythonQtWrapper_QFileDialog::viewMode(QFileDialog* theWrappedObject) const -{ - return ( theWrappedObject->viewMode()); -} - -QString PythonQtWrapper_QFileDialog::selectedFilter(QFileDialog* theWrappedObject) const -{ - return ( theWrappedObject->selectedFilter()); -} - -void PythonQtWrapper_QFileDialog::setFilter(QFileDialog* theWrappedObject, QDir::Filters filters) -{ - ( theWrappedObject->setFilter(filters)); -} - -void PythonQtWrapper_QFileDialog::setNameFilters(QFileDialog* theWrappedObject, const QStringList& filters) -{ - ( theWrappedObject->setNameFilters(filters)); -} - -void PythonQtWrapper_QFileDialog::setReadOnly(QFileDialog* theWrappedObject, bool enabled) -{ - ( theWrappedObject->setReadOnly(enabled)); -} - -QStringList PythonQtWrapper_QFileDialog::filters(QFileDialog* theWrappedObject) const -{ - return ( theWrappedObject->filters()); -} - -void PythonQtWrapper_QFileDialog::changeEvent(QFileDialog* theWrappedObject, QEvent* e) -{ - ( ((PythonQtPublicPromoter_QFileDialog*)theWrappedObject)->promoted_changeEvent(e)); -} - -void PythonQtWrapper_QFileDialog::setFileMode(QFileDialog* theWrappedObject, QFileDialog::FileMode mode) -{ - ( theWrappedObject->setFileMode(mode)); -} - -QString PythonQtWrapper_QFileDialog::labelText(QFileDialog* theWrappedObject, QFileDialog::DialogLabel label) const -{ - return ( theWrappedObject->labelText(label)); -} - -void PythonQtWrapper_QFileDialog::setIconProvider(QFileDialog* theWrappedObject, QFileIconProvider* provider) -{ - ( theWrappedObject->setIconProvider(provider)); -} - -QDir PythonQtWrapper_QFileDialog::directory(QFileDialog* theWrappedObject) const -{ - return ( theWrappedObject->directory()); -} - -QList PythonQtWrapper_QFileDialog::sidebarUrls(QFileDialog* theWrappedObject) const -{ - return ( theWrappedObject->sidebarUrls()); -} - -QString PythonQtWrapper_QFileDialog::selectedNameFilter(QFileDialog* theWrappedObject) const -{ - return ( theWrappedObject->selectedNameFilter()); -} - -void PythonQtWrapper_QFileDialog::setDirectory(QFileDialog* theWrappedObject, const QDir& directory) -{ - ( theWrappedObject->setDirectory(directory)); -} - -QByteArray PythonQtWrapper_QFileDialog::saveState(QFileDialog* theWrappedObject) const -{ - return ( theWrappedObject->saveState()); -} - -void PythonQtWrapper_QFileDialog::selectFilter(QFileDialog* theWrappedObject, const QString& filter) -{ - ( theWrappedObject->selectFilter(filter)); -} - -void PythonQtWrapper_QFileDialog::selectNameFilter(QFileDialog* theWrappedObject, const QString& filter) -{ - ( theWrappedObject->selectNameFilter(filter)); -} - -bool PythonQtWrapper_QFileDialog::restoreState(QFileDialog* theWrappedObject, const QByteArray& state) -{ - return ( theWrappedObject->restoreState(state)); -} - -void PythonQtWrapper_QFileDialog::setLabelText(QFileDialog* theWrappedObject, QFileDialog::DialogLabel label, const QString& text) -{ - ( theWrappedObject->setLabelText(label, text)); -} - -void PythonQtWrapper_QFileDialog::setNameFilter(QFileDialog* theWrappedObject, const QString& filter) -{ - ( theWrappedObject->setNameFilter(filter)); -} - -QAbstractProxyModel* PythonQtWrapper_QFileDialog::proxyModel(QFileDialog* theWrappedObject) const -{ - return ( theWrappedObject->proxyModel()); -} - -void PythonQtWrapper_QFileDialog::setItemDelegate(QFileDialog* theWrappedObject, QAbstractItemDelegate* delegate) -{ - ( theWrappedObject->setItemDelegate(delegate)); -} - -void PythonQtWrapper_QFileDialog::setViewMode(QFileDialog* theWrappedObject, QFileDialog::ViewMode mode) -{ - ( theWrappedObject->setViewMode(mode)); -} - -QStringList PythonQtWrapper_QFileDialog::static_QFileDialog_getOpenFileNames(QWidget* parent, const QString& caption, const QString& dir, const QString& filter, QString* selectedFilter, QFileDialog::Options options) -{ - return (QFileDialog::getOpenFileNames(parent, caption, dir, filter, selectedFilter, options)); -} - -bool PythonQtWrapper_QFileDialog::isNameFilterDetailsVisible(QFileDialog* theWrappedObject) const -{ - return ( theWrappedObject->isNameFilterDetailsVisible()); -} - -QAbstractItemDelegate* PythonQtWrapper_QFileDialog::itemDelegate(QFileDialog* theWrappedObject) const -{ - return ( theWrappedObject->itemDelegate()); -} - -void PythonQtWrapper_QFileDialog::setDirectory(QFileDialog* theWrappedObject, const QString& directory) -{ - ( theWrappedObject->setDirectory(directory)); -} - -void PythonQtWrapper_QFileDialog::setSidebarUrls(QFileDialog* theWrappedObject, const QList& urls) -{ - ( theWrappedObject->setSidebarUrls(urls)); -} - -bool PythonQtWrapper_QFileDialog::isReadOnly(QFileDialog* theWrappedObject) const -{ - return ( theWrappedObject->isReadOnly()); -} - -QStringList PythonQtWrapper_QFileDialog::selectedFiles(QFileDialog* theWrappedObject) const -{ - return ( theWrappedObject->selectedFiles()); -} - -void PythonQtWrapper_QFileDialog::setAcceptMode(QFileDialog* theWrappedObject, QFileDialog::AcceptMode mode) -{ - ( theWrappedObject->setAcceptMode(mode)); -} - -QString PythonQtWrapper_QFileDialog::static_QFileDialog_getExistingDirectory(QWidget* parent, const QString& caption, const QString& dir, QFileDialog::Options options) -{ - return (QFileDialog::getExistingDirectory(parent, caption, dir, options)); -} - -bool PythonQtWrapper_QFileDialog::resolveSymlinks(QFileDialog* theWrappedObject) const -{ - return ( theWrappedObject->resolveSymlinks()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFileDialog.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFileDialog.h deleted file mode 100644 index d975108..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFileDialog.h +++ /dev/null @@ -1,171 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QFILEDIALOG_H -#define PYTHONQTWRAPPER_QFILEDIALOG_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QFileDialog : public QFileDialog -{ -public: - PythonQtShell_QFileDialog(QWidget* parent, Qt::WindowFlags f):QFileDialog(parent, f),_wrapper(NULL) {}; - PythonQtShell_QFileDialog(QWidget* parent = 0, const QString& caption = QString(), const QString& directory = QString(), const QString& filter = QString()):QFileDialog(parent, caption, directory, filter),_wrapper(NULL) {}; - -virtual void accept(); -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* e); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual int devType() const; -virtual void done(int result); -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* arg__1); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual void reject(); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void showEvent(QShowEvent* arg__1); -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QFileDialog : public QFileDialog -{ public: -inline void promoted_accept() { QFileDialog::accept(); } -inline void promoted_done(int result) { QFileDialog::done(result); } -inline void promoted_changeEvent(QEvent* e) { QFileDialog::changeEvent(e); } -}; - -class PythonQtWrapper_QFileDialog : public QObject -{ Q_OBJECT -public: -Q_ENUMS(Option DialogLabel ) -Q_FLAGS(Options ) -enum Option{ - ShowDirsOnly = QFileDialog::ShowDirsOnly, DontResolveSymlinks = QFileDialog::DontResolveSymlinks, DontConfirmOverwrite = QFileDialog::DontConfirmOverwrite, DontUseSheet = QFileDialog::DontUseSheet, DontUseNativeDialog = QFileDialog::DontUseNativeDialog}; -enum DialogLabel{ - LookIn = QFileDialog::LookIn, FileName = QFileDialog::FileName, FileType = QFileDialog::FileType, Accept = QFileDialog::Accept, Reject = QFileDialog::Reject}; -Q_DECLARE_FLAGS(Options, Option) -public slots: -QFileDialog* new_QFileDialog(QWidget* parent, Qt::WindowFlags f); -QFileDialog* new_QFileDialog(QWidget* parent = 0, const QString& caption = QString(), const QString& directory = QString(), const QString& filter = QString()); -void delete_QFileDialog(QFileDialog* obj) { delete obj; } - void accept(QFileDialog* theWrappedObject); - QFileIconProvider* iconProvider(QFileDialog* theWrappedObject) const; - void setConfirmOverwrite(QFileDialog* theWrappedObject, bool enabled); - QString static_QFileDialog_getSaveFileName(QWidget* parent = 0, const QString& caption = QString(), const QString& dir = QString(), const QString& filter = QString(), QString* selectedFilter = 0, QFileDialog::Options options = 0); - void setFilters(QFileDialog* theWrappedObject, const QStringList& filters); - bool confirmOverwrite(QFileDialog* theWrappedObject) const; - void done(QFileDialog* theWrappedObject, int result); - QFileDialog::FileMode fileMode(QFileDialog* theWrappedObject) const; - void setHistory(QFileDialog* theWrappedObject, const QStringList& paths); - void setProxyModel(QFileDialog* theWrappedObject, QAbstractProxyModel* model); - QDir::Filters filter(QFileDialog* theWrappedObject) const; - void setDefaultSuffix(QFileDialog* theWrappedObject, const QString& suffix); - void setNameFilterDetailsVisible(QFileDialog* theWrappedObject, bool enabled); - void setResolveSymlinks(QFileDialog* theWrappedObject, bool enabled); - QStringList history(QFileDialog* theWrappedObject) const; - void selectFile(QFileDialog* theWrappedObject, const QString& filename); - QString defaultSuffix(QFileDialog* theWrappedObject) const; - QString static_QFileDialog_getOpenFileName(QWidget* parent = 0, const QString& caption = QString(), const QString& dir = QString(), const QString& filter = QString(), QString* selectedFilter = 0, QFileDialog::Options options = 0); - QFileDialog::AcceptMode acceptMode(QFileDialog* theWrappedObject) const; - QStringList nameFilters(QFileDialog* theWrappedObject) const; - void setFilter(QFileDialog* theWrappedObject, const QString& filter); - QFileDialog::ViewMode viewMode(QFileDialog* theWrappedObject) const; - QString selectedFilter(QFileDialog* theWrappedObject) const; - void setFilter(QFileDialog* theWrappedObject, QDir::Filters filters); - void setNameFilters(QFileDialog* theWrappedObject, const QStringList& filters); - void setReadOnly(QFileDialog* theWrappedObject, bool enabled); - QStringList filters(QFileDialog* theWrappedObject) const; - void changeEvent(QFileDialog* theWrappedObject, QEvent* e); - void setFileMode(QFileDialog* theWrappedObject, QFileDialog::FileMode mode); - QString labelText(QFileDialog* theWrappedObject, QFileDialog::DialogLabel label) const; - void setIconProvider(QFileDialog* theWrappedObject, QFileIconProvider* provider); - QDir directory(QFileDialog* theWrappedObject) const; - QList sidebarUrls(QFileDialog* theWrappedObject) const; - QString selectedNameFilter(QFileDialog* theWrappedObject) const; - void setDirectory(QFileDialog* theWrappedObject, const QDir& directory); - QByteArray saveState(QFileDialog* theWrappedObject) const; - void selectFilter(QFileDialog* theWrappedObject, const QString& filter); - void selectNameFilter(QFileDialog* theWrappedObject, const QString& filter); - bool restoreState(QFileDialog* theWrappedObject, const QByteArray& state); - void setLabelText(QFileDialog* theWrappedObject, QFileDialog::DialogLabel label, const QString& text); - void setNameFilter(QFileDialog* theWrappedObject, const QString& filter); - QAbstractProxyModel* proxyModel(QFileDialog* theWrappedObject) const; - void setItemDelegate(QFileDialog* theWrappedObject, QAbstractItemDelegate* delegate); - void setViewMode(QFileDialog* theWrappedObject, QFileDialog::ViewMode mode); - QStringList static_QFileDialog_getOpenFileNames(QWidget* parent = 0, const QString& caption = QString(), const QString& dir = QString(), const QString& filter = QString(), QString* selectedFilter = 0, QFileDialog::Options options = 0); - bool isNameFilterDetailsVisible(QFileDialog* theWrappedObject) const; - QAbstractItemDelegate* itemDelegate(QFileDialog* theWrappedObject) const; - void setDirectory(QFileDialog* theWrappedObject, const QString& directory); - void setSidebarUrls(QFileDialog* theWrappedObject, const QList& urls); - bool isReadOnly(QFileDialog* theWrappedObject) const; - QStringList selectedFiles(QFileDialog* theWrappedObject) const; - void setAcceptMode(QFileDialog* theWrappedObject, QFileDialog::AcceptMode mode); - QString static_QFileDialog_getExistingDirectory(QWidget* parent = 0, const QString& caption = QString(), const QString& dir = QString(), QFileDialog::Options options = QFileDialog::ShowDirsOnly); - bool resolveSymlinks(QFileDialog* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QFILEDIALOG_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFileIconProvider.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFileIconProvider.cpp deleted file mode 100644 index 69f0665..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFileIconProvider.cpp +++ /dev/null @@ -1,113 +0,0 @@ -#include "PythonQtWrapper_QFileIconProvider.h" - -#include -#include -#include -#include -#include -#include -#include - -QIcon PythonQtShell_QFileIconProvider::icon(QFileIconProvider::IconType type) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "icon"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QIcon" , "QFileIconProvider::IconType"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QIcon returnValue; - void* args[2] = {NULL, (void*)&type}; - 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("icon", methodInfo, result); - } else { - returnValue = *((QIcon*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFileIconProvider::icon(type); -} -QIcon PythonQtShell_QFileIconProvider::icon(const QFileInfo& info) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "icon"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QIcon" , "const QFileInfo&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QIcon returnValue; - void* args[2] = {NULL, (void*)&info}; - 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("icon", methodInfo, result); - } else { - returnValue = *((QIcon*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFileIconProvider::icon(info); -} -QString PythonQtShell_QFileIconProvider::type(const QFileInfo& info) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "type"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QString" , "const QFileInfo&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QString returnValue; - void* args[2] = {NULL, (void*)&info}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFileIconProvider::type(info); -} -QFileIconProvider* PythonQtWrapper_QFileIconProvider::new_QFileIconProvider() -{ -return new PythonQtShell_QFileIconProvider(); } - -QIcon PythonQtWrapper_QFileIconProvider::icon(QFileIconProvider* theWrappedObject, QFileIconProvider::IconType type) const -{ - return ( ((PythonQtPublicPromoter_QFileIconProvider*)theWrappedObject)->promoted_icon(type)); -} - -QString PythonQtWrapper_QFileIconProvider::type(QFileIconProvider* theWrappedObject, const QFileInfo& info) const -{ - return ( ((PythonQtPublicPromoter_QFileIconProvider*)theWrappedObject)->promoted_type(info)); -} - -QIcon PythonQtWrapper_QFileIconProvider::icon(QFileIconProvider* theWrappedObject, const QFileInfo& info) const -{ - return ( ((PythonQtPublicPromoter_QFileIconProvider*)theWrappedObject)->promoted_icon(info)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFileIconProvider.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFileIconProvider.h deleted file mode 100644 index 69fcd9f..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFileIconProvider.h +++ /dev/null @@ -1,47 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QFILEICONPROVIDER_H -#define PYTHONQTWRAPPER_QFILEICONPROVIDER_H - -#include -#include - -#include - -#include -#include -#include -#include - -class PythonQtShell_QFileIconProvider : public QFileIconProvider -{ -public: - PythonQtShell_QFileIconProvider():QFileIconProvider(),_wrapper(NULL) {}; - -virtual QIcon icon(QFileIconProvider::IconType type) const; -virtual QIcon icon(const QFileInfo& info) const; -virtual QString type(const QFileInfo& info) const; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QFileIconProvider : public QFileIconProvider -{ public: -inline QIcon promoted_icon(QFileIconProvider::IconType type) const { return QFileIconProvider::icon(type); } -inline QString promoted_type(const QFileInfo& info) const { return QFileIconProvider::type(info); } -inline QIcon promoted_icon(const QFileInfo& info) const { return QFileIconProvider::icon(info); } -}; - -class PythonQtWrapper_QFileIconProvider : public QObject -{ Q_OBJECT -public: -Q_ENUMS(IconType ) -enum IconType{ - Computer = QFileIconProvider::Computer, Desktop = QFileIconProvider::Desktop, Trashcan = QFileIconProvider::Trashcan, Network = QFileIconProvider::Network, Drive = QFileIconProvider::Drive, Folder = QFileIconProvider::Folder, File = QFileIconProvider::File}; -public slots: -QFileIconProvider* new_QFileIconProvider(); -void delete_QFileIconProvider(QFileIconProvider* obj) { delete obj; } - QIcon icon(QFileIconProvider* theWrappedObject, QFileIconProvider::IconType type) const; - QString type(QFileIconProvider* theWrappedObject, const QFileInfo& info) const; - QIcon icon(QFileIconProvider* theWrappedObject, const QFileInfo& info) const; -}; - -#endif // PYTHONQTWRAPPER_QFILEICONPROVIDER_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFileOpenEvent.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFileOpenEvent.cpp deleted file mode 100644 index cd4cafa..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFileOpenEvent.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include "PythonQtWrapper_QFileOpenEvent.h" - -#include -#include -#include -#include - -QFileOpenEvent* PythonQtWrapper_QFileOpenEvent::new_QFileOpenEvent(const QString& file) -{ -return new QFileOpenEvent(file); } - -QString PythonQtWrapper_QFileOpenEvent::file(QFileOpenEvent* theWrappedObject) const -{ - return ( theWrappedObject->file()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFileOpenEvent.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFileOpenEvent.h deleted file mode 100644 index 2874938..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFileOpenEvent.h +++ /dev/null @@ -1,20 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QFILEOPENEVENT_H -#define PYTHONQTWRAPPER_QFILEOPENEVENT_H - -#include -#include - -#include - -#include - -class PythonQtWrapper_QFileOpenEvent : public QObject -{ Q_OBJECT -public: -public slots: -QFileOpenEvent* new_QFileOpenEvent(const QString& file); -void delete_QFileOpenEvent(QFileOpenEvent* obj) { delete obj; } - QString file(QFileOpenEvent* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QFILEOPENEVENT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFocusEvent.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFocusEvent.cpp deleted file mode 100644 index c0c3381..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFocusEvent.cpp +++ /dev/null @@ -1,26 +0,0 @@ -#include "PythonQtWrapper_QFocusEvent.h" - -#include -#include -#include -#include - -QFocusEvent* PythonQtWrapper_QFocusEvent::new_QFocusEvent(QEvent::Type type, Qt::FocusReason reason) -{ -return new QFocusEvent(type, reason); } - -bool PythonQtWrapper_QFocusEvent::lostFocus(QFocusEvent* theWrappedObject) const -{ - return ( theWrappedObject->lostFocus()); -} - -Qt::FocusReason PythonQtWrapper_QFocusEvent::reason(QFocusEvent* theWrappedObject) -{ - return ( theWrappedObject->reason()); -} - -bool PythonQtWrapper_QFocusEvent::gotFocus(QFocusEvent* theWrappedObject) const -{ - return ( theWrappedObject->gotFocus()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFocusEvent.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFocusEvent.h deleted file mode 100644 index 168b9fb..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFocusEvent.h +++ /dev/null @@ -1,22 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QFOCUSEVENT_H -#define PYTHONQTWRAPPER_QFOCUSEVENT_H - -#include -#include - -#include - -#include - -class PythonQtWrapper_QFocusEvent : public QObject -{ Q_OBJECT -public: -public slots: -QFocusEvent* new_QFocusEvent(QEvent::Type type, Qt::FocusReason reason = Qt::OtherFocusReason); -void delete_QFocusEvent(QFocusEvent* obj) { delete obj; } - bool lostFocus(QFocusEvent* theWrappedObject) const; - Qt::FocusReason reason(QFocusEvent* theWrappedObject); - bool gotFocus(QFocusEvent* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QFOCUSEVENT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFocusFrame.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFocusFrame.cpp deleted file mode 100644 index 684aa9e..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFocusFrame.cpp +++ /dev/null @@ -1,853 +0,0 @@ -#include "PythonQtWrapper_QFocusFrame.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QFocusFrame::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QFocusFrame::actionEvent(arg__1); -} -void PythonQtShell_QFocusFrame::changeEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QFocusFrame::changeEvent(arg__1); -} -void PythonQtShell_QFocusFrame::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; - } -} - QFocusFrame::childEvent(arg__1); -} -void PythonQtShell_QFocusFrame::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QFocusFrame::closeEvent(arg__1); -} -void PythonQtShell_QFocusFrame::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QFocusFrame::contextMenuEvent(arg__1); -} -void PythonQtShell_QFocusFrame::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; - } -} - QFocusFrame::customEvent(arg__1); -} -int PythonQtShell_QFocusFrame::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFocusFrame::devType(); -} -void PythonQtShell_QFocusFrame::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QFocusFrame::dragEnterEvent(arg__1); -} -void PythonQtShell_QFocusFrame::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QFocusFrame::dragLeaveEvent(arg__1); -} -void PythonQtShell_QFocusFrame::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QFocusFrame::dragMoveEvent(arg__1); -} -void PythonQtShell_QFocusFrame::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QFocusFrame::dropEvent(arg__1); -} -void PythonQtShell_QFocusFrame::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QFocusFrame::enterEvent(arg__1); -} -bool PythonQtShell_QFocusFrame::event(QEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFocusFrame::event(e); -} -bool PythonQtShell_QFocusFrame::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFocusFrame::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QFocusFrame::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QFocusFrame::focusInEvent(arg__1); -} -bool PythonQtShell_QFocusFrame::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFocusFrame::focusNextPrevChild(next); -} -void PythonQtShell_QFocusFrame::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QFocusFrame::focusOutEvent(arg__1); -} -int PythonQtShell_QFocusFrame::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFocusFrame::heightForWidth(arg__1); -} -void PythonQtShell_QFocusFrame::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QFocusFrame::hideEvent(arg__1); -} -void PythonQtShell_QFocusFrame::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QFocusFrame::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QFocusFrame::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFocusFrame::inputMethodQuery(arg__1); -} -void PythonQtShell_QFocusFrame::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QFocusFrame::keyPressEvent(arg__1); -} -void PythonQtShell_QFocusFrame::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QFocusFrame::keyReleaseEvent(arg__1); -} -void PythonQtShell_QFocusFrame::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QFocusFrame::languageChange(); -} -void PythonQtShell_QFocusFrame::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QFocusFrame::leaveEvent(arg__1); -} -int PythonQtShell_QFocusFrame::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFocusFrame::metric(arg__1); -} -QSize PythonQtShell_QFocusFrame::minimumSizeHint() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFocusFrame::minimumSizeHint(); -} -void PythonQtShell_QFocusFrame::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QFocusFrame::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QFocusFrame::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QFocusFrame::mouseMoveEvent(arg__1); -} -void PythonQtShell_QFocusFrame::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QFocusFrame::mousePressEvent(arg__1); -} -void PythonQtShell_QFocusFrame::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QFocusFrame::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QFocusFrame::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QFocusFrame::moveEvent(arg__1); -} -QPaintEngine* PythonQtShell_QFocusFrame::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFocusFrame::paintEngine(); -} -void PythonQtShell_QFocusFrame::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - 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; - } -} - QFocusFrame::paintEvent(arg__1); -} -void PythonQtShell_QFocusFrame::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - 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; - } -} - QFocusFrame::resizeEvent(arg__1); -} -void PythonQtShell_QFocusFrame::showEvent(QShowEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QFocusFrame::showEvent(arg__1); -} -QSize PythonQtShell_QFocusFrame::sizeHint() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getSizeHint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFocusFrame::sizeHint(); -} -void PythonQtShell_QFocusFrame::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QFocusFrame::tabletEvent(arg__1); -} -void PythonQtShell_QFocusFrame::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; - } -} - QFocusFrame::timerEvent(arg__1); -} -void PythonQtShell_QFocusFrame::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QFocusFrame::wheelEvent(arg__1); -} -QFocusFrame* PythonQtWrapper_QFocusFrame::new_QFocusFrame(QWidget* parent) -{ -return new PythonQtShell_QFocusFrame(parent); } - -bool PythonQtWrapper_QFocusFrame::event(QFocusFrame* theWrappedObject, QEvent* e) -{ - return ( ((PythonQtPublicPromoter_QFocusFrame*)theWrappedObject)->promoted_event(e)); -} - -QWidget* PythonQtWrapper_QFocusFrame::widget(QFocusFrame* theWrappedObject) const -{ - return ( theWrappedObject->widget()); -} - -void PythonQtWrapper_QFocusFrame::paintEvent(QFocusFrame* theWrappedObject, QPaintEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QFocusFrame*)theWrappedObject)->promoted_paintEvent(arg__1)); -} - -bool PythonQtWrapper_QFocusFrame::eventFilter(QFocusFrame* theWrappedObject, QObject* arg__1, QEvent* arg__2) -{ - return ( ((PythonQtPublicPromoter_QFocusFrame*)theWrappedObject)->promoted_eventFilter(arg__1, arg__2)); -} - -void PythonQtWrapper_QFocusFrame::setWidget(QFocusFrame* theWrappedObject, QWidget* widget) -{ - ( theWrappedObject->setWidget(widget)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFocusFrame.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFocusFrame.h deleted file mode 100644 index c3d8608..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFocusFrame.h +++ /dev/null @@ -1,107 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QFOCUSFRAME_H -#define PYTHONQTWRAPPER_QFOCUSFRAME_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QFocusFrame : public QFocusFrame -{ -public: - PythonQtShell_QFocusFrame(QWidget* parent = 0):QFocusFrame(parent),_wrapper(NULL) {}; - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* arg__1); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QFocusFrame : public QFocusFrame -{ public: -inline bool promoted_event(QEvent* e) { return QFocusFrame::event(e); } -inline void promoted_paintEvent(QPaintEvent* arg__1) { QFocusFrame::paintEvent(arg__1); } -inline bool promoted_eventFilter(QObject* arg__1, QEvent* arg__2) { return QFocusFrame::eventFilter(arg__1, arg__2); } -}; - -class PythonQtWrapper_QFocusFrame : public QObject -{ Q_OBJECT -public: -public slots: -QFocusFrame* new_QFocusFrame(QWidget* parent = 0); -void delete_QFocusFrame(QFocusFrame* obj) { delete obj; } - bool event(QFocusFrame* theWrappedObject, QEvent* e); - QWidget* widget(QFocusFrame* theWrappedObject) const; - void paintEvent(QFocusFrame* theWrappedObject, QPaintEvent* arg__1); - bool eventFilter(QFocusFrame* theWrappedObject, QObject* arg__1, QEvent* arg__2); - void setWidget(QFocusFrame* theWrappedObject, QWidget* widget); -}; - -#endif // PYTHONQTWRAPPER_QFOCUSFRAME_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFont.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFont.cpp deleted file mode 100644 index bbdd9d0..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFont.cpp +++ /dev/null @@ -1,368 +0,0 @@ -#include "PythonQtWrapper_QFont.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QFont* PythonQtWrapper_QFont::new_QFont() -{ -return new QFont(); } - -QFont* PythonQtWrapper_QFont::new_QFont(const QFont& arg__1) -{ -return new QFont(arg__1); } - -QFont* PythonQtWrapper_QFont::new_QFont(const QFont& arg__1, QPaintDevice* pd) -{ -return new QFont(arg__1, pd); } - -QFont* PythonQtWrapper_QFont::new_QFont(const QString& family, int pointSize, int weight, bool italic) -{ -return new QFont(family, pointSize, weight, italic); } - -void PythonQtWrapper_QFont::setLetterSpacing(QFont* theWrappedObject, QFont::SpacingType type, qreal spacing) -{ - ( theWrappedObject->setLetterSpacing(type, spacing)); -} - -void PythonQtWrapper_QFont::setStrikeOut(QFont* theWrappedObject, bool arg__1) -{ - ( theWrappedObject->setStrikeOut(arg__1)); -} - -int PythonQtWrapper_QFont::weight(QFont* theWrappedObject) const -{ - return ( theWrappedObject->weight()); -} - -void PythonQtWrapper_QFont::setRawMode(QFont* theWrappedObject, bool arg__1) -{ - ( theWrappedObject->setRawMode(arg__1)); -} - -void PythonQtWrapper_QFont::setFixedPitch(QFont* theWrappedObject, bool arg__1) -{ - ( theWrappedObject->setFixedPitch(arg__1)); -} - -bool PythonQtWrapper_QFont::operator_less(QFont* theWrappedObject, const QFont& arg__1) const -{ - return ( (*theWrappedObject)< arg__1); -} - -void PythonQtWrapper_QFont::setStyleStrategy(QFont* theWrappedObject, QFont::StyleStrategy s) -{ - ( theWrappedObject->setStyleStrategy(s)); -} - -qreal PythonQtWrapper_QFont::wordSpacing(QFont* theWrappedObject) const -{ - return ( theWrappedObject->wordSpacing()); -} - -void PythonQtWrapper_QFont::setOverline(QFont* theWrappedObject, bool arg__1) -{ - ( theWrappedObject->setOverline(arg__1)); -} - -qreal PythonQtWrapper_QFont::letterSpacing(QFont* theWrappedObject) const -{ - return ( theWrappedObject->letterSpacing()); -} - -bool PythonQtWrapper_QFont::fixedPitch(QFont* theWrappedObject) const -{ - return ( theWrappedObject->fixedPitch()); -} - -QString PythonQtWrapper_QFont::key(QFont* theWrappedObject) const -{ - return ( theWrappedObject->key()); -} - -int PythonQtWrapper_QFont::pointSize(QFont* theWrappedObject) const -{ - return ( theWrappedObject->pointSize()); -} - -QFont PythonQtWrapper_QFont::resolve(QFont* theWrappedObject, const QFont& arg__1) const -{ - return ( theWrappedObject->resolve(arg__1)); -} - -void PythonQtWrapper_QFont::static_QFont_removeSubstitution(const QString& arg__1) -{ - (QFont::removeSubstitution(arg__1)); -} - -bool PythonQtWrapper_QFont::overline(QFont* theWrappedObject) const -{ - return ( theWrappedObject->overline()); -} - -bool PythonQtWrapper_QFont::fromString(QFont* theWrappedObject, const QString& arg__1) -{ - return ( theWrappedObject->fromString(arg__1)); -} - -qreal PythonQtWrapper_QFont::pointSizeF(QFont* theWrappedObject) const -{ - return ( theWrappedObject->pointSizeF()); -} - -QString PythonQtWrapper_QFont::rawName(QFont* theWrappedObject) const -{ - return ( theWrappedObject->rawName()); -} - -void PythonQtWrapper_QFont::static_QFont_insertSubstitutions(const QString& arg__1, const QStringList& arg__2) -{ - (QFont::insertSubstitutions(arg__1, arg__2)); -} - -bool PythonQtWrapper_QFont::strikeOut(QFont* theWrappedObject) const -{ - return ( theWrappedObject->strikeOut()); -} - -void PythonQtWrapper_QFont::writeTo(QFont* theWrappedObject, QDataStream& arg__1) -{ - arg__1 << (*theWrappedObject); -} - -void PythonQtWrapper_QFont::static_QFont_cacheStatistics() -{ - (QFont::cacheStatistics()); -} - -uint PythonQtWrapper_QFont::resolve(QFont* theWrappedObject) const -{ - return ( theWrappedObject->resolve()); -} - -int PythonQtWrapper_QFont::stretch(QFont* theWrappedObject) const -{ - return ( theWrappedObject->stretch()); -} - -QFont::StyleStrategy PythonQtWrapper_QFont::styleStrategy(QFont* theWrappedObject) const -{ - return ( theWrappedObject->styleStrategy()); -} - -QStringList PythonQtWrapper_QFont::static_QFont_substitutes(const QString& arg__1) -{ - return (QFont::substitutes(arg__1)); -} - -QFont::Capitalization PythonQtWrapper_QFont::capitalization(QFont* theWrappedObject) const -{ - return ( theWrappedObject->capitalization()); -} - -QString PythonQtWrapper_QFont::defaultFamily(QFont* theWrappedObject) const -{ - return ( theWrappedObject->defaultFamily()); -} - -void PythonQtWrapper_QFont::setWordSpacing(QFont* theWrappedObject, qreal spacing) -{ - ( theWrappedObject->setWordSpacing(spacing)); -} - -void PythonQtWrapper_QFont::setKerning(QFont* theWrappedObject, bool arg__1) -{ - ( theWrappedObject->setKerning(arg__1)); -} - -QString PythonQtWrapper_QFont::toString(QFont* theWrappedObject) const -{ - return ( theWrappedObject->toString()); -} - -void PythonQtWrapper_QFont::setStretch(QFont* theWrappedObject, int arg__1) -{ - ( theWrappedObject->setStretch(arg__1)); -} - -void PythonQtWrapper_QFont::setStyleHint(QFont* theWrappedObject, QFont::StyleHint arg__1, QFont::StyleStrategy arg__2) -{ - ( theWrappedObject->setStyleHint(arg__1, arg__2)); -} - -bool PythonQtWrapper_QFont::operator_equal(QFont* theWrappedObject, const QFont& arg__1) const -{ - return ( (*theWrappedObject)== arg__1); -} - -QString PythonQtWrapper_QFont::static_QFont_substitute(const QString& arg__1) -{ - return (QFont::substitute(arg__1)); -} - -Qt::HANDLE PythonQtWrapper_QFont::handle(QFont* theWrappedObject) const -{ - return ( theWrappedObject->handle()); -} - -void PythonQtWrapper_QFont::static_QFont_insertSubstitution(const QString& arg__1, const QString& arg__2) -{ - (QFont::insertSubstitution(arg__1, arg__2)); -} - -void PythonQtWrapper_QFont::static_QFont_initialize() -{ - (QFont::initialize()); -} - -bool PythonQtWrapper_QFont::underline(QFont* theWrappedObject) const -{ - return ( theWrappedObject->underline()); -} - -void PythonQtWrapper_QFont::setUnderline(QFont* theWrappedObject, bool arg__1) -{ - ( theWrappedObject->setUnderline(arg__1)); -} - -bool PythonQtWrapper_QFont::kerning(QFont* theWrappedObject) const -{ - return ( theWrappedObject->kerning()); -} - -int PythonQtWrapper_QFont::pixelSize(QFont* theWrappedObject) const -{ - return ( theWrappedObject->pixelSize()); -} - -bool PythonQtWrapper_QFont::rawMode(QFont* theWrappedObject) const -{ - return ( theWrappedObject->rawMode()); -} - -void PythonQtWrapper_QFont::setCapitalization(QFont* theWrappedObject, QFont::Capitalization arg__1) -{ - ( theWrappedObject->setCapitalization(arg__1)); -} - -void PythonQtWrapper_QFont::setItalic(QFont* theWrappedObject, bool b) -{ - ( theWrappedObject->setItalic(b)); -} - -bool PythonQtWrapper_QFont::italic(QFont* theWrappedObject) const -{ - return ( theWrappedObject->italic()); -} - -void PythonQtWrapper_QFont::setPointSizeF(QFont* theWrappedObject, qreal arg__1) -{ - ( theWrappedObject->setPointSizeF(arg__1)); -} - -void PythonQtWrapper_QFont::setStyle(QFont* theWrappedObject, QFont::Style style) -{ - ( theWrappedObject->setStyle(style)); -} - -QFont::Style PythonQtWrapper_QFont::style(QFont* theWrappedObject) const -{ - return ( theWrappedObject->style()); -} - -QString PythonQtWrapper_QFont::family(QFont* theWrappedObject) const -{ - return ( theWrappedObject->family()); -} - -void PythonQtWrapper_QFont::readFrom(QFont* theWrappedObject, QDataStream& arg__1) -{ - arg__1 >> (*theWrappedObject); -} - -void PythonQtWrapper_QFont::setRawName(QFont* theWrappedObject, const QString& arg__1) -{ - ( theWrappedObject->setRawName(arg__1)); -} - -void PythonQtWrapper_QFont::setBold(QFont* theWrappedObject, bool arg__1) -{ - ( theWrappedObject->setBold(arg__1)); -} - -bool PythonQtWrapper_QFont::bold(QFont* theWrappedObject) const -{ - return ( theWrappedObject->bold()); -} - -QStringList PythonQtWrapper_QFont::static_QFont_substitutions() -{ - return (QFont::substitutions()); -} - -void PythonQtWrapper_QFont::static_QFont_cleanup() -{ - (QFont::cleanup()); -} - -QFont::StyleHint PythonQtWrapper_QFont::styleHint(QFont* theWrappedObject) const -{ - return ( theWrappedObject->styleHint()); -} - -void PythonQtWrapper_QFont::setFamily(QFont* theWrappedObject, const QString& arg__1) -{ - ( theWrappedObject->setFamily(arg__1)); -} - -QString PythonQtWrapper_QFont::lastResortFamily(QFont* theWrappedObject) const -{ - return ( theWrappedObject->lastResortFamily()); -} - -void PythonQtWrapper_QFont::resolve(QFont* theWrappedObject, uint mask) -{ - ( theWrappedObject->resolve(mask)); -} - -void PythonQtWrapper_QFont::setPixelSize(QFont* theWrappedObject, int arg__1) -{ - ( theWrappedObject->setPixelSize(arg__1)); -} - -void PythonQtWrapper_QFont::setWeight(QFont* theWrappedObject, int arg__1) -{ - ( theWrappedObject->setWeight(arg__1)); -} - -QFont::SpacingType PythonQtWrapper_QFont::letterSpacingType(QFont* theWrappedObject) const -{ - return ( theWrappedObject->letterSpacingType()); -} - -void PythonQtWrapper_QFont::setPointSize(QFont* theWrappedObject, int arg__1) -{ - ( theWrappedObject->setPointSize(arg__1)); -} - -bool PythonQtWrapper_QFont::isCopyOf(QFont* theWrappedObject, const QFont& arg__1) const -{ - return ( theWrappedObject->isCopyOf(arg__1)); -} - -QString PythonQtWrapper_QFont::lastResortFont(QFont* theWrappedObject) const -{ - return ( theWrappedObject->lastResortFont()); -} - -bool PythonQtWrapper_QFont::exactMatch(QFont* theWrappedObject) const -{ - return ( theWrappedObject->exactMatch()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFont.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFont.h deleted file mode 100644 index 098f9dd..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFont.h +++ /dev/null @@ -1,110 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QFONT_H -#define PYTHONQTWRAPPER_QFONT_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include - -class PythonQtWrapper_QFont : public QObject -{ Q_OBJECT -public: -Q_ENUMS(StyleStrategy SpacingType StyleHint Weight Capitalization Stretch Style ) -enum StyleStrategy{ - PreferDefault = QFont::PreferDefault, PreferBitmap = QFont::PreferBitmap, PreferDevice = QFont::PreferDevice, PreferOutline = QFont::PreferOutline, ForceOutline = QFont::ForceOutline, PreferMatch = QFont::PreferMatch, PreferQuality = QFont::PreferQuality, PreferAntialias = QFont::PreferAntialias, NoAntialias = QFont::NoAntialias, OpenGLCompatible = QFont::OpenGLCompatible, NoFontMerging = QFont::NoFontMerging}; -enum SpacingType{ - PercentageSpacing = QFont::PercentageSpacing, AbsoluteSpacing = QFont::AbsoluteSpacing}; -enum StyleHint{ - Helvetica = QFont::Helvetica, SansSerif = QFont::SansSerif, Times = QFont::Times, Serif = QFont::Serif, Courier = QFont::Courier, TypeWriter = QFont::TypeWriter, OldEnglish = QFont::OldEnglish, Decorative = QFont::Decorative, System = QFont::System, AnyStyle = QFont::AnyStyle}; -enum Weight{ - Light = QFont::Light, Normal = QFont::Normal, DemiBold = QFont::DemiBold, Bold = QFont::Bold, Black = QFont::Black}; -enum Capitalization{ - MixedCase = QFont::MixedCase, AllUppercase = QFont::AllUppercase, AllLowercase = QFont::AllLowercase, SmallCaps = QFont::SmallCaps, Capitalize = QFont::Capitalize}; -enum Stretch{ - UltraCondensed = QFont::UltraCondensed, ExtraCondensed = QFont::ExtraCondensed, Condensed = QFont::Condensed, SemiCondensed = QFont::SemiCondensed, Unstretched = QFont::Unstretched, SemiExpanded = QFont::SemiExpanded, Expanded = QFont::Expanded, ExtraExpanded = QFont::ExtraExpanded, UltraExpanded = QFont::UltraExpanded}; -enum Style{ - StyleNormal = QFont::StyleNormal, StyleItalic = QFont::StyleItalic, StyleOblique = QFont::StyleOblique}; -public slots: -QFont* new_QFont(); -QFont* new_QFont(const QFont& arg__1); -QFont* new_QFont(const QFont& arg__1, QPaintDevice* pd); -QFont* new_QFont(const QString& family, int pointSize = -1, int weight = -1, bool italic = false); -void delete_QFont(QFont* obj) { delete obj; } - void setLetterSpacing(QFont* theWrappedObject, QFont::SpacingType type, qreal spacing); - void setStrikeOut(QFont* theWrappedObject, bool arg__1); - int weight(QFont* theWrappedObject) const; - void setRawMode(QFont* theWrappedObject, bool arg__1); - void setFixedPitch(QFont* theWrappedObject, bool arg__1); - bool operator_less(QFont* theWrappedObject, const QFont& arg__1) const; - void setStyleStrategy(QFont* theWrappedObject, QFont::StyleStrategy s); - qreal wordSpacing(QFont* theWrappedObject) const; - void setOverline(QFont* theWrappedObject, bool arg__1); - qreal letterSpacing(QFont* theWrappedObject) const; - bool fixedPitch(QFont* theWrappedObject) const; - QString key(QFont* theWrappedObject) const; - int pointSize(QFont* theWrappedObject) const; - QFont resolve(QFont* theWrappedObject, const QFont& arg__1) const; - void static_QFont_removeSubstitution(const QString& arg__1); - bool overline(QFont* theWrappedObject) const; - bool fromString(QFont* theWrappedObject, const QString& arg__1); - qreal pointSizeF(QFont* theWrappedObject) const; - QString rawName(QFont* theWrappedObject) const; - void static_QFont_insertSubstitutions(const QString& arg__1, const QStringList& arg__2); - bool strikeOut(QFont* theWrappedObject) const; - void writeTo(QFont* theWrappedObject, QDataStream& arg__1); - void static_QFont_cacheStatistics(); - uint resolve(QFont* theWrappedObject) const; - int stretch(QFont* theWrappedObject) const; - QFont::StyleStrategy styleStrategy(QFont* theWrappedObject) const; - QStringList static_QFont_substitutes(const QString& arg__1); - QFont::Capitalization capitalization(QFont* theWrappedObject) const; - QString defaultFamily(QFont* theWrappedObject) const; - void setWordSpacing(QFont* theWrappedObject, qreal spacing); - void setKerning(QFont* theWrappedObject, bool arg__1); - QString toString(QFont* theWrappedObject) const; - void setStretch(QFont* theWrappedObject, int arg__1); - void setStyleHint(QFont* theWrappedObject, QFont::StyleHint arg__1, QFont::StyleStrategy arg__2 = QFont::PreferDefault); - bool operator_equal(QFont* theWrappedObject, const QFont& arg__1) const; - QString static_QFont_substitute(const QString& arg__1); - Qt::HANDLE handle(QFont* theWrappedObject) const; - void static_QFont_insertSubstitution(const QString& arg__1, const QString& arg__2); - void static_QFont_initialize(); - bool underline(QFont* theWrappedObject) const; - void setUnderline(QFont* theWrappedObject, bool arg__1); - bool kerning(QFont* theWrappedObject) const; - int pixelSize(QFont* theWrappedObject) const; - bool rawMode(QFont* theWrappedObject) const; - void setCapitalization(QFont* theWrappedObject, QFont::Capitalization arg__1); - void setItalic(QFont* theWrappedObject, bool b); - bool italic(QFont* theWrappedObject) const; - void setPointSizeF(QFont* theWrappedObject, qreal arg__1); - void setStyle(QFont* theWrappedObject, QFont::Style style); - QFont::Style style(QFont* theWrappedObject) const; - QString family(QFont* theWrappedObject) const; - void readFrom(QFont* theWrappedObject, QDataStream& arg__1); - void setRawName(QFont* theWrappedObject, const QString& arg__1); - void setBold(QFont* theWrappedObject, bool arg__1); - bool bold(QFont* theWrappedObject) const; - QStringList static_QFont_substitutions(); - void static_QFont_cleanup(); - QFont::StyleHint styleHint(QFont* theWrappedObject) const; - void setFamily(QFont* theWrappedObject, const QString& arg__1); - QString lastResortFamily(QFont* theWrappedObject) const; - void resolve(QFont* theWrappedObject, uint mask); - void setPixelSize(QFont* theWrappedObject, int arg__1); - void setWeight(QFont* theWrappedObject, int arg__1); - QFont::SpacingType letterSpacingType(QFont* theWrappedObject) const; - void setPointSize(QFont* theWrappedObject, int arg__1); - bool isCopyOf(QFont* theWrappedObject, const QFont& arg__1) const; - QString lastResortFont(QFont* theWrappedObject) const; - bool exactMatch(QFont* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QFONT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFontComboBox.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFontComboBox.cpp deleted file mode 100644 index ddc90a2..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFontComboBox.cpp +++ /dev/null @@ -1,848 +0,0 @@ -#include "PythonQtWrapper_QFontComboBox.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QFontComboBox::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QFontComboBox::actionEvent(arg__1); -} -void PythonQtShell_QFontComboBox::changeEvent(QEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QFontComboBox::changeEvent(e); -} -void PythonQtShell_QFontComboBox::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; - } -} - QFontComboBox::childEvent(arg__1); -} -void PythonQtShell_QFontComboBox::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QFontComboBox::closeEvent(arg__1); -} -void PythonQtShell_QFontComboBox::contextMenuEvent(QContextMenuEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QFontComboBox::contextMenuEvent(e); -} -void PythonQtShell_QFontComboBox::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; - } -} - QFontComboBox::customEvent(arg__1); -} -int PythonQtShell_QFontComboBox::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFontComboBox::devType(); -} -void PythonQtShell_QFontComboBox::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QFontComboBox::dragEnterEvent(arg__1); -} -void PythonQtShell_QFontComboBox::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QFontComboBox::dragLeaveEvent(arg__1); -} -void PythonQtShell_QFontComboBox::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QFontComboBox::dragMoveEvent(arg__1); -} -void PythonQtShell_QFontComboBox::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QFontComboBox::dropEvent(arg__1); -} -void PythonQtShell_QFontComboBox::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QFontComboBox::enterEvent(arg__1); -} -bool PythonQtShell_QFontComboBox::event(QEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFontComboBox::event(e); -} -bool PythonQtShell_QFontComboBox::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFontComboBox::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QFontComboBox::focusInEvent(QFocusEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QFontComboBox::focusInEvent(e); -} -bool PythonQtShell_QFontComboBox::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFontComboBox::focusNextPrevChild(next); -} -void PythonQtShell_QFontComboBox::focusOutEvent(QFocusEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QFontComboBox::focusOutEvent(e); -} -int PythonQtShell_QFontComboBox::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFontComboBox::heightForWidth(arg__1); -} -void PythonQtShell_QFontComboBox::hideEvent(QHideEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QFontComboBox::hideEvent(e); -} -void PythonQtShell_QFontComboBox::hidePopup() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hidePopup"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QFontComboBox::hidePopup(); -} -void PythonQtShell_QFontComboBox::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QFontComboBox::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QFontComboBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFontComboBox::inputMethodQuery(arg__1); -} -void PythonQtShell_QFontComboBox::keyPressEvent(QKeyEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QFontComboBox::keyPressEvent(e); -} -void PythonQtShell_QFontComboBox::keyReleaseEvent(QKeyEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QFontComboBox::keyReleaseEvent(e); -} -void PythonQtShell_QFontComboBox::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QFontComboBox::languageChange(); -} -void PythonQtShell_QFontComboBox::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QFontComboBox::leaveEvent(arg__1); -} -int PythonQtShell_QFontComboBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFontComboBox::metric(arg__1); -} -void PythonQtShell_QFontComboBox::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QFontComboBox::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QFontComboBox::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QFontComboBox::mouseMoveEvent(arg__1); -} -void PythonQtShell_QFontComboBox::mousePressEvent(QMouseEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QFontComboBox::mousePressEvent(e); -} -void PythonQtShell_QFontComboBox::mouseReleaseEvent(QMouseEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QFontComboBox::mouseReleaseEvent(e); -} -void PythonQtShell_QFontComboBox::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QFontComboBox::moveEvent(arg__1); -} -QPaintEngine* PythonQtShell_QFontComboBox::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFontComboBox::paintEngine(); -} -void PythonQtShell_QFontComboBox::paintEvent(QPaintEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QFontComboBox::paintEvent(e); -} -void PythonQtShell_QFontComboBox::resizeEvent(QResizeEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QFontComboBox::resizeEvent(e); -} -void PythonQtShell_QFontComboBox::showEvent(QShowEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QFontComboBox::showEvent(e); -} -void PythonQtShell_QFontComboBox::showPopup() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showPopup"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QFontComboBox::showPopup(); -} -void PythonQtShell_QFontComboBox::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QFontComboBox::tabletEvent(arg__1); -} -void PythonQtShell_QFontComboBox::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; - } -} - QFontComboBox::timerEvent(arg__1); -} -void PythonQtShell_QFontComboBox::wheelEvent(QWheelEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QFontComboBox::wheelEvent(e); -} -QFontComboBox* PythonQtWrapper_QFontComboBox::new_QFontComboBox(QWidget* parent) -{ -return new PythonQtShell_QFontComboBox(parent); } - -QFont PythonQtWrapper_QFontComboBox::currentFont(QFontComboBox* theWrappedObject) const -{ - return ( theWrappedObject->currentFont()); -} - -QFontDatabase::WritingSystem PythonQtWrapper_QFontComboBox::writingSystem(QFontComboBox* theWrappedObject) const -{ - return ( theWrappedObject->writingSystem()); -} - -QFontComboBox::FontFilters PythonQtWrapper_QFontComboBox::fontFilters(QFontComboBox* theWrappedObject) const -{ - return ( theWrappedObject->fontFilters()); -} - -void PythonQtWrapper_QFontComboBox::setFontFilters(QFontComboBox* theWrappedObject, QFontComboBox::FontFilters filters) -{ - ( theWrappedObject->setFontFilters(filters)); -} - -bool PythonQtWrapper_QFontComboBox::event(QFontComboBox* theWrappedObject, QEvent* e) -{ - return ( ((PythonQtPublicPromoter_QFontComboBox*)theWrappedObject)->promoted_event(e)); -} - -void PythonQtWrapper_QFontComboBox::setWritingSystem(QFontComboBox* theWrappedObject, QFontDatabase::WritingSystem arg__1) -{ - ( theWrappedObject->setWritingSystem(arg__1)); -} - -QSize PythonQtWrapper_QFontComboBox::sizeHint(QFontComboBox* theWrappedObject) const -{ - return ( theWrappedObject->sizeHint()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFontComboBox.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFontComboBox.h deleted file mode 100644 index 18e5183..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFontComboBox.h +++ /dev/null @@ -1,119 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QFONTCOMBOBOX_H -#define PYTHONQTWRAPPER_QFONTCOMBOBOX_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QFontComboBox : public QFontComboBox -{ -public: - PythonQtShell_QFontComboBox(QWidget* parent = 0):QFontComboBox(parent),_wrapper(NULL) {}; - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* e); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* e); -virtual void customEvent(QEvent* arg__1); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* e); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* e); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* e); -virtual void hidePopup(); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* e); -virtual void keyReleaseEvent(QKeyEvent* e); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* e); -virtual void mouseReleaseEvent(QMouseEvent* e); -virtual void moveEvent(QMoveEvent* arg__1); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* e); -virtual void resizeEvent(QResizeEvent* e); -virtual void showEvent(QShowEvent* e); -virtual void showPopup(); -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* e); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QFontComboBox : public QFontComboBox -{ public: -inline bool promoted_event(QEvent* e) { return QFontComboBox::event(e); } -}; - -class PythonQtWrapper_QFontComboBox : public QObject -{ Q_OBJECT -public: -Q_ENUMS(FontFilter ) -Q_FLAGS(FontFilters ) -enum FontFilter{ - AllFonts = QFontComboBox::AllFonts, ScalableFonts = QFontComboBox::ScalableFonts, NonScalableFonts = QFontComboBox::NonScalableFonts, MonospacedFonts = QFontComboBox::MonospacedFonts, ProportionalFonts = QFontComboBox::ProportionalFonts}; -Q_DECLARE_FLAGS(FontFilters, FontFilter) -public slots: -QFontComboBox* new_QFontComboBox(QWidget* parent = 0); -void delete_QFontComboBox(QFontComboBox* obj) { delete obj; } - QFont currentFont(QFontComboBox* theWrappedObject) const; - QFontDatabase::WritingSystem writingSystem(QFontComboBox* theWrappedObject) const; - QFontComboBox::FontFilters fontFilters(QFontComboBox* theWrappedObject) const; - void setFontFilters(QFontComboBox* theWrappedObject, QFontComboBox::FontFilters filters); - bool event(QFontComboBox* theWrappedObject, QEvent* e); - void setWritingSystem(QFontComboBox* theWrappedObject, QFontDatabase::WritingSystem arg__1); - QSize sizeHint(QFontComboBox* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QFONTCOMBOBOX_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFontDialog.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFontDialog.cpp deleted file mode 100644 index cf517fc..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFontDialog.cpp +++ /dev/null @@ -1,53 +0,0 @@ -#include "PythonQtWrapper_QFontDialog.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QFont PythonQtWrapper_QFontDialog::static_QFontDialog_getFont(bool* ok, const QFont& def, QWidget* parent, const QString& caption) -{ - return (QFontDialog::getFont(ok, def, parent, caption)); -} - -void PythonQtWrapper_QFontDialog::changeEvent(QFontDialog* theWrappedObject, QEvent* e) -{ - ( ((PythonQtPublicPromoter_QFontDialog*)theWrappedObject)->promoted_changeEvent(e)); -} - -QFont PythonQtWrapper_QFontDialog::static_QFontDialog_getFont(bool* ok, QWidget* parent) -{ - return (QFontDialog::getFont(ok, parent)); -} - -QFont PythonQtWrapper_QFontDialog::static_QFontDialog_getFont(bool* ok, const QFont& def, QWidget* parent) -{ - return (QFontDialog::getFont(ok, def, parent)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFontDialog.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFontDialog.h deleted file mode 100644 index 9d034e0..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFontDialog.h +++ /dev/null @@ -1,52 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QFONTDIALOG_H -#define PYTHONQTWRAPPER_QFONTDIALOG_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtPublicPromoter_QFontDialog : public QFontDialog -{ public: -inline void promoted_changeEvent(QEvent* e) { QFontDialog::changeEvent(e); } -}; - -class PythonQtWrapper_QFontDialog : public QObject -{ Q_OBJECT -public: -public slots: - QFont static_QFontDialog_getFont(bool* ok, const QFont& def, QWidget* parent, const QString& caption); - void changeEvent(QFontDialog* theWrappedObject, QEvent* e); - QFont static_QFontDialog_getFont(bool* ok, QWidget* parent = 0); - QFont static_QFontDialog_getFont(bool* ok, const QFont& def, QWidget* parent = 0); -}; - -#endif // PYTHONQTWRAPPER_QFONTDIALOG_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFontInfo.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFontInfo.cpp deleted file mode 100644 index 9e4fb74..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFontInfo.cpp +++ /dev/null @@ -1,92 +0,0 @@ -#include "PythonQtWrapper_QFontInfo.h" - -#include -#include -#include -#include -#include -#include - -QFontInfo* PythonQtWrapper_QFontInfo::new_QFontInfo(const QFont& arg__1) -{ -return new QFontInfo(arg__1); } - -QFontInfo* PythonQtWrapper_QFontInfo::new_QFontInfo(const QFontInfo& arg__1) -{ -return new QFontInfo(arg__1); } - -int PythonQtWrapper_QFontInfo::pixelSize(QFontInfo* theWrappedObject) const -{ - return ( theWrappedObject->pixelSize()); -} - -QString PythonQtWrapper_QFontInfo::family(QFontInfo* theWrappedObject) const -{ - return ( theWrappedObject->family()); -} - -bool PythonQtWrapper_QFontInfo::italic(QFontInfo* theWrappedObject) const -{ - return ( theWrappedObject->italic()); -} - -int PythonQtWrapper_QFontInfo::pointSize(QFontInfo* theWrappedObject) const -{ - return ( theWrappedObject->pointSize()); -} - -int PythonQtWrapper_QFontInfo::weight(QFontInfo* theWrappedObject) const -{ - return ( theWrappedObject->weight()); -} - -qreal PythonQtWrapper_QFontInfo::pointSizeF(QFontInfo* theWrappedObject) const -{ - return ( theWrappedObject->pointSizeF()); -} - -bool PythonQtWrapper_QFontInfo::strikeOut(QFontInfo* theWrappedObject) const -{ - return ( theWrappedObject->strikeOut()); -} - -bool PythonQtWrapper_QFontInfo::underline(QFontInfo* theWrappedObject) const -{ - return ( theWrappedObject->underline()); -} - -QFont::Style PythonQtWrapper_QFontInfo::style(QFontInfo* theWrappedObject) const -{ - return ( theWrappedObject->style()); -} - -bool PythonQtWrapper_QFontInfo::fixedPitch(QFontInfo* theWrappedObject) const -{ - return ( theWrappedObject->fixedPitch()); -} - -QFont::StyleHint PythonQtWrapper_QFontInfo::styleHint(QFontInfo* theWrappedObject) const -{ - return ( theWrappedObject->styleHint()); -} - -bool PythonQtWrapper_QFontInfo::bold(QFontInfo* theWrappedObject) const -{ - return ( theWrappedObject->bold()); -} - -bool PythonQtWrapper_QFontInfo::overline(QFontInfo* theWrappedObject) const -{ - return ( theWrappedObject->overline()); -} - -bool PythonQtWrapper_QFontInfo::rawMode(QFontInfo* theWrappedObject) const -{ - return ( theWrappedObject->rawMode()); -} - -bool PythonQtWrapper_QFontInfo::exactMatch(QFontInfo* theWrappedObject) const -{ - return ( theWrappedObject->exactMatch()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFontInfo.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFontInfo.h deleted file mode 100644 index f90a7f8..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFontInfo.h +++ /dev/null @@ -1,37 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QFONTINFO_H -#define PYTHONQTWRAPPER_QFONTINFO_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtWrapper_QFontInfo : public QObject -{ Q_OBJECT -public: -public slots: -QFontInfo* new_QFontInfo(const QFont& arg__1); -QFontInfo* new_QFontInfo(const QFontInfo& arg__1); -void delete_QFontInfo(QFontInfo* obj) { delete obj; } - int pixelSize(QFontInfo* theWrappedObject) const; - QString family(QFontInfo* theWrappedObject) const; - bool italic(QFontInfo* theWrappedObject) const; - int pointSize(QFontInfo* theWrappedObject) const; - int weight(QFontInfo* theWrappedObject) const; - qreal pointSizeF(QFontInfo* theWrappedObject) const; - bool strikeOut(QFontInfo* theWrappedObject) const; - bool underline(QFontInfo* theWrappedObject) const; - QFont::Style style(QFontInfo* theWrappedObject) const; - bool fixedPitch(QFontInfo* theWrappedObject) const; - QFont::StyleHint styleHint(QFontInfo* theWrappedObject) const; - bool bold(QFontInfo* theWrappedObject) const; - bool overline(QFontInfo* theWrappedObject) const; - bool rawMode(QFontInfo* theWrappedObject) const; - bool exactMatch(QFontInfo* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QFONTINFO_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFontMetrics.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFontMetrics.cpp deleted file mode 100644 index 4e6d0c1..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFontMetrics.cpp +++ /dev/null @@ -1,154 +0,0 @@ -#include "PythonQtWrapper_QFontMetrics.h" - -#include -#include -#include -#include -#include -#include -#include -#include - -QFontMetrics* PythonQtWrapper_QFontMetrics::new_QFontMetrics(const QFont& arg__1) -{ -return new QFontMetrics(arg__1); } - -QFontMetrics* PythonQtWrapper_QFontMetrics::new_QFontMetrics(const QFont& arg__1, QPaintDevice* pd) -{ -return new QFontMetrics(arg__1, pd); } - -int PythonQtWrapper_QFontMetrics::leading(QFontMetrics* theWrappedObject) const -{ - return ( theWrappedObject->leading()); -} - -int PythonQtWrapper_QFontMetrics::maxWidth(QFontMetrics* theWrappedObject) const -{ - return ( theWrappedObject->maxWidth()); -} - -int PythonQtWrapper_QFontMetrics::underlinePos(QFontMetrics* theWrappedObject) const -{ - return ( theWrappedObject->underlinePos()); -} - -int PythonQtWrapper_QFontMetrics::xHeight(QFontMetrics* theWrappedObject) const -{ - return ( theWrappedObject->xHeight()); -} - -int PythonQtWrapper_QFontMetrics::width(QFontMetrics* theWrappedObject, const QString& arg__1, int len) const -{ - return ( theWrappedObject->width(arg__1, len)); -} - -int PythonQtWrapper_QFontMetrics::overlinePos(QFontMetrics* theWrappedObject) const -{ - return ( theWrappedObject->overlinePos()); -} - -int PythonQtWrapper_QFontMetrics::width(QFontMetrics* theWrappedObject, QChar arg__1) const -{ - return ( theWrappedObject->width(arg__1)); -} - -int PythonQtWrapper_QFontMetrics::minRightBearing(QFontMetrics* theWrappedObject) const -{ - return ( theWrappedObject->minRightBearing()); -} - -QString PythonQtWrapper_QFontMetrics::elidedText(QFontMetrics* theWrappedObject, const QString& text, Qt::TextElideMode mode, int width, int flags) const -{ - return ( theWrappedObject->elidedText(text, mode, width, flags)); -} - -QRect PythonQtWrapper_QFontMetrics::boundingRect(QFontMetrics* theWrappedObject, const QString& text) const -{ - return ( theWrappedObject->boundingRect(text)); -} - -QSize PythonQtWrapper_QFontMetrics::size(QFontMetrics* theWrappedObject, int flags, const QString& str, int tabstops, int* tabarray) const -{ - return ( theWrappedObject->size(flags, str, tabstops, tabarray)); -} - -QRect PythonQtWrapper_QFontMetrics::boundingRect(QFontMetrics* theWrappedObject, QChar arg__1) const -{ - return ( theWrappedObject->boundingRect(arg__1)); -} - -int PythonQtWrapper_QFontMetrics::height(QFontMetrics* theWrappedObject) const -{ - return ( theWrappedObject->height()); -} - -QRect PythonQtWrapper_QFontMetrics::tightBoundingRect(QFontMetrics* theWrappedObject, const QString& text) const -{ - return ( theWrappedObject->tightBoundingRect(text)); -} - -QRect PythonQtWrapper_QFontMetrics::boundingRect(QFontMetrics* theWrappedObject, const QRect& r, int flags, const QString& text, int tabstops, int* tabarray) const -{ - return ( theWrappedObject->boundingRect(r, flags, text, tabstops, tabarray)); -} - -QRect PythonQtWrapper_QFontMetrics::boundingRect(QFontMetrics* theWrappedObject, int x, int y, int w, int h, int flags, const QString& text, int tabstops, int* tabarray) const -{ - return ( theWrappedObject->boundingRect(x, y, w, h, flags, text, tabstops, tabarray)); -} - -bool PythonQtWrapper_QFontMetrics::inFont(QFontMetrics* theWrappedObject, QChar arg__1) const -{ - return ( theWrappedObject->inFont(arg__1)); -} - -int PythonQtWrapper_QFontMetrics::rightBearing(QFontMetrics* theWrappedObject, QChar arg__1) const -{ - return ( theWrappedObject->rightBearing(arg__1)); -} - -int PythonQtWrapper_QFontMetrics::strikeOutPos(QFontMetrics* theWrappedObject) const -{ - return ( theWrappedObject->strikeOutPos()); -} - -int PythonQtWrapper_QFontMetrics::averageCharWidth(QFontMetrics* theWrappedObject) const -{ - return ( theWrappedObject->averageCharWidth()); -} - -int PythonQtWrapper_QFontMetrics::descent(QFontMetrics* theWrappedObject) const -{ - return ( theWrappedObject->descent()); -} - -int PythonQtWrapper_QFontMetrics::ascent(QFontMetrics* theWrappedObject) const -{ - return ( theWrappedObject->ascent()); -} - -int PythonQtWrapper_QFontMetrics::charWidth(QFontMetrics* theWrappedObject, const QString& str, int pos) const -{ - return ( theWrappedObject->charWidth(str, pos)); -} - -int PythonQtWrapper_QFontMetrics::leftBearing(QFontMetrics* theWrappedObject, QChar arg__1) const -{ - return ( theWrappedObject->leftBearing(arg__1)); -} - -int PythonQtWrapper_QFontMetrics::lineWidth(QFontMetrics* theWrappedObject) const -{ - return ( theWrappedObject->lineWidth()); -} - -int PythonQtWrapper_QFontMetrics::minLeftBearing(QFontMetrics* theWrappedObject) const -{ - return ( theWrappedObject->minLeftBearing()); -} - -int PythonQtWrapper_QFontMetrics::lineSpacing(QFontMetrics* theWrappedObject) const -{ - return ( theWrappedObject->lineSpacing()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFontMetrics.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFontMetrics.h deleted file mode 100644 index 62edc3d..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFontMetrics.h +++ /dev/null @@ -1,51 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QFONTMETRICS_H -#define PYTHONQTWRAPPER_QFONTMETRICS_H - -#include -#include - -#include - -#include -#include -#include -#include -#include - -class PythonQtWrapper_QFontMetrics : public QObject -{ Q_OBJECT -public: -public slots: -QFontMetrics* new_QFontMetrics(const QFont& arg__1); -QFontMetrics* new_QFontMetrics(const QFont& arg__1, QPaintDevice* pd); -void delete_QFontMetrics(QFontMetrics* obj) { delete obj; } - int leading(QFontMetrics* theWrappedObject) const; - int maxWidth(QFontMetrics* theWrappedObject) const; - int underlinePos(QFontMetrics* theWrappedObject) const; - int xHeight(QFontMetrics* theWrappedObject) const; - int width(QFontMetrics* theWrappedObject, const QString& arg__1, int len = -1) const; - int overlinePos(QFontMetrics* theWrappedObject) const; - int width(QFontMetrics* theWrappedObject, QChar arg__1) const; - int minRightBearing(QFontMetrics* theWrappedObject) const; - QString elidedText(QFontMetrics* theWrappedObject, const QString& text, Qt::TextElideMode mode, int width, int flags = 0) const; - QRect boundingRect(QFontMetrics* theWrappedObject, const QString& text) const; - QSize size(QFontMetrics* theWrappedObject, int flags, const QString& str, int tabstops = 0, int* tabarray = 0) const; - QRect boundingRect(QFontMetrics* theWrappedObject, QChar arg__1) const; - int height(QFontMetrics* theWrappedObject) const; - QRect tightBoundingRect(QFontMetrics* theWrappedObject, const QString& text) const; - QRect boundingRect(QFontMetrics* theWrappedObject, const QRect& r, int flags, const QString& text, int tabstops = 0, int* tabarray = 0) const; - QRect boundingRect(QFontMetrics* theWrappedObject, int x, int y, int w, int h, int flags, const QString& text, int tabstops = 0, int* tabarray = 0) const; - bool inFont(QFontMetrics* theWrappedObject, QChar arg__1) const; - int rightBearing(QFontMetrics* theWrappedObject, QChar arg__1) const; - int strikeOutPos(QFontMetrics* theWrappedObject) const; - int averageCharWidth(QFontMetrics* theWrappedObject) const; - int descent(QFontMetrics* theWrappedObject) const; - int ascent(QFontMetrics* theWrappedObject) const; - int charWidth(QFontMetrics* theWrappedObject, const QString& str, int pos) const; - int leftBearing(QFontMetrics* theWrappedObject, QChar arg__1) const; - int lineWidth(QFontMetrics* theWrappedObject) const; - int minLeftBearing(QFontMetrics* theWrappedObject) const; - int lineSpacing(QFontMetrics* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QFONTMETRICS_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFontMetricsF.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFontMetricsF.cpp deleted file mode 100644 index 98f1579..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFontMetricsF.cpp +++ /dev/null @@ -1,144 +0,0 @@ -#include "PythonQtWrapper_QFontMetricsF.h" - -#include -#include -#include -#include -#include -#include -#include -#include - -QFontMetricsF* PythonQtWrapper_QFontMetricsF::new_QFontMetricsF(const QFont& arg__1) -{ -return new QFontMetricsF(arg__1); } - -QFontMetricsF* PythonQtWrapper_QFontMetricsF::new_QFontMetricsF(const QFont& arg__1, QPaintDevice* pd) -{ -return new QFontMetricsF(arg__1, pd); } - -qreal PythonQtWrapper_QFontMetricsF::lineWidth(QFontMetricsF* theWrappedObject) const -{ - return ( theWrappedObject->lineWidth()); -} - -qreal PythonQtWrapper_QFontMetricsF::underlinePos(QFontMetricsF* theWrappedObject) const -{ - return ( theWrappedObject->underlinePos()); -} - -QRectF PythonQtWrapper_QFontMetricsF::boundingRect(QFontMetricsF* theWrappedObject, const QString& string) const -{ - return ( theWrappedObject->boundingRect(string)); -} - -qreal PythonQtWrapper_QFontMetricsF::descent(QFontMetricsF* theWrappedObject) const -{ - return ( theWrappedObject->descent()); -} - -qreal PythonQtWrapper_QFontMetricsF::width(QFontMetricsF* theWrappedObject, QChar arg__1) const -{ - return ( theWrappedObject->width(arg__1)); -} - -QRectF PythonQtWrapper_QFontMetricsF::boundingRect(QFontMetricsF* theWrappedObject, QChar arg__1) const -{ - return ( theWrappedObject->boundingRect(arg__1)); -} - -qreal PythonQtWrapper_QFontMetricsF::overlinePos(QFontMetricsF* theWrappedObject) const -{ - return ( theWrappedObject->overlinePos()); -} - -qreal PythonQtWrapper_QFontMetricsF::strikeOutPos(QFontMetricsF* theWrappedObject) const -{ - return ( theWrappedObject->strikeOutPos()); -} - -qreal PythonQtWrapper_QFontMetricsF::rightBearing(QFontMetricsF* theWrappedObject, QChar arg__1) const -{ - return ( theWrappedObject->rightBearing(arg__1)); -} - -QRectF PythonQtWrapper_QFontMetricsF::boundingRect(QFontMetricsF* theWrappedObject, const QRectF& r, int flags, const QString& string, int tabstops, int* tabarray) const -{ - return ( theWrappedObject->boundingRect(r, flags, string, tabstops, tabarray)); -} - -bool PythonQtWrapper_QFontMetricsF::inFont(QFontMetricsF* theWrappedObject, QChar arg__1) const -{ - return ( theWrappedObject->inFont(arg__1)); -} - -qreal PythonQtWrapper_QFontMetricsF::leading(QFontMetricsF* theWrappedObject) const -{ - return ( theWrappedObject->leading()); -} - -qreal PythonQtWrapper_QFontMetricsF::lineSpacing(QFontMetricsF* theWrappedObject) const -{ - return ( theWrappedObject->lineSpacing()); -} - -qreal PythonQtWrapper_QFontMetricsF::height(QFontMetricsF* theWrappedObject) const -{ - return ( theWrappedObject->height()); -} - -qreal PythonQtWrapper_QFontMetricsF::leftBearing(QFontMetricsF* theWrappedObject, QChar arg__1) const -{ - return ( theWrappedObject->leftBearing(arg__1)); -} - -qreal PythonQtWrapper_QFontMetricsF::width(QFontMetricsF* theWrappedObject, const QString& string) const -{ - return ( theWrappedObject->width(string)); -} - -qreal PythonQtWrapper_QFontMetricsF::averageCharWidth(QFontMetricsF* theWrappedObject) const -{ - return ( theWrappedObject->averageCharWidth()); -} - -qreal PythonQtWrapper_QFontMetricsF::minLeftBearing(QFontMetricsF* theWrappedObject) const -{ - return ( theWrappedObject->minLeftBearing()); -} - -qreal PythonQtWrapper_QFontMetricsF::maxWidth(QFontMetricsF* theWrappedObject) const -{ - return ( theWrappedObject->maxWidth()); -} - -QRectF PythonQtWrapper_QFontMetricsF::tightBoundingRect(QFontMetricsF* theWrappedObject, const QString& text) const -{ - return ( theWrappedObject->tightBoundingRect(text)); -} - -QString PythonQtWrapper_QFontMetricsF::elidedText(QFontMetricsF* theWrappedObject, const QString& text, Qt::TextElideMode mode, qreal width, int flags) const -{ - return ( theWrappedObject->elidedText(text, mode, width, flags)); -} - -qreal PythonQtWrapper_QFontMetricsF::minRightBearing(QFontMetricsF* theWrappedObject) const -{ - return ( theWrappedObject->minRightBearing()); -} - -qreal PythonQtWrapper_QFontMetricsF::ascent(QFontMetricsF* theWrappedObject) const -{ - return ( theWrappedObject->ascent()); -} - -qreal PythonQtWrapper_QFontMetricsF::xHeight(QFontMetricsF* theWrappedObject) const -{ - return ( theWrappedObject->xHeight()); -} - -QSizeF PythonQtWrapper_QFontMetricsF::size(QFontMetricsF* theWrappedObject, int flags, const QString& str, int tabstops, int* tabarray) const -{ - return ( theWrappedObject->size(flags, str, tabstops, tabarray)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFontMetricsF.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFontMetricsF.h deleted file mode 100644 index e8485cd..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFontMetricsF.h +++ /dev/null @@ -1,49 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QFONTMETRICSF_H -#define PYTHONQTWRAPPER_QFONTMETRICSF_H - -#include -#include - -#include - -#include -#include -#include -#include -#include - -class PythonQtWrapper_QFontMetricsF : public QObject -{ Q_OBJECT -public: -public slots: -QFontMetricsF* new_QFontMetricsF(const QFont& arg__1); -QFontMetricsF* new_QFontMetricsF(const QFont& arg__1, QPaintDevice* pd); -void delete_QFontMetricsF(QFontMetricsF* obj) { delete obj; } - qreal lineWidth(QFontMetricsF* theWrappedObject) const; - qreal underlinePos(QFontMetricsF* theWrappedObject) const; - QRectF boundingRect(QFontMetricsF* theWrappedObject, const QString& string) const; - qreal descent(QFontMetricsF* theWrappedObject) const; - qreal width(QFontMetricsF* theWrappedObject, QChar arg__1) const; - QRectF boundingRect(QFontMetricsF* theWrappedObject, QChar arg__1) const; - qreal overlinePos(QFontMetricsF* theWrappedObject) const; - qreal strikeOutPos(QFontMetricsF* theWrappedObject) const; - qreal rightBearing(QFontMetricsF* theWrappedObject, QChar arg__1) const; - QRectF boundingRect(QFontMetricsF* theWrappedObject, const QRectF& r, int flags, const QString& string, int tabstops = 0, int* tabarray = 0) const; - bool inFont(QFontMetricsF* theWrappedObject, QChar arg__1) const; - qreal leading(QFontMetricsF* theWrappedObject) const; - qreal lineSpacing(QFontMetricsF* theWrappedObject) const; - qreal height(QFontMetricsF* theWrappedObject) const; - qreal leftBearing(QFontMetricsF* theWrappedObject, QChar arg__1) const; - qreal width(QFontMetricsF* theWrappedObject, const QString& string) const; - qreal averageCharWidth(QFontMetricsF* theWrappedObject) const; - qreal minLeftBearing(QFontMetricsF* theWrappedObject) const; - qreal maxWidth(QFontMetricsF* theWrappedObject) const; - QRectF tightBoundingRect(QFontMetricsF* theWrappedObject, const QString& text) const; - QString elidedText(QFontMetricsF* theWrappedObject, const QString& text, Qt::TextElideMode mode, qreal width, int flags = 0) const; - qreal minRightBearing(QFontMetricsF* theWrappedObject) const; - qreal ascent(QFontMetricsF* theWrappedObject) const; - qreal xHeight(QFontMetricsF* theWrappedObject) const; - QSizeF size(QFontMetricsF* theWrappedObject, int flags, const QString& str, int tabstops = 0, int* tabarray = 0) const; -}; - -#endif // PYTHONQTWRAPPER_QFONTMETRICSF_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFormLayout.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFormLayout.cpp deleted file mode 100644 index 672e24f..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFormLayout.cpp +++ /dev/null @@ -1,693 +0,0 @@ -#include "PythonQtWrapper_QFormLayout.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QFormLayout::addItem(QLayoutItem* item) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "addItem"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QLayoutItem*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&item}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QFormLayout::addItem(item); -} -void PythonQtShell_QFormLayout::childEvent(QChildEvent* e) -{ -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*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QFormLayout::childEvent(e); -} -int PythonQtShell_QFormLayout::count() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "count"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFormLayout::count(); -} -void PythonQtShell_QFormLayout::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; - } -} - QFormLayout::customEvent(arg__1); -} -bool PythonQtShell_QFormLayout::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFormLayout::event(arg__1); -} -bool PythonQtShell_QFormLayout::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFormLayout::eventFilter(arg__1, arg__2); -} -Qt::Orientations PythonQtShell_QFormLayout::expandingDirections() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "expandingDirections"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"Qt::Orientations"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::Orientations returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); - } else { - returnValue = *((Qt::Orientations*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFormLayout::expandingDirections(); -} -QRect PythonQtShell_QFormLayout::geometry() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "geometry"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QRect"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRect returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFormLayout::geometry(); -} -int PythonQtShell_QFormLayout::indexOf(QWidget* arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "indexOf"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("indexOf", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFormLayout::indexOf(arg__1); -} -void PythonQtShell_QFormLayout::invalidate() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "invalidate"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QFormLayout::invalidate(); -} -bool PythonQtShell_QFormLayout::isEmpty() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isEmpty"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFormLayout::isEmpty(); -} -QLayoutItem* PythonQtShell_QFormLayout::itemAt(int index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemAt"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QLayoutItem*" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QLayoutItem* 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) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); - } else { - returnValue = *((QLayoutItem**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFormLayout::itemAt(index); -} -QLayout* PythonQtShell_QFormLayout::layout() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "layout"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QLayout*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QLayout* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("layout", methodInfo, result); - } else { - returnValue = *((QLayout**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFormLayout::layout(); -} -QSize PythonQtShell_QFormLayout::maximumSize() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "maximumSize"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFormLayout::maximumSize(); -} -QSize PythonQtShell_QFormLayout::minimumSize() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "minimumSize"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFormLayout::minimumSize(); -} -void PythonQtShell_QFormLayout::setGeometry(const QRect& rect) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setGeometry"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QRect&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&rect}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QFormLayout::setGeometry(rect); -} -QLayoutItem* PythonQtShell_QFormLayout::takeAt(int index) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "takeAt"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QLayoutItem*" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QLayoutItem* 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) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("takeAt", methodInfo, result); - } else { - returnValue = *((QLayoutItem**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFormLayout::takeAt(index); -} -void PythonQtShell_QFormLayout::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; - } -} - QFormLayout::timerEvent(arg__1); -} -QFormLayout* PythonQtWrapper_QFormLayout::new_QFormLayout(QWidget* parent) -{ -return new PythonQtShell_QFormLayout(parent); } - -void PythonQtWrapper_QFormLayout::addItem(QFormLayout* theWrappedObject, QLayoutItem* item) -{ - ( ((PythonQtPublicPromoter_QFormLayout*)theWrappedObject)->promoted_addItem(item)); -} - -void PythonQtWrapper_QFormLayout::addRow(QFormLayout* theWrappedObject, QWidget* label, QWidget* field) -{ - ( theWrappedObject->addRow(label, field)); -} - -int PythonQtWrapper_QFormLayout::heightForWidth(QFormLayout* theWrappedObject, int width) const -{ - return ( theWrappedObject->heightForWidth(width)); -} - -int PythonQtWrapper_QFormLayout::rowCount(QFormLayout* theWrappedObject) const -{ - return ( theWrappedObject->rowCount()); -} - -void PythonQtWrapper_QFormLayout::setSpacing(QFormLayout* theWrappedObject, int arg__1) -{ - ( theWrappedObject->setSpacing(arg__1)); -} - -void PythonQtWrapper_QFormLayout::getWidgetPosition(QFormLayout* theWrappedObject, QWidget* widget, int* rowPtr, QFormLayout::ItemRole* rolePtr) const -{ - ( theWrappedObject->getWidgetPosition(widget, rowPtr, rolePtr)); -} - -void PythonQtWrapper_QFormLayout::addRow(QFormLayout* theWrappedObject, const QString& labelText, QWidget* field) -{ - ( theWrappedObject->addRow(labelText, field)); -} - -void PythonQtWrapper_QFormLayout::setVerticalSpacing(QFormLayout* theWrappedObject, int spacing) -{ - ( theWrappedObject->setVerticalSpacing(spacing)); -} - -void PythonQtWrapper_QFormLayout::addRow(QFormLayout* theWrappedObject, QWidget* label, QLayout* field) -{ - ( theWrappedObject->addRow(label, field)); -} - -QWidget* PythonQtWrapper_QFormLayout::labelForField(QFormLayout* theWrappedObject, QWidget* field) const -{ - return ( theWrappedObject->labelForField(field)); -} - -void PythonQtWrapper_QFormLayout::addRow(QFormLayout* theWrappedObject, QLayout* layout) -{ - ( theWrappedObject->addRow(layout)); -} - -QWidget* PythonQtWrapper_QFormLayout::labelForField(QFormLayout* theWrappedObject, QLayout* field) const -{ - return ( theWrappedObject->labelForField(field)); -} - -void PythonQtWrapper_QFormLayout::setHorizontalSpacing(QFormLayout* theWrappedObject, int spacing) -{ - ( theWrappedObject->setHorizontalSpacing(spacing)); -} - -Qt::Alignment PythonQtWrapper_QFormLayout::formAlignment(QFormLayout* theWrappedObject) const -{ - return ( theWrappedObject->formAlignment()); -} - -void PythonQtWrapper_QFormLayout::setItem(QFormLayout* theWrappedObject, int row, QFormLayout::ItemRole role, QLayoutItem* item) -{ - ( theWrappedObject->setItem(row, role, item)); -} - -void PythonQtWrapper_QFormLayout::setRowWrapPolicy(QFormLayout* theWrappedObject, QFormLayout::RowWrapPolicy policy) -{ - ( theWrappedObject->setRowWrapPolicy(policy)); -} - -int PythonQtWrapper_QFormLayout::horizontalSpacing(QFormLayout* theWrappedObject) const -{ - return ( theWrappedObject->horizontalSpacing()); -} - -void PythonQtWrapper_QFormLayout::insertRow(QFormLayout* theWrappedObject, int row, QWidget* label, QLayout* field) -{ - ( theWrappedObject->insertRow(row, label, field)); -} - -Qt::Alignment PythonQtWrapper_QFormLayout::labelAlignment(QFormLayout* theWrappedObject) const -{ - return ( theWrappedObject->labelAlignment()); -} - -void PythonQtWrapper_QFormLayout::addRow(QFormLayout* theWrappedObject, QWidget* widget) -{ - ( theWrappedObject->addRow(widget)); -} - -void PythonQtWrapper_QFormLayout::invalidate(QFormLayout* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QFormLayout*)theWrappedObject)->promoted_invalidate()); -} - -void PythonQtWrapper_QFormLayout::setWidget(QFormLayout* theWrappedObject, int row, QFormLayout::ItemRole role, QWidget* widget) -{ - ( theWrappedObject->setWidget(row, role, widget)); -} - -void PythonQtWrapper_QFormLayout::getLayoutPosition(QFormLayout* theWrappedObject, QLayout* layout, int* rowPtr, QFormLayout::ItemRole* rolePtr) const -{ - ( theWrappedObject->getLayoutPosition(layout, rowPtr, rolePtr)); -} - -QLayoutItem* PythonQtWrapper_QFormLayout::takeAt(QFormLayout* theWrappedObject, int index) -{ - return ( ((PythonQtPublicPromoter_QFormLayout*)theWrappedObject)->promoted_takeAt(index)); -} - -Qt::Orientations PythonQtWrapper_QFormLayout::expandingDirections(QFormLayout* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QFormLayout*)theWrappedObject)->promoted_expandingDirections()); -} - -void PythonQtWrapper_QFormLayout::getItemPosition(QFormLayout* theWrappedObject, int index, int* rowPtr, QFormLayout::ItemRole* rolePtr) const -{ - ( theWrappedObject->getItemPosition(index, rowPtr, rolePtr)); -} - -int PythonQtWrapper_QFormLayout::count(QFormLayout* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QFormLayout*)theWrappedObject)->promoted_count()); -} - -QLayoutItem* PythonQtWrapper_QFormLayout::itemAt(QFormLayout* theWrappedObject, int row, QFormLayout::ItemRole role) const -{ - return ( theWrappedObject->itemAt(row, role)); -} - -QFormLayout::RowWrapPolicy PythonQtWrapper_QFormLayout::rowWrapPolicy(QFormLayout* theWrappedObject) const -{ - return ( theWrappedObject->rowWrapPolicy()); -} - -void PythonQtWrapper_QFormLayout::insertRow(QFormLayout* theWrappedObject, int row, const QString& labelText, QWidget* field) -{ - ( theWrappedObject->insertRow(row, labelText, field)); -} - -QSize PythonQtWrapper_QFormLayout::sizeHint(QFormLayout* theWrappedObject) const -{ - return ( theWrappedObject->sizeHint()); -} - -void PythonQtWrapper_QFormLayout::addRow(QFormLayout* theWrappedObject, const QString& labelText, QLayout* field) -{ - ( theWrappedObject->addRow(labelText, field)); -} - -void PythonQtWrapper_QFormLayout::setLayout(QFormLayout* theWrappedObject, int row, QFormLayout::ItemRole role, QLayout* layout) -{ - ( theWrappedObject->setLayout(row, role, layout)); -} - -void PythonQtWrapper_QFormLayout::setLabelAlignment(QFormLayout* theWrappedObject, Qt::Alignment alignment) -{ - ( theWrappedObject->setLabelAlignment(alignment)); -} - -QFormLayout::FieldGrowthPolicy PythonQtWrapper_QFormLayout::fieldGrowthPolicy(QFormLayout* theWrappedObject) const -{ - return ( theWrappedObject->fieldGrowthPolicy()); -} - -bool PythonQtWrapper_QFormLayout::hasHeightForWidth(QFormLayout* theWrappedObject) const -{ - return ( theWrappedObject->hasHeightForWidth()); -} - -void PythonQtWrapper_QFormLayout::insertRow(QFormLayout* theWrappedObject, int row, QWidget* widget) -{ - ( theWrappedObject->insertRow(row, widget)); -} - -void PythonQtWrapper_QFormLayout::insertRow(QFormLayout* theWrappedObject, int row, QWidget* label, QWidget* field) -{ - ( theWrappedObject->insertRow(row, label, field)); -} - -QSize PythonQtWrapper_QFormLayout::minimumSize(QFormLayout* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QFormLayout*)theWrappedObject)->promoted_minimumSize()); -} - -int PythonQtWrapper_QFormLayout::spacing(QFormLayout* theWrappedObject) const -{ - return ( theWrappedObject->spacing()); -} - -void PythonQtWrapper_QFormLayout::setFieldGrowthPolicy(QFormLayout* theWrappedObject, QFormLayout::FieldGrowthPolicy policy) -{ - ( theWrappedObject->setFieldGrowthPolicy(policy)); -} - -void PythonQtWrapper_QFormLayout::setFormAlignment(QFormLayout* theWrappedObject, Qt::Alignment alignment) -{ - ( theWrappedObject->setFormAlignment(alignment)); -} - -void PythonQtWrapper_QFormLayout::insertRow(QFormLayout* theWrappedObject, int row, QLayout* layout) -{ - ( theWrappedObject->insertRow(row, layout)); -} - -QLayoutItem* PythonQtWrapper_QFormLayout::itemAt(QFormLayout* theWrappedObject, int index) const -{ - return ( ((PythonQtPublicPromoter_QFormLayout*)theWrappedObject)->promoted_itemAt(index)); -} - -void PythonQtWrapper_QFormLayout::setGeometry(QFormLayout* theWrappedObject, const QRect& rect) -{ - ( ((PythonQtPublicPromoter_QFormLayout*)theWrappedObject)->promoted_setGeometry(rect)); -} - -void PythonQtWrapper_QFormLayout::insertRow(QFormLayout* theWrappedObject, int row, const QString& labelText, QLayout* field) -{ - ( theWrappedObject->insertRow(row, labelText, field)); -} - -int PythonQtWrapper_QFormLayout::verticalSpacing(QFormLayout* theWrappedObject) const -{ - return ( theWrappedObject->verticalSpacing()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFormLayout.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFormLayout.h deleted file mode 100644 index 2c930c3..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFormLayout.h +++ /dev/null @@ -1,114 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QFORMLAYOUT_H -#define PYTHONQTWRAPPER_QFORMLAYOUT_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QFormLayout : public QFormLayout -{ -public: - PythonQtShell_QFormLayout(QWidget* parent = 0):QFormLayout(parent),_wrapper(NULL) {}; - -virtual void addItem(QLayoutItem* item); -virtual void childEvent(QChildEvent* e); -virtual int count() const; -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual Qt::Orientations expandingDirections() const; -virtual QRect geometry() const; -virtual int indexOf(QWidget* arg__1) const; -virtual void invalidate(); -virtual bool isEmpty() const; -virtual QLayoutItem* itemAt(int index) const; -virtual QLayout* layout(); -virtual QSize maximumSize() const; -virtual QSize minimumSize() const; -virtual void setGeometry(const QRect& rect); -virtual QLayoutItem* takeAt(int index); -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QFormLayout : public QFormLayout -{ public: -inline void promoted_addItem(QLayoutItem* item) { QFormLayout::addItem(item); } -inline void promoted_invalidate() { QFormLayout::invalidate(); } -inline QLayoutItem* promoted_takeAt(int index) { return QFormLayout::takeAt(index); } -inline Qt::Orientations promoted_expandingDirections() const { return QFormLayout::expandingDirections(); } -inline int promoted_count() const { return QFormLayout::count(); } -inline QSize promoted_minimumSize() const { return QFormLayout::minimumSize(); } -inline QLayoutItem* promoted_itemAt(int index) const { return QFormLayout::itemAt(index); } -inline void promoted_setGeometry(const QRect& rect) { QFormLayout::setGeometry(rect); } -}; - -class PythonQtWrapper_QFormLayout : public QObject -{ Q_OBJECT -public: -public slots: -QFormLayout* new_QFormLayout(QWidget* parent = 0); -void delete_QFormLayout(QFormLayout* obj) { delete obj; } - void addItem(QFormLayout* theWrappedObject, QLayoutItem* item); - void addRow(QFormLayout* theWrappedObject, QWidget* label, QWidget* field); - int heightForWidth(QFormLayout* theWrappedObject, int width) const; - int rowCount(QFormLayout* theWrappedObject) const; - void setSpacing(QFormLayout* theWrappedObject, int arg__1); - void getWidgetPosition(QFormLayout* theWrappedObject, QWidget* widget, int* rowPtr, QFormLayout::ItemRole* rolePtr) const; - void addRow(QFormLayout* theWrappedObject, const QString& labelText, QWidget* field); - void setVerticalSpacing(QFormLayout* theWrappedObject, int spacing); - void addRow(QFormLayout* theWrappedObject, QWidget* label, QLayout* field); - QWidget* labelForField(QFormLayout* theWrappedObject, QWidget* field) const; - void addRow(QFormLayout* theWrappedObject, QLayout* layout); - QWidget* labelForField(QFormLayout* theWrappedObject, QLayout* field) const; - void setHorizontalSpacing(QFormLayout* theWrappedObject, int spacing); - Qt::Alignment formAlignment(QFormLayout* theWrappedObject) const; - void setItem(QFormLayout* theWrappedObject, int row, QFormLayout::ItemRole role, QLayoutItem* item); - void setRowWrapPolicy(QFormLayout* theWrappedObject, QFormLayout::RowWrapPolicy policy); - int horizontalSpacing(QFormLayout* theWrappedObject) const; - void insertRow(QFormLayout* theWrappedObject, int row, QWidget* label, QLayout* field); - Qt::Alignment labelAlignment(QFormLayout* theWrappedObject) const; - void addRow(QFormLayout* theWrappedObject, QWidget* widget); - void invalidate(QFormLayout* theWrappedObject); - void setWidget(QFormLayout* theWrappedObject, int row, QFormLayout::ItemRole role, QWidget* widget); - void getLayoutPosition(QFormLayout* theWrappedObject, QLayout* layout, int* rowPtr, QFormLayout::ItemRole* rolePtr) const; - QLayoutItem* takeAt(QFormLayout* theWrappedObject, int index); - Qt::Orientations expandingDirections(QFormLayout* theWrappedObject) const; - void getItemPosition(QFormLayout* theWrappedObject, int index, int* rowPtr, QFormLayout::ItemRole* rolePtr) const; - int count(QFormLayout* theWrappedObject) const; - QLayoutItem* itemAt(QFormLayout* theWrappedObject, int row, QFormLayout::ItemRole role) const; - QFormLayout::RowWrapPolicy rowWrapPolicy(QFormLayout* theWrappedObject) const; - void insertRow(QFormLayout* theWrappedObject, int row, const QString& labelText, QWidget* field); - QSize sizeHint(QFormLayout* theWrappedObject) const; - void addRow(QFormLayout* theWrappedObject, const QString& labelText, QLayout* field); - void setLayout(QFormLayout* theWrappedObject, int row, QFormLayout::ItemRole role, QLayout* layout); - void setLabelAlignment(QFormLayout* theWrappedObject, Qt::Alignment alignment); - QFormLayout::FieldGrowthPolicy fieldGrowthPolicy(QFormLayout* theWrappedObject) const; - bool hasHeightForWidth(QFormLayout* theWrappedObject) const; - void insertRow(QFormLayout* theWrappedObject, int row, QWidget* widget); - void insertRow(QFormLayout* theWrappedObject, int row, QWidget* label, QWidget* field); - QSize minimumSize(QFormLayout* theWrappedObject) const; - int spacing(QFormLayout* theWrappedObject) const; - void setFieldGrowthPolicy(QFormLayout* theWrappedObject, QFormLayout::FieldGrowthPolicy policy); - void setFormAlignment(QFormLayout* theWrappedObject, Qt::Alignment alignment); - void insertRow(QFormLayout* theWrappedObject, int row, QLayout* layout); - QLayoutItem* itemAt(QFormLayout* theWrappedObject, int index) const; - void setGeometry(QFormLayout* theWrappedObject, const QRect& rect); - void insertRow(QFormLayout* theWrappedObject, int row, const QString& labelText, QLayout* field); - int verticalSpacing(QFormLayout* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QFORMLAYOUT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFrame.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFrame.cpp deleted file mode 100644 index 690f274..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFrame.cpp +++ /dev/null @@ -1,884 +0,0 @@ -#include "PythonQtWrapper_QFrame.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QFrame::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QFrame::actionEvent(arg__1); -} -void PythonQtShell_QFrame::changeEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QFrame::changeEvent(arg__1); -} -void PythonQtShell_QFrame::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; - } -} - QFrame::childEvent(arg__1); -} -void PythonQtShell_QFrame::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QFrame::closeEvent(arg__1); -} -void PythonQtShell_QFrame::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QFrame::contextMenuEvent(arg__1); -} -void PythonQtShell_QFrame::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; - } -} - QFrame::customEvent(arg__1); -} -int PythonQtShell_QFrame::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFrame::devType(); -} -void PythonQtShell_QFrame::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QFrame::dragEnterEvent(arg__1); -} -void PythonQtShell_QFrame::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QFrame::dragLeaveEvent(arg__1); -} -void PythonQtShell_QFrame::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QFrame::dragMoveEvent(arg__1); -} -void PythonQtShell_QFrame::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QFrame::dropEvent(arg__1); -} -void PythonQtShell_QFrame::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QFrame::enterEvent(arg__1); -} -bool PythonQtShell_QFrame::event(QEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFrame::event(e); -} -bool PythonQtShell_QFrame::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFrame::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QFrame::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QFrame::focusInEvent(arg__1); -} -bool PythonQtShell_QFrame::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFrame::focusNextPrevChild(next); -} -void PythonQtShell_QFrame::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QFrame::focusOutEvent(arg__1); -} -int PythonQtShell_QFrame::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFrame::heightForWidth(arg__1); -} -void PythonQtShell_QFrame::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QFrame::hideEvent(arg__1); -} -void PythonQtShell_QFrame::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QFrame::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QFrame::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFrame::inputMethodQuery(arg__1); -} -void PythonQtShell_QFrame::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QFrame::keyPressEvent(arg__1); -} -void PythonQtShell_QFrame::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QFrame::keyReleaseEvent(arg__1); -} -void PythonQtShell_QFrame::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QFrame::languageChange(); -} -void PythonQtShell_QFrame::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QFrame::leaveEvent(arg__1); -} -int PythonQtShell_QFrame::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFrame::metric(arg__1); -} -QSize PythonQtShell_QFrame::minimumSizeHint() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFrame::minimumSizeHint(); -} -void PythonQtShell_QFrame::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QFrame::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QFrame::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QFrame::mouseMoveEvent(arg__1); -} -void PythonQtShell_QFrame::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QFrame::mousePressEvent(arg__1); -} -void PythonQtShell_QFrame::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QFrame::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QFrame::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QFrame::moveEvent(arg__1); -} -QPaintEngine* PythonQtShell_QFrame::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFrame::paintEngine(); -} -void PythonQtShell_QFrame::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - 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; - } -} - QFrame::paintEvent(arg__1); -} -void PythonQtShell_QFrame::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - 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; - } -} - QFrame::resizeEvent(arg__1); -} -void PythonQtShell_QFrame::showEvent(QShowEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QFrame::showEvent(arg__1); -} -void PythonQtShell_QFrame::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QFrame::tabletEvent(arg__1); -} -void PythonQtShell_QFrame::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; - } -} - QFrame::timerEvent(arg__1); -} -void PythonQtShell_QFrame::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QFrame::wheelEvent(arg__1); -} -QFrame* PythonQtWrapper_QFrame::new_QFrame(QWidget* parent, Qt::WindowFlags f) -{ -return new PythonQtShell_QFrame(parent, f); } - -void PythonQtWrapper_QFrame::setFrameShape(QFrame* theWrappedObject, QFrame::Shape arg__1) -{ - ( theWrappedObject->setFrameShape(arg__1)); -} - -int PythonQtWrapper_QFrame::lineWidth(QFrame* theWrappedObject) const -{ - return ( theWrappedObject->lineWidth()); -} - -void PythonQtWrapper_QFrame::setFrameRect(QFrame* theWrappedObject, const QRect& arg__1) -{ - ( theWrappedObject->setFrameRect(arg__1)); -} - -QRect PythonQtWrapper_QFrame::frameRect(QFrame* theWrappedObject) const -{ - return ( theWrappedObject->frameRect()); -} - -void PythonQtWrapper_QFrame::changeEvent(QFrame* theWrappedObject, QEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QFrame*)theWrappedObject)->promoted_changeEvent(arg__1)); -} - -QFrame::Shadow PythonQtWrapper_QFrame::frameShadow(QFrame* theWrappedObject) const -{ - return ( theWrappedObject->frameShadow()); -} - -void PythonQtWrapper_QFrame::paintEvent(QFrame* theWrappedObject, QPaintEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QFrame*)theWrappedObject)->promoted_paintEvent(arg__1)); -} - -QSize PythonQtWrapper_QFrame::sizeHint(QFrame* theWrappedObject) const -{ - return ( theWrappedObject->sizeHint()); -} - -int PythonQtWrapper_QFrame::frameStyle(QFrame* theWrappedObject) const -{ - return ( theWrappedObject->frameStyle()); -} - -QFrame::Shape PythonQtWrapper_QFrame::frameShape(QFrame* theWrappedObject) const -{ - return ( theWrappedObject->frameShape()); -} - -void PythonQtWrapper_QFrame::setMidLineWidth(QFrame* theWrappedObject, int arg__1) -{ - ( theWrappedObject->setMidLineWidth(arg__1)); -} - -int PythonQtWrapper_QFrame::frameWidth(QFrame* theWrappedObject) const -{ - return ( theWrappedObject->frameWidth()); -} - -void PythonQtWrapper_QFrame::setLineWidth(QFrame* theWrappedObject, int arg__1) -{ - ( theWrappedObject->setLineWidth(arg__1)); -} - -int PythonQtWrapper_QFrame::midLineWidth(QFrame* theWrappedObject) const -{ - return ( theWrappedObject->midLineWidth()); -} - -void PythonQtWrapper_QFrame::setFrameShadow(QFrame* theWrappedObject, QFrame::Shadow arg__1) -{ - ( theWrappedObject->setFrameShadow(arg__1)); -} - -void PythonQtWrapper_QFrame::setFrameStyle(QFrame* theWrappedObject, int arg__1) -{ - ( theWrappedObject->setFrameStyle(arg__1)); -} - -bool PythonQtWrapper_QFrame::event(QFrame* theWrappedObject, QEvent* e) -{ - return ( ((PythonQtPublicPromoter_QFrame*)theWrappedObject)->promoted_event(e)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFrame.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFrame.h deleted file mode 100644 index 92fd021..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFrame.h +++ /dev/null @@ -1,120 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QFRAME_H -#define PYTHONQTWRAPPER_QFRAME_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QFrame : public QFrame -{ -public: - PythonQtShell_QFrame(QWidget* parent = 0, Qt::WindowFlags f = 0):QFrame(parent, f),_wrapper(NULL) {}; - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* arg__1); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void showEvent(QShowEvent* arg__1); -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QFrame : public QFrame -{ public: -inline void promoted_changeEvent(QEvent* arg__1) { QFrame::changeEvent(arg__1); } -inline void promoted_paintEvent(QPaintEvent* arg__1) { QFrame::paintEvent(arg__1); } -inline bool promoted_event(QEvent* e) { return QFrame::event(e); } -}; - -class PythonQtWrapper_QFrame : public QObject -{ Q_OBJECT -public: -Q_ENUMS(StyleMask ) -enum StyleMask{ - Shadow_Mask = QFrame::Shadow_Mask, Shape_Mask = QFrame::Shape_Mask}; -public slots: -QFrame* new_QFrame(QWidget* parent = 0, Qt::WindowFlags f = 0); -void delete_QFrame(QFrame* obj) { delete obj; } - void setFrameShape(QFrame* theWrappedObject, QFrame::Shape arg__1); - int lineWidth(QFrame* theWrappedObject) const; - void setFrameRect(QFrame* theWrappedObject, const QRect& arg__1); - QRect frameRect(QFrame* theWrappedObject) const; - void changeEvent(QFrame* theWrappedObject, QEvent* arg__1); - QFrame::Shadow frameShadow(QFrame* theWrappedObject) const; - void paintEvent(QFrame* theWrappedObject, QPaintEvent* arg__1); - QSize sizeHint(QFrame* theWrappedObject) const; - int frameStyle(QFrame* theWrappedObject) const; - QFrame::Shape frameShape(QFrame* theWrappedObject) const; - void setMidLineWidth(QFrame* theWrappedObject, int arg__1); - int frameWidth(QFrame* theWrappedObject) const; - void setLineWidth(QFrame* theWrappedObject, int arg__1); - int midLineWidth(QFrame* theWrappedObject) const; - void setFrameShadow(QFrame* theWrappedObject, QFrame::Shadow arg__1); - void setFrameStyle(QFrame* theWrappedObject, int arg__1); - bool event(QFrame* theWrappedObject, QEvent* e); -}; - -#endif // PYTHONQTWRAPPER_QFRAME_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGradient.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGradient.cpp deleted file mode 100644 index f5d02c6..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGradient.cpp +++ /dev/null @@ -1,60 +0,0 @@ -#include "PythonQtWrapper_QGradient.h" - -#include -#include -#include -#include -#include -#include -#include -#include - -QGradient* PythonQtWrapper_QGradient::new_QGradient() -{ -return new QGradient(); } - -QVector > PythonQtWrapper_QGradient::stops(QGradient* theWrappedObject) const -{ - return ( theWrappedObject->stops()); -} - -QGradient::CoordinateMode PythonQtWrapper_QGradient::coordinateMode(QGradient* theWrappedObject) const -{ - return ( theWrappedObject->coordinateMode()); -} - -QGradient::Spread PythonQtWrapper_QGradient::spread(QGradient* theWrappedObject) const -{ - return ( theWrappedObject->spread()); -} - -void PythonQtWrapper_QGradient::setColorAt(QGradient* theWrappedObject, qreal pos, const QColor& color) -{ - ( theWrappedObject->setColorAt(pos, color)); -} - -void PythonQtWrapper_QGradient::setSpread(QGradient* theWrappedObject, QGradient::Spread spread) -{ - ( theWrappedObject->setSpread(spread)); -} - -QGradient::Type PythonQtWrapper_QGradient::type(QGradient* theWrappedObject) const -{ - return ( theWrappedObject->type()); -} - -void PythonQtWrapper_QGradient::setCoordinateMode(QGradient* theWrappedObject, QGradient::CoordinateMode mode) -{ - ( theWrappedObject->setCoordinateMode(mode)); -} - -void PythonQtWrapper_QGradient::setStops(QGradient* theWrappedObject, const QVector >& stops) -{ - ( theWrappedObject->setStops(stops)); -} - -bool PythonQtWrapper_QGradient::operator_equal(QGradient* theWrappedObject, const QGradient& gradient) const -{ - return ( (*theWrappedObject)== gradient); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGradient.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGradient.h deleted file mode 100644 index ef65aa3..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGradient.h +++ /dev/null @@ -1,43 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QGRADIENT_H -#define PYTHONQTWRAPPER_QGRADIENT_H - -#include -#include - -#include - -#include -#include -#include -#include -#include - -class PythonQtWrapper_QGradient : public QObject -{ Q_OBJECT -public: -Q_ENUMS(CoordinateMode Spread Type ) -enum CoordinateMode{ - LogicalMode = QGradient::LogicalMode, StretchToDeviceMode = QGradient::StretchToDeviceMode, ObjectBoundingMode = QGradient::ObjectBoundingMode}; -enum Spread{ - PadSpread = QGradient::PadSpread, ReflectSpread = QGradient::ReflectSpread, RepeatSpread = QGradient::RepeatSpread}; -enum Type{ - LinearGradient = QGradient::LinearGradient, RadialGradient = QGradient::RadialGradient, ConicalGradient = QGradient::ConicalGradient, NoGradient = QGradient::NoGradient}; -public slots: -QGradient* new_QGradient(); -QGradient* new_QGradient(const QGradient& other) { -QGradient* a = new QGradient(); -*((QGradient*)a) = other; -return a; } -void delete_QGradient(QGradient* obj) { delete obj; } - QVector > stops(QGradient* theWrappedObject) const; - QGradient::CoordinateMode coordinateMode(QGradient* theWrappedObject) const; - QGradient::Spread spread(QGradient* theWrappedObject) const; - void setColorAt(QGradient* theWrappedObject, qreal pos, const QColor& color); - void setSpread(QGradient* theWrappedObject, QGradient::Spread spread); - QGradient::Type type(QGradient* theWrappedObject) const; - void setCoordinateMode(QGradient* theWrappedObject, QGradient::CoordinateMode mode); - void setStops(QGradient* theWrappedObject, const QVector >& stops); - bool operator_equal(QGradient* theWrappedObject, const QGradient& gradient) const; -}; - -#endif // PYTHONQTWRAPPER_QGRADIENT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsEllipseItem.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsEllipseItem.cpp deleted file mode 100644 index 669a93d..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsEllipseItem.cpp +++ /dev/null @@ -1,155 +0,0 @@ -#include "PythonQtWrapper_QGraphicsEllipseItem.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -bool PythonQtShell_QGraphicsEllipseItem::isObscuredBy(const QGraphicsItem* item) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isObscuredBy"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&item}; - 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("isObscuredBy", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsEllipseItem::isObscuredBy(item); -} -QPainterPath PythonQtShell_QGraphicsEllipseItem::opaqueArea() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "opaqueArea"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); - } else { - returnValue = *((QPainterPath*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsEllipseItem::opaqueArea(); -} -QGraphicsEllipseItem* PythonQtWrapper_QGraphicsEllipseItem::new_QGraphicsEllipseItem(QGraphicsItem* parent, QGraphicsScene* scene) -{ -return new PythonQtShell_QGraphicsEllipseItem(parent, scene); } - -QGraphicsEllipseItem* PythonQtWrapper_QGraphicsEllipseItem::new_QGraphicsEllipseItem(const QRectF& rect, QGraphicsItem* parent, QGraphicsScene* scene) -{ -return new PythonQtShell_QGraphicsEllipseItem(rect, parent, scene); } - -QGraphicsEllipseItem* PythonQtWrapper_QGraphicsEllipseItem::new_QGraphicsEllipseItem(qreal x, qreal y, qreal w, qreal h, QGraphicsItem* parent, QGraphicsScene* scene) -{ -return new PythonQtShell_QGraphicsEllipseItem(x, y, w, h, parent, scene); } - -bool PythonQtWrapper_QGraphicsEllipseItem::contains(QGraphicsEllipseItem* theWrappedObject, const QPointF& point) const -{ - return ( theWrappedObject->contains(point)); -} - -QPainterPath PythonQtWrapper_QGraphicsEllipseItem::opaqueArea(QGraphicsEllipseItem* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsEllipseItem*)theWrappedObject)->promoted_opaqueArea()); -} - -bool PythonQtWrapper_QGraphicsEllipseItem::isObscuredBy(QGraphicsEllipseItem* theWrappedObject, const QGraphicsItem* item) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsEllipseItem*)theWrappedObject)->promoted_isObscuredBy(item)); -} - -QPainterPath PythonQtWrapper_QGraphicsEllipseItem::shape(QGraphicsEllipseItem* theWrappedObject) const -{ - return ( theWrappedObject->shape()); -} - -int PythonQtWrapper_QGraphicsEllipseItem::type(QGraphicsEllipseItem* theWrappedObject) const -{ - return ( theWrappedObject->type()); -} - -QRectF PythonQtWrapper_QGraphicsEllipseItem::rect(QGraphicsEllipseItem* theWrappedObject) const -{ - return ( theWrappedObject->rect()); -} - -QRectF PythonQtWrapper_QGraphicsEllipseItem::boundingRect(QGraphicsEllipseItem* theWrappedObject) const -{ - return ( theWrappedObject->boundingRect()); -} - -void PythonQtWrapper_QGraphicsEllipseItem::paint(QGraphicsEllipseItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) -{ - ( theWrappedObject->paint(painter, option, widget)); -} - -void PythonQtWrapper_QGraphicsEllipseItem::setStartAngle(QGraphicsEllipseItem* theWrappedObject, int angle) -{ - ( theWrappedObject->setStartAngle(angle)); -} - -void PythonQtWrapper_QGraphicsEllipseItem::setRect(QGraphicsEllipseItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) -{ - ( theWrappedObject->setRect(x, y, w, h)); -} - -int PythonQtWrapper_QGraphicsEllipseItem::startAngle(QGraphicsEllipseItem* theWrappedObject) const -{ - return ( theWrappedObject->startAngle()); -} - -void PythonQtWrapper_QGraphicsEllipseItem::setRect(QGraphicsEllipseItem* theWrappedObject, const QRectF& rect) -{ - ( theWrappedObject->setRect(rect)); -} - -int PythonQtWrapper_QGraphicsEllipseItem::spanAngle(QGraphicsEllipseItem* theWrappedObject) const -{ - return ( theWrappedObject->spanAngle()); -} - -void PythonQtWrapper_QGraphicsEllipseItem::setSpanAngle(QGraphicsEllipseItem* theWrappedObject, int angle) -{ - ( theWrappedObject->setSpanAngle(angle)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsEllipseItem.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsEllipseItem.h deleted file mode 100644 index 5b85d2f..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsEllipseItem.h +++ /dev/null @@ -1,67 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QGRAPHICSELLIPSEITEM_H -#define PYTHONQTWRAPPER_QGRAPHICSELLIPSEITEM_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QGraphicsEllipseItem : public QGraphicsEllipseItem -{ -public: - PythonQtShell_QGraphicsEllipseItem(QGraphicsItem* parent = 0, QGraphicsScene* scene = 0):QGraphicsEllipseItem(parent, scene),_wrapper(NULL) {}; - PythonQtShell_QGraphicsEllipseItem(const QRectF& rect, QGraphicsItem* parent = 0, QGraphicsScene* scene = 0):QGraphicsEllipseItem(rect, parent, scene),_wrapper(NULL) {}; - PythonQtShell_QGraphicsEllipseItem(qreal x, qreal y, qreal w, qreal h, QGraphicsItem* parent = 0, QGraphicsScene* scene = 0):QGraphicsEllipseItem(x, y, w, h, parent, scene),_wrapper(NULL) {}; - -virtual bool isObscuredBy(const QGraphicsItem* item) const; -virtual QPainterPath opaqueArea() const; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QGraphicsEllipseItem : public QGraphicsEllipseItem -{ public: -inline QPainterPath promoted_opaqueArea() const { return QGraphicsEllipseItem::opaqueArea(); } -inline bool promoted_isObscuredBy(const QGraphicsItem* item) const { return QGraphicsEllipseItem::isObscuredBy(item); } -}; - -class PythonQtWrapper_QGraphicsEllipseItem : public QObject -{ Q_OBJECT -public: -Q_ENUMS(enum_1 ) -enum enum_1{ - Type = QGraphicsEllipseItem::Type}; -public slots: -QGraphicsEllipseItem* new_QGraphicsEllipseItem(QGraphicsItem* parent = 0, QGraphicsScene* scene = 0); -QGraphicsEllipseItem* new_QGraphicsEllipseItem(const QRectF& rect, QGraphicsItem* parent = 0, QGraphicsScene* scene = 0); -QGraphicsEllipseItem* new_QGraphicsEllipseItem(qreal x, qreal y, qreal w, qreal h, QGraphicsItem* parent = 0, QGraphicsScene* scene = 0); -void delete_QGraphicsEllipseItem(QGraphicsEllipseItem* obj) { delete obj; } - bool contains(QGraphicsEllipseItem* theWrappedObject, const QPointF& point) const; - QPainterPath opaqueArea(QGraphicsEllipseItem* theWrappedObject) const; - bool isObscuredBy(QGraphicsEllipseItem* theWrappedObject, const QGraphicsItem* item) const; - QPainterPath shape(QGraphicsEllipseItem* theWrappedObject) const; - int type(QGraphicsEllipseItem* theWrappedObject) const; - QRectF rect(QGraphicsEllipseItem* theWrappedObject) const; - QRectF boundingRect(QGraphicsEllipseItem* theWrappedObject) const; - void paint(QGraphicsEllipseItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = 0); - void setStartAngle(QGraphicsEllipseItem* theWrappedObject, int angle); - void setRect(QGraphicsEllipseItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h); - int startAngle(QGraphicsEllipseItem* theWrappedObject) const; - void setRect(QGraphicsEllipseItem* theWrappedObject, const QRectF& rect); - int spanAngle(QGraphicsEllipseItem* theWrappedObject) const; - void setSpanAngle(QGraphicsEllipseItem* theWrappedObject, int angle); -}; - -#endif // PYTHONQTWRAPPER_QGRAPHICSELLIPSEITEM_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsGridLayout.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsGridLayout.cpp deleted file mode 100644 index 43305eb..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsGridLayout.cpp +++ /dev/null @@ -1,360 +0,0 @@ -#include "PythonQtWrapper_QGraphicsGridLayout.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -int PythonQtShell_QGraphicsGridLayout::count() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "count"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsGridLayout::count(); -} -void PythonQtShell_QGraphicsGridLayout::getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getContentsMargins"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "qreal*" , "qreal*" , "qreal*" , "qreal*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&left, (void*)&top, (void*)&right, (void*)&bottom}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsGridLayout::getContentsMargins(left, top, right, bottom); -} -void PythonQtShell_QGraphicsGridLayout::invalidate() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "invalidate"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsGridLayout::invalidate(); -} -QGraphicsLayoutItem* PythonQtShell_QGraphicsGridLayout::itemAt(int index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemAt"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QGraphicsLayoutItem*" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QGraphicsLayoutItem* 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) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); - } else { - returnValue = *((QGraphicsLayoutItem**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsGridLayout::itemAt(index); -} -void PythonQtShell_QGraphicsGridLayout::removeAt(int index) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "removeAt"); - 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*)&index}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsGridLayout::removeAt(index); -} -void PythonQtShell_QGraphicsGridLayout::widgetEvent(QEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "widgetEvent"); - 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*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsGridLayout::widgetEvent(e); -} -QGraphicsGridLayout* PythonQtWrapper_QGraphicsGridLayout::new_QGraphicsGridLayout(QGraphicsLayoutItem* parent) -{ -return new PythonQtShell_QGraphicsGridLayout(parent); } - -QGraphicsLayoutItem* PythonQtWrapper_QGraphicsGridLayout::itemAt(QGraphicsGridLayout* theWrappedObject, int index) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsGridLayout*)theWrappedObject)->promoted_itemAt(index)); -} - -Qt::Alignment PythonQtWrapper_QGraphicsGridLayout::columnAlignment(QGraphicsGridLayout* theWrappedObject, int column) const -{ - return ( theWrappedObject->columnAlignment(column)); -} - -qreal PythonQtWrapper_QGraphicsGridLayout::rowMaximumHeight(QGraphicsGridLayout* theWrappedObject, int row) const -{ - return ( theWrappedObject->rowMaximumHeight(row)); -} - -qreal PythonQtWrapper_QGraphicsGridLayout::horizontalSpacing(QGraphicsGridLayout* theWrappedObject) const -{ - return ( theWrappedObject->horizontalSpacing()); -} - -int PythonQtWrapper_QGraphicsGridLayout::rowCount(QGraphicsGridLayout* theWrappedObject) const -{ - return ( theWrappedObject->rowCount()); -} - -qreal PythonQtWrapper_QGraphicsGridLayout::columnMaximumWidth(QGraphicsGridLayout* theWrappedObject, int column) const -{ - return ( theWrappedObject->columnMaximumWidth(column)); -} - -void PythonQtWrapper_QGraphicsGridLayout::setRowMaximumHeight(QGraphicsGridLayout* theWrappedObject, int row, qreal height) -{ - ( theWrappedObject->setRowMaximumHeight(row, height)); -} - -qreal PythonQtWrapper_QGraphicsGridLayout::rowMinimumHeight(QGraphicsGridLayout* theWrappedObject, int row) const -{ - return ( theWrappedObject->rowMinimumHeight(row)); -} - -int PythonQtWrapper_QGraphicsGridLayout::columnCount(QGraphicsGridLayout* theWrappedObject) const -{ - return ( theWrappedObject->columnCount()); -} - -Qt::Alignment PythonQtWrapper_QGraphicsGridLayout::rowAlignment(QGraphicsGridLayout* theWrappedObject, int row) const -{ - return ( theWrappedObject->rowAlignment(row)); -} - -void PythonQtWrapper_QGraphicsGridLayout::setColumnMinimumWidth(QGraphicsGridLayout* theWrappedObject, int column, qreal width) -{ - ( theWrappedObject->setColumnMinimumWidth(column, width)); -} - -void PythonQtWrapper_QGraphicsGridLayout::setVerticalSpacing(QGraphicsGridLayout* theWrappedObject, qreal spacing) -{ - ( theWrappedObject->setVerticalSpacing(spacing)); -} - -void PythonQtWrapper_QGraphicsGridLayout::setColumnStretchFactor(QGraphicsGridLayout* theWrappedObject, int column, int stretch) -{ - ( theWrappedObject->setColumnStretchFactor(column, stretch)); -} - -void PythonQtWrapper_QGraphicsGridLayout::setRowSpacing(QGraphicsGridLayout* theWrappedObject, int row, qreal spacing) -{ - ( theWrappedObject->setRowSpacing(row, spacing)); -} - -void PythonQtWrapper_QGraphicsGridLayout::setColumnPreferredWidth(QGraphicsGridLayout* theWrappedObject, int column, qreal width) -{ - ( theWrappedObject->setColumnPreferredWidth(column, width)); -} - -void PythonQtWrapper_QGraphicsGridLayout::addItem(QGraphicsGridLayout* theWrappedObject, QGraphicsLayoutItem* item, int row, int column, int rowSpan, int columnSpan, Qt::Alignment alignment) -{ - ( theWrappedObject->addItem(item, row, column, rowSpan, columnSpan, alignment)); -} - -qreal PythonQtWrapper_QGraphicsGridLayout::columnPreferredWidth(QGraphicsGridLayout* theWrappedObject, int column) const -{ - return ( theWrappedObject->columnPreferredWidth(column)); -} - -qreal PythonQtWrapper_QGraphicsGridLayout::verticalSpacing(QGraphicsGridLayout* theWrappedObject) const -{ - return ( theWrappedObject->verticalSpacing()); -} - -int PythonQtWrapper_QGraphicsGridLayout::rowStretchFactor(QGraphicsGridLayout* theWrappedObject, int row) const -{ - return ( theWrappedObject->rowStretchFactor(row)); -} - -qreal PythonQtWrapper_QGraphicsGridLayout::columnMinimumWidth(QGraphicsGridLayout* theWrappedObject, int column) const -{ - return ( theWrappedObject->columnMinimumWidth(column)); -} - -void PythonQtWrapper_QGraphicsGridLayout::setRowStretchFactor(QGraphicsGridLayout* theWrappedObject, int row, int stretch) -{ - ( theWrappedObject->setRowStretchFactor(row, stretch)); -} - -void PythonQtWrapper_QGraphicsGridLayout::setRowFixedHeight(QGraphicsGridLayout* theWrappedObject, int row, qreal height) -{ - ( theWrappedObject->setRowFixedHeight(row, height)); -} - -void PythonQtWrapper_QGraphicsGridLayout::addItem(QGraphicsGridLayout* theWrappedObject, QGraphicsLayoutItem* item, int row, int column, Qt::Alignment alignment) -{ - ( theWrappedObject->addItem(item, row, column, alignment)); -} - -int PythonQtWrapper_QGraphicsGridLayout::count(QGraphicsGridLayout* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsGridLayout*)theWrappedObject)->promoted_count()); -} - -void PythonQtWrapper_QGraphicsGridLayout::invalidate(QGraphicsGridLayout* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QGraphicsGridLayout*)theWrappedObject)->promoted_invalidate()); -} - -void PythonQtWrapper_QGraphicsGridLayout::setSpacing(QGraphicsGridLayout* theWrappedObject, qreal spacing) -{ - ( theWrappedObject->setSpacing(spacing)); -} - -void PythonQtWrapper_QGraphicsGridLayout::setRowPreferredHeight(QGraphicsGridLayout* theWrappedObject, int row, qreal height) -{ - ( theWrappedObject->setRowPreferredHeight(row, height)); -} - -void PythonQtWrapper_QGraphicsGridLayout::setColumnFixedWidth(QGraphicsGridLayout* theWrappedObject, int column, qreal width) -{ - ( theWrappedObject->setColumnFixedWidth(column, width)); -} - -void PythonQtWrapper_QGraphicsGridLayout::setHorizontalSpacing(QGraphicsGridLayout* theWrappedObject, qreal spacing) -{ - ( theWrappedObject->setHorizontalSpacing(spacing)); -} - -void PythonQtWrapper_QGraphicsGridLayout::setRowAlignment(QGraphicsGridLayout* theWrappedObject, int row, Qt::Alignment alignment) -{ - ( theWrappedObject->setRowAlignment(row, alignment)); -} - -qreal PythonQtWrapper_QGraphicsGridLayout::columnSpacing(QGraphicsGridLayout* theWrappedObject, int column) const -{ - return ( theWrappedObject->columnSpacing(column)); -} - -qreal PythonQtWrapper_QGraphicsGridLayout::rowSpacing(QGraphicsGridLayout* theWrappedObject, int row) const -{ - return ( theWrappedObject->rowSpacing(row)); -} - -void PythonQtWrapper_QGraphicsGridLayout::setRowMinimumHeight(QGraphicsGridLayout* theWrappedObject, int row, qreal height) -{ - ( theWrappedObject->setRowMinimumHeight(row, height)); -} - -QGraphicsLayoutItem* PythonQtWrapper_QGraphicsGridLayout::itemAt(QGraphicsGridLayout* theWrappedObject, int row, int column) const -{ - return ( theWrappedObject->itemAt(row, column)); -} - -Qt::Alignment PythonQtWrapper_QGraphicsGridLayout::alignment(QGraphicsGridLayout* theWrappedObject, QGraphicsLayoutItem* item) const -{ - return ( theWrappedObject->alignment(item)); -} - -qreal PythonQtWrapper_QGraphicsGridLayout::rowPreferredHeight(QGraphicsGridLayout* theWrappedObject, int row) const -{ - return ( theWrappedObject->rowPreferredHeight(row)); -} - -int PythonQtWrapper_QGraphicsGridLayout::columnStretchFactor(QGraphicsGridLayout* theWrappedObject, int column) const -{ - return ( theWrappedObject->columnStretchFactor(column)); -} - -void PythonQtWrapper_QGraphicsGridLayout::setAlignment(QGraphicsGridLayout* theWrappedObject, QGraphicsLayoutItem* item, Qt::Alignment alignment) -{ - ( theWrappedObject->setAlignment(item, alignment)); -} - -void PythonQtWrapper_QGraphicsGridLayout::removeAt(QGraphicsGridLayout* theWrappedObject, int index) -{ - ( ((PythonQtPublicPromoter_QGraphicsGridLayout*)theWrappedObject)->promoted_removeAt(index)); -} - -void PythonQtWrapper_QGraphicsGridLayout::setColumnAlignment(QGraphicsGridLayout* theWrappedObject, int column, Qt::Alignment alignment) -{ - ( theWrappedObject->setColumnAlignment(column, alignment)); -} - -void PythonQtWrapper_QGraphicsGridLayout::setGeometry(QGraphicsGridLayout* theWrappedObject, const QRectF& rect) -{ - ( theWrappedObject->setGeometry(rect)); -} - -QSizeF PythonQtWrapper_QGraphicsGridLayout::sizeHint(QGraphicsGridLayout* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint) const -{ - return ( theWrappedObject->sizeHint(which, constraint)); -} - -void PythonQtWrapper_QGraphicsGridLayout::setColumnMaximumWidth(QGraphicsGridLayout* theWrappedObject, int column, qreal width) -{ - ( theWrappedObject->setColumnMaximumWidth(column, width)); -} - -void PythonQtWrapper_QGraphicsGridLayout::setColumnSpacing(QGraphicsGridLayout* theWrappedObject, int column, qreal spacing) -{ - ( theWrappedObject->setColumnSpacing(column, spacing)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsGridLayout.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsGridLayout.h deleted file mode 100644 index f30c794..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsGridLayout.h +++ /dev/null @@ -1,91 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QGRAPHICSGRIDLAYOUT_H -#define PYTHONQTWRAPPER_QGRAPHICSGRIDLAYOUT_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QGraphicsGridLayout : public QGraphicsGridLayout -{ -public: - PythonQtShell_QGraphicsGridLayout(QGraphicsLayoutItem* parent = 0):QGraphicsGridLayout(parent),_wrapper(NULL) {}; - -virtual int count() const; -virtual void getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const; -virtual void invalidate(); -virtual QGraphicsLayoutItem* itemAt(int index) const; -virtual void removeAt(int index); -virtual void widgetEvent(QEvent* e); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QGraphicsGridLayout : public QGraphicsGridLayout -{ public: -inline QGraphicsLayoutItem* promoted_itemAt(int index) const { return QGraphicsGridLayout::itemAt(index); } -inline int promoted_count() const { return QGraphicsGridLayout::count(); } -inline void promoted_invalidate() { QGraphicsGridLayout::invalidate(); } -inline void promoted_removeAt(int index) { QGraphicsGridLayout::removeAt(index); } -}; - -class PythonQtWrapper_QGraphicsGridLayout : public QObject -{ Q_OBJECT -public: -public slots: -QGraphicsGridLayout* new_QGraphicsGridLayout(QGraphicsLayoutItem* parent = 0); -void delete_QGraphicsGridLayout(QGraphicsGridLayout* obj) { delete obj; } - QGraphicsLayoutItem* itemAt(QGraphicsGridLayout* theWrappedObject, int index) const; - Qt::Alignment columnAlignment(QGraphicsGridLayout* theWrappedObject, int column) const; - qreal rowMaximumHeight(QGraphicsGridLayout* theWrappedObject, int row) const; - qreal horizontalSpacing(QGraphicsGridLayout* theWrappedObject) const; - int rowCount(QGraphicsGridLayout* theWrappedObject) const; - qreal columnMaximumWidth(QGraphicsGridLayout* theWrappedObject, int column) const; - void setRowMaximumHeight(QGraphicsGridLayout* theWrappedObject, int row, qreal height); - qreal rowMinimumHeight(QGraphicsGridLayout* theWrappedObject, int row) const; - int columnCount(QGraphicsGridLayout* theWrappedObject) const; - Qt::Alignment rowAlignment(QGraphicsGridLayout* theWrappedObject, int row) const; - void setColumnMinimumWidth(QGraphicsGridLayout* theWrappedObject, int column, qreal width); - void setVerticalSpacing(QGraphicsGridLayout* theWrappedObject, qreal spacing); - void setColumnStretchFactor(QGraphicsGridLayout* theWrappedObject, int column, int stretch); - void setRowSpacing(QGraphicsGridLayout* theWrappedObject, int row, qreal spacing); - void setColumnPreferredWidth(QGraphicsGridLayout* theWrappedObject, int column, qreal width); - void addItem(QGraphicsGridLayout* theWrappedObject, QGraphicsLayoutItem* item, int row, int column, int rowSpan, int columnSpan, Qt::Alignment alignment = 0); - qreal columnPreferredWidth(QGraphicsGridLayout* theWrappedObject, int column) const; - qreal verticalSpacing(QGraphicsGridLayout* theWrappedObject) const; - int rowStretchFactor(QGraphicsGridLayout* theWrappedObject, int row) const; - qreal columnMinimumWidth(QGraphicsGridLayout* theWrappedObject, int column) const; - void setRowStretchFactor(QGraphicsGridLayout* theWrappedObject, int row, int stretch); - void setRowFixedHeight(QGraphicsGridLayout* theWrappedObject, int row, qreal height); - void addItem(QGraphicsGridLayout* theWrappedObject, QGraphicsLayoutItem* item, int row, int column, Qt::Alignment alignment = 0); - int count(QGraphicsGridLayout* theWrappedObject) const; - void invalidate(QGraphicsGridLayout* theWrappedObject); - void setSpacing(QGraphicsGridLayout* theWrappedObject, qreal spacing); - void setRowPreferredHeight(QGraphicsGridLayout* theWrappedObject, int row, qreal height); - void setColumnFixedWidth(QGraphicsGridLayout* theWrappedObject, int column, qreal width); - void setHorizontalSpacing(QGraphicsGridLayout* theWrappedObject, qreal spacing); - void setRowAlignment(QGraphicsGridLayout* theWrappedObject, int row, Qt::Alignment alignment); - qreal columnSpacing(QGraphicsGridLayout* theWrappedObject, int column) const; - qreal rowSpacing(QGraphicsGridLayout* theWrappedObject, int row) const; - void setRowMinimumHeight(QGraphicsGridLayout* theWrappedObject, int row, qreal height); - QGraphicsLayoutItem* itemAt(QGraphicsGridLayout* theWrappedObject, int row, int column) const; - Qt::Alignment alignment(QGraphicsGridLayout* theWrappedObject, QGraphicsLayoutItem* item) const; - qreal rowPreferredHeight(QGraphicsGridLayout* theWrappedObject, int row) const; - int columnStretchFactor(QGraphicsGridLayout* theWrappedObject, int column) const; - void setAlignment(QGraphicsGridLayout* theWrappedObject, QGraphicsLayoutItem* item, Qt::Alignment alignment); - void removeAt(QGraphicsGridLayout* theWrappedObject, int index); - void setColumnAlignment(QGraphicsGridLayout* theWrappedObject, int column, Qt::Alignment alignment); - void setGeometry(QGraphicsGridLayout* theWrappedObject, const QRectF& rect); - QSizeF sizeHint(QGraphicsGridLayout* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const; - void setColumnMaximumWidth(QGraphicsGridLayout* theWrappedObject, int column, qreal width); - void setColumnSpacing(QGraphicsGridLayout* theWrappedObject, int column, qreal spacing); -}; - -#endif // PYTHONQTWRAPPER_QGRAPHICSGRIDLAYOUT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsItem.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsItem.cpp deleted file mode 100644 index cfa6358..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsItem.cpp +++ /dev/null @@ -1,1561 +0,0 @@ -#include "PythonQtWrapper_QGraphicsItem.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QGraphicsItem::advance(int phase) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "advance"); - 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*)&phase}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsItem::advance(phase); -} -QRectF PythonQtShell_QGraphicsItem::boundingRect() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "boundingRect"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QRectF"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRectF returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); - } else { - returnValue = *((QRectF*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QRectF result; -return result; -} -bool PythonQtShell_QGraphicsItem::collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "collidesWithItem"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QGraphicsItem*" , "Qt::ItemSelectionMode"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&other, (void*)&mode}; - 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("collidesWithItem", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsItem::collidesWithItem(other, mode); -} -bool PythonQtShell_QGraphicsItem::collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "collidesWithPath"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&path, (void*)&mode}; - 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("collidesWithPath", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsItem::collidesWithPath(path, mode); -} -bool PythonQtShell_QGraphicsItem::contains(const QPointF& point) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contains"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QPointF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&point}; - 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("contains", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsItem::contains(point); -} -void PythonQtShell_QGraphicsItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; - 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; - } -} - QGraphicsItem::contextMenuEvent(event); -} -void PythonQtShell_QGraphicsItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsItem::dragEnterEvent(event); -} -void PythonQtShell_QGraphicsItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsItem::dragLeaveEvent(event); -} -void PythonQtShell_QGraphicsItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsItem::dragMoveEvent(event); -} -void PythonQtShell_QGraphicsItem::dropEvent(QGraphicsSceneDragDropEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsItem::dropEvent(event); -} -QVariant PythonQtShell_QGraphicsItem::extension(const QVariant& variant) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "extension"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&variant}; - 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("extension", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsItem::extension(variant); -} -void PythonQtShell_QGraphicsItem::focusInEvent(QFocusEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QGraphicsItem::focusInEvent(event); -} -void PythonQtShell_QGraphicsItem::focusOutEvent(QFocusEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QGraphicsItem::focusOutEvent(event); -} -void PythonQtShell_QGraphicsItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hoverEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; - 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; - } -} - QGraphicsItem::hoverEnterEvent(event); -} -void PythonQtShell_QGraphicsItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hoverLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; - 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; - } -} - QGraphicsItem::hoverLeaveEvent(event); -} -void PythonQtShell_QGraphicsItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hoverMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; - 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; - } -} - QGraphicsItem::hoverMoveEvent(event); -} -void PythonQtShell_QGraphicsItem::inputMethodEvent(QInputMethodEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QGraphicsItem::inputMethodEvent(event); -} -QVariant PythonQtShell_QGraphicsItem::inputMethodQuery(Qt::InputMethodQuery query) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&query}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsItem::inputMethodQuery(query); -} -bool PythonQtShell_QGraphicsItem::isObscuredBy(const QGraphicsItem* item) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isObscuredBy"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&item}; - 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("isObscuredBy", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsItem::isObscuredBy(item); -} -QVariant PythonQtShell_QGraphicsItem::itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&change, (void*)&value}; - 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("itemChange", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsItem::itemChange(change, value); -} -void PythonQtShell_QGraphicsItem::keyPressEvent(QKeyEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsItem::keyPressEvent(event); -} -void PythonQtShell_QGraphicsItem::keyReleaseEvent(QKeyEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsItem::keyReleaseEvent(event); -} -void PythonQtShell_QGraphicsItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsItem::mouseDoubleClickEvent(event); -} -void PythonQtShell_QGraphicsItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsItem::mouseMoveEvent(event); -} -void PythonQtShell_QGraphicsItem::mousePressEvent(QGraphicsSceneMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsItem::mousePressEvent(event); -} -void PythonQtShell_QGraphicsItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsItem::mouseReleaseEvent(event); -} -QPainterPath PythonQtShell_QGraphicsItem::opaqueArea() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "opaqueArea"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); - } else { - returnValue = *((QPainterPath*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsItem::opaqueArea(); -} -void PythonQtShell_QGraphicsItem::paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter, (void*)&option, (void*)&widget}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - -} -bool PythonQtShell_QGraphicsItem::sceneEvent(QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sceneEvent"); - 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("sceneEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsItem::sceneEvent(event); -} -bool PythonQtShell_QGraphicsItem::sceneEventFilter(QGraphicsItem* watched, QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sceneEventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&watched, (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("sceneEventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsItem::sceneEventFilter(watched, event); -} -void PythonQtShell_QGraphicsItem::setExtension(QGraphicsItem::Extension extension, const QVariant& variant) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setExtension"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&extension, (void*)&variant}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsItem::setExtension(extension, variant); -} -QPainterPath PythonQtShell_QGraphicsItem::shape() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "shape"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); - } else { - returnValue = *((QPainterPath*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsItem::shape(); -} -bool PythonQtShell_QGraphicsItem::supportsExtension(QGraphicsItem::Extension extension) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "supportsExtension"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&extension}; - 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("supportsExtension", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsItem::supportsExtension(extension); -} -int PythonQtShell_QGraphicsItem::type() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "type"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsItem::type(); -} -void PythonQtShell_QGraphicsItem::wheelEvent(QGraphicsSceneWheelEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; - 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; - } -} - QGraphicsItem::wheelEvent(event); -} -QGraphicsItem* PythonQtWrapper_QGraphicsItem::new_QGraphicsItem(QGraphicsItem* parent, QGraphicsScene* scene) -{ -return new PythonQtShell_QGraphicsItem(parent, scene); } - -void PythonQtWrapper_QGraphicsItem::hoverMoveEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneHoverEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_hoverMoveEvent(event)); -} - -QPolygonF PythonQtWrapper_QGraphicsItem::mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, qreal x, qreal y, qreal w, qreal h) const -{ - return ( theWrappedObject->mapFromItem(item, x, y, w, h)); -} - -QPointF PythonQtWrapper_QGraphicsItem::mapToParent(QGraphicsItem* theWrappedObject, qreal x, qreal y) const -{ - return ( theWrappedObject->mapToParent(x, y)); -} - -void PythonQtWrapper_QGraphicsItem::dropEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneDragDropEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_dropEvent(event)); -} - -void PythonQtWrapper_QGraphicsItem::setPos(QGraphicsItem* theWrappedObject, const QPointF& pos) -{ - ( theWrappedObject->setPos(pos)); -} - -QRectF PythonQtWrapper_QGraphicsItem::sceneBoundingRect(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->sceneBoundingRect()); -} - -void PythonQtWrapper_QGraphicsItem::mouseReleaseEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_mouseReleaseEvent(event)); -} - -QGraphicsItem* PythonQtWrapper_QGraphicsItem::parentItem(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->parentItem()); -} - -QGraphicsItem::CacheMode PythonQtWrapper_QGraphicsItem::cacheMode(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->cacheMode()); -} - -void PythonQtWrapper_QGraphicsItem::dragLeaveEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneDragDropEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_dragLeaveEvent(event)); -} - -bool PythonQtWrapper_QGraphicsItem::isVisible(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->isVisible()); -} - -void PythonQtWrapper_QGraphicsItem::advance(QGraphicsItem* theWrappedObject, int phase) -{ - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_advance(phase)); -} - -QPolygonF PythonQtWrapper_QGraphicsItem::mapFromParent(QGraphicsItem* theWrappedObject, const QPolygonF& polygon) const -{ - return ( theWrappedObject->mapFromParent(polygon)); -} - -void PythonQtWrapper_QGraphicsItem::setVisible(QGraphicsItem* theWrappedObject, bool visible) -{ - ( theWrappedObject->setVisible(visible)); -} - -void PythonQtWrapper_QGraphicsItem::update(QGraphicsItem* theWrappedObject, const QRectF& rect) -{ - ( theWrappedObject->update(rect)); -} - -void PythonQtWrapper_QGraphicsItem::setBoundingRegionGranularity(QGraphicsItem* theWrappedObject, qreal granularity) -{ - ( theWrappedObject->setBoundingRegionGranularity(granularity)); -} - -bool PythonQtWrapper_QGraphicsItem::isObscuredBy(QGraphicsItem* theWrappedObject, const QGraphicsItem* item) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_isObscuredBy(item)); -} - -int PythonQtWrapper_QGraphicsItem::type(QGraphicsItem* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_type()); -} - -QList PythonQtWrapper_QGraphicsItem::collidingItems(QGraphicsItem* theWrappedObject, Qt::ItemSelectionMode mode) const -{ - return ( theWrappedObject->collidingItems(mode)); -} - -QPointF PythonQtWrapper_QGraphicsItem::mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, qreal x, qreal y) const -{ - return ( theWrappedObject->mapToItem(item, x, y)); -} - -Qt::MouseButtons PythonQtWrapper_QGraphicsItem::acceptedMouseButtons(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->acceptedMouseButtons()); -} - -QPointF PythonQtWrapper_QGraphicsItem::mapFromScene(QGraphicsItem* theWrappedObject, const QPointF& point) const -{ - return ( theWrappedObject->mapFromScene(point)); -} - -void PythonQtWrapper_QGraphicsItem::setAcceptsHoverEvents(QGraphicsItem* theWrappedObject, bool enabled) -{ - ( theWrappedObject->setAcceptsHoverEvents(enabled)); -} - -bool PythonQtWrapper_QGraphicsItem::collidesWithItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* other, Qt::ItemSelectionMode mode) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_collidesWithItem(other, mode)); -} - -void PythonQtWrapper_QGraphicsItem::setPos(QGraphicsItem* theWrappedObject, qreal x, qreal y) -{ - ( theWrappedObject->setPos(x, y)); -} - -void PythonQtWrapper_QGraphicsItem::setAcceptDrops(QGraphicsItem* theWrappedObject, bool on) -{ - ( theWrappedObject->setAcceptDrops(on)); -} - -void PythonQtWrapper_QGraphicsItem::unsetCursor(QGraphicsItem* theWrappedObject) -{ - ( theWrappedObject->unsetCursor()); -} - -QPointF PythonQtWrapper_QGraphicsItem::mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPointF& point) const -{ - return ( theWrappedObject->mapToItem(item, point)); -} - -void PythonQtWrapper_QGraphicsItem::setCursor(QGraphicsItem* theWrappedObject, const QCursor& cursor) -{ - ( theWrappedObject->setCursor(cursor)); -} - -void PythonQtWrapper_QGraphicsItem::setAcceptedMouseButtons(QGraphicsItem* theWrappedObject, Qt::MouseButtons buttons) -{ - ( theWrappedObject->setAcceptedMouseButtons(buttons)); -} - -void PythonQtWrapper_QGraphicsItem::hide(QGraphicsItem* theWrappedObject) -{ - ( theWrappedObject->hide()); -} - -void PythonQtWrapper_QGraphicsItem::setZValue(QGraphicsItem* theWrappedObject, qreal z) -{ - ( theWrappedObject->setZValue(z)); -} - -QPointF PythonQtWrapper_QGraphicsItem::mapToScene(QGraphicsItem* theWrappedObject, qreal x, qreal y) const -{ - return ( theWrappedObject->mapToScene(x, y)); -} - -void PythonQtWrapper_QGraphicsItem::setAcceptHoverEvents(QGraphicsItem* theWrappedObject, bool enabled) -{ - ( theWrappedObject->setAcceptHoverEvents(enabled)); -} - -void PythonQtWrapper_QGraphicsItem::dragMoveEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneDragDropEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_dragMoveEvent(event)); -} - -void PythonQtWrapper_QGraphicsItem::mousePressEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_mousePressEvent(event)); -} - -QPointF PythonQtWrapper_QGraphicsItem::mapToScene(QGraphicsItem* theWrappedObject, const QPointF& point) const -{ - return ( theWrappedObject->mapToScene(point)); -} - -void PythonQtWrapper_QGraphicsItem::scale(QGraphicsItem* theWrappedObject, qreal sx, qreal sy) -{ - ( theWrappedObject->scale(sx, sy)); -} - -QTransform PythonQtWrapper_QGraphicsItem::sceneTransform(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->sceneTransform()); -} - -QList PythonQtWrapper_QGraphicsItem::childItems(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->childItems()); -} - -bool PythonQtWrapper_QGraphicsItem::isUnderMouse(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->isUnderMouse()); -} - -void PythonQtWrapper_QGraphicsItem::grabKeyboard(QGraphicsItem* theWrappedObject) -{ - ( theWrappedObject->grabKeyboard()); -} - -void PythonQtWrapper_QGraphicsItem::setSelected(QGraphicsItem* theWrappedObject, bool selected) -{ - ( theWrappedObject->setSelected(selected)); -} - -void PythonQtWrapper_QGraphicsItem::moveBy(QGraphicsItem* theWrappedObject, qreal dx, qreal dy) -{ - ( theWrappedObject->moveBy(dx, dy)); -} - -void PythonQtWrapper_QGraphicsItem::mouseMoveEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_mouseMoveEvent(event)); -} - -void PythonQtWrapper_QGraphicsItem::setFlags(QGraphicsItem* theWrappedObject, QGraphicsItem::GraphicsItemFlags flags) -{ - ( theWrappedObject->setFlags(flags)); -} - -QVariant PythonQtWrapper_QGraphicsItem::itemChange(QGraphicsItem* theWrappedObject, QGraphicsItem::GraphicsItemChange change, const QVariant& value) -{ - return ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_itemChange(change, value)); -} - -void PythonQtWrapper_QGraphicsItem::setEnabled(QGraphicsItem* theWrappedObject, bool enabled) -{ - ( theWrappedObject->setEnabled(enabled)); -} - -QPainterPath PythonQtWrapper_QGraphicsItem::mapFromScene(QGraphicsItem* theWrappedObject, const QPainterPath& path) const -{ - return ( theWrappedObject->mapFromScene(path)); -} - -QGraphicsWidget* PythonQtWrapper_QGraphicsItem::topLevelWidget(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->topLevelWidget()); -} - -bool PythonQtWrapper_QGraphicsItem::isObscured(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->isObscured()); -} - -void PythonQtWrapper_QGraphicsItem::grabMouse(QGraphicsItem* theWrappedObject) -{ - ( theWrappedObject->grabMouse()); -} - -QPainterPath PythonQtWrapper_QGraphicsItem::mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPainterPath& path) const -{ - return ( theWrappedObject->mapFromItem(item, path)); -} - -QPolygonF PythonQtWrapper_QGraphicsItem::mapToParent(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const -{ - return ( theWrappedObject->mapToParent(x, y, w, h)); -} - -QPolygonF PythonQtWrapper_QGraphicsItem::mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QRectF& rect) const -{ - return ( theWrappedObject->mapToItem(item, rect)); -} - -bool PythonQtWrapper_QGraphicsItem::isVisibleTo(QGraphicsItem* theWrappedObject, const QGraphicsItem* parent) const -{ - return ( theWrappedObject->isVisibleTo(parent)); -} - -QPointF PythonQtWrapper_QGraphicsItem::pos(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->pos()); -} - -bool PythonQtWrapper_QGraphicsItem::isWindow(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->isWindow()); -} - -QGraphicsScene* PythonQtWrapper_QGraphicsItem::scene(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->scene()); -} - -bool PythonQtWrapper_QGraphicsItem::acceptDrops(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->acceptDrops()); -} - -void PythonQtWrapper_QGraphicsItem::focusOutEvent(QGraphicsItem* theWrappedObject, QFocusEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_focusOutEvent(event)); -} - -bool PythonQtWrapper_QGraphicsItem::acceptsHoverEvents(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->acceptsHoverEvents()); -} - -bool PythonQtWrapper_QGraphicsItem::handlesChildEvents(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->handlesChildEvents()); -} - -QPainterPath PythonQtWrapper_QGraphicsItem::mapFromParent(QGraphicsItem* theWrappedObject, const QPainterPath& path) const -{ - return ( theWrappedObject->mapFromParent(path)); -} - -void PythonQtWrapper_QGraphicsItem::setData(QGraphicsItem* theWrappedObject, int key, const QVariant& value) -{ - ( theWrappedObject->setData(key, value)); -} - -QGraphicsItem* PythonQtWrapper_QGraphicsItem::topLevelItem(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->topLevelItem()); -} - -void PythonQtWrapper_QGraphicsItem::keyReleaseEvent(QGraphicsItem* theWrappedObject, QKeyEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_keyReleaseEvent(event)); -} - -void PythonQtWrapper_QGraphicsItem::ungrabMouse(QGraphicsItem* theWrappedObject) -{ - ( theWrappedObject->ungrabMouse()); -} - -void PythonQtWrapper_QGraphicsItem::dragEnterEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneDragDropEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_dragEnterEvent(event)); -} - -QVariant PythonQtWrapper_QGraphicsItem::inputMethodQuery(QGraphicsItem* theWrappedObject, Qt::InputMethodQuery query) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_inputMethodQuery(query)); -} - -bool PythonQtWrapper_QGraphicsItem::sceneEventFilter(QGraphicsItem* theWrappedObject, QGraphicsItem* watched, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_sceneEventFilter(watched, event)); -} - -bool PythonQtWrapper_QGraphicsItem::collidesWithPath(QGraphicsItem* theWrappedObject, const QPainterPath& path, Qt::ItemSelectionMode mode) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_collidesWithPath(path, mode)); -} - -QPointF PythonQtWrapper_QGraphicsItem::mapFromParent(QGraphicsItem* theWrappedObject, const QPointF& point) const -{ - return ( theWrappedObject->mapFromParent(point)); -} - -void PythonQtWrapper_QGraphicsItem::wheelEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneWheelEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_wheelEvent(event)); -} - -void PythonQtWrapper_QGraphicsItem::setTransform(QGraphicsItem* theWrappedObject, const QTransform& matrix, bool combine) -{ - ( theWrappedObject->setTransform(matrix, combine)); -} - -QVariant PythonQtWrapper_QGraphicsItem::extension(QGraphicsItem* theWrappedObject, const QVariant& variant) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_extension(variant)); -} - -void PythonQtWrapper_QGraphicsItem::mouseDoubleClickEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_mouseDoubleClickEvent(event)); -} - -bool PythonQtWrapper_QGraphicsItem::hasCursor(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->hasCursor()); -} - -void PythonQtWrapper_QGraphicsItem::setParentItem(QGraphicsItem* theWrappedObject, QGraphicsItem* parent) -{ - ( theWrappedObject->setParentItem(parent)); -} - -QPolygonF PythonQtWrapper_QGraphicsItem::mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QRectF& rect) const -{ - return ( theWrappedObject->mapFromItem(item, rect)); -} - -QPolygonF PythonQtWrapper_QGraphicsItem::mapFromParent(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const -{ - return ( theWrappedObject->mapFromParent(x, y, w, h)); -} - -QVariant PythonQtWrapper_QGraphicsItem::data(QGraphicsItem* theWrappedObject, int key) const -{ - return ( theWrappedObject->data(key)); -} - -void PythonQtWrapper_QGraphicsItem::removeSceneEventFilter(QGraphicsItem* theWrappedObject, QGraphicsItem* filterItem) -{ - ( theWrappedObject->removeSceneEventFilter(filterItem)); -} - -QPainterPath PythonQtWrapper_QGraphicsItem::shape(QGraphicsItem* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_shape()); -} - -void PythonQtWrapper_QGraphicsItem::show(QGraphicsItem* theWrappedObject) -{ - ( theWrappedObject->show()); -} - -QPolygonF PythonQtWrapper_QGraphicsItem::mapToScene(QGraphicsItem* theWrappedObject, const QPolygonF& polygon) const -{ - return ( theWrappedObject->mapToScene(polygon)); -} - -void PythonQtWrapper_QGraphicsItem::setHandlesChildEvents(QGraphicsItem* theWrappedObject, bool enabled) -{ - ( theWrappedObject->setHandlesChildEvents(enabled)); -} - -void PythonQtWrapper_QGraphicsItem::update(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal width, qreal height) -{ - ( theWrappedObject->update(x, y, width, height)); -} - -bool PythonQtWrapper_QGraphicsItem::contains(QGraphicsItem* theWrappedObject, const QPointF& point) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_contains(point)); -} - -void PythonQtWrapper_QGraphicsItem::setCacheMode(QGraphicsItem* theWrappedObject, QGraphicsItem::CacheMode mode, const QSize& cacheSize) -{ - ( theWrappedObject->setCacheMode(mode, cacheSize)); -} - -void PythonQtWrapper_QGraphicsItem::hoverLeaveEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneHoverEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_hoverLeaveEvent(event)); -} - -QPolygonF PythonQtWrapper_QGraphicsItem::mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPolygonF& polygon) const -{ - return ( theWrappedObject->mapToItem(item, polygon)); -} - -void PythonQtWrapper_QGraphicsItem::setFlag(QGraphicsItem* theWrappedObject, QGraphicsItem::GraphicsItemFlag flag, bool enabled) -{ - ( theWrappedObject->setFlag(flag, enabled)); -} - -void PythonQtWrapper_QGraphicsItem::contextMenuEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneContextMenuEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_contextMenuEvent(event)); -} - -qreal PythonQtWrapper_QGraphicsItem::y(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->y()); -} - -bool PythonQtWrapper_QGraphicsItem::acceptHoverEvents(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->acceptHoverEvents()); -} - -bool PythonQtWrapper_QGraphicsItem::isAncestorOf(QGraphicsItem* theWrappedObject, const QGraphicsItem* child) const -{ - return ( theWrappedObject->isAncestorOf(child)); -} - -QPainterPath PythonQtWrapper_QGraphicsItem::mapToScene(QGraphicsItem* theWrappedObject, const QPainterPath& path) const -{ - return ( theWrappedObject->mapToScene(path)); -} - -void PythonQtWrapper_QGraphicsItem::rotate(QGraphicsItem* theWrappedObject, qreal angle) -{ - ( theWrappedObject->rotate(angle)); -} - -QGraphicsWidget* PythonQtWrapper_QGraphicsItem::parentWidget(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->parentWidget()); -} - -void PythonQtWrapper_QGraphicsItem::hoverEnterEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneHoverEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_hoverEnterEvent(event)); -} - -void PythonQtWrapper_QGraphicsItem::setGroup(QGraphicsItem* theWrappedObject, QGraphicsItemGroup* group) -{ - ( theWrappedObject->setGroup(group)); -} - -QPolygonF PythonQtWrapper_QGraphicsItem::mapToScene(QGraphicsItem* theWrappedObject, const QRectF& rect) const -{ - return ( theWrappedObject->mapToScene(rect)); -} - -QGraphicsItem::GraphicsItemFlags PythonQtWrapper_QGraphicsItem::flags(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->flags()); -} - -QRectF PythonQtWrapper_QGraphicsItem::childrenBoundingRect(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->childrenBoundingRect()); -} - -void PythonQtWrapper_QGraphicsItem::translate(QGraphicsItem* theWrappedObject, qreal dx, qreal dy) -{ - ( theWrappedObject->translate(dx, dy)); -} - -qreal PythonQtWrapper_QGraphicsItem::zValue(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->zValue()); -} - -QPolygonF PythonQtWrapper_QGraphicsItem::mapFromScene(QGraphicsItem* theWrappedObject, const QPolygonF& polygon) const -{ - return ( theWrappedObject->mapFromScene(polygon)); -} - -void PythonQtWrapper_QGraphicsItem::inputMethodEvent(QGraphicsItem* theWrappedObject, QInputMethodEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_inputMethodEvent(event)); -} - -QTransform PythonQtWrapper_QGraphicsItem::transform(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->transform()); -} - -QPointF PythonQtWrapper_QGraphicsItem::mapFromScene(QGraphicsItem* theWrappedObject, qreal x, qreal y) const -{ - return ( theWrappedObject->mapFromScene(x, y)); -} - -QPolygonF PythonQtWrapper_QGraphicsItem::mapToParent(QGraphicsItem* theWrappedObject, const QPolygonF& polygon) const -{ - return ( theWrappedObject->mapToParent(polygon)); -} - -void PythonQtWrapper_QGraphicsItem::ensureVisible(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h, int xmargin, int ymargin) -{ - ( theWrappedObject->ensureVisible(x, y, w, h, xmargin, ymargin)); -} - -QPainterPath PythonQtWrapper_QGraphicsItem::opaqueArea(QGraphicsItem* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_opaqueArea()); -} - -QPointF PythonQtWrapper_QGraphicsItem::scenePos(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->scenePos()); -} - -QString PythonQtWrapper_QGraphicsItem::toolTip(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->toolTip()); -} - -void PythonQtWrapper_QGraphicsItem::installSceneEventFilter(QGraphicsItem* theWrappedObject, QGraphicsItem* filterItem) -{ - ( theWrappedObject->installSceneEventFilter(filterItem)); -} - -QCursor PythonQtWrapper_QGraphicsItem::cursor(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->cursor()); -} - -QPolygonF PythonQtWrapper_QGraphicsItem::mapFromParent(QGraphicsItem* theWrappedObject, const QRectF& rect) const -{ - return ( theWrappedObject->mapFromParent(rect)); -} - -QPointF PythonQtWrapper_QGraphicsItem::mapToParent(QGraphicsItem* theWrappedObject, const QPointF& point) const -{ - return ( theWrappedObject->mapToParent(point)); -} - -QPolygonF PythonQtWrapper_QGraphicsItem::mapToParent(QGraphicsItem* theWrappedObject, const QRectF& rect) const -{ - return ( theWrappedObject->mapToParent(rect)); -} - -void PythonQtWrapper_QGraphicsItem::focusInEvent(QGraphicsItem* theWrappedObject, QFocusEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_focusInEvent(event)); -} - -bool PythonQtWrapper_QGraphicsItem::sceneEvent(QGraphicsItem* theWrappedObject, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_sceneEvent(event)); -} - -bool PythonQtWrapper_QGraphicsItem::isObscured(QGraphicsItem* theWrappedObject, const QRectF& rect) const -{ - return ( theWrappedObject->isObscured(rect)); -} - -QTransform PythonQtWrapper_QGraphicsItem::deviceTransform(QGraphicsItem* theWrappedObject, const QTransform& viewportTransform) const -{ - return ( theWrappedObject->deviceTransform(viewportTransform)); -} - -QPolygonF PythonQtWrapper_QGraphicsItem::mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, qreal x, qreal y, qreal w, qreal h) const -{ - return ( theWrappedObject->mapToItem(item, x, y, w, h)); -} - -void PythonQtWrapper_QGraphicsItem::shear(QGraphicsItem* theWrappedObject, qreal sh, qreal sv) -{ - ( theWrappedObject->shear(sh, sv)); -} - -bool PythonQtWrapper_QGraphicsItem::isWidget(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->isWidget()); -} - -QPainterPath PythonQtWrapper_QGraphicsItem::mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPainterPath& path) const -{ - return ( theWrappedObject->mapToItem(item, path)); -} - -QPointF PythonQtWrapper_QGraphicsItem::mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, qreal x, qreal y) const -{ - return ( theWrappedObject->mapFromItem(item, x, y)); -} - -void PythonQtWrapper_QGraphicsItem::setToolTip(QGraphicsItem* theWrappedObject, const QString& toolTip) -{ - ( theWrappedObject->setToolTip(toolTip)); -} - -QGraphicsWidget* PythonQtWrapper_QGraphicsItem::window(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->window()); -} - -void PythonQtWrapper_QGraphicsItem::keyPressEvent(QGraphicsItem* theWrappedObject, QKeyEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_keyPressEvent(event)); -} - -QRegion PythonQtWrapper_QGraphicsItem::boundingRegion(QGraphicsItem* theWrappedObject, const QTransform& itemToDeviceTransform) const -{ - return ( theWrappedObject->boundingRegion(itemToDeviceTransform)); -} - -void PythonQtWrapper_QGraphicsItem::clearFocus(QGraphicsItem* theWrappedObject) -{ - ( theWrappedObject->clearFocus()); -} - -QPolygonF PythonQtWrapper_QGraphicsItem::mapFromScene(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const -{ - return ( theWrappedObject->mapFromScene(x, y, w, h)); -} - -void PythonQtWrapper_QGraphicsItem::resetTransform(QGraphicsItem* theWrappedObject) -{ - ( theWrappedObject->resetTransform()); -} - -void PythonQtWrapper_QGraphicsItem::scroll(QGraphicsItem* theWrappedObject, qreal dx, qreal dy, const QRectF& rect) -{ - ( theWrappedObject->scroll(dx, dy, rect)); -} - -QPainterPath PythonQtWrapper_QGraphicsItem::mapToParent(QGraphicsItem* theWrappedObject, const QPainterPath& path) const -{ - return ( theWrappedObject->mapToParent(path)); -} - -QGraphicsItem* PythonQtWrapper_QGraphicsItem::commonAncestorItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* other) const -{ - return ( theWrappedObject->commonAncestorItem(other)); -} - -QPointF PythonQtWrapper_QGraphicsItem::mapFromParent(QGraphicsItem* theWrappedObject, qreal x, qreal y) const -{ - return ( theWrappedObject->mapFromParent(x, y)); -} - -void PythonQtWrapper_QGraphicsItem::setFocus(QGraphicsItem* theWrappedObject, Qt::FocusReason focusReason) -{ - ( theWrappedObject->setFocus(focusReason)); -} - -QPointF PythonQtWrapper_QGraphicsItem::mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPointF& point) const -{ - return ( theWrappedObject->mapFromItem(item, point)); -} - -bool PythonQtWrapper_QGraphicsItem::isObscured(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const -{ - return ( theWrappedObject->isObscured(x, y, w, h)); -} - -QPolygonF PythonQtWrapper_QGraphicsItem::mapToScene(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const -{ - return ( theWrappedObject->mapToScene(x, y, w, h)); -} - -qreal PythonQtWrapper_QGraphicsItem::x(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->x()); -} - -bool PythonQtWrapper_QGraphicsItem::hasFocus(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->hasFocus()); -} - -bool PythonQtWrapper_QGraphicsItem::isSelected(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->isSelected()); -} - -void PythonQtWrapper_QGraphicsItem::ungrabKeyboard(QGraphicsItem* theWrappedObject) -{ - ( theWrappedObject->ungrabKeyboard()); -} - -QGraphicsItemGroup* PythonQtWrapper_QGraphicsItem::group(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->group()); -} - -void PythonQtWrapper_QGraphicsItem::ensureVisible(QGraphicsItem* theWrappedObject, const QRectF& rect, int xmargin, int ymargin) -{ - ( theWrappedObject->ensureVisible(rect, xmargin, ymargin)); -} - -QPolygonF PythonQtWrapper_QGraphicsItem::mapFromScene(QGraphicsItem* theWrappedObject, const QRectF& rect) const -{ - return ( theWrappedObject->mapFromScene(rect)); -} - -qreal PythonQtWrapper_QGraphicsItem::boundingRegionGranularity(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->boundingRegionGranularity()); -} - -bool PythonQtWrapper_QGraphicsItem::isEnabled(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->isEnabled()); -} - -QPolygonF PythonQtWrapper_QGraphicsItem::mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPolygonF& polygon) const -{ - return ( theWrappedObject->mapFromItem(item, polygon)); -} - -QString PythonQtWrapper_QGraphicsItem::toString(QGraphicsItem* obj) { - QString result; - QDebug d(&result); - d << obj; - return result; -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsItem.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsItem.h deleted file mode 100644 index 00455d1..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsItem.h +++ /dev/null @@ -1,284 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QGRAPHICSITEM_H -#define PYTHONQTWRAPPER_QGRAPHICSITEM_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QGraphicsItem : public QGraphicsItem -{ -public: - PythonQtShell_QGraphicsItem(QGraphicsItem* parent = 0, QGraphicsScene* scene = 0):QGraphicsItem(parent, scene),_wrapper(NULL) {}; - -virtual void advance(int phase); -virtual QRectF boundingRect() const; -virtual bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; -virtual bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; -virtual bool contains(const QPointF& point) const; -virtual void contextMenuEvent(QGraphicsSceneContextMenuEvent* event); -virtual void dragEnterEvent(QGraphicsSceneDragDropEvent* event); -virtual void dragLeaveEvent(QGraphicsSceneDragDropEvent* event); -virtual void dragMoveEvent(QGraphicsSceneDragDropEvent* event); -virtual void dropEvent(QGraphicsSceneDragDropEvent* event); -virtual QVariant extension(const QVariant& variant) const; -virtual void focusInEvent(QFocusEvent* event); -virtual void focusOutEvent(QFocusEvent* event); -virtual void hoverEnterEvent(QGraphicsSceneHoverEvent* event); -virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent* event); -virtual void hoverMoveEvent(QGraphicsSceneHoverEvent* event); -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual bool isObscuredBy(const QGraphicsItem* item) const; -virtual QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value); -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event); -virtual void mouseMoveEvent(QGraphicsSceneMouseEvent* event); -virtual void mousePressEvent(QGraphicsSceneMouseEvent* event); -virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent* event); -virtual QPainterPath opaqueArea() const; -virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = 0); -virtual bool sceneEvent(QEvent* event); -virtual bool sceneEventFilter(QGraphicsItem* watched, QEvent* event); -virtual void setExtension(QGraphicsItem::Extension extension, const QVariant& variant); -virtual QPainterPath shape() const; -virtual bool supportsExtension(QGraphicsItem::Extension extension) const; -virtual int type() const; -virtual void wheelEvent(QGraphicsSceneWheelEvent* event); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QGraphicsItem : public QGraphicsItem -{ public: -inline void promoted_hoverMoveEvent(QGraphicsSceneHoverEvent* event) { QGraphicsItem::hoverMoveEvent(event); } -inline void promoted_dropEvent(QGraphicsSceneDragDropEvent* event) { QGraphicsItem::dropEvent(event); } -inline void promoted_mouseReleaseEvent(QGraphicsSceneMouseEvent* event) { QGraphicsItem::mouseReleaseEvent(event); } -inline void promoted_dragLeaveEvent(QGraphicsSceneDragDropEvent* event) { QGraphicsItem::dragLeaveEvent(event); } -inline void promoted_advance(int phase) { QGraphicsItem::advance(phase); } -inline bool promoted_isObscuredBy(const QGraphicsItem* item) const { return QGraphicsItem::isObscuredBy(item); } -inline int promoted_type() const { return QGraphicsItem::type(); } -inline bool promoted_collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const { return QGraphicsItem::collidesWithItem(other, mode); } -inline void promoted_dragMoveEvent(QGraphicsSceneDragDropEvent* event) { QGraphicsItem::dragMoveEvent(event); } -inline void promoted_mousePressEvent(QGraphicsSceneMouseEvent* event) { QGraphicsItem::mousePressEvent(event); } -inline void promoted_mouseMoveEvent(QGraphicsSceneMouseEvent* event) { QGraphicsItem::mouseMoveEvent(event); } -inline QVariant promoted_itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) { return QGraphicsItem::itemChange(change, value); } -inline void promoted_focusOutEvent(QFocusEvent* event) { QGraphicsItem::focusOutEvent(event); } -inline void promoted_keyReleaseEvent(QKeyEvent* event) { QGraphicsItem::keyReleaseEvent(event); } -inline void promoted_dragEnterEvent(QGraphicsSceneDragDropEvent* event) { QGraphicsItem::dragEnterEvent(event); } -inline QVariant promoted_inputMethodQuery(Qt::InputMethodQuery query) const { return QGraphicsItem::inputMethodQuery(query); } -inline bool promoted_sceneEventFilter(QGraphicsItem* watched, QEvent* event) { return QGraphicsItem::sceneEventFilter(watched, event); } -inline bool promoted_collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const { return QGraphicsItem::collidesWithPath(path, mode); } -inline void promoted_wheelEvent(QGraphicsSceneWheelEvent* event) { QGraphicsItem::wheelEvent(event); } -inline QVariant promoted_extension(const QVariant& variant) const { return QGraphicsItem::extension(variant); } -inline void promoted_mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) { QGraphicsItem::mouseDoubleClickEvent(event); } -inline QPainterPath promoted_shape() const { return QGraphicsItem::shape(); } -inline bool promoted_contains(const QPointF& point) const { return QGraphicsItem::contains(point); } -inline void promoted_hoverLeaveEvent(QGraphicsSceneHoverEvent* event) { QGraphicsItem::hoverLeaveEvent(event); } -inline void promoted_contextMenuEvent(QGraphicsSceneContextMenuEvent* event) { QGraphicsItem::contextMenuEvent(event); } -inline void promoted_hoverEnterEvent(QGraphicsSceneHoverEvent* event) { QGraphicsItem::hoverEnterEvent(event); } -inline void promoted_inputMethodEvent(QInputMethodEvent* event) { QGraphicsItem::inputMethodEvent(event); } -inline QPainterPath promoted_opaqueArea() const { return QGraphicsItem::opaqueArea(); } -inline void promoted_focusInEvent(QFocusEvent* event) { QGraphicsItem::focusInEvent(event); } -inline bool promoted_sceneEvent(QEvent* event) { return QGraphicsItem::sceneEvent(event); } -inline void promoted_keyPressEvent(QKeyEvent* event) { QGraphicsItem::keyPressEvent(event); } -}; - -class PythonQtWrapper_QGraphicsItem : public QObject -{ Q_OBJECT -public: -Q_ENUMS(CacheMode enum_1 GraphicsItemFlag GraphicsItemChange ) -Q_FLAGS(GraphicsItemFlags ) -enum CacheMode{ - NoCache = QGraphicsItem::NoCache, ItemCoordinateCache = QGraphicsItem::ItemCoordinateCache, DeviceCoordinateCache = QGraphicsItem::DeviceCoordinateCache}; -enum enum_1{ - Type = QGraphicsItem::Type, UserType = QGraphicsItem::UserType}; -enum GraphicsItemFlag{ - ItemIsMovable = QGraphicsItem::ItemIsMovable, ItemIsSelectable = QGraphicsItem::ItemIsSelectable, ItemIsFocusable = QGraphicsItem::ItemIsFocusable, ItemClipsToShape = QGraphicsItem::ItemClipsToShape, ItemClipsChildrenToShape = QGraphicsItem::ItemClipsChildrenToShape, ItemIgnoresTransformations = QGraphicsItem::ItemIgnoresTransformations}; -enum GraphicsItemChange{ - ItemPositionChange = QGraphicsItem::ItemPositionChange, ItemMatrixChange = QGraphicsItem::ItemMatrixChange, ItemVisibleChange = QGraphicsItem::ItemVisibleChange, ItemEnabledChange = QGraphicsItem::ItemEnabledChange, ItemSelectedChange = QGraphicsItem::ItemSelectedChange, ItemParentChange = QGraphicsItem::ItemParentChange, ItemChildAddedChange = QGraphicsItem::ItemChildAddedChange, ItemChildRemovedChange = QGraphicsItem::ItemChildRemovedChange, ItemTransformChange = QGraphicsItem::ItemTransformChange, ItemPositionHasChanged = QGraphicsItem::ItemPositionHasChanged, ItemTransformHasChanged = QGraphicsItem::ItemTransformHasChanged, ItemSceneChange = QGraphicsItem::ItemSceneChange, ItemVisibleHasChanged = QGraphicsItem::ItemVisibleHasChanged, ItemEnabledHasChanged = QGraphicsItem::ItemEnabledHasChanged, ItemSelectedHasChanged = QGraphicsItem::ItemSelectedHasChanged, ItemParentHasChanged = QGraphicsItem::ItemParentHasChanged, ItemSceneHasChanged = QGraphicsItem::ItemSceneHasChanged, ItemCursorChange = QGraphicsItem::ItemCursorChange, ItemCursorHasChanged = QGraphicsItem::ItemCursorHasChanged, ItemToolTipChange = QGraphicsItem::ItemToolTipChange, ItemToolTipHasChanged = QGraphicsItem::ItemToolTipHasChanged, ItemFlagsChange = QGraphicsItem::ItemFlagsChange, ItemFlagsHaveChanged = QGraphicsItem::ItemFlagsHaveChanged, ItemZValueChange = QGraphicsItem::ItemZValueChange, ItemZValueHasChanged = QGraphicsItem::ItemZValueHasChanged}; -Q_DECLARE_FLAGS(GraphicsItemFlags, GraphicsItemFlag) -public slots: -QGraphicsItem* new_QGraphicsItem(QGraphicsItem* parent = 0, QGraphicsScene* scene = 0); -void delete_QGraphicsItem(QGraphicsItem* obj) { delete obj; } -bool hasOwner(QGraphicsItem* theWrappedObject) { return theWrappedObject->scene()!=NULL || theWrappedObject->parentItem()!=NULL; } - void hoverMoveEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneHoverEvent* event); - QPolygonF mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, qreal x, qreal y, qreal w, qreal h) const; - QPointF mapToParent(QGraphicsItem* theWrappedObject, qreal x, qreal y) const; - void dropEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneDragDropEvent* event); - void setPos(QGraphicsItem* theWrappedObject, const QPointF& pos); - QRectF sceneBoundingRect(QGraphicsItem* theWrappedObject) const; - void mouseReleaseEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneMouseEvent* event); - QGraphicsItem* parentItem(QGraphicsItem* theWrappedObject) const; - QGraphicsItem::CacheMode cacheMode(QGraphicsItem* theWrappedObject) const; - void dragLeaveEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneDragDropEvent* event); - bool isVisible(QGraphicsItem* theWrappedObject) const; - void advance(QGraphicsItem* theWrappedObject, int phase); - QPolygonF mapFromParent(QGraphicsItem* theWrappedObject, const QPolygonF& polygon) const; - void setVisible(QGraphicsItem* theWrappedObject, bool visible); - void update(QGraphicsItem* theWrappedObject, const QRectF& rect = QRectF()); - void setBoundingRegionGranularity(QGraphicsItem* theWrappedObject, qreal granularity); - bool isObscuredBy(QGraphicsItem* theWrappedObject, const QGraphicsItem* item) const; - int type(QGraphicsItem* theWrappedObject) const; - QList collidingItems(QGraphicsItem* theWrappedObject, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; - QPointF mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, qreal x, qreal y) const; - Qt::MouseButtons acceptedMouseButtons(QGraphicsItem* theWrappedObject) const; - QPointF mapFromScene(QGraphicsItem* theWrappedObject, const QPointF& point) const; - void setAcceptsHoverEvents(QGraphicsItem* theWrappedObject, bool enabled); - bool collidesWithItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; - void setPos(QGraphicsItem* theWrappedObject, qreal x, qreal y); - void setAcceptDrops(QGraphicsItem* theWrappedObject, bool on); - void unsetCursor(QGraphicsItem* theWrappedObject); - QPointF mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPointF& point) const; - void setCursor(QGraphicsItem* theWrappedObject, const QCursor& cursor); - void setAcceptedMouseButtons(QGraphicsItem* theWrappedObject, Qt::MouseButtons buttons); - void hide(QGraphicsItem* theWrappedObject); - void setZValue(QGraphicsItem* theWrappedObject, qreal z); - QPointF mapToScene(QGraphicsItem* theWrappedObject, qreal x, qreal y) const; - void setAcceptHoverEvents(QGraphicsItem* theWrappedObject, bool enabled); - void dragMoveEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneDragDropEvent* event); - void mousePressEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneMouseEvent* event); - QPointF mapToScene(QGraphicsItem* theWrappedObject, const QPointF& point) const; - void scale(QGraphicsItem* theWrappedObject, qreal sx, qreal sy); - QTransform sceneTransform(QGraphicsItem* theWrappedObject) const; - QList childItems(QGraphicsItem* theWrappedObject) const; - bool isUnderMouse(QGraphicsItem* theWrappedObject) const; - void grabKeyboard(QGraphicsItem* theWrappedObject); - void setSelected(QGraphicsItem* theWrappedObject, bool selected); - void moveBy(QGraphicsItem* theWrappedObject, qreal dx, qreal dy); - void mouseMoveEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneMouseEvent* event); - void setFlags(QGraphicsItem* theWrappedObject, QGraphicsItem::GraphicsItemFlags flags); - QVariant itemChange(QGraphicsItem* theWrappedObject, QGraphicsItem::GraphicsItemChange change, const QVariant& value); - void setEnabled(QGraphicsItem* theWrappedObject, bool enabled); - QPainterPath mapFromScene(QGraphicsItem* theWrappedObject, const QPainterPath& path) const; - QGraphicsWidget* topLevelWidget(QGraphicsItem* theWrappedObject) const; - bool isObscured(QGraphicsItem* theWrappedObject) const; - void grabMouse(QGraphicsItem* theWrappedObject); - QPainterPath mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPainterPath& path) const; - QPolygonF mapToParent(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const; - QPolygonF mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QRectF& rect) const; - bool isVisibleTo(QGraphicsItem* theWrappedObject, const QGraphicsItem* parent) const; - QPointF pos(QGraphicsItem* theWrappedObject) const; - bool isWindow(QGraphicsItem* theWrappedObject) const; - QGraphicsScene* scene(QGraphicsItem* theWrappedObject) const; - bool acceptDrops(QGraphicsItem* theWrappedObject) const; - void focusOutEvent(QGraphicsItem* theWrappedObject, QFocusEvent* event); - bool acceptsHoverEvents(QGraphicsItem* theWrappedObject) const; - bool handlesChildEvents(QGraphicsItem* theWrappedObject) const; - QPainterPath mapFromParent(QGraphicsItem* theWrappedObject, const QPainterPath& path) const; - void setData(QGraphicsItem* theWrappedObject, int key, const QVariant& value); - QGraphicsItem* topLevelItem(QGraphicsItem* theWrappedObject) const; - void keyReleaseEvent(QGraphicsItem* theWrappedObject, QKeyEvent* event); - void ungrabMouse(QGraphicsItem* theWrappedObject); - void dragEnterEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneDragDropEvent* event); - QVariant inputMethodQuery(QGraphicsItem* theWrappedObject, Qt::InputMethodQuery query) const; - bool sceneEventFilter(QGraphicsItem* theWrappedObject, QGraphicsItem* watched, QEvent* event); - bool collidesWithPath(QGraphicsItem* theWrappedObject, const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; - QPointF mapFromParent(QGraphicsItem* theWrappedObject, const QPointF& point) const; - void wheelEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneWheelEvent* event); - void setTransform(QGraphicsItem* theWrappedObject, const QTransform& matrix, bool combine = false); - QVariant extension(QGraphicsItem* theWrappedObject, const QVariant& variant) const; - void mouseDoubleClickEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneMouseEvent* event); - bool hasCursor(QGraphicsItem* theWrappedObject) const; - void setParentItem(QGraphicsItem* theWrappedObject, QGraphicsItem* parent); - QPolygonF mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QRectF& rect) const; - QPolygonF mapFromParent(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const; - QVariant data(QGraphicsItem* theWrappedObject, int key) const; - void removeSceneEventFilter(QGraphicsItem* theWrappedObject, QGraphicsItem* filterItem); - QPainterPath shape(QGraphicsItem* theWrappedObject) const; - void show(QGraphicsItem* theWrappedObject); - QPolygonF mapToScene(QGraphicsItem* theWrappedObject, const QPolygonF& polygon) const; - void setHandlesChildEvents(QGraphicsItem* theWrappedObject, bool enabled); - void update(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal width, qreal height); - bool contains(QGraphicsItem* theWrappedObject, const QPointF& point) const; - void setCacheMode(QGraphicsItem* theWrappedObject, QGraphicsItem::CacheMode mode, const QSize& cacheSize = QSize()); - void hoverLeaveEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneHoverEvent* event); - QPolygonF mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPolygonF& polygon) const; - void setFlag(QGraphicsItem* theWrappedObject, QGraphicsItem::GraphicsItemFlag flag, bool enabled = true); - void contextMenuEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneContextMenuEvent* event); - qreal y(QGraphicsItem* theWrappedObject) const; - bool acceptHoverEvents(QGraphicsItem* theWrappedObject) const; - bool isAncestorOf(QGraphicsItem* theWrappedObject, const QGraphicsItem* child) const; - QPainterPath mapToScene(QGraphicsItem* theWrappedObject, const QPainterPath& path) const; - void rotate(QGraphicsItem* theWrappedObject, qreal angle); - QGraphicsWidget* parentWidget(QGraphicsItem* theWrappedObject) const; - void hoverEnterEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneHoverEvent* event); - void setGroup(QGraphicsItem* theWrappedObject, QGraphicsItemGroup* group); - QPolygonF mapToScene(QGraphicsItem* theWrappedObject, const QRectF& rect) const; - QGraphicsItem::GraphicsItemFlags flags(QGraphicsItem* theWrappedObject) const; - QRectF childrenBoundingRect(QGraphicsItem* theWrappedObject) const; - void translate(QGraphicsItem* theWrappedObject, qreal dx, qreal dy); - qreal zValue(QGraphicsItem* theWrappedObject) const; - QPolygonF mapFromScene(QGraphicsItem* theWrappedObject, const QPolygonF& polygon) const; - void inputMethodEvent(QGraphicsItem* theWrappedObject, QInputMethodEvent* event); - QTransform transform(QGraphicsItem* theWrappedObject) const; - QPointF mapFromScene(QGraphicsItem* theWrappedObject, qreal x, qreal y) const; - QPolygonF mapToParent(QGraphicsItem* theWrappedObject, const QPolygonF& polygon) const; - void ensureVisible(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h, int xmargin = 50, int ymargin = 50); - QPainterPath opaqueArea(QGraphicsItem* theWrappedObject) const; - QPointF scenePos(QGraphicsItem* theWrappedObject) const; - QString toolTip(QGraphicsItem* theWrappedObject) const; - void installSceneEventFilter(QGraphicsItem* theWrappedObject, QGraphicsItem* filterItem); - QCursor cursor(QGraphicsItem* theWrappedObject) const; - QPolygonF mapFromParent(QGraphicsItem* theWrappedObject, const QRectF& rect) const; - QPointF mapToParent(QGraphicsItem* theWrappedObject, const QPointF& point) const; - QPolygonF mapToParent(QGraphicsItem* theWrappedObject, const QRectF& rect) const; - void focusInEvent(QGraphicsItem* theWrappedObject, QFocusEvent* event); - bool sceneEvent(QGraphicsItem* theWrappedObject, QEvent* event); - bool isObscured(QGraphicsItem* theWrappedObject, const QRectF& rect) const; - QTransform deviceTransform(QGraphicsItem* theWrappedObject, const QTransform& viewportTransform) const; - QPolygonF mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, qreal x, qreal y, qreal w, qreal h) const; - void shear(QGraphicsItem* theWrappedObject, qreal sh, qreal sv); - bool isWidget(QGraphicsItem* theWrappedObject) const; - QPainterPath mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPainterPath& path) const; - QPointF mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, qreal x, qreal y) const; - void setToolTip(QGraphicsItem* theWrappedObject, const QString& toolTip); - QGraphicsWidget* window(QGraphicsItem* theWrappedObject) const; - void keyPressEvent(QGraphicsItem* theWrappedObject, QKeyEvent* event); - QRegion boundingRegion(QGraphicsItem* theWrappedObject, const QTransform& itemToDeviceTransform) const; - void clearFocus(QGraphicsItem* theWrappedObject); - QPolygonF mapFromScene(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const; - void resetTransform(QGraphicsItem* theWrappedObject); - void scroll(QGraphicsItem* theWrappedObject, qreal dx, qreal dy, const QRectF& rect = QRectF()); - QPainterPath mapToParent(QGraphicsItem* theWrappedObject, const QPainterPath& path) const; - QGraphicsItem* commonAncestorItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* other) const; - QPointF mapFromParent(QGraphicsItem* theWrappedObject, qreal x, qreal y) const; - void setFocus(QGraphicsItem* theWrappedObject, Qt::FocusReason focusReason = Qt::OtherFocusReason); - QPointF mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPointF& point) const; - bool isObscured(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const; - QPolygonF mapToScene(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const; - qreal x(QGraphicsItem* theWrappedObject) const; - bool hasFocus(QGraphicsItem* theWrappedObject) const; - bool isSelected(QGraphicsItem* theWrappedObject) const; - void ungrabKeyboard(QGraphicsItem* theWrappedObject); - QGraphicsItemGroup* group(QGraphicsItem* theWrappedObject) const; - void ensureVisible(QGraphicsItem* theWrappedObject, const QRectF& rect = QRectF(), int xmargin = 50, int ymargin = 50); - QPolygonF mapFromScene(QGraphicsItem* theWrappedObject, const QRectF& rect) const; - qreal boundingRegionGranularity(QGraphicsItem* theWrappedObject) const; - bool isEnabled(QGraphicsItem* theWrappedObject) const; - QPolygonF mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPolygonF& polygon) const; - QString toString(QGraphicsItem*); -}; - -#endif // PYTHONQTWRAPPER_QGRAPHICSITEM_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsItemAnimation.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsItemAnimation.cpp deleted file mode 100644 index 6afa75a..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsItemAnimation.cpp +++ /dev/null @@ -1,293 +0,0 @@ -#include "PythonQtWrapper_QGraphicsItemAnimation.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QGraphicsItemAnimation::afterAnimationStep(qreal step) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "afterAnimationStep"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "qreal"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&step}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsItemAnimation::afterAnimationStep(step); -} -void PythonQtShell_QGraphicsItemAnimation::beforeAnimationStep(qreal step) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "beforeAnimationStep"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "qreal"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&step}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsItemAnimation::beforeAnimationStep(step); -} -void PythonQtShell_QGraphicsItemAnimation::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; - } -} - QGraphicsItemAnimation::childEvent(arg__1); -} -void PythonQtShell_QGraphicsItemAnimation::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; - } -} - QGraphicsItemAnimation::customEvent(arg__1); -} -bool PythonQtShell_QGraphicsItemAnimation::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsItemAnimation::event(arg__1); -} -bool PythonQtShell_QGraphicsItemAnimation::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsItemAnimation::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QGraphicsItemAnimation::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; - } -} - QGraphicsItemAnimation::timerEvent(arg__1); -} -QGraphicsItemAnimation* PythonQtWrapper_QGraphicsItemAnimation::new_QGraphicsItemAnimation(QObject* parent) -{ -return new PythonQtShell_QGraphicsItemAnimation(parent); } - -qreal PythonQtWrapper_QGraphicsItemAnimation::rotationAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const -{ - return ( theWrappedObject->rotationAt(step)); -} - -void PythonQtWrapper_QGraphicsItemAnimation::setRotationAt(QGraphicsItemAnimation* theWrappedObject, qreal step, qreal angle) -{ - ( theWrappedObject->setRotationAt(step, angle)); -} - -qreal PythonQtWrapper_QGraphicsItemAnimation::verticalScaleAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const -{ - return ( theWrappedObject->verticalScaleAt(step)); -} - -QList > PythonQtWrapper_QGraphicsItemAnimation::scaleList(QGraphicsItemAnimation* theWrappedObject) const -{ - return ( theWrappedObject->scaleList()); -} - -qreal PythonQtWrapper_QGraphicsItemAnimation::yTranslationAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const -{ - return ( theWrappedObject->yTranslationAt(step)); -} - -qreal PythonQtWrapper_QGraphicsItemAnimation::horizontalShearAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const -{ - return ( theWrappedObject->horizontalShearAt(step)); -} - -qreal PythonQtWrapper_QGraphicsItemAnimation::xTranslationAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const -{ - return ( theWrappedObject->xTranslationAt(step)); -} - -void PythonQtWrapper_QGraphicsItemAnimation::setPosAt(QGraphicsItemAnimation* theWrappedObject, qreal step, const QPointF& pos) -{ - ( theWrappedObject->setPosAt(step, pos)); -} - -void PythonQtWrapper_QGraphicsItemAnimation::setTranslationAt(QGraphicsItemAnimation* theWrappedObject, qreal step, qreal dx, qreal dy) -{ - ( theWrappedObject->setTranslationAt(step, dx, dy)); -} - -void PythonQtWrapper_QGraphicsItemAnimation::beforeAnimationStep(QGraphicsItemAnimation* theWrappedObject, qreal step) -{ - ( ((PythonQtPublicPromoter_QGraphicsItemAnimation*)theWrappedObject)->promoted_beforeAnimationStep(step)); -} - -qreal PythonQtWrapper_QGraphicsItemAnimation::verticalShearAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const -{ - return ( theWrappedObject->verticalShearAt(step)); -} - -QList > PythonQtWrapper_QGraphicsItemAnimation::rotationList(QGraphicsItemAnimation* theWrappedObject) const -{ - return ( theWrappedObject->rotationList()); -} - -void PythonQtWrapper_QGraphicsItemAnimation::setTimeLine(QGraphicsItemAnimation* theWrappedObject, QTimeLine* timeLine) -{ - ( theWrappedObject->setTimeLine(timeLine)); -} - -QGraphicsItem* PythonQtWrapper_QGraphicsItemAnimation::item(QGraphicsItemAnimation* theWrappedObject) const -{ - return ( theWrappedObject->item()); -} - -QList > PythonQtWrapper_QGraphicsItemAnimation::posList(QGraphicsItemAnimation* theWrappedObject) const -{ - return ( theWrappedObject->posList()); -} - -void PythonQtWrapper_QGraphicsItemAnimation::setScaleAt(QGraphicsItemAnimation* theWrappedObject, qreal step, qreal sx, qreal sy) -{ - ( theWrappedObject->setScaleAt(step, sx, sy)); -} - -QTimeLine* PythonQtWrapper_QGraphicsItemAnimation::timeLine(QGraphicsItemAnimation* theWrappedObject) const -{ - return ( theWrappedObject->timeLine()); -} - -void PythonQtWrapper_QGraphicsItemAnimation::setItem(QGraphicsItemAnimation* theWrappedObject, QGraphicsItem* item) -{ - ( theWrappedObject->setItem(item)); -} - -QMatrix PythonQtWrapper_QGraphicsItemAnimation::matrixAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const -{ - return ( theWrappedObject->matrixAt(step)); -} - -void PythonQtWrapper_QGraphicsItemAnimation::setShearAt(QGraphicsItemAnimation* theWrappedObject, qreal step, qreal sh, qreal sv) -{ - ( theWrappedObject->setShearAt(step, sh, sv)); -} - -QList > PythonQtWrapper_QGraphicsItemAnimation::translationList(QGraphicsItemAnimation* theWrappedObject) const -{ - return ( theWrappedObject->translationList()); -} - -QList > PythonQtWrapper_QGraphicsItemAnimation::shearList(QGraphicsItemAnimation* theWrappedObject) const -{ - return ( theWrappedObject->shearList()); -} - -qreal PythonQtWrapper_QGraphicsItemAnimation::horizontalScaleAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const -{ - return ( theWrappedObject->horizontalScaleAt(step)); -} - -QPointF PythonQtWrapper_QGraphicsItemAnimation::posAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const -{ - return ( theWrappedObject->posAt(step)); -} - -void PythonQtWrapper_QGraphicsItemAnimation::afterAnimationStep(QGraphicsItemAnimation* theWrappedObject, qreal step) -{ - ( ((PythonQtPublicPromoter_QGraphicsItemAnimation*)theWrappedObject)->promoted_afterAnimationStep(step)); -} - -void PythonQtWrapper_QGraphicsItemAnimation::clear(QGraphicsItemAnimation* theWrappedObject) -{ - ( theWrappedObject->clear()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsItemAnimation.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsItemAnimation.h deleted file mode 100644 index cc78102..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsItemAnimation.h +++ /dev/null @@ -1,78 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QGRAPHICSITEMANIMATION_H -#define PYTHONQTWRAPPER_QGRAPHICSITEMANIMATION_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QGraphicsItemAnimation : public QGraphicsItemAnimation -{ -public: - PythonQtShell_QGraphicsItemAnimation(QObject* parent = 0):QGraphicsItemAnimation(parent),_wrapper(NULL) {}; - -virtual void afterAnimationStep(qreal step); -virtual void beforeAnimationStep(qreal step); -virtual void childEvent(QChildEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QGraphicsItemAnimation : public QGraphicsItemAnimation -{ public: -inline void promoted_beforeAnimationStep(qreal step) { QGraphicsItemAnimation::beforeAnimationStep(step); } -inline void promoted_afterAnimationStep(qreal step) { QGraphicsItemAnimation::afterAnimationStep(step); } -}; - -class PythonQtWrapper_QGraphicsItemAnimation : public QObject -{ Q_OBJECT -public: -public slots: -QGraphicsItemAnimation* new_QGraphicsItemAnimation(QObject* parent = 0); -void delete_QGraphicsItemAnimation(QGraphicsItemAnimation* obj) { delete obj; } - qreal rotationAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const; - void setRotationAt(QGraphicsItemAnimation* theWrappedObject, qreal step, qreal angle); - qreal verticalScaleAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const; - QList > scaleList(QGraphicsItemAnimation* theWrappedObject) const; - qreal yTranslationAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const; - qreal horizontalShearAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const; - qreal xTranslationAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const; - void setPosAt(QGraphicsItemAnimation* theWrappedObject, qreal step, const QPointF& pos); - void setTranslationAt(QGraphicsItemAnimation* theWrappedObject, qreal step, qreal dx, qreal dy); - void beforeAnimationStep(QGraphicsItemAnimation* theWrappedObject, qreal step); - qreal verticalShearAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const; - QList > rotationList(QGraphicsItemAnimation* theWrappedObject) const; - void setTimeLine(QGraphicsItemAnimation* theWrappedObject, QTimeLine* timeLine); - QGraphicsItem* item(QGraphicsItemAnimation* theWrappedObject) const; - QList > posList(QGraphicsItemAnimation* theWrappedObject) const; - void setScaleAt(QGraphicsItemAnimation* theWrappedObject, qreal step, qreal sx, qreal sy); - QTimeLine* timeLine(QGraphicsItemAnimation* theWrappedObject) const; - void setItem(QGraphicsItemAnimation* theWrappedObject, QGraphicsItem* item); - QMatrix matrixAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const; - void setShearAt(QGraphicsItemAnimation* theWrappedObject, qreal step, qreal sh, qreal sv); - QList > translationList(QGraphicsItemAnimation* theWrappedObject) const; - QList > shearList(QGraphicsItemAnimation* theWrappedObject) const; - qreal horizontalScaleAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const; - QPointF posAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const; - void afterAnimationStep(QGraphicsItemAnimation* theWrappedObject, qreal step); - void clear(QGraphicsItemAnimation* theWrappedObject); -}; - -#endif // PYTHONQTWRAPPER_QGRAPHICSITEMANIMATION_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsItemGroup.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsItemGroup.cpp deleted file mode 100644 index f448fc2..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsItemGroup.cpp +++ /dev/null @@ -1,813 +0,0 @@ -#include "PythonQtWrapper_QGraphicsItemGroup.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QGraphicsItemGroup::advance(int phase) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "advance"); - 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*)&phase}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsItemGroup::advance(phase); -} -QRectF PythonQtShell_QGraphicsItemGroup::boundingRect() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "boundingRect"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QRectF"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRectF returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); - } else { - returnValue = *((QRectF*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsItemGroup::boundingRect(); -} -bool PythonQtShell_QGraphicsItemGroup::collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "collidesWithItem"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QGraphicsItem*" , "Qt::ItemSelectionMode"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&other, (void*)&mode}; - 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("collidesWithItem", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsItemGroup::collidesWithItem(other, mode); -} -bool PythonQtShell_QGraphicsItemGroup::collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "collidesWithPath"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&path, (void*)&mode}; - 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("collidesWithPath", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsItemGroup::collidesWithPath(path, mode); -} -bool PythonQtShell_QGraphicsItemGroup::contains(const QPointF& point) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contains"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QPointF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&point}; - 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("contains", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsItemGroup::contains(point); -} -void PythonQtShell_QGraphicsItemGroup::contextMenuEvent(QGraphicsSceneContextMenuEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; - 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; - } -} - QGraphicsItemGroup::contextMenuEvent(event); -} -void PythonQtShell_QGraphicsItemGroup::dragEnterEvent(QGraphicsSceneDragDropEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsItemGroup::dragEnterEvent(event); -} -void PythonQtShell_QGraphicsItemGroup::dragLeaveEvent(QGraphicsSceneDragDropEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsItemGroup::dragLeaveEvent(event); -} -void PythonQtShell_QGraphicsItemGroup::dragMoveEvent(QGraphicsSceneDragDropEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsItemGroup::dragMoveEvent(event); -} -void PythonQtShell_QGraphicsItemGroup::dropEvent(QGraphicsSceneDragDropEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsItemGroup::dropEvent(event); -} -QVariant PythonQtShell_QGraphicsItemGroup::extension(const QVariant& variant) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "extension"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&variant}; - 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("extension", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsItemGroup::extension(variant); -} -void PythonQtShell_QGraphicsItemGroup::focusInEvent(QFocusEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QGraphicsItemGroup::focusInEvent(event); -} -void PythonQtShell_QGraphicsItemGroup::focusOutEvent(QFocusEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QGraphicsItemGroup::focusOutEvent(event); -} -void PythonQtShell_QGraphicsItemGroup::hoverEnterEvent(QGraphicsSceneHoverEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hoverEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; - 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; - } -} - QGraphicsItemGroup::hoverEnterEvent(event); -} -void PythonQtShell_QGraphicsItemGroup::hoverLeaveEvent(QGraphicsSceneHoverEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hoverLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; - 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; - } -} - QGraphicsItemGroup::hoverLeaveEvent(event); -} -void PythonQtShell_QGraphicsItemGroup::hoverMoveEvent(QGraphicsSceneHoverEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hoverMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; - 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; - } -} - QGraphicsItemGroup::hoverMoveEvent(event); -} -void PythonQtShell_QGraphicsItemGroup::inputMethodEvent(QInputMethodEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QGraphicsItemGroup::inputMethodEvent(event); -} -QVariant PythonQtShell_QGraphicsItemGroup::inputMethodQuery(Qt::InputMethodQuery query) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&query}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsItemGroup::inputMethodQuery(query); -} -bool PythonQtShell_QGraphicsItemGroup::isObscuredBy(const QGraphicsItem* item) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isObscuredBy"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&item}; - 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("isObscuredBy", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsItemGroup::isObscuredBy(item); -} -QVariant PythonQtShell_QGraphicsItemGroup::itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&change, (void*)&value}; - 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("itemChange", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsItemGroup::itemChange(change, value); -} -void PythonQtShell_QGraphicsItemGroup::keyPressEvent(QKeyEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsItemGroup::keyPressEvent(event); -} -void PythonQtShell_QGraphicsItemGroup::keyReleaseEvent(QKeyEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsItemGroup::keyReleaseEvent(event); -} -void PythonQtShell_QGraphicsItemGroup::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsItemGroup::mouseDoubleClickEvent(event); -} -void PythonQtShell_QGraphicsItemGroup::mouseMoveEvent(QGraphicsSceneMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsItemGroup::mouseMoveEvent(event); -} -void PythonQtShell_QGraphicsItemGroup::mousePressEvent(QGraphicsSceneMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsItemGroup::mousePressEvent(event); -} -void PythonQtShell_QGraphicsItemGroup::mouseReleaseEvent(QGraphicsSceneMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsItemGroup::mouseReleaseEvent(event); -} -QPainterPath PythonQtShell_QGraphicsItemGroup::opaqueArea() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "opaqueArea"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); - } else { - returnValue = *((QPainterPath*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsItemGroup::opaqueArea(); -} -void PythonQtShell_QGraphicsItemGroup::paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter, (void*)&option, (void*)&widget}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsItemGroup::paint(painter, option, widget); -} -bool PythonQtShell_QGraphicsItemGroup::sceneEvent(QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sceneEvent"); - 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("sceneEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsItemGroup::sceneEvent(event); -} -bool PythonQtShell_QGraphicsItemGroup::sceneEventFilter(QGraphicsItem* watched, QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sceneEventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&watched, (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("sceneEventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsItemGroup::sceneEventFilter(watched, event); -} -void PythonQtShell_QGraphicsItemGroup::setExtension(QGraphicsItem::Extension extension, const QVariant& variant) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setExtension"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&extension, (void*)&variant}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsItemGroup::setExtension(extension, variant); -} -QPainterPath PythonQtShell_QGraphicsItemGroup::shape() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "shape"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); - } else { - returnValue = *((QPainterPath*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsItemGroup::shape(); -} -bool PythonQtShell_QGraphicsItemGroup::supportsExtension(QGraphicsItem::Extension extension) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "supportsExtension"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&extension}; - 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("supportsExtension", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsItemGroup::supportsExtension(extension); -} -int PythonQtShell_QGraphicsItemGroup::type() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "type"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsItemGroup::type(); -} -void PythonQtShell_QGraphicsItemGroup::wheelEvent(QGraphicsSceneWheelEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; - 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; - } -} - QGraphicsItemGroup::wheelEvent(event); -} -QGraphicsItemGroup* PythonQtWrapper_QGraphicsItemGroup::new_QGraphicsItemGroup(QGraphicsItem* parent, QGraphicsScene* scene) -{ -return new PythonQtShell_QGraphicsItemGroup(parent, scene); } - -QRectF PythonQtWrapper_QGraphicsItemGroup::boundingRect(QGraphicsItemGroup* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsItemGroup*)theWrappedObject)->promoted_boundingRect()); -} - -bool PythonQtWrapper_QGraphicsItemGroup::isObscuredBy(QGraphicsItemGroup* theWrappedObject, const QGraphicsItem* item) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsItemGroup*)theWrappedObject)->promoted_isObscuredBy(item)); -} - -void PythonQtWrapper_QGraphicsItemGroup::paint(QGraphicsItemGroup* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) -{ - ( ((PythonQtPublicPromoter_QGraphicsItemGroup*)theWrappedObject)->promoted_paint(painter, option, widget)); -} - -QPainterPath PythonQtWrapper_QGraphicsItemGroup::opaqueArea(QGraphicsItemGroup* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsItemGroup*)theWrappedObject)->promoted_opaqueArea()); -} - -void PythonQtWrapper_QGraphicsItemGroup::removeFromGroup(QGraphicsItemGroup* theWrappedObject, QGraphicsItem* item) -{ - ( theWrappedObject->removeFromGroup(item)); -} - -void PythonQtWrapper_QGraphicsItemGroup::addToGroup(QGraphicsItemGroup* theWrappedObject, QGraphicsItem* item) -{ - ( theWrappedObject->addToGroup(item)); -} - -int PythonQtWrapper_QGraphicsItemGroup::type(QGraphicsItemGroup* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsItemGroup*)theWrappedObject)->promoted_type()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsItemGroup.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsItemGroup.h deleted file mode 100644 index bcf8a15..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsItemGroup.h +++ /dev/null @@ -1,100 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QGRAPHICSITEMGROUP_H -#define PYTHONQTWRAPPER_QGRAPHICSITEMGROUP_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QGraphicsItemGroup : public QGraphicsItemGroup -{ -public: - PythonQtShell_QGraphicsItemGroup(QGraphicsItem* parent = 0, QGraphicsScene* scene = 0):QGraphicsItemGroup(parent, scene),_wrapper(NULL) {}; - -virtual void advance(int phase); -virtual QRectF boundingRect() const; -virtual bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode) const; -virtual bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode) const; -virtual bool contains(const QPointF& point) const; -virtual void contextMenuEvent(QGraphicsSceneContextMenuEvent* event); -virtual void dragEnterEvent(QGraphicsSceneDragDropEvent* event); -virtual void dragLeaveEvent(QGraphicsSceneDragDropEvent* event); -virtual void dragMoveEvent(QGraphicsSceneDragDropEvent* event); -virtual void dropEvent(QGraphicsSceneDragDropEvent* event); -virtual QVariant extension(const QVariant& variant) const; -virtual void focusInEvent(QFocusEvent* event); -virtual void focusOutEvent(QFocusEvent* event); -virtual void hoverEnterEvent(QGraphicsSceneHoverEvent* event); -virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent* event); -virtual void hoverMoveEvent(QGraphicsSceneHoverEvent* event); -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual bool isObscuredBy(const QGraphicsItem* item) const; -virtual QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value); -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event); -virtual void mouseMoveEvent(QGraphicsSceneMouseEvent* event); -virtual void mousePressEvent(QGraphicsSceneMouseEvent* event); -virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent* event); -virtual QPainterPath opaqueArea() const; -virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = 0); -virtual bool sceneEvent(QEvent* event); -virtual bool sceneEventFilter(QGraphicsItem* watched, QEvent* event); -virtual void setExtension(QGraphicsItem::Extension extension, const QVariant& variant); -virtual QPainterPath shape() const; -virtual bool supportsExtension(QGraphicsItem::Extension extension) const; -virtual int type() const; -virtual void wheelEvent(QGraphicsSceneWheelEvent* event); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QGraphicsItemGroup : public QGraphicsItemGroup -{ public: -inline QRectF promoted_boundingRect() const { return QGraphicsItemGroup::boundingRect(); } -inline bool promoted_isObscuredBy(const QGraphicsItem* item) const { return QGraphicsItemGroup::isObscuredBy(item); } -inline void promoted_paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = 0) { QGraphicsItemGroup::paint(painter, option, widget); } -inline QPainterPath promoted_opaqueArea() const { return QGraphicsItemGroup::opaqueArea(); } -inline int promoted_type() const { return QGraphicsItemGroup::type(); } -}; - -class PythonQtWrapper_QGraphicsItemGroup : public QObject -{ Q_OBJECT -public: -Q_ENUMS(enum_1 ) -enum enum_1{ - Type = QGraphicsItemGroup::Type}; -public slots: -QGraphicsItemGroup* new_QGraphicsItemGroup(QGraphicsItem* parent = 0, QGraphicsScene* scene = 0); -void delete_QGraphicsItemGroup(QGraphicsItemGroup* obj) { delete obj; } - QRectF boundingRect(QGraphicsItemGroup* theWrappedObject) const; - bool isObscuredBy(QGraphicsItemGroup* theWrappedObject, const QGraphicsItem* item) const; - void paint(QGraphicsItemGroup* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = 0); - QPainterPath opaqueArea(QGraphicsItemGroup* theWrappedObject) const; - void removeFromGroup(QGraphicsItemGroup* theWrappedObject, QGraphicsItem* item); - void addToGroup(QGraphicsItemGroup* theWrappedObject, QGraphicsItem* item); - int type(QGraphicsItemGroup* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QGRAPHICSITEMGROUP_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsLayout.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsLayout.cpp deleted file mode 100644 index be713a3..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsLayout.cpp +++ /dev/null @@ -1,236 +0,0 @@ -#include "PythonQtWrapper_QGraphicsLayout.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -int PythonQtShell_QGraphicsLayout::count() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "count"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - int result; -return result; -} -void PythonQtShell_QGraphicsLayout::getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getContentsMargins"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "qreal*" , "qreal*" , "qreal*" , "qreal*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&left, (void*)&top, (void*)&right, (void*)&bottom}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsLayout::getContentsMargins(left, top, right, bottom); -} -void PythonQtShell_QGraphicsLayout::invalidate() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "invalidate"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsLayout::invalidate(); -} -QGraphicsLayoutItem* PythonQtShell_QGraphicsLayout::itemAt(int i) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemAt"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QGraphicsLayoutItem*" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QGraphicsLayoutItem* returnValue; - void* args[2] = {NULL, (void*)&i}; - 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("itemAt", methodInfo, result); - } else { - returnValue = *((QGraphicsLayoutItem**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QGraphicsLayoutItem* result; -return result; -} -void PythonQtShell_QGraphicsLayout::removeAt(int index) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "removeAt"); - 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*)&index}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - -} -void PythonQtShell_QGraphicsLayout::setGeometry(const QRectF& rect) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setGeometry"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QRectF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&rect}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsLayout::setGeometry(rect); -} -QSizeF PythonQtShell_QGraphicsLayout::sizeHint(Qt::SizeHint which, const QSizeF& constraint) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeHint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSizeF" , "Qt::SizeHint" , "const QSizeF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QSizeF returnValue; - void* args[3] = {NULL, (void*)&which, (void*)&constraint}; - 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("sizeHint", methodInfo, result); - } else { - returnValue = *((QSizeF*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QSizeF result; -return result; -} -void PythonQtShell_QGraphicsLayout::updateGeometry() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateGeometry"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsLayout::updateGeometry(); -} -void PythonQtShell_QGraphicsLayout::widgetEvent(QEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "widgetEvent"); - 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*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsLayout::widgetEvent(e); -} -QGraphicsLayout* PythonQtWrapper_QGraphicsLayout::new_QGraphicsLayout(QGraphicsLayoutItem* parent) -{ -return new PythonQtShell_QGraphicsLayout(parent); } - -void PythonQtWrapper_QGraphicsLayout::getContentsMargins(QGraphicsLayout* theWrappedObject, qreal* left, qreal* top, qreal* right, qreal* bottom) const -{ - ( ((PythonQtPublicPromoter_QGraphicsLayout*)theWrappedObject)->promoted_getContentsMargins(left, top, right, bottom)); -} - -void PythonQtWrapper_QGraphicsLayout::activate(QGraphicsLayout* theWrappedObject) -{ - ( theWrappedObject->activate()); -} - -void PythonQtWrapper_QGraphicsLayout::widgetEvent(QGraphicsLayout* theWrappedObject, QEvent* e) -{ - ( ((PythonQtPublicPromoter_QGraphicsLayout*)theWrappedObject)->promoted_widgetEvent(e)); -} - -bool PythonQtWrapper_QGraphicsLayout::isActivated(QGraphicsLayout* theWrappedObject) const -{ - return ( theWrappedObject->isActivated()); -} - -void PythonQtWrapper_QGraphicsLayout::setContentsMargins(QGraphicsLayout* theWrappedObject, qreal left, qreal top, qreal right, qreal bottom) -{ - ( theWrappedObject->setContentsMargins(left, top, right, bottom)); -} - -void PythonQtWrapper_QGraphicsLayout::invalidate(QGraphicsLayout* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QGraphicsLayout*)theWrappedObject)->promoted_invalidate()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsLayout.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsLayout.h deleted file mode 100644 index 911699a..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsLayout.h +++ /dev/null @@ -1,56 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QGRAPHICSLAYOUT_H -#define PYTHONQTWRAPPER_QGRAPHICSLAYOUT_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QGraphicsLayout : public QGraphicsLayout -{ -public: - PythonQtShell_QGraphicsLayout(QGraphicsLayoutItem* parent = 0):QGraphicsLayout(parent),_wrapper(NULL) {}; - -virtual int count() const; -virtual void getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const; -virtual void invalidate(); -virtual QGraphicsLayoutItem* itemAt(int i) const; -virtual void removeAt(int index); -virtual void setGeometry(const QRectF& rect); -virtual QSizeF sizeHint(Qt::SizeHint which, const QSizeF& constraint) const; -virtual void updateGeometry(); -virtual void widgetEvent(QEvent* e); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QGraphicsLayout : public QGraphicsLayout -{ public: -inline void promoted_getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const { QGraphicsLayout::getContentsMargins(left, top, right, bottom); } -inline void promoted_widgetEvent(QEvent* e) { QGraphicsLayout::widgetEvent(e); } -inline void promoted_invalidate() { QGraphicsLayout::invalidate(); } -}; - -class PythonQtWrapper_QGraphicsLayout : public QObject -{ Q_OBJECT -public: -public slots: -QGraphicsLayout* new_QGraphicsLayout(QGraphicsLayoutItem* parent = 0); -void delete_QGraphicsLayout(QGraphicsLayout* obj) { delete obj; } - void getContentsMargins(QGraphicsLayout* theWrappedObject, qreal* left, qreal* top, qreal* right, qreal* bottom) const; - void activate(QGraphicsLayout* theWrappedObject); - void widgetEvent(QGraphicsLayout* theWrappedObject, QEvent* e); - bool isActivated(QGraphicsLayout* theWrappedObject) const; - void setContentsMargins(QGraphicsLayout* theWrappedObject, qreal left, qreal top, qreal right, qreal bottom); - void invalidate(QGraphicsLayout* theWrappedObject); -}; - -#endif // PYTHONQTWRAPPER_QGRAPHICSLAYOUT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsLayoutItem.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsLayoutItem.cpp deleted file mode 100644 index ec78f59..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsLayoutItem.cpp +++ /dev/null @@ -1,260 +0,0 @@ -#include "PythonQtWrapper_QGraphicsLayoutItem.h" - -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QGraphicsLayoutItem::getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getContentsMargins"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "qreal*" , "qreal*" , "qreal*" , "qreal*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&left, (void*)&top, (void*)&right, (void*)&bottom}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsLayoutItem::getContentsMargins(left, top, right, bottom); -} -void PythonQtShell_QGraphicsLayoutItem::setGeometry(const QRectF& rect) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setGeometry"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QRectF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&rect}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsLayoutItem::setGeometry(rect); -} -QSizeF PythonQtShell_QGraphicsLayoutItem::sizeHint(Qt::SizeHint which, const QSizeF& constraint) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeHint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSizeF" , "Qt::SizeHint" , "const QSizeF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QSizeF returnValue; - void* args[3] = {NULL, (void*)&which, (void*)&constraint}; - 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("sizeHint", methodInfo, result); - } else { - returnValue = *((QSizeF*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QSizeF result; -return result; -} -void PythonQtShell_QGraphicsLayoutItem::updateGeometry() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateGeometry"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsLayoutItem::updateGeometry(); -} -QGraphicsLayoutItem* PythonQtWrapper_QGraphicsLayoutItem::new_QGraphicsLayoutItem(QGraphicsLayoutItem* parent, bool isLayout) -{ -return new PythonQtShell_QGraphicsLayoutItem(parent, isLayout); } - -void PythonQtWrapper_QGraphicsLayoutItem::setPreferredWidth(QGraphicsLayoutItem* theWrappedObject, qreal width) -{ - ( theWrappedObject->setPreferredWidth(width)); -} - -void PythonQtWrapper_QGraphicsLayoutItem::setMinimumHeight(QGraphicsLayoutItem* theWrappedObject, qreal height) -{ - ( theWrappedObject->setMinimumHeight(height)); -} - -QSizeF PythonQtWrapper_QGraphicsLayoutItem::minimumSize(QGraphicsLayoutItem* theWrappedObject) const -{ - return ( theWrappedObject->minimumSize()); -} - -QGraphicsLayoutItem* PythonQtWrapper_QGraphicsLayoutItem::parentLayoutItem(QGraphicsLayoutItem* theWrappedObject) const -{ - return ( theWrappedObject->parentLayoutItem()); -} - -QRectF PythonQtWrapper_QGraphicsLayoutItem::contentsRect(QGraphicsLayoutItem* theWrappedObject) const -{ - return ( theWrappedObject->contentsRect()); -} - -qreal PythonQtWrapper_QGraphicsLayoutItem::maximumWidth(QGraphicsLayoutItem* theWrappedObject) const -{ - return ( theWrappedObject->maximumWidth()); -} - -void PythonQtWrapper_QGraphicsLayoutItem::setMaximumWidth(QGraphicsLayoutItem* theWrappedObject, qreal width) -{ - ( theWrappedObject->setMaximumWidth(width)); -} - -QRectF PythonQtWrapper_QGraphicsLayoutItem::geometry(QGraphicsLayoutItem* theWrappedObject) const -{ - return ( theWrappedObject->geometry()); -} - -void PythonQtWrapper_QGraphicsLayoutItem::setMaximumHeight(QGraphicsLayoutItem* theWrappedObject, qreal height) -{ - ( theWrappedObject->setMaximumHeight(height)); -} - -QSizeF PythonQtWrapper_QGraphicsLayoutItem::effectiveSizeHint(QGraphicsLayoutItem* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint) const -{ - return ( theWrappedObject->effectiveSizeHint(which, constraint)); -} - -qreal PythonQtWrapper_QGraphicsLayoutItem::maximumHeight(QGraphicsLayoutItem* theWrappedObject) const -{ - return ( theWrappedObject->maximumHeight()); -} - -qreal PythonQtWrapper_QGraphicsLayoutItem::minimumWidth(QGraphicsLayoutItem* theWrappedObject) const -{ - return ( theWrappedObject->minimumWidth()); -} - -QSizePolicy PythonQtWrapper_QGraphicsLayoutItem::sizePolicy(QGraphicsLayoutItem* theWrappedObject) const -{ - return ( theWrappedObject->sizePolicy()); -} - -bool PythonQtWrapper_QGraphicsLayoutItem::isLayout(QGraphicsLayoutItem* theWrappedObject) const -{ - return ( theWrappedObject->isLayout()); -} - -void PythonQtWrapper_QGraphicsLayoutItem::setSizePolicy(QGraphicsLayoutItem* theWrappedObject, const QSizePolicy& policy) -{ - ( theWrappedObject->setSizePolicy(policy)); -} - -qreal PythonQtWrapper_QGraphicsLayoutItem::minimumHeight(QGraphicsLayoutItem* theWrappedObject) const -{ - return ( theWrappedObject->minimumHeight()); -} - -void PythonQtWrapper_QGraphicsLayoutItem::setMinimumSize(QGraphicsLayoutItem* theWrappedObject, qreal w, qreal h) -{ - ( theWrappedObject->setMinimumSize(w, h)); -} - -QSizeF PythonQtWrapper_QGraphicsLayoutItem::maximumSize(QGraphicsLayoutItem* theWrappedObject) const -{ - return ( theWrappedObject->maximumSize()); -} - -qreal PythonQtWrapper_QGraphicsLayoutItem::preferredWidth(QGraphicsLayoutItem* theWrappedObject) const -{ - return ( theWrappedObject->preferredWidth()); -} - -void PythonQtWrapper_QGraphicsLayoutItem::setMinimumSize(QGraphicsLayoutItem* theWrappedObject, const QSizeF& size) -{ - ( theWrappedObject->setMinimumSize(size)); -} - -void PythonQtWrapper_QGraphicsLayoutItem::setMaximumSize(QGraphicsLayoutItem* theWrappedObject, qreal w, qreal h) -{ - ( theWrappedObject->setMaximumSize(w, h)); -} - -void PythonQtWrapper_QGraphicsLayoutItem::setPreferredSize(QGraphicsLayoutItem* theWrappedObject, qreal w, qreal h) -{ - ( theWrappedObject->setPreferredSize(w, h)); -} - -qreal PythonQtWrapper_QGraphicsLayoutItem::preferredHeight(QGraphicsLayoutItem* theWrappedObject) const -{ - return ( theWrappedObject->preferredHeight()); -} - -void PythonQtWrapper_QGraphicsLayoutItem::setMaximumSize(QGraphicsLayoutItem* theWrappedObject, const QSizeF& size) -{ - ( theWrappedObject->setMaximumSize(size)); -} - -void PythonQtWrapper_QGraphicsLayoutItem::setMinimumWidth(QGraphicsLayoutItem* theWrappedObject, qreal width) -{ - ( theWrappedObject->setMinimumWidth(width)); -} - -void PythonQtWrapper_QGraphicsLayoutItem::setParentLayoutItem(QGraphicsLayoutItem* theWrappedObject, QGraphicsLayoutItem* parent) -{ - ( theWrappedObject->setParentLayoutItem(parent)); -} - -void PythonQtWrapper_QGraphicsLayoutItem::getContentsMargins(QGraphicsLayoutItem* theWrappedObject, qreal* left, qreal* top, qreal* right, qreal* bottom) const -{ - ( ((PythonQtPublicPromoter_QGraphicsLayoutItem*)theWrappedObject)->promoted_getContentsMargins(left, top, right, bottom)); -} - -void PythonQtWrapper_QGraphicsLayoutItem::setPreferredHeight(QGraphicsLayoutItem* theWrappedObject, qreal height) -{ - ( theWrappedObject->setPreferredHeight(height)); -} - -void PythonQtWrapper_QGraphicsLayoutItem::setPreferredSize(QGraphicsLayoutItem* theWrappedObject, const QSizeF& size) -{ - ( theWrappedObject->setPreferredSize(size)); -} - -QSizeF PythonQtWrapper_QGraphicsLayoutItem::preferredSize(QGraphicsLayoutItem* theWrappedObject) const -{ - return ( theWrappedObject->preferredSize()); -} - -void PythonQtWrapper_QGraphicsLayoutItem::setGeometry(QGraphicsLayoutItem* theWrappedObject, const QRectF& rect) -{ - ( ((PythonQtPublicPromoter_QGraphicsLayoutItem*)theWrappedObject)->promoted_setGeometry(rect)); -} - -void PythonQtWrapper_QGraphicsLayoutItem::setSizePolicy(QGraphicsLayoutItem* theWrappedObject, QSizePolicy::Policy hPolicy, QSizePolicy::Policy vPolicy, QSizePolicy::ControlType controlType) -{ - ( theWrappedObject->setSizePolicy(hPolicy, vPolicy, controlType)); -} - -void PythonQtWrapper_QGraphicsLayoutItem::updateGeometry(QGraphicsLayoutItem* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QGraphicsLayoutItem*)theWrappedObject)->promoted_updateGeometry()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsLayoutItem.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsLayoutItem.h deleted file mode 100644 index cc4e839..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsLayoutItem.h +++ /dev/null @@ -1,76 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QGRAPHICSLAYOUTITEM_H -#define PYTHONQTWRAPPER_QGRAPHICSLAYOUTITEM_H - -#include -#include - -#include - -#include -#include -#include -#include -#include - -class PythonQtShell_QGraphicsLayoutItem : public QGraphicsLayoutItem -{ -public: - PythonQtShell_QGraphicsLayoutItem(QGraphicsLayoutItem* parent = 0, bool isLayout = false):QGraphicsLayoutItem(parent, isLayout),_wrapper(NULL) {}; - -virtual void getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const; -virtual void setGeometry(const QRectF& rect); -virtual QSizeF sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const; -virtual void updateGeometry(); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QGraphicsLayoutItem : public QGraphicsLayoutItem -{ public: -inline void promoted_getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const { QGraphicsLayoutItem::getContentsMargins(left, top, right, bottom); } -inline void promoted_setGeometry(const QRectF& rect) { QGraphicsLayoutItem::setGeometry(rect); } -inline void promoted_updateGeometry() { QGraphicsLayoutItem::updateGeometry(); } -}; - -class PythonQtWrapper_QGraphicsLayoutItem : public QObject -{ Q_OBJECT -public: -public slots: -QGraphicsLayoutItem* new_QGraphicsLayoutItem(QGraphicsLayoutItem* parent = 0, bool isLayout = false); -void delete_QGraphicsLayoutItem(QGraphicsLayoutItem* obj) { delete obj; } - void setPreferredWidth(QGraphicsLayoutItem* theWrappedObject, qreal width); - void setMinimumHeight(QGraphicsLayoutItem* theWrappedObject, qreal height); - QSizeF minimumSize(QGraphicsLayoutItem* theWrappedObject) const; - QGraphicsLayoutItem* parentLayoutItem(QGraphicsLayoutItem* theWrappedObject) const; - QRectF contentsRect(QGraphicsLayoutItem* theWrappedObject) const; - qreal maximumWidth(QGraphicsLayoutItem* theWrappedObject) const; - void setMaximumWidth(QGraphicsLayoutItem* theWrappedObject, qreal width); - QRectF geometry(QGraphicsLayoutItem* theWrappedObject) const; - void setMaximumHeight(QGraphicsLayoutItem* theWrappedObject, qreal height); - QSizeF effectiveSizeHint(QGraphicsLayoutItem* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const; - qreal maximumHeight(QGraphicsLayoutItem* theWrappedObject) const; - qreal minimumWidth(QGraphicsLayoutItem* theWrappedObject) const; - QSizePolicy sizePolicy(QGraphicsLayoutItem* theWrappedObject) const; - bool isLayout(QGraphicsLayoutItem* theWrappedObject) const; - void setSizePolicy(QGraphicsLayoutItem* theWrappedObject, const QSizePolicy& policy); - qreal minimumHeight(QGraphicsLayoutItem* theWrappedObject) const; - void setMinimumSize(QGraphicsLayoutItem* theWrappedObject, qreal w, qreal h); - QSizeF maximumSize(QGraphicsLayoutItem* theWrappedObject) const; - qreal preferredWidth(QGraphicsLayoutItem* theWrappedObject) const; - void setMinimumSize(QGraphicsLayoutItem* theWrappedObject, const QSizeF& size); - void setMaximumSize(QGraphicsLayoutItem* theWrappedObject, qreal w, qreal h); - void setPreferredSize(QGraphicsLayoutItem* theWrappedObject, qreal w, qreal h); - qreal preferredHeight(QGraphicsLayoutItem* theWrappedObject) const; - void setMaximumSize(QGraphicsLayoutItem* theWrappedObject, const QSizeF& size); - void setMinimumWidth(QGraphicsLayoutItem* theWrappedObject, qreal width); - void setParentLayoutItem(QGraphicsLayoutItem* theWrappedObject, QGraphicsLayoutItem* parent); - void getContentsMargins(QGraphicsLayoutItem* theWrappedObject, qreal* left, qreal* top, qreal* right, qreal* bottom) const; - void setPreferredHeight(QGraphicsLayoutItem* theWrappedObject, qreal height); - void setPreferredSize(QGraphicsLayoutItem* theWrappedObject, const QSizeF& size); - QSizeF preferredSize(QGraphicsLayoutItem* theWrappedObject) const; - void setGeometry(QGraphicsLayoutItem* theWrappedObject, const QRectF& rect); - void setSizePolicy(QGraphicsLayoutItem* theWrappedObject, QSizePolicy::Policy hPolicy, QSizePolicy::Policy vPolicy, QSizePolicy::ControlType controlType = QSizePolicy::DefaultType); - void updateGeometry(QGraphicsLayoutItem* theWrappedObject); -}; - -#endif // PYTHONQTWRAPPER_QGRAPHICSLAYOUTITEM_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsLineItem.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsLineItem.cpp deleted file mode 100644 index 5ccf317..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsLineItem.cpp +++ /dev/null @@ -1,808 +0,0 @@ -#include "PythonQtWrapper_QGraphicsLineItem.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QGraphicsLineItem::advance(int phase) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "advance"); - 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*)&phase}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsLineItem::advance(phase); -} -QRectF PythonQtShell_QGraphicsLineItem::boundingRect() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "boundingRect"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QRectF"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRectF returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); - } else { - returnValue = *((QRectF*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsLineItem::boundingRect(); -} -bool PythonQtShell_QGraphicsLineItem::collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "collidesWithItem"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QGraphicsItem*" , "Qt::ItemSelectionMode"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&other, (void*)&mode}; - 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("collidesWithItem", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsLineItem::collidesWithItem(other, mode); -} -bool PythonQtShell_QGraphicsLineItem::collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "collidesWithPath"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&path, (void*)&mode}; - 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("collidesWithPath", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsLineItem::collidesWithPath(path, mode); -} -bool PythonQtShell_QGraphicsLineItem::contains(const QPointF& point) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contains"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QPointF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&point}; - 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("contains", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsLineItem::contains(point); -} -void PythonQtShell_QGraphicsLineItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; - 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; - } -} - QGraphicsLineItem::contextMenuEvent(event); -} -void PythonQtShell_QGraphicsLineItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsLineItem::dragEnterEvent(event); -} -void PythonQtShell_QGraphicsLineItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsLineItem::dragLeaveEvent(event); -} -void PythonQtShell_QGraphicsLineItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsLineItem::dragMoveEvent(event); -} -void PythonQtShell_QGraphicsLineItem::dropEvent(QGraphicsSceneDragDropEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsLineItem::dropEvent(event); -} -QVariant PythonQtShell_QGraphicsLineItem::extension(const QVariant& variant) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "extension"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&variant}; - 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("extension", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsLineItem::extension(variant); -} -void PythonQtShell_QGraphicsLineItem::focusInEvent(QFocusEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QGraphicsLineItem::focusInEvent(event); -} -void PythonQtShell_QGraphicsLineItem::focusOutEvent(QFocusEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QGraphicsLineItem::focusOutEvent(event); -} -void PythonQtShell_QGraphicsLineItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hoverEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; - 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; - } -} - QGraphicsLineItem::hoverEnterEvent(event); -} -void PythonQtShell_QGraphicsLineItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hoverLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; - 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; - } -} - QGraphicsLineItem::hoverLeaveEvent(event); -} -void PythonQtShell_QGraphicsLineItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hoverMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; - 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; - } -} - QGraphicsLineItem::hoverMoveEvent(event); -} -void PythonQtShell_QGraphicsLineItem::inputMethodEvent(QInputMethodEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QGraphicsLineItem::inputMethodEvent(event); -} -QVariant PythonQtShell_QGraphicsLineItem::inputMethodQuery(Qt::InputMethodQuery query) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&query}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsLineItem::inputMethodQuery(query); -} -bool PythonQtShell_QGraphicsLineItem::isObscuredBy(const QGraphicsItem* item) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isObscuredBy"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&item}; - 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("isObscuredBy", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsLineItem::isObscuredBy(item); -} -QVariant PythonQtShell_QGraphicsLineItem::itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&change, (void*)&value}; - 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("itemChange", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsLineItem::itemChange(change, value); -} -void PythonQtShell_QGraphicsLineItem::keyPressEvent(QKeyEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsLineItem::keyPressEvent(event); -} -void PythonQtShell_QGraphicsLineItem::keyReleaseEvent(QKeyEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsLineItem::keyReleaseEvent(event); -} -void PythonQtShell_QGraphicsLineItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsLineItem::mouseDoubleClickEvent(event); -} -void PythonQtShell_QGraphicsLineItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsLineItem::mouseMoveEvent(event); -} -void PythonQtShell_QGraphicsLineItem::mousePressEvent(QGraphicsSceneMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsLineItem::mousePressEvent(event); -} -void PythonQtShell_QGraphicsLineItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsLineItem::mouseReleaseEvent(event); -} -QPainterPath PythonQtShell_QGraphicsLineItem::opaqueArea() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "opaqueArea"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); - } else { - returnValue = *((QPainterPath*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsLineItem::opaqueArea(); -} -void PythonQtShell_QGraphicsLineItem::paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter, (void*)&option, (void*)&widget}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsLineItem::paint(painter, option, widget); -} -bool PythonQtShell_QGraphicsLineItem::sceneEvent(QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sceneEvent"); - 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("sceneEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsLineItem::sceneEvent(event); -} -bool PythonQtShell_QGraphicsLineItem::sceneEventFilter(QGraphicsItem* watched, QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sceneEventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&watched, (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("sceneEventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsLineItem::sceneEventFilter(watched, event); -} -QPainterPath PythonQtShell_QGraphicsLineItem::shape() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "shape"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); - } else { - returnValue = *((QPainterPath*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsLineItem::shape(); -} -int PythonQtShell_QGraphicsLineItem::type() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "type"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsLineItem::type(); -} -void PythonQtShell_QGraphicsLineItem::wheelEvent(QGraphicsSceneWheelEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; - 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; - } -} - QGraphicsLineItem::wheelEvent(event); -} -QGraphicsLineItem* PythonQtWrapper_QGraphicsLineItem::new_QGraphicsLineItem(QGraphicsItem* parent, QGraphicsScene* scene) -{ -return new PythonQtShell_QGraphicsLineItem(parent, scene); } - -QGraphicsLineItem* PythonQtWrapper_QGraphicsLineItem::new_QGraphicsLineItem(const QLineF& line, QGraphicsItem* parent, QGraphicsScene* scene) -{ -return new PythonQtShell_QGraphicsLineItem(line, parent, scene); } - -QGraphicsLineItem* PythonQtWrapper_QGraphicsLineItem::new_QGraphicsLineItem(qreal x1, qreal y1, qreal x2, qreal y2, QGraphicsItem* parent, QGraphicsScene* scene) -{ -return new PythonQtShell_QGraphicsLineItem(x1, y1, x2, y2, parent, scene); } - -QPen PythonQtWrapper_QGraphicsLineItem::pen(QGraphicsLineItem* theWrappedObject) const -{ - return ( theWrappedObject->pen()); -} - -void PythonQtWrapper_QGraphicsLineItem::setPen(QGraphicsLineItem* theWrappedObject, const QPen& pen) -{ - ( theWrappedObject->setPen(pen)); -} - -QVariant PythonQtWrapper_QGraphicsLineItem::extension(QGraphicsLineItem* theWrappedObject, const QVariant& variant) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsLineItem*)theWrappedObject)->promoted_extension(variant)); -} - -bool PythonQtWrapper_QGraphicsLineItem::contains(QGraphicsLineItem* theWrappedObject, const QPointF& point) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsLineItem*)theWrappedObject)->promoted_contains(point)); -} - -QRectF PythonQtWrapper_QGraphicsLineItem::boundingRect(QGraphicsLineItem* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsLineItem*)theWrappedObject)->promoted_boundingRect()); -} - -QPainterPath PythonQtWrapper_QGraphicsLineItem::opaqueArea(QGraphicsLineItem* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsLineItem*)theWrappedObject)->promoted_opaqueArea()); -} - -void PythonQtWrapper_QGraphicsLineItem::setLine(QGraphicsLineItem* theWrappedObject, qreal x1, qreal y1, qreal x2, qreal y2) -{ - ( theWrappedObject->setLine(x1, y1, x2, y2)); -} - -bool PythonQtWrapper_QGraphicsLineItem::isObscuredBy(QGraphicsLineItem* theWrappedObject, const QGraphicsItem* item) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsLineItem*)theWrappedObject)->promoted_isObscuredBy(item)); -} - -void PythonQtWrapper_QGraphicsLineItem::setLine(QGraphicsLineItem* theWrappedObject, const QLineF& line) -{ - ( theWrappedObject->setLine(line)); -} - -QLineF PythonQtWrapper_QGraphicsLineItem::line(QGraphicsLineItem* theWrappedObject) const -{ - return ( theWrappedObject->line()); -} - -QPainterPath PythonQtWrapper_QGraphicsLineItem::shape(QGraphicsLineItem* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsLineItem*)theWrappedObject)->promoted_shape()); -} - -void PythonQtWrapper_QGraphicsLineItem::paint(QGraphicsLineItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) -{ - ( ((PythonQtPublicPromoter_QGraphicsLineItem*)theWrappedObject)->promoted_paint(painter, option, widget)); -} - -int PythonQtWrapper_QGraphicsLineItem::type(QGraphicsLineItem* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsLineItem*)theWrappedObject)->promoted_type()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsLineItem.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsLineItem.h deleted file mode 100644 index 2eaabd3..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsLineItem.h +++ /dev/null @@ -1,113 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QGRAPHICSLINEITEM_H -#define PYTHONQTWRAPPER_QGRAPHICSLINEITEM_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QGraphicsLineItem : public QGraphicsLineItem -{ -public: - PythonQtShell_QGraphicsLineItem(QGraphicsItem* parent = 0, QGraphicsScene* scene = 0):QGraphicsLineItem(parent, scene),_wrapper(NULL) {}; - PythonQtShell_QGraphicsLineItem(const QLineF& line, QGraphicsItem* parent = 0, QGraphicsScene* scene = 0):QGraphicsLineItem(line, parent, scene),_wrapper(NULL) {}; - PythonQtShell_QGraphicsLineItem(qreal x1, qreal y1, qreal x2, qreal y2, QGraphicsItem* parent = 0, QGraphicsScene* scene = 0):QGraphicsLineItem(x1, y1, x2, y2, parent, scene),_wrapper(NULL) {}; - -virtual void advance(int phase); -virtual QRectF boundingRect() const; -virtual bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode) const; -virtual bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode) const; -virtual bool contains(const QPointF& point) const; -virtual void contextMenuEvent(QGraphicsSceneContextMenuEvent* event); -virtual void dragEnterEvent(QGraphicsSceneDragDropEvent* event); -virtual void dragLeaveEvent(QGraphicsSceneDragDropEvent* event); -virtual void dragMoveEvent(QGraphicsSceneDragDropEvent* event); -virtual void dropEvent(QGraphicsSceneDragDropEvent* event); -virtual QVariant extension(const QVariant& variant) const; -virtual void focusInEvent(QFocusEvent* event); -virtual void focusOutEvent(QFocusEvent* event); -virtual void hoverEnterEvent(QGraphicsSceneHoverEvent* event); -virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent* event); -virtual void hoverMoveEvent(QGraphicsSceneHoverEvent* event); -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual bool isObscuredBy(const QGraphicsItem* item) const; -virtual QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value); -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event); -virtual void mouseMoveEvent(QGraphicsSceneMouseEvent* event); -virtual void mousePressEvent(QGraphicsSceneMouseEvent* event); -virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent* event); -virtual QPainterPath opaqueArea() const; -virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = 0); -virtual bool sceneEvent(QEvent* event); -virtual bool sceneEventFilter(QGraphicsItem* watched, QEvent* event); -virtual QPainterPath shape() const; -virtual int type() const; -virtual void wheelEvent(QGraphicsSceneWheelEvent* event); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QGraphicsLineItem : public QGraphicsLineItem -{ public: -inline QVariant promoted_extension(const QVariant& variant) const { return QGraphicsLineItem::extension(variant); } -inline bool promoted_contains(const QPointF& point) const { return QGraphicsLineItem::contains(point); } -inline QRectF promoted_boundingRect() const { return QGraphicsLineItem::boundingRect(); } -inline QPainterPath promoted_opaqueArea() const { return QGraphicsLineItem::opaqueArea(); } -inline bool promoted_isObscuredBy(const QGraphicsItem* item) const { return QGraphicsLineItem::isObscuredBy(item); } -inline QPainterPath promoted_shape() const { return QGraphicsLineItem::shape(); } -inline void promoted_paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = 0) { QGraphicsLineItem::paint(painter, option, widget); } -inline int promoted_type() const { return QGraphicsLineItem::type(); } -}; - -class PythonQtWrapper_QGraphicsLineItem : public QObject -{ Q_OBJECT -public: -Q_ENUMS(enum_1 ) -enum enum_1{ - Type = QGraphicsLineItem::Type}; -public slots: -QGraphicsLineItem* new_QGraphicsLineItem(QGraphicsItem* parent = 0, QGraphicsScene* scene = 0); -QGraphicsLineItem* new_QGraphicsLineItem(const QLineF& line, QGraphicsItem* parent = 0, QGraphicsScene* scene = 0); -QGraphicsLineItem* new_QGraphicsLineItem(qreal x1, qreal y1, qreal x2, qreal y2, QGraphicsItem* parent = 0, QGraphicsScene* scene = 0); -void delete_QGraphicsLineItem(QGraphicsLineItem* obj) { delete obj; } - QPen pen(QGraphicsLineItem* theWrappedObject) const; - void setPen(QGraphicsLineItem* theWrappedObject, const QPen& pen); - QVariant extension(QGraphicsLineItem* theWrappedObject, const QVariant& variant) const; - bool contains(QGraphicsLineItem* theWrappedObject, const QPointF& point) const; - QRectF boundingRect(QGraphicsLineItem* theWrappedObject) const; - QPainterPath opaqueArea(QGraphicsLineItem* theWrappedObject) const; - void setLine(QGraphicsLineItem* theWrappedObject, qreal x1, qreal y1, qreal x2, qreal y2); - bool isObscuredBy(QGraphicsLineItem* theWrappedObject, const QGraphicsItem* item) const; - void setLine(QGraphicsLineItem* theWrappedObject, const QLineF& line); - QLineF line(QGraphicsLineItem* theWrappedObject) const; - QPainterPath shape(QGraphicsLineItem* theWrappedObject) const; - void paint(QGraphicsLineItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = 0); - int type(QGraphicsLineItem* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QGRAPHICSLINEITEM_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsLinearLayout.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsLinearLayout.cpp deleted file mode 100644 index ffd4357..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsLinearLayout.cpp +++ /dev/null @@ -1,249 +0,0 @@ -#include "PythonQtWrapper_QGraphicsLinearLayout.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -int PythonQtShell_QGraphicsLinearLayout::count() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "count"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsLinearLayout::count(); -} -void PythonQtShell_QGraphicsLinearLayout::getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getContentsMargins"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "qreal*" , "qreal*" , "qreal*" , "qreal*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&left, (void*)&top, (void*)&right, (void*)&bottom}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsLinearLayout::getContentsMargins(left, top, right, bottom); -} -void PythonQtShell_QGraphicsLinearLayout::invalidate() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "invalidate"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsLinearLayout::invalidate(); -} -QGraphicsLayoutItem* PythonQtShell_QGraphicsLinearLayout::itemAt(int index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemAt"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QGraphicsLayoutItem*" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QGraphicsLayoutItem* 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) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); - } else { - returnValue = *((QGraphicsLayoutItem**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsLinearLayout::itemAt(index); -} -void PythonQtShell_QGraphicsLinearLayout::removeAt(int index) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "removeAt"); - 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*)&index}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsLinearLayout::removeAt(index); -} -void PythonQtShell_QGraphicsLinearLayout::widgetEvent(QEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "widgetEvent"); - 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*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsLinearLayout::widgetEvent(e); -} -QGraphicsLinearLayout* PythonQtWrapper_QGraphicsLinearLayout::new_QGraphicsLinearLayout(QGraphicsLayoutItem* parent) -{ -return new PythonQtShell_QGraphicsLinearLayout(parent); } - -QGraphicsLinearLayout* PythonQtWrapper_QGraphicsLinearLayout::new_QGraphicsLinearLayout(Qt::Orientation orientation, QGraphicsLayoutItem* parent) -{ -return new PythonQtShell_QGraphicsLinearLayout(orientation, parent); } - -void PythonQtWrapper_QGraphicsLinearLayout::setItemSpacing(QGraphicsLinearLayout* theWrappedObject, int index, qreal spacing) -{ - ( theWrappedObject->setItemSpacing(index, spacing)); -} - -int PythonQtWrapper_QGraphicsLinearLayout::count(QGraphicsLinearLayout* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsLinearLayout*)theWrappedObject)->promoted_count()); -} - -qreal PythonQtWrapper_QGraphicsLinearLayout::itemSpacing(QGraphicsLinearLayout* theWrappedObject, int index) const -{ - return ( theWrappedObject->itemSpacing(index)); -} - -void PythonQtWrapper_QGraphicsLinearLayout::setSpacing(QGraphicsLinearLayout* theWrappedObject, qreal spacing) -{ - ( theWrappedObject->setSpacing(spacing)); -} - -void PythonQtWrapper_QGraphicsLinearLayout::setOrientation(QGraphicsLinearLayout* theWrappedObject, Qt::Orientation orientation) -{ - ( theWrappedObject->setOrientation(orientation)); -} - -void PythonQtWrapper_QGraphicsLinearLayout::invalidate(QGraphicsLinearLayout* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QGraphicsLinearLayout*)theWrappedObject)->promoted_invalidate()); -} - -QSizeF PythonQtWrapper_QGraphicsLinearLayout::sizeHint(QGraphicsLinearLayout* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint) const -{ - return ( theWrappedObject->sizeHint(which, constraint)); -} - -int PythonQtWrapper_QGraphicsLinearLayout::stretchFactor(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item) const -{ - return ( theWrappedObject->stretchFactor(item)); -} - -QGraphicsLayoutItem* PythonQtWrapper_QGraphicsLinearLayout::itemAt(QGraphicsLinearLayout* theWrappedObject, int index) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsLinearLayout*)theWrappedObject)->promoted_itemAt(index)); -} - -void PythonQtWrapper_QGraphicsLinearLayout::setStretchFactor(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item, int stretch) -{ - ( theWrappedObject->setStretchFactor(item, stretch)); -} - -void PythonQtWrapper_QGraphicsLinearLayout::removeItem(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item) -{ - ( theWrappedObject->removeItem(item)); -} - -void PythonQtWrapper_QGraphicsLinearLayout::setGeometry(QGraphicsLinearLayout* theWrappedObject, const QRectF& rect) -{ - ( theWrappedObject->setGeometry(rect)); -} - -void PythonQtWrapper_QGraphicsLinearLayout::addItem(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item) -{ - ( theWrappedObject->addItem(item)); -} - -qreal PythonQtWrapper_QGraphicsLinearLayout::spacing(QGraphicsLinearLayout* theWrappedObject) const -{ - return ( theWrappedObject->spacing()); -} - -void PythonQtWrapper_QGraphicsLinearLayout::insertStretch(QGraphicsLinearLayout* theWrappedObject, int index, int stretch) -{ - ( theWrappedObject->insertStretch(index, stretch)); -} - -void PythonQtWrapper_QGraphicsLinearLayout::insertItem(QGraphicsLinearLayout* theWrappedObject, int index, QGraphicsLayoutItem* item) -{ - ( theWrappedObject->insertItem(index, item)); -} - -void PythonQtWrapper_QGraphicsLinearLayout::addStretch(QGraphicsLinearLayout* theWrappedObject, int stretch) -{ - ( theWrappedObject->addStretch(stretch)); -} - -void PythonQtWrapper_QGraphicsLinearLayout::setAlignment(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item, Qt::Alignment alignment) -{ - ( theWrappedObject->setAlignment(item, alignment)); -} - -Qt::Alignment PythonQtWrapper_QGraphicsLinearLayout::alignment(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item) const -{ - return ( theWrappedObject->alignment(item)); -} - -Qt::Orientation PythonQtWrapper_QGraphicsLinearLayout::orientation(QGraphicsLinearLayout* theWrappedObject) const -{ - return ( theWrappedObject->orientation()); -} - -void PythonQtWrapper_QGraphicsLinearLayout::removeAt(QGraphicsLinearLayout* theWrappedObject, int index) -{ - ( ((PythonQtPublicPromoter_QGraphicsLinearLayout*)theWrappedObject)->promoted_removeAt(index)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsLinearLayout.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsLinearLayout.h deleted file mode 100644 index 03cd6b2..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsLinearLayout.h +++ /dev/null @@ -1,70 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QGRAPHICSLINEARLAYOUT_H -#define PYTHONQTWRAPPER_QGRAPHICSLINEARLAYOUT_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QGraphicsLinearLayout : public QGraphicsLinearLayout -{ -public: - PythonQtShell_QGraphicsLinearLayout(QGraphicsLayoutItem* parent = 0):QGraphicsLinearLayout(parent),_wrapper(NULL) {}; - PythonQtShell_QGraphicsLinearLayout(Qt::Orientation orientation, QGraphicsLayoutItem* parent = 0):QGraphicsLinearLayout(orientation, parent),_wrapper(NULL) {}; - -virtual int count() const; -virtual void getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const; -virtual void invalidate(); -virtual QGraphicsLayoutItem* itemAt(int index) const; -virtual void removeAt(int index); -virtual void widgetEvent(QEvent* e); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QGraphicsLinearLayout : public QGraphicsLinearLayout -{ public: -inline int promoted_count() const { return QGraphicsLinearLayout::count(); } -inline void promoted_invalidate() { QGraphicsLinearLayout::invalidate(); } -inline QGraphicsLayoutItem* promoted_itemAt(int index) const { return QGraphicsLinearLayout::itemAt(index); } -inline void promoted_removeAt(int index) { QGraphicsLinearLayout::removeAt(index); } -}; - -class PythonQtWrapper_QGraphicsLinearLayout : public QObject -{ Q_OBJECT -public: -public slots: -QGraphicsLinearLayout* new_QGraphicsLinearLayout(QGraphicsLayoutItem* parent = 0); -QGraphicsLinearLayout* new_QGraphicsLinearLayout(Qt::Orientation orientation, QGraphicsLayoutItem* parent = 0); -void delete_QGraphicsLinearLayout(QGraphicsLinearLayout* obj) { delete obj; } - void setItemSpacing(QGraphicsLinearLayout* theWrappedObject, int index, qreal spacing); - int count(QGraphicsLinearLayout* theWrappedObject) const; - qreal itemSpacing(QGraphicsLinearLayout* theWrappedObject, int index) const; - void setSpacing(QGraphicsLinearLayout* theWrappedObject, qreal spacing); - void setOrientation(QGraphicsLinearLayout* theWrappedObject, Qt::Orientation orientation); - void invalidate(QGraphicsLinearLayout* theWrappedObject); - QSizeF sizeHint(QGraphicsLinearLayout* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const; - int stretchFactor(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item) const; - QGraphicsLayoutItem* itemAt(QGraphicsLinearLayout* theWrappedObject, int index) const; - void setStretchFactor(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item, int stretch); - void removeItem(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item); - void setGeometry(QGraphicsLinearLayout* theWrappedObject, const QRectF& rect); - void addItem(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item); - qreal spacing(QGraphicsLinearLayout* theWrappedObject) const; - void insertStretch(QGraphicsLinearLayout* theWrappedObject, int index, int stretch = 1); - void insertItem(QGraphicsLinearLayout* theWrappedObject, int index, QGraphicsLayoutItem* item); - void addStretch(QGraphicsLinearLayout* theWrappedObject, int stretch = 1); - void setAlignment(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item, Qt::Alignment alignment); - Qt::Alignment alignment(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item) const; - Qt::Orientation orientation(QGraphicsLinearLayout* theWrappedObject) const; - void removeAt(QGraphicsLinearLayout* theWrappedObject, int index); -}; - -#endif // PYTHONQTWRAPPER_QGRAPHICSLINEARLAYOUT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsPathItem.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsPathItem.cpp deleted file mode 100644 index ac794ae..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsPathItem.cpp +++ /dev/null @@ -1,126 +0,0 @@ -#include "PythonQtWrapper_QGraphicsPathItem.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -bool PythonQtShell_QGraphicsPathItem::isObscuredBy(const QGraphicsItem* item) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isObscuredBy"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&item}; - 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("isObscuredBy", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsPathItem::isObscuredBy(item); -} -QPainterPath PythonQtShell_QGraphicsPathItem::opaqueArea() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "opaqueArea"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); - } else { - returnValue = *((QPainterPath*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsPathItem::opaqueArea(); -} -QGraphicsPathItem* PythonQtWrapper_QGraphicsPathItem::new_QGraphicsPathItem(QGraphicsItem* parent, QGraphicsScene* scene) -{ -return new PythonQtShell_QGraphicsPathItem(parent, scene); } - -QGraphicsPathItem* PythonQtWrapper_QGraphicsPathItem::new_QGraphicsPathItem(const QPainterPath& path, QGraphicsItem* parent, QGraphicsScene* scene) -{ -return new PythonQtShell_QGraphicsPathItem(path, parent, scene); } - -QPainterPath PythonQtWrapper_QGraphicsPathItem::opaqueArea(QGraphicsPathItem* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->promoted_opaqueArea()); -} - -void PythonQtWrapper_QGraphicsPathItem::paint(QGraphicsPathItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) -{ - ( theWrappedObject->paint(painter, option, widget)); -} - -QPainterPath PythonQtWrapper_QGraphicsPathItem::path(QGraphicsPathItem* theWrappedObject) const -{ - return ( theWrappedObject->path()); -} - -QPainterPath PythonQtWrapper_QGraphicsPathItem::shape(QGraphicsPathItem* theWrappedObject) const -{ - return ( theWrappedObject->shape()); -} - -int PythonQtWrapper_QGraphicsPathItem::type(QGraphicsPathItem* theWrappedObject) const -{ - return ( theWrappedObject->type()); -} - -QRectF PythonQtWrapper_QGraphicsPathItem::boundingRect(QGraphicsPathItem* theWrappedObject) const -{ - return ( theWrappedObject->boundingRect()); -} - -bool PythonQtWrapper_QGraphicsPathItem::isObscuredBy(QGraphicsPathItem* theWrappedObject, const QGraphicsItem* item) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->promoted_isObscuredBy(item)); -} - -void PythonQtWrapper_QGraphicsPathItem::setPath(QGraphicsPathItem* theWrappedObject, const QPainterPath& path) -{ - ( theWrappedObject->setPath(path)); -} - -bool PythonQtWrapper_QGraphicsPathItem::contains(QGraphicsPathItem* theWrappedObject, const QPointF& point) const -{ - return ( theWrappedObject->contains(point)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsPathItem.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsPathItem.h deleted file mode 100644 index 1781fb8..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsPathItem.h +++ /dev/null @@ -1,60 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QGRAPHICSPATHITEM_H -#define PYTHONQTWRAPPER_QGRAPHICSPATHITEM_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QGraphicsPathItem : public QGraphicsPathItem -{ -public: - PythonQtShell_QGraphicsPathItem(QGraphicsItem* parent = 0, QGraphicsScene* scene = 0):QGraphicsPathItem(parent, scene),_wrapper(NULL) {}; - PythonQtShell_QGraphicsPathItem(const QPainterPath& path, QGraphicsItem* parent = 0, QGraphicsScene* scene = 0):QGraphicsPathItem(path, parent, scene),_wrapper(NULL) {}; - -virtual bool isObscuredBy(const QGraphicsItem* item) const; -virtual QPainterPath opaqueArea() const; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QGraphicsPathItem : public QGraphicsPathItem -{ public: -inline QPainterPath promoted_opaqueArea() const { return QGraphicsPathItem::opaqueArea(); } -inline bool promoted_isObscuredBy(const QGraphicsItem* item) const { return QGraphicsPathItem::isObscuredBy(item); } -}; - -class PythonQtWrapper_QGraphicsPathItem : public QObject -{ Q_OBJECT -public: -Q_ENUMS(enum_1 ) -enum enum_1{ - Type = QGraphicsPathItem::Type}; -public slots: -QGraphicsPathItem* new_QGraphicsPathItem(QGraphicsItem* parent = 0, QGraphicsScene* scene = 0); -QGraphicsPathItem* new_QGraphicsPathItem(const QPainterPath& path, QGraphicsItem* parent = 0, QGraphicsScene* scene = 0); -void delete_QGraphicsPathItem(QGraphicsPathItem* obj) { delete obj; } - QPainterPath opaqueArea(QGraphicsPathItem* theWrappedObject) const; - void paint(QGraphicsPathItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = 0); - QPainterPath path(QGraphicsPathItem* theWrappedObject) const; - QPainterPath shape(QGraphicsPathItem* theWrappedObject) const; - int type(QGraphicsPathItem* theWrappedObject) const; - QRectF boundingRect(QGraphicsPathItem* theWrappedObject) const; - bool isObscuredBy(QGraphicsPathItem* theWrappedObject, const QGraphicsItem* item) const; - void setPath(QGraphicsPathItem* theWrappedObject, const QPainterPath& path); - bool contains(QGraphicsPathItem* theWrappedObject, const QPointF& point) const; -}; - -#endif // PYTHONQTWRAPPER_QGRAPHICSPATHITEM_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsPixmapItem.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsPixmapItem.cpp deleted file mode 100644 index 56b7523..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsPixmapItem.cpp +++ /dev/null @@ -1,823 +0,0 @@ -#include "PythonQtWrapper_QGraphicsPixmapItem.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QGraphicsPixmapItem::advance(int phase) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "advance"); - 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*)&phase}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsPixmapItem::advance(phase); -} -QRectF PythonQtShell_QGraphicsPixmapItem::boundingRect() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "boundingRect"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QRectF"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRectF returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); - } else { - returnValue = *((QRectF*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsPixmapItem::boundingRect(); -} -bool PythonQtShell_QGraphicsPixmapItem::collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "collidesWithItem"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QGraphicsItem*" , "Qt::ItemSelectionMode"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&other, (void*)&mode}; - 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("collidesWithItem", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsPixmapItem::collidesWithItem(other, mode); -} -bool PythonQtShell_QGraphicsPixmapItem::collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "collidesWithPath"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&path, (void*)&mode}; - 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("collidesWithPath", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsPixmapItem::collidesWithPath(path, mode); -} -bool PythonQtShell_QGraphicsPixmapItem::contains(const QPointF& point) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contains"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QPointF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&point}; - 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("contains", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsPixmapItem::contains(point); -} -void PythonQtShell_QGraphicsPixmapItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; - 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; - } -} - QGraphicsPixmapItem::contextMenuEvent(event); -} -void PythonQtShell_QGraphicsPixmapItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsPixmapItem::dragEnterEvent(event); -} -void PythonQtShell_QGraphicsPixmapItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsPixmapItem::dragLeaveEvent(event); -} -void PythonQtShell_QGraphicsPixmapItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsPixmapItem::dragMoveEvent(event); -} -void PythonQtShell_QGraphicsPixmapItem::dropEvent(QGraphicsSceneDragDropEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsPixmapItem::dropEvent(event); -} -QVariant PythonQtShell_QGraphicsPixmapItem::extension(const QVariant& variant) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "extension"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&variant}; - 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("extension", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsPixmapItem::extension(variant); -} -void PythonQtShell_QGraphicsPixmapItem::focusInEvent(QFocusEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QGraphicsPixmapItem::focusInEvent(event); -} -void PythonQtShell_QGraphicsPixmapItem::focusOutEvent(QFocusEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QGraphicsPixmapItem::focusOutEvent(event); -} -void PythonQtShell_QGraphicsPixmapItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hoverEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; - 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; - } -} - QGraphicsPixmapItem::hoverEnterEvent(event); -} -void PythonQtShell_QGraphicsPixmapItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hoverLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; - 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; - } -} - QGraphicsPixmapItem::hoverLeaveEvent(event); -} -void PythonQtShell_QGraphicsPixmapItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hoverMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; - 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; - } -} - QGraphicsPixmapItem::hoverMoveEvent(event); -} -void PythonQtShell_QGraphicsPixmapItem::inputMethodEvent(QInputMethodEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QGraphicsPixmapItem::inputMethodEvent(event); -} -QVariant PythonQtShell_QGraphicsPixmapItem::inputMethodQuery(Qt::InputMethodQuery query) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&query}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsPixmapItem::inputMethodQuery(query); -} -bool PythonQtShell_QGraphicsPixmapItem::isObscuredBy(const QGraphicsItem* item) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isObscuredBy"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&item}; - 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("isObscuredBy", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsPixmapItem::isObscuredBy(item); -} -QVariant PythonQtShell_QGraphicsPixmapItem::itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&change, (void*)&value}; - 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("itemChange", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsPixmapItem::itemChange(change, value); -} -void PythonQtShell_QGraphicsPixmapItem::keyPressEvent(QKeyEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsPixmapItem::keyPressEvent(event); -} -void PythonQtShell_QGraphicsPixmapItem::keyReleaseEvent(QKeyEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsPixmapItem::keyReleaseEvent(event); -} -void PythonQtShell_QGraphicsPixmapItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsPixmapItem::mouseDoubleClickEvent(event); -} -void PythonQtShell_QGraphicsPixmapItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsPixmapItem::mouseMoveEvent(event); -} -void PythonQtShell_QGraphicsPixmapItem::mousePressEvent(QGraphicsSceneMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsPixmapItem::mousePressEvent(event); -} -void PythonQtShell_QGraphicsPixmapItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsPixmapItem::mouseReleaseEvent(event); -} -QPainterPath PythonQtShell_QGraphicsPixmapItem::opaqueArea() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "opaqueArea"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); - } else { - returnValue = *((QPainterPath*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsPixmapItem::opaqueArea(); -} -void PythonQtShell_QGraphicsPixmapItem::paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter, (void*)&option, (void*)&widget}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsPixmapItem::paint(painter, option, widget); -} -bool PythonQtShell_QGraphicsPixmapItem::sceneEvent(QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sceneEvent"); - 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("sceneEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsPixmapItem::sceneEvent(event); -} -bool PythonQtShell_QGraphicsPixmapItem::sceneEventFilter(QGraphicsItem* watched, QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sceneEventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&watched, (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("sceneEventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsPixmapItem::sceneEventFilter(watched, event); -} -QPainterPath PythonQtShell_QGraphicsPixmapItem::shape() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "shape"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); - } else { - returnValue = *((QPainterPath*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsPixmapItem::shape(); -} -int PythonQtShell_QGraphicsPixmapItem::type() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "type"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsPixmapItem::type(); -} -void PythonQtShell_QGraphicsPixmapItem::wheelEvent(QGraphicsSceneWheelEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; - 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; - } -} - QGraphicsPixmapItem::wheelEvent(event); -} -QGraphicsPixmapItem* PythonQtWrapper_QGraphicsPixmapItem::new_QGraphicsPixmapItem(QGraphicsItem* parent, QGraphicsScene* scene) -{ -return new PythonQtShell_QGraphicsPixmapItem(parent, scene); } - -QGraphicsPixmapItem* PythonQtWrapper_QGraphicsPixmapItem::new_QGraphicsPixmapItem(const QPixmap& pixmap, QGraphicsItem* parent, QGraphicsScene* scene) -{ -return new PythonQtShell_QGraphicsPixmapItem(pixmap, parent, scene); } - -QPainterPath PythonQtWrapper_QGraphicsPixmapItem::opaqueArea(QGraphicsPixmapItem* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsPixmapItem*)theWrappedObject)->promoted_opaqueArea()); -} - -QGraphicsPixmapItem::ShapeMode PythonQtWrapper_QGraphicsPixmapItem::shapeMode(QGraphicsPixmapItem* theWrappedObject) const -{ - return ( theWrappedObject->shapeMode()); -} - -void PythonQtWrapper_QGraphicsPixmapItem::setOffset(QGraphicsPixmapItem* theWrappedObject, const QPointF& offset) -{ - ( theWrappedObject->setOffset(offset)); -} - -void PythonQtWrapper_QGraphicsPixmapItem::setOffset(QGraphicsPixmapItem* theWrappedObject, qreal x, qreal y) -{ - ( theWrappedObject->setOffset(x, y)); -} - -bool PythonQtWrapper_QGraphicsPixmapItem::isObscuredBy(QGraphicsPixmapItem* theWrappedObject, const QGraphicsItem* item) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsPixmapItem*)theWrappedObject)->promoted_isObscuredBy(item)); -} - -Qt::TransformationMode PythonQtWrapper_QGraphicsPixmapItem::transformationMode(QGraphicsPixmapItem* theWrappedObject) const -{ - return ( theWrappedObject->transformationMode()); -} - -QPainterPath PythonQtWrapper_QGraphicsPixmapItem::shape(QGraphicsPixmapItem* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsPixmapItem*)theWrappedObject)->promoted_shape()); -} - -int PythonQtWrapper_QGraphicsPixmapItem::type(QGraphicsPixmapItem* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsPixmapItem*)theWrappedObject)->promoted_type()); -} - -bool PythonQtWrapper_QGraphicsPixmapItem::contains(QGraphicsPixmapItem* theWrappedObject, const QPointF& point) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsPixmapItem*)theWrappedObject)->promoted_contains(point)); -} - -void PythonQtWrapper_QGraphicsPixmapItem::setShapeMode(QGraphicsPixmapItem* theWrappedObject, QGraphicsPixmapItem::ShapeMode mode) -{ - ( theWrappedObject->setShapeMode(mode)); -} - -void PythonQtWrapper_QGraphicsPixmapItem::setTransformationMode(QGraphicsPixmapItem* theWrappedObject, Qt::TransformationMode mode) -{ - ( theWrappedObject->setTransformationMode(mode)); -} - -QPointF PythonQtWrapper_QGraphicsPixmapItem::offset(QGraphicsPixmapItem* theWrappedObject) const -{ - return ( theWrappedObject->offset()); -} - -QRectF PythonQtWrapper_QGraphicsPixmapItem::boundingRect(QGraphicsPixmapItem* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsPixmapItem*)theWrappedObject)->promoted_boundingRect()); -} - -void PythonQtWrapper_QGraphicsPixmapItem::paint(QGraphicsPixmapItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) -{ - ( ((PythonQtPublicPromoter_QGraphicsPixmapItem*)theWrappedObject)->promoted_paint(painter, option, widget)); -} - -QPixmap PythonQtWrapper_QGraphicsPixmapItem::pixmap(QGraphicsPixmapItem* theWrappedObject) const -{ - return ( theWrappedObject->pixmap()); -} - -QVariant PythonQtWrapper_QGraphicsPixmapItem::extension(QGraphicsPixmapItem* theWrappedObject, const QVariant& variant) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsPixmapItem*)theWrappedObject)->promoted_extension(variant)); -} - -void PythonQtWrapper_QGraphicsPixmapItem::setPixmap(QGraphicsPixmapItem* theWrappedObject, const QPixmap& pixmap) -{ - ( theWrappedObject->setPixmap(pixmap)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsPixmapItem.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsPixmapItem.h deleted file mode 100644 index ad1eff7..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsPixmapItem.h +++ /dev/null @@ -1,116 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QGRAPHICSPIXMAPITEM_H -#define PYTHONQTWRAPPER_QGRAPHICSPIXMAPITEM_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QGraphicsPixmapItem : public QGraphicsPixmapItem -{ -public: - PythonQtShell_QGraphicsPixmapItem(QGraphicsItem* parent = 0, QGraphicsScene* scene = 0):QGraphicsPixmapItem(parent, scene),_wrapper(NULL) {}; - PythonQtShell_QGraphicsPixmapItem(const QPixmap& pixmap, QGraphicsItem* parent = 0, QGraphicsScene* scene = 0):QGraphicsPixmapItem(pixmap, parent, scene),_wrapper(NULL) {}; - -virtual void advance(int phase); -virtual QRectF boundingRect() const; -virtual bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode) const; -virtual bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode) const; -virtual bool contains(const QPointF& point) const; -virtual void contextMenuEvent(QGraphicsSceneContextMenuEvent* event); -virtual void dragEnterEvent(QGraphicsSceneDragDropEvent* event); -virtual void dragLeaveEvent(QGraphicsSceneDragDropEvent* event); -virtual void dragMoveEvent(QGraphicsSceneDragDropEvent* event); -virtual void dropEvent(QGraphicsSceneDragDropEvent* event); -virtual QVariant extension(const QVariant& variant) const; -virtual void focusInEvent(QFocusEvent* event); -virtual void focusOutEvent(QFocusEvent* event); -virtual void hoverEnterEvent(QGraphicsSceneHoverEvent* event); -virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent* event); -virtual void hoverMoveEvent(QGraphicsSceneHoverEvent* event); -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual bool isObscuredBy(const QGraphicsItem* item) const; -virtual QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value); -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event); -virtual void mouseMoveEvent(QGraphicsSceneMouseEvent* event); -virtual void mousePressEvent(QGraphicsSceneMouseEvent* event); -virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent* event); -virtual QPainterPath opaqueArea() const; -virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget); -virtual bool sceneEvent(QEvent* event); -virtual bool sceneEventFilter(QGraphicsItem* watched, QEvent* event); -virtual QPainterPath shape() const; -virtual int type() const; -virtual void wheelEvent(QGraphicsSceneWheelEvent* event); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QGraphicsPixmapItem : public QGraphicsPixmapItem -{ public: -inline QPainterPath promoted_opaqueArea() const { return QGraphicsPixmapItem::opaqueArea(); } -inline bool promoted_isObscuredBy(const QGraphicsItem* item) const { return QGraphicsPixmapItem::isObscuredBy(item); } -inline QPainterPath promoted_shape() const { return QGraphicsPixmapItem::shape(); } -inline int promoted_type() const { return QGraphicsPixmapItem::type(); } -inline bool promoted_contains(const QPointF& point) const { return QGraphicsPixmapItem::contains(point); } -inline QRectF promoted_boundingRect() const { return QGraphicsPixmapItem::boundingRect(); } -inline void promoted_paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) { QGraphicsPixmapItem::paint(painter, option, widget); } -inline QVariant promoted_extension(const QVariant& variant) const { return QGraphicsPixmapItem::extension(variant); } -}; - -class PythonQtWrapper_QGraphicsPixmapItem : public QObject -{ Q_OBJECT -public: -Q_ENUMS(ShapeMode enum_1 ) -enum ShapeMode{ - MaskShape = QGraphicsPixmapItem::MaskShape, BoundingRectShape = QGraphicsPixmapItem::BoundingRectShape, HeuristicMaskShape = QGraphicsPixmapItem::HeuristicMaskShape}; -enum enum_1{ - Type = QGraphicsPixmapItem::Type}; -public slots: -QGraphicsPixmapItem* new_QGraphicsPixmapItem(QGraphicsItem* parent = 0, QGraphicsScene* scene = 0); -QGraphicsPixmapItem* new_QGraphicsPixmapItem(const QPixmap& pixmap, QGraphicsItem* parent = 0, QGraphicsScene* scene = 0); -void delete_QGraphicsPixmapItem(QGraphicsPixmapItem* obj) { delete obj; } - QPainterPath opaqueArea(QGraphicsPixmapItem* theWrappedObject) const; - QGraphicsPixmapItem::ShapeMode shapeMode(QGraphicsPixmapItem* theWrappedObject) const; - void setOffset(QGraphicsPixmapItem* theWrappedObject, const QPointF& offset); - void setOffset(QGraphicsPixmapItem* theWrappedObject, qreal x, qreal y); - bool isObscuredBy(QGraphicsPixmapItem* theWrappedObject, const QGraphicsItem* item) const; - Qt::TransformationMode transformationMode(QGraphicsPixmapItem* theWrappedObject) const; - QPainterPath shape(QGraphicsPixmapItem* theWrappedObject) const; - int type(QGraphicsPixmapItem* theWrappedObject) const; - bool contains(QGraphicsPixmapItem* theWrappedObject, const QPointF& point) const; - void setShapeMode(QGraphicsPixmapItem* theWrappedObject, QGraphicsPixmapItem::ShapeMode mode); - void setTransformationMode(QGraphicsPixmapItem* theWrappedObject, Qt::TransformationMode mode); - QPointF offset(QGraphicsPixmapItem* theWrappedObject) const; - QRectF boundingRect(QGraphicsPixmapItem* theWrappedObject) const; - void paint(QGraphicsPixmapItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget); - QPixmap pixmap(QGraphicsPixmapItem* theWrappedObject) const; - QVariant extension(QGraphicsPixmapItem* theWrappedObject, const QVariant& variant) const; - void setPixmap(QGraphicsPixmapItem* theWrappedObject, const QPixmap& pixmap); -}; - -#endif // PYTHONQTWRAPPER_QGRAPHICSPIXMAPITEM_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsPolygonItem.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsPolygonItem.cpp deleted file mode 100644 index 6025994..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsPolygonItem.cpp +++ /dev/null @@ -1,137 +0,0 @@ -#include "PythonQtWrapper_QGraphicsPolygonItem.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -bool PythonQtShell_QGraphicsPolygonItem::isObscuredBy(const QGraphicsItem* item) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isObscuredBy"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&item}; - 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("isObscuredBy", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsPolygonItem::isObscuredBy(item); -} -QPainterPath PythonQtShell_QGraphicsPolygonItem::opaqueArea() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "opaqueArea"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); - } else { - returnValue = *((QPainterPath*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsPolygonItem::opaqueArea(); -} -QGraphicsPolygonItem* PythonQtWrapper_QGraphicsPolygonItem::new_QGraphicsPolygonItem(QGraphicsItem* parent, QGraphicsScene* scene) -{ -return new PythonQtShell_QGraphicsPolygonItem(parent, scene); } - -QGraphicsPolygonItem* PythonQtWrapper_QGraphicsPolygonItem::new_QGraphicsPolygonItem(const QPolygonF& polygon, QGraphicsItem* parent, QGraphicsScene* scene) -{ -return new PythonQtShell_QGraphicsPolygonItem(polygon, parent, scene); } - -bool PythonQtWrapper_QGraphicsPolygonItem::isObscuredBy(QGraphicsPolygonItem* theWrappedObject, const QGraphicsItem* item) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsPolygonItem*)theWrappedObject)->promoted_isObscuredBy(item)); -} - -void PythonQtWrapper_QGraphicsPolygonItem::setFillRule(QGraphicsPolygonItem* theWrappedObject, Qt::FillRule rule) -{ - ( theWrappedObject->setFillRule(rule)); -} - -bool PythonQtWrapper_QGraphicsPolygonItem::contains(QGraphicsPolygonItem* theWrappedObject, const QPointF& point) const -{ - return ( theWrappedObject->contains(point)); -} - -QRectF PythonQtWrapper_QGraphicsPolygonItem::boundingRect(QGraphicsPolygonItem* theWrappedObject) const -{ - return ( theWrappedObject->boundingRect()); -} - -Qt::FillRule PythonQtWrapper_QGraphicsPolygonItem::fillRule(QGraphicsPolygonItem* theWrappedObject) const -{ - return ( theWrappedObject->fillRule()); -} - -void PythonQtWrapper_QGraphicsPolygonItem::setPolygon(QGraphicsPolygonItem* theWrappedObject, const QPolygonF& polygon) -{ - ( theWrappedObject->setPolygon(polygon)); -} - -void PythonQtWrapper_QGraphicsPolygonItem::paint(QGraphicsPolygonItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) -{ - ( theWrappedObject->paint(painter, option, widget)); -} - -QPainterPath PythonQtWrapper_QGraphicsPolygonItem::opaqueArea(QGraphicsPolygonItem* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsPolygonItem*)theWrappedObject)->promoted_opaqueArea()); -} - -QPolygonF PythonQtWrapper_QGraphicsPolygonItem::polygon(QGraphicsPolygonItem* theWrappedObject) const -{ - return ( theWrappedObject->polygon()); -} - -QPainterPath PythonQtWrapper_QGraphicsPolygonItem::shape(QGraphicsPolygonItem* theWrappedObject) const -{ - return ( theWrappedObject->shape()); -} - -int PythonQtWrapper_QGraphicsPolygonItem::type(QGraphicsPolygonItem* theWrappedObject) const -{ - return ( theWrappedObject->type()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsPolygonItem.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsPolygonItem.h deleted file mode 100644 index ce8e25c..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsPolygonItem.h +++ /dev/null @@ -1,63 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QGRAPHICSPOLYGONITEM_H -#define PYTHONQTWRAPPER_QGRAPHICSPOLYGONITEM_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QGraphicsPolygonItem : public QGraphicsPolygonItem -{ -public: - PythonQtShell_QGraphicsPolygonItem(QGraphicsItem* parent = 0, QGraphicsScene* scene = 0):QGraphicsPolygonItem(parent, scene),_wrapper(NULL) {}; - PythonQtShell_QGraphicsPolygonItem(const QPolygonF& polygon, QGraphicsItem* parent = 0, QGraphicsScene* scene = 0):QGraphicsPolygonItem(polygon, parent, scene),_wrapper(NULL) {}; - -virtual bool isObscuredBy(const QGraphicsItem* item) const; -virtual QPainterPath opaqueArea() const; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QGraphicsPolygonItem : public QGraphicsPolygonItem -{ public: -inline bool promoted_isObscuredBy(const QGraphicsItem* item) const { return QGraphicsPolygonItem::isObscuredBy(item); } -inline QPainterPath promoted_opaqueArea() const { return QGraphicsPolygonItem::opaqueArea(); } -}; - -class PythonQtWrapper_QGraphicsPolygonItem : public QObject -{ Q_OBJECT -public: -Q_ENUMS(enum_1 ) -enum enum_1{ - Type = QGraphicsPolygonItem::Type}; -public slots: -QGraphicsPolygonItem* new_QGraphicsPolygonItem(QGraphicsItem* parent = 0, QGraphicsScene* scene = 0); -QGraphicsPolygonItem* new_QGraphicsPolygonItem(const QPolygonF& polygon, QGraphicsItem* parent = 0, QGraphicsScene* scene = 0); -void delete_QGraphicsPolygonItem(QGraphicsPolygonItem* obj) { delete obj; } - bool isObscuredBy(QGraphicsPolygonItem* theWrappedObject, const QGraphicsItem* item) const; - void setFillRule(QGraphicsPolygonItem* theWrappedObject, Qt::FillRule rule); - bool contains(QGraphicsPolygonItem* theWrappedObject, const QPointF& point) const; - QRectF boundingRect(QGraphicsPolygonItem* theWrappedObject) const; - Qt::FillRule fillRule(QGraphicsPolygonItem* theWrappedObject) const; - void setPolygon(QGraphicsPolygonItem* theWrappedObject, const QPolygonF& polygon); - void paint(QGraphicsPolygonItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = 0); - QPainterPath opaqueArea(QGraphicsPolygonItem* theWrappedObject) const; - QPolygonF polygon(QGraphicsPolygonItem* theWrappedObject) const; - QPainterPath shape(QGraphicsPolygonItem* theWrappedObject) const; - int type(QGraphicsPolygonItem* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QGRAPHICSPOLYGONITEM_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsProxyWidget.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsProxyWidget.cpp deleted file mode 100644 index c469434..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsProxyWidget.cpp +++ /dev/null @@ -1,875 +0,0 @@ -#include "PythonQtWrapper_QGraphicsProxyWidget.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QRectF PythonQtShell_QGraphicsProxyWidget::boundingRect() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "boundingRect"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QRectF"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRectF returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); - } else { - returnValue = *((QRectF*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsProxyWidget::boundingRect(); -} -void PythonQtShell_QGraphicsProxyWidget::changeEvent(QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsProxyWidget::changeEvent(event); -} -void PythonQtShell_QGraphicsProxyWidget::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; - } -} - QGraphicsProxyWidget::childEvent(arg__1); -} -void PythonQtShell_QGraphicsProxyWidget::closeEvent(QCloseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QGraphicsProxyWidget::closeEvent(event); -} -void PythonQtShell_QGraphicsProxyWidget::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; - } -} - QGraphicsProxyWidget::customEvent(arg__1); -} -bool PythonQtShell_QGraphicsProxyWidget::event(QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsProxyWidget::event(event); -} -bool PythonQtShell_QGraphicsProxyWidget::eventFilter(QObject* object, QEvent* event) -{ -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*)&object, (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("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsProxyWidget::eventFilter(object, event); -} -void PythonQtShell_QGraphicsProxyWidget::focusInEvent(QFocusEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QGraphicsProxyWidget::focusInEvent(event); -} -bool PythonQtShell_QGraphicsProxyWidget::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsProxyWidget::focusNextPrevChild(next); -} -void PythonQtShell_QGraphicsProxyWidget::focusOutEvent(QFocusEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QGraphicsProxyWidget::focusOutEvent(event); -} -void PythonQtShell_QGraphicsProxyWidget::getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getContentsMargins"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "qreal*" , "qreal*" , "qreal*" , "qreal*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&left, (void*)&top, (void*)&right, (void*)&bottom}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsProxyWidget::getContentsMargins(left, top, right, bottom); -} -void PythonQtShell_QGraphicsProxyWidget::grabKeyboardEvent(QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "grabKeyboardEvent"); - 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; - } -} - QGraphicsProxyWidget::grabKeyboardEvent(event); -} -void PythonQtShell_QGraphicsProxyWidget::grabMouseEvent(QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "grabMouseEvent"); - 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; - } -} - QGraphicsProxyWidget::grabMouseEvent(event); -} -void PythonQtShell_QGraphicsProxyWidget::hideEvent(QHideEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QGraphicsProxyWidget::hideEvent(event); -} -void PythonQtShell_QGraphicsProxyWidget::hoverLeaveEvent(QGraphicsSceneHoverEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hoverLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; - 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; - } -} - QGraphicsProxyWidget::hoverLeaveEvent(event); -} -void PythonQtShell_QGraphicsProxyWidget::hoverMoveEvent(QGraphicsSceneHoverEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hoverMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; - 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; - } -} - QGraphicsProxyWidget::hoverMoveEvent(event); -} -void PythonQtShell_QGraphicsProxyWidget::initStyleOption(QStyleOption* option) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "initStyleOption"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QStyleOption*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&option}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsProxyWidget::initStyleOption(option); -} -QVariant PythonQtShell_QGraphicsProxyWidget::itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&change, (void*)&value}; - 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("itemChange", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsProxyWidget::itemChange(change, value); -} -void PythonQtShell_QGraphicsProxyWidget::moveEvent(QGraphicsSceneMoveEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneMoveEvent*"}; - 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; - } -} - QGraphicsProxyWidget::moveEvent(event); -} -void PythonQtShell_QGraphicsProxyWidget::paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter, (void*)&option, (void*)&widget}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsProxyWidget::paint(painter, option, widget); -} -void PythonQtShell_QGraphicsProxyWidget::paintWindowFrame(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintWindowFrame"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter, (void*)&option, (void*)&widget}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsProxyWidget::paintWindowFrame(painter, option, widget); -} -void PythonQtShell_QGraphicsProxyWidget::polishEvent() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "polishEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsProxyWidget::polishEvent(); -} -QVariant PythonQtShell_QGraphicsProxyWidget::propertyChange(const QString& propertyName, const QVariant& value) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "propertyChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "const QString&" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&propertyName, (void*)&value}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("propertyChange", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsProxyWidget::propertyChange(propertyName, value); -} -void PythonQtShell_QGraphicsProxyWidget::resizeEvent(QGraphicsSceneResizeEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsProxyWidget::resizeEvent(event); -} -bool PythonQtShell_QGraphicsProxyWidget::sceneEvent(QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sceneEvent"); - 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("sceneEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsProxyWidget::sceneEvent(event); -} -void PythonQtShell_QGraphicsProxyWidget::setGeometry(const QRectF& rect) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setGeometry"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QRectF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&rect}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsProxyWidget::setGeometry(rect); -} -QPainterPath PythonQtShell_QGraphicsProxyWidget::shape() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "shape"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); - } else { - returnValue = *((QPainterPath*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsProxyWidget::shape(); -} -void PythonQtShell_QGraphicsProxyWidget::showEvent(QShowEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QGraphicsProxyWidget::showEvent(event); -} -QSizeF PythonQtShell_QGraphicsProxyWidget::sizeHint(Qt::SizeHint which, const QSizeF& constraint) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeHint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSizeF" , "Qt::SizeHint" , "const QSizeF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QSizeF returnValue; - void* args[3] = {NULL, (void*)&which, (void*)&constraint}; - 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("sizeHint", methodInfo, result); - } else { - returnValue = *((QSizeF*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsProxyWidget::sizeHint(which, constraint); -} -void PythonQtShell_QGraphicsProxyWidget::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; - } -} - QGraphicsProxyWidget::timerEvent(arg__1); -} -int PythonQtShell_QGraphicsProxyWidget::type() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "type"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsProxyWidget::type(); -} -void PythonQtShell_QGraphicsProxyWidget::ungrabKeyboardEvent(QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "ungrabKeyboardEvent"); - 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; - } -} - QGraphicsProxyWidget::ungrabKeyboardEvent(event); -} -void PythonQtShell_QGraphicsProxyWidget::ungrabMouseEvent(QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "ungrabMouseEvent"); - 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; - } -} - QGraphicsProxyWidget::ungrabMouseEvent(event); -} -void PythonQtShell_QGraphicsProxyWidget::updateGeometry() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateGeometry"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsProxyWidget::updateGeometry(); -} -bool PythonQtShell_QGraphicsProxyWidget::windowFrameEvent(QEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "windowFrameEvent"); - 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("windowFrameEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsProxyWidget::windowFrameEvent(e); -} -Qt::WindowFrameSection PythonQtShell_QGraphicsProxyWidget::windowFrameSectionAt(const QPointF& pos) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "windowFrameSectionAt"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"Qt::WindowFrameSection" , "const QPointF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - Qt::WindowFrameSection returnValue; - void* args[2] = {NULL, (void*)&pos}; - 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("windowFrameSectionAt", methodInfo, result); - } else { - returnValue = *((Qt::WindowFrameSection*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsProxyWidget::windowFrameSectionAt(pos); -} -QGraphicsProxyWidget* PythonQtWrapper_QGraphicsProxyWidget::new_QGraphicsProxyWidget(QGraphicsItem* parent, Qt::WindowFlags wFlags) -{ -return new PythonQtShell_QGraphicsProxyWidget(parent, wFlags); } - -void PythonQtWrapper_QGraphicsProxyWidget::focusInEvent(QGraphicsProxyWidget* theWrappedObject, QFocusEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_focusInEvent(event)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::focusOutEvent(QGraphicsProxyWidget* theWrappedObject, QFocusEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_focusOutEvent(event)); -} - -QWidget* PythonQtWrapper_QGraphicsProxyWidget::widget(QGraphicsProxyWidget* theWrappedObject) const -{ - return ( theWrappedObject->widget()); -} - -void PythonQtWrapper_QGraphicsProxyWidget::showEvent(QGraphicsProxyWidget* theWrappedObject, QShowEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_showEvent(event)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::setWidget(QGraphicsProxyWidget* theWrappedObject, QWidget* widget) -{ - ( theWrappedObject->setWidget(widget)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::paint(QGraphicsProxyWidget* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_paint(painter, option, widget)); -} - -bool PythonQtWrapper_QGraphicsProxyWidget::eventFilter(QGraphicsProxyWidget* theWrappedObject, QObject* object, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_eventFilter(object, event)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::ungrabMouseEvent(QGraphicsProxyWidget* theWrappedObject, QEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_ungrabMouseEvent(event)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::grabMouseEvent(QGraphicsProxyWidget* theWrappedObject, QEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_grabMouseEvent(event)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::hideEvent(QGraphicsProxyWidget* theWrappedObject, QHideEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_hideEvent(event)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::hoverMoveEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneHoverEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_hoverMoveEvent(event)); -} - -int PythonQtWrapper_QGraphicsProxyWidget::type(QGraphicsProxyWidget* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_type()); -} - -QVariant PythonQtWrapper_QGraphicsProxyWidget::itemChange(QGraphicsProxyWidget* theWrappedObject, QGraphicsItem::GraphicsItemChange change, const QVariant& value) -{ - return ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_itemChange(change, value)); -} - -bool PythonQtWrapper_QGraphicsProxyWidget::focusNextPrevChild(QGraphicsProxyWidget* theWrappedObject, bool next) -{ - return ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_focusNextPrevChild(next)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::hoverLeaveEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneHoverEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_hoverLeaveEvent(event)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::resizeEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneResizeEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_resizeEvent(event)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::setGeometry(QGraphicsProxyWidget* theWrappedObject, const QRectF& rect) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_setGeometry(rect)); -} - -QRectF PythonQtWrapper_QGraphicsProxyWidget::subWidgetRect(QGraphicsProxyWidget* theWrappedObject, const QWidget* widget) const -{ - return ( theWrappedObject->subWidgetRect(widget)); -} - -bool PythonQtWrapper_QGraphicsProxyWidget::event(QGraphicsProxyWidget* theWrappedObject, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_event(event)); -} - -QSizeF PythonQtWrapper_QGraphicsProxyWidget::sizeHint(QGraphicsProxyWidget* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_sizeHint(which, constraint)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsProxyWidget.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsProxyWidget.h deleted file mode 100644 index 5a99c48..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsProxyWidget.h +++ /dev/null @@ -1,128 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QGRAPHICSPROXYWIDGET_H -#define PYTHONQTWRAPPER_QGRAPHICSPROXYWIDGET_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QGraphicsProxyWidget : public QGraphicsProxyWidget -{ -public: - PythonQtShell_QGraphicsProxyWidget(QGraphicsItem* parent = 0, Qt::WindowFlags wFlags = 0):QGraphicsProxyWidget(parent, wFlags),_wrapper(NULL) {}; - -virtual QRectF boundingRect() const; -virtual void changeEvent(QEvent* event); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEvent(QCloseEvent* event); -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* object, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual void getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const; -virtual void grabKeyboardEvent(QEvent* event); -virtual void grabMouseEvent(QEvent* event); -virtual void hideEvent(QHideEvent* event); -virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent* event); -virtual void hoverMoveEvent(QGraphicsSceneHoverEvent* event); -virtual void initStyleOption(QStyleOption* option) const; -virtual QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value); -virtual void moveEvent(QGraphicsSceneMoveEvent* event); -virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget); -virtual void paintWindowFrame(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget); -virtual void polishEvent(); -virtual QVariant propertyChange(const QString& propertyName, const QVariant& value); -virtual void resizeEvent(QGraphicsSceneResizeEvent* event); -virtual bool sceneEvent(QEvent* event); -virtual void setGeometry(const QRectF& rect); -virtual QPainterPath shape() const; -virtual void showEvent(QShowEvent* event); -virtual QSizeF sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const; -virtual void timerEvent(QTimerEvent* arg__1); -virtual int type() const; -virtual void ungrabKeyboardEvent(QEvent* event); -virtual void ungrabMouseEvent(QEvent* event); -virtual void updateGeometry(); -virtual bool windowFrameEvent(QEvent* e); -virtual Qt::WindowFrameSection windowFrameSectionAt(const QPointF& pos) const; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QGraphicsProxyWidget : public QGraphicsProxyWidget -{ public: -inline void promoted_focusInEvent(QFocusEvent* event) { QGraphicsProxyWidget::focusInEvent(event); } -inline void promoted_focusOutEvent(QFocusEvent* event) { QGraphicsProxyWidget::focusOutEvent(event); } -inline void promoted_showEvent(QShowEvent* event) { QGraphicsProxyWidget::showEvent(event); } -inline void promoted_paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) { QGraphicsProxyWidget::paint(painter, option, widget); } -inline bool promoted_eventFilter(QObject* object, QEvent* event) { return QGraphicsProxyWidget::eventFilter(object, event); } -inline void promoted_ungrabMouseEvent(QEvent* event) { QGraphicsProxyWidget::ungrabMouseEvent(event); } -inline void promoted_grabMouseEvent(QEvent* event) { QGraphicsProxyWidget::grabMouseEvent(event); } -inline void promoted_hideEvent(QHideEvent* event) { QGraphicsProxyWidget::hideEvent(event); } -inline void promoted_hoverMoveEvent(QGraphicsSceneHoverEvent* event) { QGraphicsProxyWidget::hoverMoveEvent(event); } -inline int promoted_type() const { return QGraphicsProxyWidget::type(); } -inline QVariant promoted_itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) { return QGraphicsProxyWidget::itemChange(change, value); } -inline bool promoted_focusNextPrevChild(bool next) { return QGraphicsProxyWidget::focusNextPrevChild(next); } -inline void promoted_hoverLeaveEvent(QGraphicsSceneHoverEvent* event) { QGraphicsProxyWidget::hoverLeaveEvent(event); } -inline void promoted_resizeEvent(QGraphicsSceneResizeEvent* event) { QGraphicsProxyWidget::resizeEvent(event); } -inline void promoted_setGeometry(const QRectF& rect) { QGraphicsProxyWidget::setGeometry(rect); } -inline bool promoted_event(QEvent* event) { return QGraphicsProxyWidget::event(event); } -inline QSizeF promoted_sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const { return QGraphicsProxyWidget::sizeHint(which, constraint); } -}; - -class PythonQtWrapper_QGraphicsProxyWidget : public QObject -{ Q_OBJECT -public: -Q_ENUMS(enum_1 ) -enum enum_1{ - Type = QGraphicsProxyWidget::Type}; -public slots: -QGraphicsProxyWidget* new_QGraphicsProxyWidget(QGraphicsItem* parent = 0, Qt::WindowFlags wFlags = 0); -void delete_QGraphicsProxyWidget(QGraphicsProxyWidget* obj) { delete obj; } - void focusInEvent(QGraphicsProxyWidget* theWrappedObject, QFocusEvent* event); - void focusOutEvent(QGraphicsProxyWidget* theWrappedObject, QFocusEvent* event); - QWidget* widget(QGraphicsProxyWidget* theWrappedObject) const; - void showEvent(QGraphicsProxyWidget* theWrappedObject, QShowEvent* event); - void setWidget(QGraphicsProxyWidget* theWrappedObject, QWidget* widget); - void paint(QGraphicsProxyWidget* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget); - bool eventFilter(QGraphicsProxyWidget* theWrappedObject, QObject* object, QEvent* event); - void ungrabMouseEvent(QGraphicsProxyWidget* theWrappedObject, QEvent* event); - void grabMouseEvent(QGraphicsProxyWidget* theWrappedObject, QEvent* event); - void hideEvent(QGraphicsProxyWidget* theWrappedObject, QHideEvent* event); - void hoverMoveEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneHoverEvent* event); - int type(QGraphicsProxyWidget* theWrappedObject) const; - QVariant itemChange(QGraphicsProxyWidget* theWrappedObject, QGraphicsItem::GraphicsItemChange change, const QVariant& value); - bool focusNextPrevChild(QGraphicsProxyWidget* theWrappedObject, bool next); - void hoverLeaveEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneHoverEvent* event); - void resizeEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneResizeEvent* event); - void setGeometry(QGraphicsProxyWidget* theWrappedObject, const QRectF& rect); - QRectF subWidgetRect(QGraphicsProxyWidget* theWrappedObject, const QWidget* widget) const; - bool event(QGraphicsProxyWidget* theWrappedObject, QEvent* event); - QSizeF sizeHint(QGraphicsProxyWidget* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const; -}; - -#endif // PYTHONQTWRAPPER_QGRAPHICSPROXYWIDGET_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsRectItem.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsRectItem.cpp deleted file mode 100644 index 19dd455..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsRectItem.cpp +++ /dev/null @@ -1,135 +0,0 @@ -#include "PythonQtWrapper_QGraphicsRectItem.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -bool PythonQtShell_QGraphicsRectItem::isObscuredBy(const QGraphicsItem* item) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isObscuredBy"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&item}; - 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("isObscuredBy", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsRectItem::isObscuredBy(item); -} -QPainterPath PythonQtShell_QGraphicsRectItem::opaqueArea() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "opaqueArea"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); - } else { - returnValue = *((QPainterPath*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsRectItem::opaqueArea(); -} -QGraphicsRectItem* PythonQtWrapper_QGraphicsRectItem::new_QGraphicsRectItem(QGraphicsItem* parent, QGraphicsScene* scene) -{ -return new PythonQtShell_QGraphicsRectItem(parent, scene); } - -QGraphicsRectItem* PythonQtWrapper_QGraphicsRectItem::new_QGraphicsRectItem(const QRectF& rect, QGraphicsItem* parent, QGraphicsScene* scene) -{ -return new PythonQtShell_QGraphicsRectItem(rect, parent, scene); } - -QGraphicsRectItem* PythonQtWrapper_QGraphicsRectItem::new_QGraphicsRectItem(qreal x, qreal y, qreal w, qreal h, QGraphicsItem* parent, QGraphicsScene* scene) -{ -return new PythonQtShell_QGraphicsRectItem(x, y, w, h, parent, scene); } - -void PythonQtWrapper_QGraphicsRectItem::setRect(QGraphicsRectItem* theWrappedObject, const QRectF& rect) -{ - ( theWrappedObject->setRect(rect)); -} - -void PythonQtWrapper_QGraphicsRectItem::paint(QGraphicsRectItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) -{ - ( theWrappedObject->paint(painter, option, widget)); -} - -bool PythonQtWrapper_QGraphicsRectItem::contains(QGraphicsRectItem* theWrappedObject, const QPointF& point) const -{ - return ( theWrappedObject->contains(point)); -} - -QPainterPath PythonQtWrapper_QGraphicsRectItem::opaqueArea(QGraphicsRectItem* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsRectItem*)theWrappedObject)->promoted_opaqueArea()); -} - -int PythonQtWrapper_QGraphicsRectItem::type(QGraphicsRectItem* theWrappedObject) const -{ - return ( theWrappedObject->type()); -} - -QRectF PythonQtWrapper_QGraphicsRectItem::boundingRect(QGraphicsRectItem* theWrappedObject) const -{ - return ( theWrappedObject->boundingRect()); -} - -QRectF PythonQtWrapper_QGraphicsRectItem::rect(QGraphicsRectItem* theWrappedObject) const -{ - return ( theWrappedObject->rect()); -} - -QPainterPath PythonQtWrapper_QGraphicsRectItem::shape(QGraphicsRectItem* theWrappedObject) const -{ - return ( theWrappedObject->shape()); -} - -bool PythonQtWrapper_QGraphicsRectItem::isObscuredBy(QGraphicsRectItem* theWrappedObject, const QGraphicsItem* item) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsRectItem*)theWrappedObject)->promoted_isObscuredBy(item)); -} - -void PythonQtWrapper_QGraphicsRectItem::setRect(QGraphicsRectItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) -{ - ( theWrappedObject->setRect(x, y, w, h)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsRectItem.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsRectItem.h deleted file mode 100644 index 9c279cd..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsRectItem.h +++ /dev/null @@ -1,63 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QGRAPHICSRECTITEM_H -#define PYTHONQTWRAPPER_QGRAPHICSRECTITEM_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QGraphicsRectItem : public QGraphicsRectItem -{ -public: - PythonQtShell_QGraphicsRectItem(QGraphicsItem* parent = 0, QGraphicsScene* scene = 0):QGraphicsRectItem(parent, scene),_wrapper(NULL) {}; - PythonQtShell_QGraphicsRectItem(const QRectF& rect, QGraphicsItem* parent = 0, QGraphicsScene* scene = 0):QGraphicsRectItem(rect, parent, scene),_wrapper(NULL) {}; - PythonQtShell_QGraphicsRectItem(qreal x, qreal y, qreal w, qreal h, QGraphicsItem* parent = 0, QGraphicsScene* scene = 0):QGraphicsRectItem(x, y, w, h, parent, scene),_wrapper(NULL) {}; - -virtual bool isObscuredBy(const QGraphicsItem* item) const; -virtual QPainterPath opaqueArea() const; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QGraphicsRectItem : public QGraphicsRectItem -{ public: -inline QPainterPath promoted_opaqueArea() const { return QGraphicsRectItem::opaqueArea(); } -inline bool promoted_isObscuredBy(const QGraphicsItem* item) const { return QGraphicsRectItem::isObscuredBy(item); } -}; - -class PythonQtWrapper_QGraphicsRectItem : public QObject -{ Q_OBJECT -public: -Q_ENUMS(enum_1 ) -enum enum_1{ - Type = QGraphicsRectItem::Type}; -public slots: -QGraphicsRectItem* new_QGraphicsRectItem(QGraphicsItem* parent = 0, QGraphicsScene* scene = 0); -QGraphicsRectItem* new_QGraphicsRectItem(const QRectF& rect, QGraphicsItem* parent = 0, QGraphicsScene* scene = 0); -QGraphicsRectItem* new_QGraphicsRectItem(qreal x, qreal y, qreal w, qreal h, QGraphicsItem* parent = 0, QGraphicsScene* scene = 0); -void delete_QGraphicsRectItem(QGraphicsRectItem* obj) { delete obj; } - void setRect(QGraphicsRectItem* theWrappedObject, const QRectF& rect); - void paint(QGraphicsRectItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = 0); - bool contains(QGraphicsRectItem* theWrappedObject, const QPointF& point) const; - QPainterPath opaqueArea(QGraphicsRectItem* theWrappedObject) const; - int type(QGraphicsRectItem* theWrappedObject) const; - QRectF boundingRect(QGraphicsRectItem* theWrappedObject) const; - QRectF rect(QGraphicsRectItem* theWrappedObject) const; - QPainterPath shape(QGraphicsRectItem* theWrappedObject) const; - bool isObscuredBy(QGraphicsRectItem* theWrappedObject, const QGraphicsItem* item) const; - void setRect(QGraphicsRectItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h); -}; - -#endif // PYTHONQTWRAPPER_QGRAPHICSRECTITEM_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsScene.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsScene.cpp deleted file mode 100644 index e874315..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsScene.cpp +++ /dev/null @@ -1,918 +0,0 @@ -#include "PythonQtWrapper_QGraphicsScene.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QGraphicsScene::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; - } -} - QGraphicsScene::childEvent(arg__1); -} -void PythonQtShell_QGraphicsScene::contextMenuEvent(QGraphicsSceneContextMenuEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; - 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; - } -} - QGraphicsScene::contextMenuEvent(event); -} -void PythonQtShell_QGraphicsScene::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; - } -} - QGraphicsScene::customEvent(arg__1); -} -void PythonQtShell_QGraphicsScene::dragEnterEvent(QGraphicsSceneDragDropEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsScene::dragEnterEvent(event); -} -void PythonQtShell_QGraphicsScene::dragLeaveEvent(QGraphicsSceneDragDropEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsScene::dragLeaveEvent(event); -} -void PythonQtShell_QGraphicsScene::dragMoveEvent(QGraphicsSceneDragDropEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsScene::dragMoveEvent(event); -} -void PythonQtShell_QGraphicsScene::drawBackground(QPainter* painter, const QRectF& rect) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawBackground"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPainter*" , "const QRectF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&painter, (void*)&rect}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsScene::drawBackground(painter, rect); -} -void PythonQtShell_QGraphicsScene::drawForeground(QPainter* painter, const QRectF& rect) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawForeground"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPainter*" , "const QRectF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&painter, (void*)&rect}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsScene::drawForeground(painter, rect); -} -void PythonQtShell_QGraphicsScene::drawItems(QPainter* painter, int numItems, QGraphicsItem** items, const QStyleOptionGraphicsItem* options, QWidget* widget) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawItems"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPainter*" , "int" , "QGraphicsItem**" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - void* args[6] = {NULL, (void*)&painter, (void*)&numItems, (void*)&items, (void*)&options, (void*)&widget}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsScene::drawItems(painter, numItems, items, options, widget); -} -void PythonQtShell_QGraphicsScene::dropEvent(QGraphicsSceneDragDropEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsScene::dropEvent(event); -} -bool PythonQtShell_QGraphicsScene::event(QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsScene::event(event); -} -bool PythonQtShell_QGraphicsScene::eventFilter(QObject* watched, QEvent* event) -{ -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*)&watched, (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("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsScene::eventFilter(watched, event); -} -void PythonQtShell_QGraphicsScene::focusInEvent(QFocusEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QGraphicsScene::focusInEvent(event); -} -void PythonQtShell_QGraphicsScene::focusOutEvent(QFocusEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QGraphicsScene::focusOutEvent(event); -} -void PythonQtShell_QGraphicsScene::helpEvent(QGraphicsSceneHelpEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "helpEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneHelpEvent*"}; - 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; - } -} - QGraphicsScene::helpEvent(event); -} -void PythonQtShell_QGraphicsScene::inputMethodEvent(QInputMethodEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QGraphicsScene::inputMethodEvent(event); -} -QVariant PythonQtShell_QGraphicsScene::inputMethodQuery(Qt::InputMethodQuery query) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&query}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsScene::inputMethodQuery(query); -} -void PythonQtShell_QGraphicsScene::keyPressEvent(QKeyEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsScene::keyPressEvent(event); -} -void PythonQtShell_QGraphicsScene::keyReleaseEvent(QKeyEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsScene::keyReleaseEvent(event); -} -void PythonQtShell_QGraphicsScene::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsScene::mouseDoubleClickEvent(event); -} -void PythonQtShell_QGraphicsScene::mouseMoveEvent(QGraphicsSceneMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsScene::mouseMoveEvent(event); -} -void PythonQtShell_QGraphicsScene::mousePressEvent(QGraphicsSceneMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsScene::mousePressEvent(event); -} -void PythonQtShell_QGraphicsScene::mouseReleaseEvent(QGraphicsSceneMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsScene::mouseReleaseEvent(event); -} -void PythonQtShell_QGraphicsScene::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; - } -} - QGraphicsScene::timerEvent(arg__1); -} -void PythonQtShell_QGraphicsScene::wheelEvent(QGraphicsSceneWheelEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; - 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; - } -} - QGraphicsScene::wheelEvent(event); -} -QGraphicsScene* PythonQtWrapper_QGraphicsScene::new_QGraphicsScene(QObject* parent) -{ -return new PythonQtShell_QGraphicsScene(parent); } - -QGraphicsScene* PythonQtWrapper_QGraphicsScene::new_QGraphicsScene(const QRectF& sceneRect, QObject* parent) -{ -return new PythonQtShell_QGraphicsScene(sceneRect, parent); } - -QGraphicsScene* PythonQtWrapper_QGraphicsScene::new_QGraphicsScene(qreal x, qreal y, qreal width, qreal height, QObject* parent) -{ -return new PythonQtShell_QGraphicsScene(x, y, width, height, parent); } - -QRectF PythonQtWrapper_QGraphicsScene::sceneRect(QGraphicsScene* theWrappedObject) const -{ - return ( theWrappedObject->sceneRect()); -} - -QPalette PythonQtWrapper_QGraphicsScene::palette(QGraphicsScene* theWrappedObject) const -{ - return ( theWrappedObject->palette()); -} - -QGraphicsProxyWidget* PythonQtWrapper_QGraphicsScene::addWidget(QGraphicsScene* theWrappedObject, QWidget* widget, Qt::WindowFlags wFlags) -{ - return ( theWrappedObject->addWidget(widget, wFlags)); -} - -void PythonQtWrapper_QGraphicsScene::dragMoveEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneDragDropEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_dragMoveEvent(event)); -} - -void PythonQtWrapper_QGraphicsScene::focusOutEvent(QGraphicsScene* theWrappedObject, QFocusEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_focusOutEvent(event)); -} - -void PythonQtWrapper_QGraphicsScene::render(QGraphicsScene* theWrappedObject, QPainter* painter, const QRectF& target, const QRectF& source, Qt::AspectRatioMode aspectRatioMode) -{ - ( theWrappedObject->render(painter, target, source, aspectRatioMode)); -} - -QList PythonQtWrapper_QGraphicsScene::selectedItems(QGraphicsScene* theWrappedObject) const -{ - return ( theWrappedObject->selectedItems()); -} - -qreal PythonQtWrapper_QGraphicsScene::width(QGraphicsScene* theWrappedObject) const -{ - return ( theWrappedObject->width()); -} - -void PythonQtWrapper_QGraphicsScene::update(QGraphicsScene* theWrappedObject, qreal x, qreal y, qreal w, qreal h) -{ - ( theWrappedObject->update(x, y, w, h)); -} - -void PythonQtWrapper_QGraphicsScene::dragLeaveEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneDragDropEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_dragLeaveEvent(event)); -} - -QFont PythonQtWrapper_QGraphicsScene::font(QGraphicsScene* theWrappedObject) const -{ - return ( theWrappedObject->font()); -} - -void PythonQtWrapper_QGraphicsScene::setSelectionArea(QGraphicsScene* theWrappedObject, const QPainterPath& path) -{ - ( theWrappedObject->setSelectionArea(path)); -} - -void PythonQtWrapper_QGraphicsScene::setFont(QGraphicsScene* theWrappedObject, const QFont& font) -{ - ( theWrappedObject->setFont(font)); -} - -void PythonQtWrapper_QGraphicsScene::setItemIndexMethod(QGraphicsScene* theWrappedObject, QGraphicsScene::ItemIndexMethod method) -{ - ( theWrappedObject->setItemIndexMethod(method)); -} - -int PythonQtWrapper_QGraphicsScene::bspTreeDepth(QGraphicsScene* theWrappedObject) const -{ - return ( theWrappedObject->bspTreeDepth()); -} - -QGraphicsEllipseItem* PythonQtWrapper_QGraphicsScene::addEllipse(QGraphicsScene* theWrappedObject, qreal x, qreal y, qreal w, qreal h, const QPen& pen, const QBrush& brush) -{ - return ( theWrappedObject->addEllipse(x, y, w, h, pen, brush)); -} - -void PythonQtWrapper_QGraphicsScene::keyReleaseEvent(QGraphicsScene* theWrappedObject, QKeyEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_keyReleaseEvent(event)); -} - -void PythonQtWrapper_QGraphicsScene::dropEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneDragDropEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_dropEvent(event)); -} - -QGraphicsRectItem* PythonQtWrapper_QGraphicsScene::addRect(QGraphicsScene* theWrappedObject, qreal x, qreal y, qreal w, qreal h, const QPen& pen, const QBrush& brush) -{ - return ( theWrappedObject->addRect(x, y, w, h, pen, brush)); -} - -void PythonQtWrapper_QGraphicsScene::setActiveWindow(QGraphicsScene* theWrappedObject, QGraphicsWidget* widget) -{ - ( theWrappedObject->setActiveWindow(widget)); -} - -void PythonQtWrapper_QGraphicsScene::mousePressEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_mousePressEvent(event)); -} - -QList PythonQtWrapper_QGraphicsScene::items(QGraphicsScene* theWrappedObject, qreal x, qreal y, qreal w, qreal h, Qt::ItemSelectionMode mode) const -{ - return ( theWrappedObject->items(x, y, w, h, mode)); -} - -QGraphicsItem* PythonQtWrapper_QGraphicsScene::focusItem(QGraphicsScene* theWrappedObject) const -{ - return ( theWrappedObject->focusItem()); -} - -bool PythonQtWrapper_QGraphicsScene::hasFocus(QGraphicsScene* theWrappedObject) const -{ - return ( theWrappedObject->hasFocus()); -} - -bool PythonQtWrapper_QGraphicsScene::event(QGraphicsScene* theWrappedObject, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_event(event)); -} - -void PythonQtWrapper_QGraphicsScene::invalidate(QGraphicsScene* theWrappedObject, qreal x, qreal y, qreal w, qreal h, QGraphicsScene::SceneLayers layers) -{ - ( theWrappedObject->invalidate(x, y, w, h, layers)); -} - -void PythonQtWrapper_QGraphicsScene::dragEnterEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneDragDropEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_dragEnterEvent(event)); -} - -QGraphicsItemGroup* PythonQtWrapper_QGraphicsScene::createItemGroup(QGraphicsScene* theWrappedObject, const QList& items) -{ - return ( theWrappedObject->createItemGroup(items)); -} - -QGraphicsEllipseItem* PythonQtWrapper_QGraphicsScene::addEllipse(QGraphicsScene* theWrappedObject, const QRectF& rect, const QPen& pen, const QBrush& brush) -{ - return ( theWrappedObject->addEllipse(rect, pen, brush)); -} - -QGraphicsPathItem* PythonQtWrapper_QGraphicsScene::addPath(QGraphicsScene* theWrappedObject, const QPainterPath& path, const QPen& pen, const QBrush& brush) -{ - return ( theWrappedObject->addPath(path, pen, brush)); -} - -QGraphicsLineItem* PythonQtWrapper_QGraphicsScene::addLine(QGraphicsScene* theWrappedObject, qreal x1, qreal y1, qreal x2, qreal y2, const QPen& pen) -{ - return ( theWrappedObject->addLine(x1, y1, x2, y2, pen)); -} - -QGraphicsScene::ItemIndexMethod PythonQtWrapper_QGraphicsScene::itemIndexMethod(QGraphicsScene* theWrappedObject) const -{ - return ( theWrappedObject->itemIndexMethod()); -} - -void PythonQtWrapper_QGraphicsScene::setSceneRect(QGraphicsScene* theWrappedObject, qreal x, qreal y, qreal w, qreal h) -{ - ( theWrappedObject->setSceneRect(x, y, w, h)); -} - -bool PythonQtWrapper_QGraphicsScene::eventFilter(QGraphicsScene* theWrappedObject, QObject* watched, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_eventFilter(watched, event)); -} - -void PythonQtWrapper_QGraphicsScene::mouseMoveEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_mouseMoveEvent(event)); -} - -void PythonQtWrapper_QGraphicsScene::inputMethodEvent(QGraphicsScene* theWrappedObject, QInputMethodEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_inputMethodEvent(event)); -} - -void PythonQtWrapper_QGraphicsScene::setBspTreeDepth(QGraphicsScene* theWrappedObject, int depth) -{ - ( theWrappedObject->setBspTreeDepth(depth)); -} - -QGraphicsItem* PythonQtWrapper_QGraphicsScene::mouseGrabberItem(QGraphicsScene* theWrappedObject) const -{ - return ( theWrappedObject->mouseGrabberItem()); -} - -void PythonQtWrapper_QGraphicsScene::destroyItemGroup(QGraphicsScene* theWrappedObject, QGraphicsItemGroup* group) -{ - ( theWrappedObject->destroyItemGroup(group)); -} - -QBrush PythonQtWrapper_QGraphicsScene::backgroundBrush(QGraphicsScene* theWrappedObject) const -{ - return ( theWrappedObject->backgroundBrush()); -} - -QList PythonQtWrapper_QGraphicsScene::items(QGraphicsScene* theWrappedObject, const QRectF& rect, Qt::ItemSelectionMode mode) const -{ - return ( theWrappedObject->items(rect, mode)); -} - -void PythonQtWrapper_QGraphicsScene::setBackgroundBrush(QGraphicsScene* theWrappedObject, const QBrush& brush) -{ - ( theWrappedObject->setBackgroundBrush(brush)); -} - -void PythonQtWrapper_QGraphicsScene::setForegroundBrush(QGraphicsScene* theWrappedObject, const QBrush& brush) -{ - ( theWrappedObject->setForegroundBrush(brush)); -} - -QGraphicsItem* PythonQtWrapper_QGraphicsScene::itemAt(QGraphicsScene* theWrappedObject, qreal x, qreal y) const -{ - return ( theWrappedObject->itemAt(x, y)); -} - -void PythonQtWrapper_QGraphicsScene::removeItem(QGraphicsScene* theWrappedObject, QGraphicsItem* item) -{ - ( theWrappedObject->removeItem(item)); -} - -QVariant PythonQtWrapper_QGraphicsScene::inputMethodQuery(QGraphicsScene* theWrappedObject, Qt::InputMethodQuery query) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_inputMethodQuery(query)); -} - -QRectF PythonQtWrapper_QGraphicsScene::itemsBoundingRect(QGraphicsScene* theWrappedObject) const -{ - return ( theWrappedObject->itemsBoundingRect()); -} - -QList PythonQtWrapper_QGraphicsScene::views(QGraphicsScene* theWrappedObject) const -{ - return ( theWrappedObject->views()); -} - -void PythonQtWrapper_QGraphicsScene::drawItems(QGraphicsScene* theWrappedObject, QPainter* painter, int numItems, QGraphicsItem** items, const QStyleOptionGraphicsItem* options, QWidget* widget) -{ - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_drawItems(painter, numItems, items, options, widget)); -} - -void PythonQtWrapper_QGraphicsScene::setSelectionArea(QGraphicsScene* theWrappedObject, const QPainterPath& path, Qt::ItemSelectionMode arg__2) -{ - ( theWrappedObject->setSelectionArea(path, arg__2)); -} - -void PythonQtWrapper_QGraphicsScene::setFocus(QGraphicsScene* theWrappedObject, Qt::FocusReason focusReason) -{ - ( theWrappedObject->setFocus(focusReason)); -} - -void PythonQtWrapper_QGraphicsScene::setSceneRect(QGraphicsScene* theWrappedObject, const QRectF& rect) -{ - ( theWrappedObject->setSceneRect(rect)); -} - -QGraphicsPixmapItem* PythonQtWrapper_QGraphicsScene::addPixmap(QGraphicsScene* theWrappedObject, const QPixmap& pixmap) -{ - return ( theWrappedObject->addPixmap(pixmap)); -} - -QList PythonQtWrapper_QGraphicsScene::items(QGraphicsScene* theWrappedObject, const QPolygonF& polygon, Qt::ItemSelectionMode mode) const -{ - return ( theWrappedObject->items(polygon, mode)); -} - -QBrush PythonQtWrapper_QGraphicsScene::foregroundBrush(QGraphicsScene* theWrappedObject) const -{ - return ( theWrappedObject->foregroundBrush()); -} - -QGraphicsPolygonItem* PythonQtWrapper_QGraphicsScene::addPolygon(QGraphicsScene* theWrappedObject, const QPolygonF& polygon, const QPen& pen, const QBrush& brush) -{ - return ( theWrappedObject->addPolygon(polygon, pen, brush)); -} - -void PythonQtWrapper_QGraphicsScene::contextMenuEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneContextMenuEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_contextMenuEvent(event)); -} - -void PythonQtWrapper_QGraphicsScene::clearFocus(QGraphicsScene* theWrappedObject) -{ - ( theWrappedObject->clearFocus()); -} - -QGraphicsLineItem* PythonQtWrapper_QGraphicsScene::addLine(QGraphicsScene* theWrappedObject, const QLineF& line, const QPen& pen) -{ - return ( theWrappedObject->addLine(line, pen)); -} - -void PythonQtWrapper_QGraphicsScene::keyPressEvent(QGraphicsScene* theWrappedObject, QKeyEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_keyPressEvent(event)); -} - -void PythonQtWrapper_QGraphicsScene::drawForeground(QGraphicsScene* theWrappedObject, QPainter* painter, const QRectF& rect) -{ - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_drawForeground(painter, rect)); -} - -QStyle* PythonQtWrapper_QGraphicsScene::style(QGraphicsScene* theWrappedObject) const -{ - return ( theWrappedObject->style()); -} - -qreal PythonQtWrapper_QGraphicsScene::height(QGraphicsScene* theWrappedObject) const -{ - return ( theWrappedObject->height()); -} - -void PythonQtWrapper_QGraphicsScene::wheelEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneWheelEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_wheelEvent(event)); -} - -void PythonQtWrapper_QGraphicsScene::helpEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneHelpEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_helpEvent(event)); -} - -QGraphicsRectItem* PythonQtWrapper_QGraphicsScene::addRect(QGraphicsScene* theWrappedObject, const QRectF& rect, const QPen& pen, const QBrush& brush) -{ - return ( theWrappedObject->addRect(rect, pen, brush)); -} - -void PythonQtWrapper_QGraphicsScene::mouseReleaseEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_mouseReleaseEvent(event)); -} - -QGraphicsTextItem* PythonQtWrapper_QGraphicsScene::addText(QGraphicsScene* theWrappedObject, const QString& text, const QFont& font) -{ - return ( theWrappedObject->addText(text, font)); -} - -QGraphicsWidget* PythonQtWrapper_QGraphicsScene::activeWindow(QGraphicsScene* theWrappedObject) const -{ - return ( theWrappedObject->activeWindow()); -} - -QList PythonQtWrapper_QGraphicsScene::collidingItems(QGraphicsScene* theWrappedObject, const QGraphicsItem* item, Qt::ItemSelectionMode mode) const -{ - return ( theWrappedObject->collidingItems(item, mode)); -} - -void PythonQtWrapper_QGraphicsScene::addItem(QGraphicsScene* theWrappedObject, QGraphicsItem* item) -{ - ( theWrappedObject->addItem(item)); -} - -void PythonQtWrapper_QGraphicsScene::setPalette(QGraphicsScene* theWrappedObject, const QPalette& palette) -{ - ( theWrappedObject->setPalette(palette)); -} - -QList PythonQtWrapper_QGraphicsScene::items(QGraphicsScene* theWrappedObject) const -{ - return ( theWrappedObject->items()); -} - -void PythonQtWrapper_QGraphicsScene::drawBackground(QGraphicsScene* theWrappedObject, QPainter* painter, const QRectF& rect) -{ - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_drawBackground(painter, rect)); -} - -QGraphicsItem* PythonQtWrapper_QGraphicsScene::itemAt(QGraphicsScene* theWrappedObject, const QPointF& pos) const -{ - return ( theWrappedObject->itemAt(pos)); -} - -void PythonQtWrapper_QGraphicsScene::setStyle(QGraphicsScene* theWrappedObject, QStyle* style) -{ - ( theWrappedObject->setStyle(style)); -} - -QList PythonQtWrapper_QGraphicsScene::items(QGraphicsScene* theWrappedObject, const QPointF& pos) const -{ - return ( theWrappedObject->items(pos)); -} - -void PythonQtWrapper_QGraphicsScene::focusInEvent(QGraphicsScene* theWrappedObject, QFocusEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_focusInEvent(event)); -} - -void PythonQtWrapper_QGraphicsScene::setFocusItem(QGraphicsScene* theWrappedObject, QGraphicsItem* item, Qt::FocusReason focusReason) -{ - ( theWrappedObject->setFocusItem(item, focusReason)); -} - -QGraphicsSimpleTextItem* PythonQtWrapper_QGraphicsScene::addSimpleText(QGraphicsScene* theWrappedObject, const QString& text, const QFont& font) -{ - return ( theWrappedObject->addSimpleText(text, font)); -} - -QPainterPath PythonQtWrapper_QGraphicsScene::selectionArea(QGraphicsScene* theWrappedObject) const -{ - return ( theWrappedObject->selectionArea()); -} - -QList PythonQtWrapper_QGraphicsScene::items(QGraphicsScene* theWrappedObject, const QPainterPath& path, Qt::ItemSelectionMode mode) const -{ - return ( theWrappedObject->items(path, mode)); -} - -void PythonQtWrapper_QGraphicsScene::mouseDoubleClickEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_mouseDoubleClickEvent(event)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsScene.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsScene.h deleted file mode 100644 index 696a81b..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsScene.h +++ /dev/null @@ -1,199 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QGRAPHICSSCENE_H -#define PYTHONQTWRAPPER_QGRAPHICSSCENE_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QGraphicsScene : public QGraphicsScene -{ -public: - PythonQtShell_QGraphicsScene(QObject* parent = 0):QGraphicsScene(parent),_wrapper(NULL) {}; - PythonQtShell_QGraphicsScene(const QRectF& sceneRect, QObject* parent = 0):QGraphicsScene(sceneRect, parent),_wrapper(NULL) {}; - PythonQtShell_QGraphicsScene(qreal x, qreal y, qreal width, qreal height, QObject* parent = 0):QGraphicsScene(x, y, width, height, parent),_wrapper(NULL) {}; - -virtual void childEvent(QChildEvent* arg__1); -virtual void contextMenuEvent(QGraphicsSceneContextMenuEvent* event); -virtual void customEvent(QEvent* arg__1); -virtual void dragEnterEvent(QGraphicsSceneDragDropEvent* event); -virtual void dragLeaveEvent(QGraphicsSceneDragDropEvent* event); -virtual void dragMoveEvent(QGraphicsSceneDragDropEvent* event); -virtual void drawBackground(QPainter* painter, const QRectF& rect); -virtual void drawForeground(QPainter* painter, const QRectF& rect); -virtual void drawItems(QPainter* painter, int numItems, QGraphicsItem** items, const QStyleOptionGraphicsItem* options, QWidget* widget = 0); -virtual void dropEvent(QGraphicsSceneDragDropEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual void focusOutEvent(QFocusEvent* event); -virtual void helpEvent(QGraphicsSceneHelpEvent* event); -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event); -virtual void mouseMoveEvent(QGraphicsSceneMouseEvent* event); -virtual void mousePressEvent(QGraphicsSceneMouseEvent* event); -virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent* event); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QGraphicsSceneWheelEvent* event); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QGraphicsScene : public QGraphicsScene -{ public: -inline void promoted_dragMoveEvent(QGraphicsSceneDragDropEvent* event) { QGraphicsScene::dragMoveEvent(event); } -inline void promoted_focusOutEvent(QFocusEvent* event) { QGraphicsScene::focusOutEvent(event); } -inline void promoted_dragLeaveEvent(QGraphicsSceneDragDropEvent* event) { QGraphicsScene::dragLeaveEvent(event); } -inline void promoted_keyReleaseEvent(QKeyEvent* event) { QGraphicsScene::keyReleaseEvent(event); } -inline void promoted_dropEvent(QGraphicsSceneDragDropEvent* event) { QGraphicsScene::dropEvent(event); } -inline void promoted_mousePressEvent(QGraphicsSceneMouseEvent* event) { QGraphicsScene::mousePressEvent(event); } -inline bool promoted_event(QEvent* event) { return QGraphicsScene::event(event); } -inline void promoted_dragEnterEvent(QGraphicsSceneDragDropEvent* event) { QGraphicsScene::dragEnterEvent(event); } -inline bool promoted_eventFilter(QObject* watched, QEvent* event) { return QGraphicsScene::eventFilter(watched, event); } -inline void promoted_mouseMoveEvent(QGraphicsSceneMouseEvent* event) { QGraphicsScene::mouseMoveEvent(event); } -inline void promoted_inputMethodEvent(QInputMethodEvent* event) { QGraphicsScene::inputMethodEvent(event); } -inline QVariant promoted_inputMethodQuery(Qt::InputMethodQuery query) const { return QGraphicsScene::inputMethodQuery(query); } -inline void promoted_drawItems(QPainter* painter, int numItems, QGraphicsItem** items, const QStyleOptionGraphicsItem* options, QWidget* widget = 0) { QGraphicsScene::drawItems(painter, numItems, items, options, widget); } -inline void promoted_contextMenuEvent(QGraphicsSceneContextMenuEvent* event) { QGraphicsScene::contextMenuEvent(event); } -inline void promoted_keyPressEvent(QKeyEvent* event) { QGraphicsScene::keyPressEvent(event); } -inline void promoted_drawForeground(QPainter* painter, const QRectF& rect) { QGraphicsScene::drawForeground(painter, rect); } -inline void promoted_wheelEvent(QGraphicsSceneWheelEvent* event) { QGraphicsScene::wheelEvent(event); } -inline void promoted_helpEvent(QGraphicsSceneHelpEvent* event) { QGraphicsScene::helpEvent(event); } -inline void promoted_mouseReleaseEvent(QGraphicsSceneMouseEvent* event) { QGraphicsScene::mouseReleaseEvent(event); } -inline void promoted_drawBackground(QPainter* painter, const QRectF& rect) { QGraphicsScene::drawBackground(painter, rect); } -inline void promoted_focusInEvent(QFocusEvent* event) { QGraphicsScene::focusInEvent(event); } -inline void promoted_mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) { QGraphicsScene::mouseDoubleClickEvent(event); } -}; - -class PythonQtWrapper_QGraphicsScene : public QObject -{ Q_OBJECT -public: -Q_ENUMS(SceneLayer ItemIndexMethod ) -Q_FLAGS(SceneLayers ) -enum SceneLayer{ - ItemLayer = QGraphicsScene::ItemLayer, BackgroundLayer = QGraphicsScene::BackgroundLayer, ForegroundLayer = QGraphicsScene::ForegroundLayer, AllLayers = QGraphicsScene::AllLayers}; -enum ItemIndexMethod{ - BspTreeIndex = QGraphicsScene::BspTreeIndex, NoIndex = QGraphicsScene::NoIndex}; -Q_DECLARE_FLAGS(SceneLayers, SceneLayer) -public slots: -QGraphicsScene* new_QGraphicsScene(QObject* parent = 0); -QGraphicsScene* new_QGraphicsScene(const QRectF& sceneRect, QObject* parent = 0); -QGraphicsScene* new_QGraphicsScene(qreal x, qreal y, qreal width, qreal height, QObject* parent = 0); -void delete_QGraphicsScene(QGraphicsScene* obj) { delete obj; } - QRectF sceneRect(QGraphicsScene* theWrappedObject) const; - QPalette palette(QGraphicsScene* theWrappedObject) const; - QGraphicsProxyWidget* addWidget(QGraphicsScene* theWrappedObject, QWidget* widget, Qt::WindowFlags wFlags = 0); - void dragMoveEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneDragDropEvent* event); - void focusOutEvent(QGraphicsScene* theWrappedObject, QFocusEvent* event); - void render(QGraphicsScene* theWrappedObject, QPainter* painter, const QRectF& target = QRectF(), const QRectF& source = QRectF(), Qt::AspectRatioMode aspectRatioMode = Qt::KeepAspectRatio); - QList selectedItems(QGraphicsScene* theWrappedObject) const; - qreal width(QGraphicsScene* theWrappedObject) const; - void update(QGraphicsScene* theWrappedObject, qreal x, qreal y, qreal w, qreal h); - void dragLeaveEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneDragDropEvent* event); - QFont font(QGraphicsScene* theWrappedObject) const; - void setSelectionArea(QGraphicsScene* theWrappedObject, const QPainterPath& path); - void setFont(QGraphicsScene* theWrappedObject, const QFont& font); - void setItemIndexMethod(QGraphicsScene* theWrappedObject, QGraphicsScene::ItemIndexMethod method); - int bspTreeDepth(QGraphicsScene* theWrappedObject) const; - QGraphicsEllipseItem* addEllipse(QGraphicsScene* theWrappedObject, qreal x, qreal y, qreal w, qreal h, const QPen& pen = QPen(), const QBrush& brush = QBrush()); - void keyReleaseEvent(QGraphicsScene* theWrappedObject, QKeyEvent* event); - void dropEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneDragDropEvent* event); - QGraphicsRectItem* addRect(QGraphicsScene* theWrappedObject, qreal x, qreal y, qreal w, qreal h, const QPen& pen = QPen(), const QBrush& brush = QBrush()); - void setActiveWindow(QGraphicsScene* theWrappedObject, QGraphicsWidget* widget); - void mousePressEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneMouseEvent* event); - QList items(QGraphicsScene* theWrappedObject, qreal x, qreal y, qreal w, qreal h, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; - QGraphicsItem* focusItem(QGraphicsScene* theWrappedObject) const; - bool hasFocus(QGraphicsScene* theWrappedObject) const; - bool event(QGraphicsScene* theWrappedObject, QEvent* event); - void invalidate(QGraphicsScene* theWrappedObject, qreal x, qreal y, qreal w, qreal h, QGraphicsScene::SceneLayers layers = QGraphicsScene::AllLayers); - void dragEnterEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneDragDropEvent* event); - QGraphicsItemGroup* createItemGroup(QGraphicsScene* theWrappedObject, const QList& items); - QGraphicsEllipseItem* addEllipse(QGraphicsScene* theWrappedObject, const QRectF& rect, const QPen& pen = QPen(), const QBrush& brush = QBrush()); - QGraphicsPathItem* addPath(QGraphicsScene* theWrappedObject, const QPainterPath& path, const QPen& pen = QPen(), const QBrush& brush = QBrush()); - QGraphicsLineItem* addLine(QGraphicsScene* theWrappedObject, qreal x1, qreal y1, qreal x2, qreal y2, const QPen& pen = QPen()); - QGraphicsScene::ItemIndexMethod itemIndexMethod(QGraphicsScene* theWrappedObject) const; - void setSceneRect(QGraphicsScene* theWrappedObject, qreal x, qreal y, qreal w, qreal h); - bool eventFilter(QGraphicsScene* theWrappedObject, QObject* watched, QEvent* event); - void mouseMoveEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneMouseEvent* event); - void inputMethodEvent(QGraphicsScene* theWrappedObject, QInputMethodEvent* event); - void setBspTreeDepth(QGraphicsScene* theWrappedObject, int depth); - QGraphicsItem* mouseGrabberItem(QGraphicsScene* theWrappedObject) const; - void destroyItemGroup(QGraphicsScene* theWrappedObject, QGraphicsItemGroup* group); - QBrush backgroundBrush(QGraphicsScene* theWrappedObject) const; - QList items(QGraphicsScene* theWrappedObject, const QRectF& rect, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; - void setBackgroundBrush(QGraphicsScene* theWrappedObject, const QBrush& brush); - void setForegroundBrush(QGraphicsScene* theWrappedObject, const QBrush& brush); - QGraphicsItem* itemAt(QGraphicsScene* theWrappedObject, qreal x, qreal y) const; - void removeItem(QGraphicsScene* theWrappedObject, QGraphicsItem* item); - QVariant inputMethodQuery(QGraphicsScene* theWrappedObject, Qt::InputMethodQuery query) const; - QRectF itemsBoundingRect(QGraphicsScene* theWrappedObject) const; - QList views(QGraphicsScene* theWrappedObject) const; - void drawItems(QGraphicsScene* theWrappedObject, QPainter* painter, int numItems, QGraphicsItem** items, const QStyleOptionGraphicsItem* options, QWidget* widget = 0); - void setSelectionArea(QGraphicsScene* theWrappedObject, const QPainterPath& path, Qt::ItemSelectionMode arg__2); - void setFocus(QGraphicsScene* theWrappedObject, Qt::FocusReason focusReason = Qt::OtherFocusReason); - void setSceneRect(QGraphicsScene* theWrappedObject, const QRectF& rect); - QGraphicsPixmapItem* addPixmap(QGraphicsScene* theWrappedObject, const QPixmap& pixmap); - QList items(QGraphicsScene* theWrappedObject, const QPolygonF& polygon, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; - QBrush foregroundBrush(QGraphicsScene* theWrappedObject) const; - QGraphicsPolygonItem* addPolygon(QGraphicsScene* theWrappedObject, const QPolygonF& polygon, const QPen& pen = QPen(), const QBrush& brush = QBrush()); - void contextMenuEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneContextMenuEvent* event); - void clearFocus(QGraphicsScene* theWrappedObject); - QGraphicsLineItem* addLine(QGraphicsScene* theWrappedObject, const QLineF& line, const QPen& pen = QPen()); - void keyPressEvent(QGraphicsScene* theWrappedObject, QKeyEvent* event); - void drawForeground(QGraphicsScene* theWrappedObject, QPainter* painter, const QRectF& rect); - QStyle* style(QGraphicsScene* theWrappedObject) const; - qreal height(QGraphicsScene* theWrappedObject) const; - void wheelEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneWheelEvent* event); - void helpEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneHelpEvent* event); - QGraphicsRectItem* addRect(QGraphicsScene* theWrappedObject, const QRectF& rect, const QPen& pen = QPen(), const QBrush& brush = QBrush()); - void mouseReleaseEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneMouseEvent* event); - QGraphicsTextItem* addText(QGraphicsScene* theWrappedObject, const QString& text, const QFont& font = QFont()); - QGraphicsWidget* activeWindow(QGraphicsScene* theWrappedObject) const; - QList collidingItems(QGraphicsScene* theWrappedObject, const QGraphicsItem* item, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; - void addItem(QGraphicsScene* theWrappedObject, QGraphicsItem* item); - void setPalette(QGraphicsScene* theWrappedObject, const QPalette& palette); - QList items(QGraphicsScene* theWrappedObject) const; - void drawBackground(QGraphicsScene* theWrappedObject, QPainter* painter, const QRectF& rect); - QGraphicsItem* itemAt(QGraphicsScene* theWrappedObject, const QPointF& pos) const; - void setStyle(QGraphicsScene* theWrappedObject, QStyle* style); - QList items(QGraphicsScene* theWrappedObject, const QPointF& pos) const; - void focusInEvent(QGraphicsScene* theWrappedObject, QFocusEvent* event); - void setFocusItem(QGraphicsScene* theWrappedObject, QGraphicsItem* item, Qt::FocusReason focusReason = Qt::OtherFocusReason); - QGraphicsSimpleTextItem* addSimpleText(QGraphicsScene* theWrappedObject, const QString& text, const QFont& font = QFont()); - QPainterPath selectionArea(QGraphicsScene* theWrappedObject) const; - QList items(QGraphicsScene* theWrappedObject, const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; - void mouseDoubleClickEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneMouseEvent* event); -}; - -#endif // PYTHONQTWRAPPER_QGRAPHICSSCENE_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsSceneContextMenuEvent.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsSceneContextMenuEvent.cpp deleted file mode 100644 index 9b0fe07..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsSceneContextMenuEvent.cpp +++ /dev/null @@ -1,63 +0,0 @@ -#include "PythonQtWrapper_QGraphicsSceneContextMenuEvent.h" - -#include -#include -#include -#include -#include -#include - -QGraphicsSceneContextMenuEvent* PythonQtWrapper_QGraphicsSceneContextMenuEvent::new_QGraphicsSceneContextMenuEvent(QEvent::Type type) -{ -return new QGraphicsSceneContextMenuEvent(type); } - -QPointF PythonQtWrapper_QGraphicsSceneContextMenuEvent::scenePos(QGraphicsSceneContextMenuEvent* theWrappedObject) const -{ - return ( theWrappedObject->scenePos()); -} - -void PythonQtWrapper_QGraphicsSceneContextMenuEvent::setScreenPos(QGraphicsSceneContextMenuEvent* theWrappedObject, const QPoint& pos) -{ - ( theWrappedObject->setScreenPos(pos)); -} - -Qt::KeyboardModifiers PythonQtWrapper_QGraphicsSceneContextMenuEvent::modifiers(QGraphicsSceneContextMenuEvent* theWrappedObject) const -{ - return ( theWrappedObject->modifiers()); -} - -QPointF PythonQtWrapper_QGraphicsSceneContextMenuEvent::pos(QGraphicsSceneContextMenuEvent* theWrappedObject) const -{ - return ( theWrappedObject->pos()); -} - -void PythonQtWrapper_QGraphicsSceneContextMenuEvent::setModifiers(QGraphicsSceneContextMenuEvent* theWrappedObject, Qt::KeyboardModifiers modifiers) -{ - ( theWrappedObject->setModifiers(modifiers)); -} - -QGraphicsSceneContextMenuEvent::Reason PythonQtWrapper_QGraphicsSceneContextMenuEvent::reason(QGraphicsSceneContextMenuEvent* theWrappedObject) const -{ - return ( theWrappedObject->reason()); -} - -void PythonQtWrapper_QGraphicsSceneContextMenuEvent::setPos(QGraphicsSceneContextMenuEvent* theWrappedObject, const QPointF& pos) -{ - ( theWrappedObject->setPos(pos)); -} - -void PythonQtWrapper_QGraphicsSceneContextMenuEvent::setScenePos(QGraphicsSceneContextMenuEvent* theWrappedObject, const QPointF& pos) -{ - ( theWrappedObject->setScenePos(pos)); -} - -void PythonQtWrapper_QGraphicsSceneContextMenuEvent::setReason(QGraphicsSceneContextMenuEvent* theWrappedObject, QGraphicsSceneContextMenuEvent::Reason reason) -{ - ( theWrappedObject->setReason(reason)); -} - -QPoint PythonQtWrapper_QGraphicsSceneContextMenuEvent::screenPos(QGraphicsSceneContextMenuEvent* theWrappedObject) const -{ - return ( theWrappedObject->screenPos()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsSceneContextMenuEvent.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsSceneContextMenuEvent.h deleted file mode 100644 index a8f2e5b..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsSceneContextMenuEvent.h +++ /dev/null @@ -1,34 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QGRAPHICSSCENECONTEXTMENUEVENT_H -#define PYTHONQTWRAPPER_QGRAPHICSSCENECONTEXTMENUEVENT_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtWrapper_QGraphicsSceneContextMenuEvent : public QObject -{ Q_OBJECT -public: -Q_ENUMS(Reason ) -enum Reason{ - Mouse = QGraphicsSceneContextMenuEvent::Mouse, Keyboard = QGraphicsSceneContextMenuEvent::Keyboard, Other = QGraphicsSceneContextMenuEvent::Other}; -public slots: -QGraphicsSceneContextMenuEvent* new_QGraphicsSceneContextMenuEvent(QEvent::Type type = QEvent::None); -void delete_QGraphicsSceneContextMenuEvent(QGraphicsSceneContextMenuEvent* obj) { delete obj; } - QPointF scenePos(QGraphicsSceneContextMenuEvent* theWrappedObject) const; - void setScreenPos(QGraphicsSceneContextMenuEvent* theWrappedObject, const QPoint& pos); - Qt::KeyboardModifiers modifiers(QGraphicsSceneContextMenuEvent* theWrappedObject) const; - QPointF pos(QGraphicsSceneContextMenuEvent* theWrappedObject) const; - void setModifiers(QGraphicsSceneContextMenuEvent* theWrappedObject, Qt::KeyboardModifiers modifiers); - QGraphicsSceneContextMenuEvent::Reason reason(QGraphicsSceneContextMenuEvent* theWrappedObject) const; - void setPos(QGraphicsSceneContextMenuEvent* theWrappedObject, const QPointF& pos); - void setScenePos(QGraphicsSceneContextMenuEvent* theWrappedObject, const QPointF& pos); - void setReason(QGraphicsSceneContextMenuEvent* theWrappedObject, QGraphicsSceneContextMenuEvent::Reason reason); - QPoint screenPos(QGraphicsSceneContextMenuEvent* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QGRAPHICSSCENECONTEXTMENUEVENT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsSceneEvent.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsSceneEvent.cpp deleted file mode 100644 index 3837ba4..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsSceneEvent.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "PythonQtWrapper_QGraphicsSceneEvent.h" - -#include -#include -#include -#include -#include - -QGraphicsSceneEvent* PythonQtWrapper_QGraphicsSceneEvent::new_QGraphicsSceneEvent(QEvent::Type type) -{ -return new QGraphicsSceneEvent(type); } - -QWidget* PythonQtWrapper_QGraphicsSceneEvent::widget(QGraphicsSceneEvent* theWrappedObject) const -{ - return ( theWrappedObject->widget()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsSceneEvent.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsSceneEvent.h deleted file mode 100644 index 0c70507..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsSceneEvent.h +++ /dev/null @@ -1,21 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QGRAPHICSSCENEEVENT_H -#define PYTHONQTWRAPPER_QGRAPHICSSCENEEVENT_H - -#include -#include - -#include - -#include -#include - -class PythonQtWrapper_QGraphicsSceneEvent : public QObject -{ Q_OBJECT -public: -public slots: -QGraphicsSceneEvent* new_QGraphicsSceneEvent(QEvent::Type type); -void delete_QGraphicsSceneEvent(QGraphicsSceneEvent* obj) { delete obj; } - QWidget* widget(QGraphicsSceneEvent* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QGRAPHICSSCENEEVENT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsSceneHelpEvent.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsSceneHelpEvent.cpp deleted file mode 100644 index 3be5329..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsSceneHelpEvent.cpp +++ /dev/null @@ -1,33 +0,0 @@ -#include "PythonQtWrapper_QGraphicsSceneHelpEvent.h" - -#include -#include -#include -#include -#include -#include - -QGraphicsSceneHelpEvent* PythonQtWrapper_QGraphicsSceneHelpEvent::new_QGraphicsSceneHelpEvent(QEvent::Type type) -{ -return new QGraphicsSceneHelpEvent(type); } - -QPointF PythonQtWrapper_QGraphicsSceneHelpEvent::scenePos(QGraphicsSceneHelpEvent* theWrappedObject) const -{ - return ( theWrappedObject->scenePos()); -} - -QPoint PythonQtWrapper_QGraphicsSceneHelpEvent::screenPos(QGraphicsSceneHelpEvent* theWrappedObject) const -{ - return ( theWrappedObject->screenPos()); -} - -void PythonQtWrapper_QGraphicsSceneHelpEvent::setScenePos(QGraphicsSceneHelpEvent* theWrappedObject, const QPointF& pos) -{ - ( theWrappedObject->setScenePos(pos)); -} - -void PythonQtWrapper_QGraphicsSceneHelpEvent::setScreenPos(QGraphicsSceneHelpEvent* theWrappedObject, const QPoint& pos) -{ - ( theWrappedObject->setScreenPos(pos)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsSceneHelpEvent.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsSceneHelpEvent.h deleted file mode 100644 index c529069..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsSceneHelpEvent.h +++ /dev/null @@ -1,25 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QGRAPHICSSCENEHELPEVENT_H -#define PYTHONQTWRAPPER_QGRAPHICSSCENEHELPEVENT_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtWrapper_QGraphicsSceneHelpEvent : public QObject -{ Q_OBJECT -public: -public slots: -QGraphicsSceneHelpEvent* new_QGraphicsSceneHelpEvent(QEvent::Type type = QEvent::None); -void delete_QGraphicsSceneHelpEvent(QGraphicsSceneHelpEvent* obj) { delete obj; } - QPointF scenePos(QGraphicsSceneHelpEvent* theWrappedObject) const; - QPoint screenPos(QGraphicsSceneHelpEvent* theWrappedObject) const; - void setScenePos(QGraphicsSceneHelpEvent* theWrappedObject, const QPointF& pos); - void setScreenPos(QGraphicsSceneHelpEvent* theWrappedObject, const QPoint& pos); -}; - -#endif // PYTHONQTWRAPPER_QGRAPHICSSCENEHELPEVENT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsSceneHoverEvent.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsSceneHoverEvent.cpp deleted file mode 100644 index 4659ecb..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsSceneHoverEvent.cpp +++ /dev/null @@ -1,83 +0,0 @@ -#include "PythonQtWrapper_QGraphicsSceneHoverEvent.h" - -#include -#include -#include -#include -#include -#include - -QGraphicsSceneHoverEvent* PythonQtWrapper_QGraphicsSceneHoverEvent::new_QGraphicsSceneHoverEvent(QEvent::Type type) -{ -return new QGraphicsSceneHoverEvent(type); } - -QPointF PythonQtWrapper_QGraphicsSceneHoverEvent::scenePos(QGraphicsSceneHoverEvent* theWrappedObject) const -{ - return ( theWrappedObject->scenePos()); -} - -QPoint PythonQtWrapper_QGraphicsSceneHoverEvent::lastScreenPos(QGraphicsSceneHoverEvent* theWrappedObject) const -{ - return ( theWrappedObject->lastScreenPos()); -} - -QPoint PythonQtWrapper_QGraphicsSceneHoverEvent::screenPos(QGraphicsSceneHoverEvent* theWrappedObject) const -{ - return ( theWrappedObject->screenPos()); -} - -Qt::KeyboardModifiers PythonQtWrapper_QGraphicsSceneHoverEvent::modifiers(QGraphicsSceneHoverEvent* theWrappedObject) const -{ - return ( theWrappedObject->modifiers()); -} - -void PythonQtWrapper_QGraphicsSceneHoverEvent::setModifiers(QGraphicsSceneHoverEvent* theWrappedObject, Qt::KeyboardModifiers modifiers) -{ - ( theWrappedObject->setModifiers(modifiers)); -} - -QPointF PythonQtWrapper_QGraphicsSceneHoverEvent::pos(QGraphicsSceneHoverEvent* theWrappedObject) const -{ - return ( theWrappedObject->pos()); -} - -QPointF PythonQtWrapper_QGraphicsSceneHoverEvent::lastPos(QGraphicsSceneHoverEvent* theWrappedObject) const -{ - return ( theWrappedObject->lastPos()); -} - -void PythonQtWrapper_QGraphicsSceneHoverEvent::setLastScreenPos(QGraphicsSceneHoverEvent* theWrappedObject, const QPoint& pos) -{ - ( theWrappedObject->setLastScreenPos(pos)); -} - -void PythonQtWrapper_QGraphicsSceneHoverEvent::setLastPos(QGraphicsSceneHoverEvent* theWrappedObject, const QPointF& pos) -{ - ( theWrappedObject->setLastPos(pos)); -} - -void PythonQtWrapper_QGraphicsSceneHoverEvent::setPos(QGraphicsSceneHoverEvent* theWrappedObject, const QPointF& pos) -{ - ( theWrappedObject->setPos(pos)); -} - -QPointF PythonQtWrapper_QGraphicsSceneHoverEvent::lastScenePos(QGraphicsSceneHoverEvent* theWrappedObject) const -{ - return ( theWrappedObject->lastScenePos()); -} - -void PythonQtWrapper_QGraphicsSceneHoverEvent::setScenePos(QGraphicsSceneHoverEvent* theWrappedObject, const QPointF& pos) -{ - ( theWrappedObject->setScenePos(pos)); -} - -void PythonQtWrapper_QGraphicsSceneHoverEvent::setLastScenePos(QGraphicsSceneHoverEvent* theWrappedObject, const QPointF& pos) -{ - ( theWrappedObject->setLastScenePos(pos)); -} - -void PythonQtWrapper_QGraphicsSceneHoverEvent::setScreenPos(QGraphicsSceneHoverEvent* theWrappedObject, const QPoint& pos) -{ - ( theWrappedObject->setScreenPos(pos)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsSceneHoverEvent.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsSceneHoverEvent.h deleted file mode 100644 index 4a162f3..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsSceneHoverEvent.h +++ /dev/null @@ -1,35 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QGRAPHICSSCENEHOVEREVENT_H -#define PYTHONQTWRAPPER_QGRAPHICSSCENEHOVEREVENT_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtWrapper_QGraphicsSceneHoverEvent : public QObject -{ Q_OBJECT -public: -public slots: -QGraphicsSceneHoverEvent* new_QGraphicsSceneHoverEvent(QEvent::Type type = QEvent::None); -void delete_QGraphicsSceneHoverEvent(QGraphicsSceneHoverEvent* obj) { delete obj; } - QPointF scenePos(QGraphicsSceneHoverEvent* theWrappedObject) const; - QPoint lastScreenPos(QGraphicsSceneHoverEvent* theWrappedObject) const; - QPoint screenPos(QGraphicsSceneHoverEvent* theWrappedObject) const; - Qt::KeyboardModifiers modifiers(QGraphicsSceneHoverEvent* theWrappedObject) const; - void setModifiers(QGraphicsSceneHoverEvent* theWrappedObject, Qt::KeyboardModifiers modifiers); - QPointF pos(QGraphicsSceneHoverEvent* theWrappedObject) const; - QPointF lastPos(QGraphicsSceneHoverEvent* theWrappedObject) const; - void setLastScreenPos(QGraphicsSceneHoverEvent* theWrappedObject, const QPoint& pos); - void setLastPos(QGraphicsSceneHoverEvent* theWrappedObject, const QPointF& pos); - void setPos(QGraphicsSceneHoverEvent* theWrappedObject, const QPointF& pos); - QPointF lastScenePos(QGraphicsSceneHoverEvent* theWrappedObject) const; - void setScenePos(QGraphicsSceneHoverEvent* theWrappedObject, const QPointF& pos); - void setLastScenePos(QGraphicsSceneHoverEvent* theWrappedObject, const QPointF& pos); - void setScreenPos(QGraphicsSceneHoverEvent* theWrappedObject, const QPoint& pos); -}; - -#endif // PYTHONQTWRAPPER_QGRAPHICSSCENEHOVEREVENT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsSceneMouseEvent.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsSceneMouseEvent.cpp deleted file mode 100644 index 9c449e1..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsSceneMouseEvent.cpp +++ /dev/null @@ -1,133 +0,0 @@ -#include "PythonQtWrapper_QGraphicsSceneMouseEvent.h" - -#include -#include -#include -#include -#include -#include - -QGraphicsSceneMouseEvent* PythonQtWrapper_QGraphicsSceneMouseEvent::new_QGraphicsSceneMouseEvent(QEvent::Type type) -{ -return new QGraphicsSceneMouseEvent(type); } - -void PythonQtWrapper_QGraphicsSceneMouseEvent::setPos(QGraphicsSceneMouseEvent* theWrappedObject, const QPointF& pos) -{ - ( theWrappedObject->setPos(pos)); -} - -QPoint PythonQtWrapper_QGraphicsSceneMouseEvent::lastScreenPos(QGraphicsSceneMouseEvent* theWrappedObject) const -{ - return ( theWrappedObject->lastScreenPos()); -} - -QPointF PythonQtWrapper_QGraphicsSceneMouseEvent::pos(QGraphicsSceneMouseEvent* theWrappedObject) const -{ - return ( theWrappedObject->pos()); -} - -QPointF PythonQtWrapper_QGraphicsSceneMouseEvent::scenePos(QGraphicsSceneMouseEvent* theWrappedObject) const -{ - return ( theWrappedObject->scenePos()); -} - -void PythonQtWrapper_QGraphicsSceneMouseEvent::setButtonDownPos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button, const QPointF& pos) -{ - ( theWrappedObject->setButtonDownPos(button, pos)); -} - -void PythonQtWrapper_QGraphicsSceneMouseEvent::setButtonDownScreenPos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button, const QPoint& pos) -{ - ( theWrappedObject->setButtonDownScreenPos(button, pos)); -} - -QPoint PythonQtWrapper_QGraphicsSceneMouseEvent::buttonDownScreenPos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button) const -{ - return ( theWrappedObject->buttonDownScreenPos(button)); -} - -Qt::KeyboardModifiers PythonQtWrapper_QGraphicsSceneMouseEvent::modifiers(QGraphicsSceneMouseEvent* theWrappedObject) const -{ - return ( theWrappedObject->modifiers()); -} - -QPoint PythonQtWrapper_QGraphicsSceneMouseEvent::screenPos(QGraphicsSceneMouseEvent* theWrappedObject) const -{ - return ( theWrappedObject->screenPos()); -} - -void PythonQtWrapper_QGraphicsSceneMouseEvent::setButtons(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButtons buttons) -{ - ( theWrappedObject->setButtons(buttons)); -} - -QPointF PythonQtWrapper_QGraphicsSceneMouseEvent::lastScenePos(QGraphicsSceneMouseEvent* theWrappedObject) const -{ - return ( theWrappedObject->lastScenePos()); -} - -void PythonQtWrapper_QGraphicsSceneMouseEvent::setScreenPos(QGraphicsSceneMouseEvent* theWrappedObject, const QPoint& pos) -{ - ( theWrappedObject->setScreenPos(pos)); -} - -void PythonQtWrapper_QGraphicsSceneMouseEvent::setModifiers(QGraphicsSceneMouseEvent* theWrappedObject, Qt::KeyboardModifiers modifiers) -{ - ( theWrappedObject->setModifiers(modifiers)); -} - -QPointF PythonQtWrapper_QGraphicsSceneMouseEvent::buttonDownScenePos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button) const -{ - return ( theWrappedObject->buttonDownScenePos(button)); -} - -void PythonQtWrapper_QGraphicsSceneMouseEvent::setLastScreenPos(QGraphicsSceneMouseEvent* theWrappedObject, const QPoint& pos) -{ - ( theWrappedObject->setLastScreenPos(pos)); -} - -QPointF PythonQtWrapper_QGraphicsSceneMouseEvent::lastPos(QGraphicsSceneMouseEvent* theWrappedObject) const -{ - return ( theWrappedObject->lastPos()); -} - -void PythonQtWrapper_QGraphicsSceneMouseEvent::setButtonDownScenePos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button, const QPointF& pos) -{ - ( theWrappedObject->setButtonDownScenePos(button, pos)); -} - -void PythonQtWrapper_QGraphicsSceneMouseEvent::setLastPos(QGraphicsSceneMouseEvent* theWrappedObject, const QPointF& pos) -{ - ( theWrappedObject->setLastPos(pos)); -} - -Qt::MouseButton PythonQtWrapper_QGraphicsSceneMouseEvent::button(QGraphicsSceneMouseEvent* theWrappedObject) const -{ - return ( theWrappedObject->button()); -} - -QPointF PythonQtWrapper_QGraphicsSceneMouseEvent::buttonDownPos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button) const -{ - return ( theWrappedObject->buttonDownPos(button)); -} - -void PythonQtWrapper_QGraphicsSceneMouseEvent::setButton(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button) -{ - ( theWrappedObject->setButton(button)); -} - -Qt::MouseButtons PythonQtWrapper_QGraphicsSceneMouseEvent::buttons(QGraphicsSceneMouseEvent* theWrappedObject) const -{ - return ( theWrappedObject->buttons()); -} - -void PythonQtWrapper_QGraphicsSceneMouseEvent::setLastScenePos(QGraphicsSceneMouseEvent* theWrappedObject, const QPointF& pos) -{ - ( theWrappedObject->setLastScenePos(pos)); -} - -void PythonQtWrapper_QGraphicsSceneMouseEvent::setScenePos(QGraphicsSceneMouseEvent* theWrappedObject, const QPointF& pos) -{ - ( theWrappedObject->setScenePos(pos)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsSceneMouseEvent.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsSceneMouseEvent.h deleted file mode 100644 index 3c0b485..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsSceneMouseEvent.h +++ /dev/null @@ -1,45 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QGRAPHICSSCENEMOUSEEVENT_H -#define PYTHONQTWRAPPER_QGRAPHICSSCENEMOUSEEVENT_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtWrapper_QGraphicsSceneMouseEvent : public QObject -{ Q_OBJECT -public: -public slots: -QGraphicsSceneMouseEvent* new_QGraphicsSceneMouseEvent(QEvent::Type type = QEvent::None); -void delete_QGraphicsSceneMouseEvent(QGraphicsSceneMouseEvent* obj) { delete obj; } - void setPos(QGraphicsSceneMouseEvent* theWrappedObject, const QPointF& pos); - QPoint lastScreenPos(QGraphicsSceneMouseEvent* theWrappedObject) const; - QPointF pos(QGraphicsSceneMouseEvent* theWrappedObject) const; - QPointF scenePos(QGraphicsSceneMouseEvent* theWrappedObject) const; - void setButtonDownPos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button, const QPointF& pos); - void setButtonDownScreenPos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button, const QPoint& pos); - QPoint buttonDownScreenPos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button) const; - Qt::KeyboardModifiers modifiers(QGraphicsSceneMouseEvent* theWrappedObject) const; - QPoint screenPos(QGraphicsSceneMouseEvent* theWrappedObject) const; - void setButtons(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButtons buttons); - QPointF lastScenePos(QGraphicsSceneMouseEvent* theWrappedObject) const; - void setScreenPos(QGraphicsSceneMouseEvent* theWrappedObject, const QPoint& pos); - void setModifiers(QGraphicsSceneMouseEvent* theWrappedObject, Qt::KeyboardModifiers modifiers); - QPointF buttonDownScenePos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button) const; - void setLastScreenPos(QGraphicsSceneMouseEvent* theWrappedObject, const QPoint& pos); - QPointF lastPos(QGraphicsSceneMouseEvent* theWrappedObject) const; - void setButtonDownScenePos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button, const QPointF& pos); - void setLastPos(QGraphicsSceneMouseEvent* theWrappedObject, const QPointF& pos); - Qt::MouseButton button(QGraphicsSceneMouseEvent* theWrappedObject) const; - QPointF buttonDownPos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button) const; - void setButton(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button); - Qt::MouseButtons buttons(QGraphicsSceneMouseEvent* theWrappedObject) const; - void setLastScenePos(QGraphicsSceneMouseEvent* theWrappedObject, const QPointF& pos); - void setScenePos(QGraphicsSceneMouseEvent* theWrappedObject, const QPointF& pos); -}; - -#endif // PYTHONQTWRAPPER_QGRAPHICSSCENEMOUSEEVENT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsSceneMoveEvent.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsSceneMoveEvent.cpp deleted file mode 100644 index aaa361f..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsSceneMoveEvent.cpp +++ /dev/null @@ -1,33 +0,0 @@ -#include "PythonQtWrapper_QGraphicsSceneMoveEvent.h" - -#include -#include -#include -#include -#include -#include - -QGraphicsSceneMoveEvent* PythonQtWrapper_QGraphicsSceneMoveEvent::new_QGraphicsSceneMoveEvent() -{ -return new QGraphicsSceneMoveEvent(); } - -QPointF PythonQtWrapper_QGraphicsSceneMoveEvent::newPos(QGraphicsSceneMoveEvent* theWrappedObject) const -{ - return ( theWrappedObject->newPos()); -} - -void PythonQtWrapper_QGraphicsSceneMoveEvent::setNewPos(QGraphicsSceneMoveEvent* theWrappedObject, const QPointF& pos) -{ - ( theWrappedObject->setNewPos(pos)); -} - -QPointF PythonQtWrapper_QGraphicsSceneMoveEvent::oldPos(QGraphicsSceneMoveEvent* theWrappedObject) const -{ - return ( theWrappedObject->oldPos()); -} - -void PythonQtWrapper_QGraphicsSceneMoveEvent::setOldPos(QGraphicsSceneMoveEvent* theWrappedObject, const QPointF& pos) -{ - ( theWrappedObject->setOldPos(pos)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsSceneMoveEvent.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsSceneMoveEvent.h deleted file mode 100644 index b23a40e..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsSceneMoveEvent.h +++ /dev/null @@ -1,25 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QGRAPHICSSCENEMOVEEVENT_H -#define PYTHONQTWRAPPER_QGRAPHICSSCENEMOVEEVENT_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtWrapper_QGraphicsSceneMoveEvent : public QObject -{ Q_OBJECT -public: -public slots: -QGraphicsSceneMoveEvent* new_QGraphicsSceneMoveEvent(); -void delete_QGraphicsSceneMoveEvent(QGraphicsSceneMoveEvent* obj) { delete obj; } - QPointF newPos(QGraphicsSceneMoveEvent* theWrappedObject) const; - void setNewPos(QGraphicsSceneMoveEvent* theWrappedObject, const QPointF& pos); - QPointF oldPos(QGraphicsSceneMoveEvent* theWrappedObject) const; - void setOldPos(QGraphicsSceneMoveEvent* theWrappedObject, const QPointF& pos); -}; - -#endif // PYTHONQTWRAPPER_QGRAPHICSSCENEMOVEEVENT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsSceneResizeEvent.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsSceneResizeEvent.cpp deleted file mode 100644 index 6179e11..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsSceneResizeEvent.cpp +++ /dev/null @@ -1,33 +0,0 @@ -#include "PythonQtWrapper_QGraphicsSceneResizeEvent.h" - -#include -#include -#include -#include -#include -#include - -QGraphicsSceneResizeEvent* PythonQtWrapper_QGraphicsSceneResizeEvent::new_QGraphicsSceneResizeEvent() -{ -return new QGraphicsSceneResizeEvent(); } - -QSizeF PythonQtWrapper_QGraphicsSceneResizeEvent::newSize(QGraphicsSceneResizeEvent* theWrappedObject) const -{ - return ( theWrappedObject->newSize()); -} - -void PythonQtWrapper_QGraphicsSceneResizeEvent::setNewSize(QGraphicsSceneResizeEvent* theWrappedObject, const QSizeF& size) -{ - ( theWrappedObject->setNewSize(size)); -} - -void PythonQtWrapper_QGraphicsSceneResizeEvent::setOldSize(QGraphicsSceneResizeEvent* theWrappedObject, const QSizeF& size) -{ - ( theWrappedObject->setOldSize(size)); -} - -QSizeF PythonQtWrapper_QGraphicsSceneResizeEvent::oldSize(QGraphicsSceneResizeEvent* theWrappedObject) const -{ - return ( theWrappedObject->oldSize()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsSceneResizeEvent.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsSceneResizeEvent.h deleted file mode 100644 index e45f509..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsSceneResizeEvent.h +++ /dev/null @@ -1,25 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QGRAPHICSSCENERESIZEEVENT_H -#define PYTHONQTWRAPPER_QGRAPHICSSCENERESIZEEVENT_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtWrapper_QGraphicsSceneResizeEvent : public QObject -{ Q_OBJECT -public: -public slots: -QGraphicsSceneResizeEvent* new_QGraphicsSceneResizeEvent(); -void delete_QGraphicsSceneResizeEvent(QGraphicsSceneResizeEvent* obj) { delete obj; } - QSizeF newSize(QGraphicsSceneResizeEvent* theWrappedObject) const; - void setNewSize(QGraphicsSceneResizeEvent* theWrappedObject, const QSizeF& size); - void setOldSize(QGraphicsSceneResizeEvent* theWrappedObject, const QSizeF& size); - QSizeF oldSize(QGraphicsSceneResizeEvent* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QGRAPHICSSCENERESIZEEVENT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsSceneWheelEvent.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsSceneWheelEvent.cpp deleted file mode 100644 index 1531101..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsSceneWheelEvent.cpp +++ /dev/null @@ -1,83 +0,0 @@ -#include "PythonQtWrapper_QGraphicsSceneWheelEvent.h" - -#include -#include -#include -#include -#include -#include - -QGraphicsSceneWheelEvent* PythonQtWrapper_QGraphicsSceneWheelEvent::new_QGraphicsSceneWheelEvent(QEvent::Type type) -{ -return new QGraphicsSceneWheelEvent(type); } - -QPointF PythonQtWrapper_QGraphicsSceneWheelEvent::scenePos(QGraphicsSceneWheelEvent* theWrappedObject) const -{ - return ( theWrappedObject->scenePos()); -} - -void PythonQtWrapper_QGraphicsSceneWheelEvent::setModifiers(QGraphicsSceneWheelEvent* theWrappedObject, Qt::KeyboardModifiers modifiers) -{ - ( theWrappedObject->setModifiers(modifiers)); -} - -Qt::Orientation PythonQtWrapper_QGraphicsSceneWheelEvent::orientation(QGraphicsSceneWheelEvent* theWrappedObject) const -{ - return ( theWrappedObject->orientation()); -} - -void PythonQtWrapper_QGraphicsSceneWheelEvent::setPos(QGraphicsSceneWheelEvent* theWrappedObject, const QPointF& pos) -{ - ( theWrappedObject->setPos(pos)); -} - -void PythonQtWrapper_QGraphicsSceneWheelEvent::setScenePos(QGraphicsSceneWheelEvent* theWrappedObject, const QPointF& pos) -{ - ( theWrappedObject->setScenePos(pos)); -} - -void PythonQtWrapper_QGraphicsSceneWheelEvent::setButtons(QGraphicsSceneWheelEvent* theWrappedObject, Qt::MouseButtons buttons) -{ - ( theWrappedObject->setButtons(buttons)); -} - -void PythonQtWrapper_QGraphicsSceneWheelEvent::setDelta(QGraphicsSceneWheelEvent* theWrappedObject, int delta) -{ - ( theWrappedObject->setDelta(delta)); -} - -void PythonQtWrapper_QGraphicsSceneWheelEvent::setScreenPos(QGraphicsSceneWheelEvent* theWrappedObject, const QPoint& pos) -{ - ( theWrappedObject->setScreenPos(pos)); -} - -Qt::MouseButtons PythonQtWrapper_QGraphicsSceneWheelEvent::buttons(QGraphicsSceneWheelEvent* theWrappedObject) const -{ - return ( theWrappedObject->buttons()); -} - -QPoint PythonQtWrapper_QGraphicsSceneWheelEvent::screenPos(QGraphicsSceneWheelEvent* theWrappedObject) const -{ - return ( theWrappedObject->screenPos()); -} - -int PythonQtWrapper_QGraphicsSceneWheelEvent::delta(QGraphicsSceneWheelEvent* theWrappedObject) const -{ - return ( theWrappedObject->delta()); -} - -Qt::KeyboardModifiers PythonQtWrapper_QGraphicsSceneWheelEvent::modifiers(QGraphicsSceneWheelEvent* theWrappedObject) const -{ - return ( theWrappedObject->modifiers()); -} - -QPointF PythonQtWrapper_QGraphicsSceneWheelEvent::pos(QGraphicsSceneWheelEvent* theWrappedObject) const -{ - return ( theWrappedObject->pos()); -} - -void PythonQtWrapper_QGraphicsSceneWheelEvent::setOrientation(QGraphicsSceneWheelEvent* theWrappedObject, Qt::Orientation orientation) -{ - ( theWrappedObject->setOrientation(orientation)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsSceneWheelEvent.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsSceneWheelEvent.h deleted file mode 100644 index 405f284..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsSceneWheelEvent.h +++ /dev/null @@ -1,35 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QGRAPHICSSCENEWHEELEVENT_H -#define PYTHONQTWRAPPER_QGRAPHICSSCENEWHEELEVENT_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtWrapper_QGraphicsSceneWheelEvent : public QObject -{ Q_OBJECT -public: -public slots: -QGraphicsSceneWheelEvent* new_QGraphicsSceneWheelEvent(QEvent::Type type = QEvent::None); -void delete_QGraphicsSceneWheelEvent(QGraphicsSceneWheelEvent* obj) { delete obj; } - QPointF scenePos(QGraphicsSceneWheelEvent* theWrappedObject) const; - void setModifiers(QGraphicsSceneWheelEvent* theWrappedObject, Qt::KeyboardModifiers modifiers); - Qt::Orientation orientation(QGraphicsSceneWheelEvent* theWrappedObject) const; - void setPos(QGraphicsSceneWheelEvent* theWrappedObject, const QPointF& pos); - void setScenePos(QGraphicsSceneWheelEvent* theWrappedObject, const QPointF& pos); - void setButtons(QGraphicsSceneWheelEvent* theWrappedObject, Qt::MouseButtons buttons); - void setDelta(QGraphicsSceneWheelEvent* theWrappedObject, int delta); - void setScreenPos(QGraphicsSceneWheelEvent* theWrappedObject, const QPoint& pos); - Qt::MouseButtons buttons(QGraphicsSceneWheelEvent* theWrappedObject) const; - QPoint screenPos(QGraphicsSceneWheelEvent* theWrappedObject) const; - int delta(QGraphicsSceneWheelEvent* theWrappedObject) const; - Qt::KeyboardModifiers modifiers(QGraphicsSceneWheelEvent* theWrappedObject) const; - QPointF pos(QGraphicsSceneWheelEvent* theWrappedObject) const; - void setOrientation(QGraphicsSceneWheelEvent* theWrappedObject, Qt::Orientation orientation); -}; - -#endif // PYTHONQTWRAPPER_QGRAPHICSSCENEWHEELEVENT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsSimpleTextItem.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsSimpleTextItem.cpp deleted file mode 100644 index 8364da2..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsSimpleTextItem.cpp +++ /dev/null @@ -1,137 +0,0 @@ -#include "PythonQtWrapper_QGraphicsSimpleTextItem.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -bool PythonQtShell_QGraphicsSimpleTextItem::isObscuredBy(const QGraphicsItem* item) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isObscuredBy"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&item}; - 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("isObscuredBy", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsSimpleTextItem::isObscuredBy(item); -} -QPainterPath PythonQtShell_QGraphicsSimpleTextItem::opaqueArea() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "opaqueArea"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); - } else { - returnValue = *((QPainterPath*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsSimpleTextItem::opaqueArea(); -} -QGraphicsSimpleTextItem* PythonQtWrapper_QGraphicsSimpleTextItem::new_QGraphicsSimpleTextItem(QGraphicsItem* parent, QGraphicsScene* scene) -{ -return new PythonQtShell_QGraphicsSimpleTextItem(parent, scene); } - -QGraphicsSimpleTextItem* PythonQtWrapper_QGraphicsSimpleTextItem::new_QGraphicsSimpleTextItem(const QString& text, QGraphicsItem* parent, QGraphicsScene* scene) -{ -return new PythonQtShell_QGraphicsSimpleTextItem(text, parent, scene); } - -QRectF PythonQtWrapper_QGraphicsSimpleTextItem::boundingRect(QGraphicsSimpleTextItem* theWrappedObject) const -{ - return ( theWrappedObject->boundingRect()); -} - -QPainterPath PythonQtWrapper_QGraphicsSimpleTextItem::shape(QGraphicsSimpleTextItem* theWrappedObject) const -{ - return ( theWrappedObject->shape()); -} - -bool PythonQtWrapper_QGraphicsSimpleTextItem::isObscuredBy(QGraphicsSimpleTextItem* theWrappedObject, const QGraphicsItem* item) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsSimpleTextItem*)theWrappedObject)->promoted_isObscuredBy(item)); -} - -QFont PythonQtWrapper_QGraphicsSimpleTextItem::font(QGraphicsSimpleTextItem* theWrappedObject) const -{ - return ( theWrappedObject->font()); -} - -void PythonQtWrapper_QGraphicsSimpleTextItem::paint(QGraphicsSimpleTextItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) -{ - ( theWrappedObject->paint(painter, option, widget)); -} - -int PythonQtWrapper_QGraphicsSimpleTextItem::type(QGraphicsSimpleTextItem* theWrappedObject) const -{ - return ( theWrappedObject->type()); -} - -void PythonQtWrapper_QGraphicsSimpleTextItem::setFont(QGraphicsSimpleTextItem* theWrappedObject, const QFont& font) -{ - ( theWrappedObject->setFont(font)); -} - -void PythonQtWrapper_QGraphicsSimpleTextItem::setText(QGraphicsSimpleTextItem* theWrappedObject, const QString& text) -{ - ( theWrappedObject->setText(text)); -} - -QString PythonQtWrapper_QGraphicsSimpleTextItem::text(QGraphicsSimpleTextItem* theWrappedObject) const -{ - return ( theWrappedObject->text()); -} - -bool PythonQtWrapper_QGraphicsSimpleTextItem::contains(QGraphicsSimpleTextItem* theWrappedObject, const QPointF& point) const -{ - return ( theWrappedObject->contains(point)); -} - -QPainterPath PythonQtWrapper_QGraphicsSimpleTextItem::opaqueArea(QGraphicsSimpleTextItem* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsSimpleTextItem*)theWrappedObject)->promoted_opaqueArea()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsSimpleTextItem.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsSimpleTextItem.h deleted file mode 100644 index 2dd0cbd..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsSimpleTextItem.h +++ /dev/null @@ -1,63 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QGRAPHICSSIMPLETEXTITEM_H -#define PYTHONQTWRAPPER_QGRAPHICSSIMPLETEXTITEM_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QGraphicsSimpleTextItem : public QGraphicsSimpleTextItem -{ -public: - PythonQtShell_QGraphicsSimpleTextItem(QGraphicsItem* parent = 0, QGraphicsScene* scene = 0):QGraphicsSimpleTextItem(parent, scene),_wrapper(NULL) {}; - PythonQtShell_QGraphicsSimpleTextItem(const QString& text, QGraphicsItem* parent = 0, QGraphicsScene* scene = 0):QGraphicsSimpleTextItem(text, parent, scene),_wrapper(NULL) {}; - -virtual bool isObscuredBy(const QGraphicsItem* item) const; -virtual QPainterPath opaqueArea() const; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QGraphicsSimpleTextItem : public QGraphicsSimpleTextItem -{ public: -inline bool promoted_isObscuredBy(const QGraphicsItem* item) const { return QGraphicsSimpleTextItem::isObscuredBy(item); } -inline QPainterPath promoted_opaqueArea() const { return QGraphicsSimpleTextItem::opaqueArea(); } -}; - -class PythonQtWrapper_QGraphicsSimpleTextItem : public QObject -{ Q_OBJECT -public: -Q_ENUMS(enum_1 ) -enum enum_1{ - Type = QGraphicsSimpleTextItem::Type}; -public slots: -QGraphicsSimpleTextItem* new_QGraphicsSimpleTextItem(QGraphicsItem* parent = 0, QGraphicsScene* scene = 0); -QGraphicsSimpleTextItem* new_QGraphicsSimpleTextItem(const QString& text, QGraphicsItem* parent = 0, QGraphicsScene* scene = 0); -void delete_QGraphicsSimpleTextItem(QGraphicsSimpleTextItem* obj) { delete obj; } - QRectF boundingRect(QGraphicsSimpleTextItem* theWrappedObject) const; - QPainterPath shape(QGraphicsSimpleTextItem* theWrappedObject) const; - bool isObscuredBy(QGraphicsSimpleTextItem* theWrappedObject, const QGraphicsItem* item) const; - QFont font(QGraphicsSimpleTextItem* theWrappedObject) const; - void paint(QGraphicsSimpleTextItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget); - int type(QGraphicsSimpleTextItem* theWrappedObject) const; - void setFont(QGraphicsSimpleTextItem* theWrappedObject, const QFont& font); - void setText(QGraphicsSimpleTextItem* theWrappedObject, const QString& text); - QString text(QGraphicsSimpleTextItem* theWrappedObject) const; - bool contains(QGraphicsSimpleTextItem* theWrappedObject, const QPointF& point) const; - QPainterPath opaqueArea(QGraphicsSimpleTextItem* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QGRAPHICSSIMPLETEXTITEM_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsTextItem.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsTextItem.cpp deleted file mode 100644 index 68949db..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsTextItem.cpp +++ /dev/null @@ -1,1081 +0,0 @@ -#include "PythonQtWrapper_QGraphicsTextItem.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QGraphicsTextItem::advance(int phase) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "advance"); - 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*)&phase}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsTextItem::advance(phase); -} -QRectF PythonQtShell_QGraphicsTextItem::boundingRect() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "boundingRect"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QRectF"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRectF returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); - } else { - returnValue = *((QRectF*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsTextItem::boundingRect(); -} -void PythonQtShell_QGraphicsTextItem::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; - } -} - QGraphicsTextItem::childEvent(arg__1); -} -bool PythonQtShell_QGraphicsTextItem::collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "collidesWithItem"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QGraphicsItem*" , "Qt::ItemSelectionMode"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&other, (void*)&mode}; - 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("collidesWithItem", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsTextItem::collidesWithItem(other, mode); -} -bool PythonQtShell_QGraphicsTextItem::collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "collidesWithPath"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&path, (void*)&mode}; - 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("collidesWithPath", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsTextItem::collidesWithPath(path, mode); -} -bool PythonQtShell_QGraphicsTextItem::contains(const QPointF& point) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contains"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QPointF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&point}; - 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("contains", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsTextItem::contains(point); -} -void PythonQtShell_QGraphicsTextItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; - 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; - } -} - QGraphicsTextItem::contextMenuEvent(event); -} -void PythonQtShell_QGraphicsTextItem::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; - } -} - QGraphicsTextItem::customEvent(arg__1); -} -void PythonQtShell_QGraphicsTextItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsTextItem::dragEnterEvent(event); -} -void PythonQtShell_QGraphicsTextItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsTextItem::dragLeaveEvent(event); -} -void PythonQtShell_QGraphicsTextItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsTextItem::dragMoveEvent(event); -} -void PythonQtShell_QGraphicsTextItem::dropEvent(QGraphicsSceneDragDropEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsTextItem::dropEvent(event); -} -bool PythonQtShell_QGraphicsTextItem::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsTextItem::event(arg__1); -} -bool PythonQtShell_QGraphicsTextItem::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsTextItem::eventFilter(arg__1, arg__2); -} -QVariant PythonQtShell_QGraphicsTextItem::extension(const QVariant& variant) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "extension"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&variant}; - 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("extension", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsTextItem::extension(variant); -} -void PythonQtShell_QGraphicsTextItem::focusInEvent(QFocusEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QGraphicsTextItem::focusInEvent(event); -} -void PythonQtShell_QGraphicsTextItem::focusOutEvent(QFocusEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QGraphicsTextItem::focusOutEvent(event); -} -void PythonQtShell_QGraphicsTextItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hoverEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; - 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; - } -} - QGraphicsTextItem::hoverEnterEvent(event); -} -void PythonQtShell_QGraphicsTextItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hoverLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; - 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; - } -} - QGraphicsTextItem::hoverLeaveEvent(event); -} -void PythonQtShell_QGraphicsTextItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hoverMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; - 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; - } -} - QGraphicsTextItem::hoverMoveEvent(event); -} -void PythonQtShell_QGraphicsTextItem::inputMethodEvent(QInputMethodEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QGraphicsTextItem::inputMethodEvent(event); -} -QVariant PythonQtShell_QGraphicsTextItem::inputMethodQuery(Qt::InputMethodQuery query) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&query}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsTextItem::inputMethodQuery(query); -} -bool PythonQtShell_QGraphicsTextItem::isObscuredBy(const QGraphicsItem* item) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isObscuredBy"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&item}; - 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("isObscuredBy", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsTextItem::isObscuredBy(item); -} -QVariant PythonQtShell_QGraphicsTextItem::itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&change, (void*)&value}; - 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("itemChange", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsTextItem::itemChange(change, value); -} -void PythonQtShell_QGraphicsTextItem::keyPressEvent(QKeyEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsTextItem::keyPressEvent(event); -} -void PythonQtShell_QGraphicsTextItem::keyReleaseEvent(QKeyEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsTextItem::keyReleaseEvent(event); -} -void PythonQtShell_QGraphicsTextItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsTextItem::mouseDoubleClickEvent(event); -} -void PythonQtShell_QGraphicsTextItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsTextItem::mouseMoveEvent(event); -} -void PythonQtShell_QGraphicsTextItem::mousePressEvent(QGraphicsSceneMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsTextItem::mousePressEvent(event); -} -void PythonQtShell_QGraphicsTextItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsTextItem::mouseReleaseEvent(event); -} -QPainterPath PythonQtShell_QGraphicsTextItem::opaqueArea() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "opaqueArea"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); - } else { - returnValue = *((QPainterPath*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsTextItem::opaqueArea(); -} -void PythonQtShell_QGraphicsTextItem::paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter, (void*)&option, (void*)&widget}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsTextItem::paint(painter, option, widget); -} -bool PythonQtShell_QGraphicsTextItem::sceneEvent(QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sceneEvent"); - 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("sceneEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsTextItem::sceneEvent(event); -} -bool PythonQtShell_QGraphicsTextItem::sceneEventFilter(QGraphicsItem* watched, QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sceneEventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&watched, (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("sceneEventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsTextItem::sceneEventFilter(watched, event); -} -QPainterPath PythonQtShell_QGraphicsTextItem::shape() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "shape"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); - } else { - returnValue = *((QPainterPath*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsTextItem::shape(); -} -void PythonQtShell_QGraphicsTextItem::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; - } -} - QGraphicsTextItem::timerEvent(arg__1); -} -int PythonQtShell_QGraphicsTextItem::type() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "type"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsTextItem::type(); -} -void PythonQtShell_QGraphicsTextItem::wheelEvent(QGraphicsSceneWheelEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; - 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; - } -} - QGraphicsTextItem::wheelEvent(event); -} -QGraphicsTextItem* PythonQtWrapper_QGraphicsTextItem::new_QGraphicsTextItem(QGraphicsItem* parent, QGraphicsScene* scene) -{ -return new PythonQtShell_QGraphicsTextItem(parent, scene); } - -QGraphicsTextItem* PythonQtWrapper_QGraphicsTextItem::new_QGraphicsTextItem(const QString& text, QGraphicsItem* parent, QGraphicsScene* scene) -{ -return new PythonQtShell_QGraphicsTextItem(text, parent, scene); } - -void PythonQtWrapper_QGraphicsTextItem::setDocument(QGraphicsTextItem* theWrappedObject, QTextDocument* document) -{ - ( theWrappedObject->setDocument(document)); -} - -QTextCursor PythonQtWrapper_QGraphicsTextItem::textCursor(QGraphicsTextItem* theWrappedObject) const -{ - return ( theWrappedObject->textCursor()); -} - -void PythonQtWrapper_QGraphicsTextItem::setTextInteractionFlags(QGraphicsTextItem* theWrappedObject, Qt::TextInteractionFlags flags) -{ - ( theWrappedObject->setTextInteractionFlags(flags)); -} - -void PythonQtWrapper_QGraphicsTextItem::hoverEnterEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneHoverEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_hoverEnterEvent(event)); -} - -qreal PythonQtWrapper_QGraphicsTextItem::textWidth(QGraphicsTextItem* theWrappedObject) const -{ - return ( theWrappedObject->textWidth()); -} - -bool PythonQtWrapper_QGraphicsTextItem::openExternalLinks(QGraphicsTextItem* theWrappedObject) const -{ - return ( theWrappedObject->openExternalLinks()); -} - -void PythonQtWrapper_QGraphicsTextItem::focusInEvent(QGraphicsTextItem* theWrappedObject, QFocusEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_focusInEvent(event)); -} - -void PythonQtWrapper_QGraphicsTextItem::mouseReleaseEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_mouseReleaseEvent(event)); -} - -bool PythonQtWrapper_QGraphicsTextItem::contains(QGraphicsTextItem* theWrappedObject, const QPointF& point) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_contains(point)); -} - -void PythonQtWrapper_QGraphicsTextItem::setDefaultTextColor(QGraphicsTextItem* theWrappedObject, const QColor& c) -{ - ( theWrappedObject->setDefaultTextColor(c)); -} - -bool PythonQtWrapper_QGraphicsTextItem::sceneEvent(QGraphicsTextItem* theWrappedObject, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_sceneEvent(event)); -} - -void PythonQtWrapper_QGraphicsTextItem::hoverLeaveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneHoverEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_hoverLeaveEvent(event)); -} - -bool PythonQtWrapper_QGraphicsTextItem::isObscuredBy(QGraphicsTextItem* theWrappedObject, const QGraphicsItem* item) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_isObscuredBy(item)); -} - -QPainterPath PythonQtWrapper_QGraphicsTextItem::opaqueArea(QGraphicsTextItem* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_opaqueArea()); -} - -void PythonQtWrapper_QGraphicsTextItem::paint(QGraphicsTextItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_paint(painter, option, widget)); -} - -void PythonQtWrapper_QGraphicsTextItem::mousePressEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_mousePressEvent(event)); -} - -QRectF PythonQtWrapper_QGraphicsTextItem::boundingRect(QGraphicsTextItem* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_boundingRect()); -} - -void PythonQtWrapper_QGraphicsTextItem::mouseMoveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_mouseMoveEvent(event)); -} - -void PythonQtWrapper_QGraphicsTextItem::setOpenExternalLinks(QGraphicsTextItem* theWrappedObject, bool open) -{ - ( theWrappedObject->setOpenExternalLinks(open)); -} - -void PythonQtWrapper_QGraphicsTextItem::setTextCursor(QGraphicsTextItem* theWrappedObject, const QTextCursor& cursor) -{ - ( theWrappedObject->setTextCursor(cursor)); -} - -int PythonQtWrapper_QGraphicsTextItem::type(QGraphicsTextItem* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_type()); -} - -void PythonQtWrapper_QGraphicsTextItem::inputMethodEvent(QGraphicsTextItem* theWrappedObject, QInputMethodEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_inputMethodEvent(event)); -} - -void PythonQtWrapper_QGraphicsTextItem::setPlainText(QGraphicsTextItem* theWrappedObject, const QString& text) -{ - ( theWrappedObject->setPlainText(text)); -} - -void PythonQtWrapper_QGraphicsTextItem::dragMoveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneDragDropEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_dragMoveEvent(event)); -} - -void PythonQtWrapper_QGraphicsTextItem::dragLeaveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneDragDropEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_dragLeaveEvent(event)); -} - -void PythonQtWrapper_QGraphicsTextItem::setFont(QGraphicsTextItem* theWrappedObject, const QFont& font) -{ - ( theWrappedObject->setFont(font)); -} - -QVariant PythonQtWrapper_QGraphicsTextItem::extension(QGraphicsTextItem* theWrappedObject, const QVariant& variant) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_extension(variant)); -} - -void PythonQtWrapper_QGraphicsTextItem::setTextWidth(QGraphicsTextItem* theWrappedObject, qreal width) -{ - ( theWrappedObject->setTextWidth(width)); -} - -QVariant PythonQtWrapper_QGraphicsTextItem::inputMethodQuery(QGraphicsTextItem* theWrappedObject, Qt::InputMethodQuery query) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_inputMethodQuery(query)); -} - -void PythonQtWrapper_QGraphicsTextItem::setHtml(QGraphicsTextItem* theWrappedObject, const QString& html) -{ - ( theWrappedObject->setHtml(html)); -} - -void PythonQtWrapper_QGraphicsTextItem::contextMenuEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneContextMenuEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_contextMenuEvent(event)); -} - -void PythonQtWrapper_QGraphicsTextItem::keyPressEvent(QGraphicsTextItem* theWrappedObject, QKeyEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_keyPressEvent(event)); -} - -void PythonQtWrapper_QGraphicsTextItem::mouseDoubleClickEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_mouseDoubleClickEvent(event)); -} - -QColor PythonQtWrapper_QGraphicsTextItem::defaultTextColor(QGraphicsTextItem* theWrappedObject) const -{ - return ( theWrappedObject->defaultTextColor()); -} - -void PythonQtWrapper_QGraphicsTextItem::hoverMoveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneHoverEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_hoverMoveEvent(event)); -} - -QTextDocument* PythonQtWrapper_QGraphicsTextItem::document(QGraphicsTextItem* theWrappedObject) const -{ - return ( theWrappedObject->document()); -} - -QString PythonQtWrapper_QGraphicsTextItem::toPlainText(QGraphicsTextItem* theWrappedObject) const -{ - return ( theWrappedObject->toPlainText()); -} - -QPainterPath PythonQtWrapper_QGraphicsTextItem::shape(QGraphicsTextItem* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_shape()); -} - -QFont PythonQtWrapper_QGraphicsTextItem::font(QGraphicsTextItem* theWrappedObject) const -{ - return ( theWrappedObject->font()); -} - -void PythonQtWrapper_QGraphicsTextItem::dragEnterEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneDragDropEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_dragEnterEvent(event)); -} - -QString PythonQtWrapper_QGraphicsTextItem::toHtml(QGraphicsTextItem* theWrappedObject) const -{ - return ( theWrappedObject->toHtml()); -} - -void PythonQtWrapper_QGraphicsTextItem::keyReleaseEvent(QGraphicsTextItem* theWrappedObject, QKeyEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_keyReleaseEvent(event)); -} - -Qt::TextInteractionFlags PythonQtWrapper_QGraphicsTextItem::textInteractionFlags(QGraphicsTextItem* theWrappedObject) const -{ - return ( theWrappedObject->textInteractionFlags()); -} - -void PythonQtWrapper_QGraphicsTextItem::dropEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneDragDropEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_dropEvent(event)); -} - -void PythonQtWrapper_QGraphicsTextItem::adjustSize(QGraphicsTextItem* theWrappedObject) -{ - ( theWrappedObject->adjustSize()); -} - -void PythonQtWrapper_QGraphicsTextItem::focusOutEvent(QGraphicsTextItem* theWrappedObject, QFocusEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_focusOutEvent(event)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsTextItem.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsTextItem.h deleted file mode 100644 index a67093f..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsTextItem.h +++ /dev/null @@ -1,173 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QGRAPHICSTEXTITEM_H -#define PYTHONQTWRAPPER_QGRAPHICSTEXTITEM_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QGraphicsTextItem : public QGraphicsTextItem -{ -public: - PythonQtShell_QGraphicsTextItem(QGraphicsItem* parent = 0, QGraphicsScene* scene = 0):QGraphicsTextItem(parent, scene),_wrapper(NULL) {}; - PythonQtShell_QGraphicsTextItem(const QString& text, QGraphicsItem* parent = 0, QGraphicsScene* scene = 0):QGraphicsTextItem(text, parent, scene),_wrapper(NULL) {}; - -virtual void advance(int phase); -virtual QRectF boundingRect() const; -virtual void childEvent(QChildEvent* arg__1); -virtual bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode) const; -virtual bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode) const; -virtual bool contains(const QPointF& point) const; -virtual void contextMenuEvent(QGraphicsSceneContextMenuEvent* event); -virtual void customEvent(QEvent* arg__1); -virtual void dragEnterEvent(QGraphicsSceneDragDropEvent* event); -virtual void dragLeaveEvent(QGraphicsSceneDragDropEvent* event); -virtual void dragMoveEvent(QGraphicsSceneDragDropEvent* event); -virtual void dropEvent(QGraphicsSceneDragDropEvent* event); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual QVariant extension(const QVariant& variant) const; -virtual void focusInEvent(QFocusEvent* event); -virtual void focusOutEvent(QFocusEvent* event); -virtual void hoverEnterEvent(QGraphicsSceneHoverEvent* event); -virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent* event); -virtual void hoverMoveEvent(QGraphicsSceneHoverEvent* event); -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual bool isObscuredBy(const QGraphicsItem* item) const; -virtual QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value); -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event); -virtual void mouseMoveEvent(QGraphicsSceneMouseEvent* event); -virtual void mousePressEvent(QGraphicsSceneMouseEvent* event); -virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent* event); -virtual QPainterPath opaqueArea() const; -virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget); -virtual bool sceneEvent(QEvent* event); -virtual bool sceneEventFilter(QGraphicsItem* watched, QEvent* event); -virtual QPainterPath shape() const; -virtual void timerEvent(QTimerEvent* arg__1); -virtual int type() const; -virtual void wheelEvent(QGraphicsSceneWheelEvent* event); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QGraphicsTextItem : public QGraphicsTextItem -{ public: -inline void promoted_hoverEnterEvent(QGraphicsSceneHoverEvent* event) { QGraphicsTextItem::hoverEnterEvent(event); } -inline void promoted_focusInEvent(QFocusEvent* event) { QGraphicsTextItem::focusInEvent(event); } -inline void promoted_mouseReleaseEvent(QGraphicsSceneMouseEvent* event) { QGraphicsTextItem::mouseReleaseEvent(event); } -inline bool promoted_contains(const QPointF& point) const { return QGraphicsTextItem::contains(point); } -inline bool promoted_sceneEvent(QEvent* event) { return QGraphicsTextItem::sceneEvent(event); } -inline void promoted_hoverLeaveEvent(QGraphicsSceneHoverEvent* event) { QGraphicsTextItem::hoverLeaveEvent(event); } -inline bool promoted_isObscuredBy(const QGraphicsItem* item) const { return QGraphicsTextItem::isObscuredBy(item); } -inline QPainterPath promoted_opaqueArea() const { return QGraphicsTextItem::opaqueArea(); } -inline void promoted_paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) { QGraphicsTextItem::paint(painter, option, widget); } -inline void promoted_mousePressEvent(QGraphicsSceneMouseEvent* event) { QGraphicsTextItem::mousePressEvent(event); } -inline QRectF promoted_boundingRect() const { return QGraphicsTextItem::boundingRect(); } -inline void promoted_mouseMoveEvent(QGraphicsSceneMouseEvent* event) { QGraphicsTextItem::mouseMoveEvent(event); } -inline int promoted_type() const { return QGraphicsTextItem::type(); } -inline void promoted_inputMethodEvent(QInputMethodEvent* event) { QGraphicsTextItem::inputMethodEvent(event); } -inline void promoted_dragMoveEvent(QGraphicsSceneDragDropEvent* event) { QGraphicsTextItem::dragMoveEvent(event); } -inline void promoted_dragLeaveEvent(QGraphicsSceneDragDropEvent* event) { QGraphicsTextItem::dragLeaveEvent(event); } -inline QVariant promoted_extension(const QVariant& variant) const { return QGraphicsTextItem::extension(variant); } -inline QVariant promoted_inputMethodQuery(Qt::InputMethodQuery query) const { return QGraphicsTextItem::inputMethodQuery(query); } -inline void promoted_contextMenuEvent(QGraphicsSceneContextMenuEvent* event) { QGraphicsTextItem::contextMenuEvent(event); } -inline void promoted_keyPressEvent(QKeyEvent* event) { QGraphicsTextItem::keyPressEvent(event); } -inline void promoted_mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) { QGraphicsTextItem::mouseDoubleClickEvent(event); } -inline void promoted_hoverMoveEvent(QGraphicsSceneHoverEvent* event) { QGraphicsTextItem::hoverMoveEvent(event); } -inline QPainterPath promoted_shape() const { return QGraphicsTextItem::shape(); } -inline void promoted_dragEnterEvent(QGraphicsSceneDragDropEvent* event) { QGraphicsTextItem::dragEnterEvent(event); } -inline void promoted_keyReleaseEvent(QKeyEvent* event) { QGraphicsTextItem::keyReleaseEvent(event); } -inline void promoted_dropEvent(QGraphicsSceneDragDropEvent* event) { QGraphicsTextItem::dropEvent(event); } -inline void promoted_focusOutEvent(QFocusEvent* event) { QGraphicsTextItem::focusOutEvent(event); } -}; - -class PythonQtWrapper_QGraphicsTextItem : public QObject -{ Q_OBJECT -public: -Q_ENUMS(enum_1 ) -enum enum_1{ - Type = QGraphicsTextItem::Type}; -public slots: -QGraphicsTextItem* new_QGraphicsTextItem(QGraphicsItem* parent = 0, QGraphicsScene* scene = 0); -QGraphicsTextItem* new_QGraphicsTextItem(const QString& text, QGraphicsItem* parent = 0, QGraphicsScene* scene = 0); -void delete_QGraphicsTextItem(QGraphicsTextItem* obj) { delete obj; } - void setDocument(QGraphicsTextItem* theWrappedObject, QTextDocument* document); - QTextCursor textCursor(QGraphicsTextItem* theWrappedObject) const; - void setTextInteractionFlags(QGraphicsTextItem* theWrappedObject, Qt::TextInteractionFlags flags); - void hoverEnterEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneHoverEvent* event); - qreal textWidth(QGraphicsTextItem* theWrappedObject) const; - bool openExternalLinks(QGraphicsTextItem* theWrappedObject) const; - void focusInEvent(QGraphicsTextItem* theWrappedObject, QFocusEvent* event); - void mouseReleaseEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneMouseEvent* event); - bool contains(QGraphicsTextItem* theWrappedObject, const QPointF& point) const; - void setDefaultTextColor(QGraphicsTextItem* theWrappedObject, const QColor& c); - bool sceneEvent(QGraphicsTextItem* theWrappedObject, QEvent* event); - void hoverLeaveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneHoverEvent* event); - bool isObscuredBy(QGraphicsTextItem* theWrappedObject, const QGraphicsItem* item) const; - QPainterPath opaqueArea(QGraphicsTextItem* theWrappedObject) const; - void paint(QGraphicsTextItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget); - void mousePressEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneMouseEvent* event); - QRectF boundingRect(QGraphicsTextItem* theWrappedObject) const; - void mouseMoveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneMouseEvent* event); - void setOpenExternalLinks(QGraphicsTextItem* theWrappedObject, bool open); - void setTextCursor(QGraphicsTextItem* theWrappedObject, const QTextCursor& cursor); - int type(QGraphicsTextItem* theWrappedObject) const; - void inputMethodEvent(QGraphicsTextItem* theWrappedObject, QInputMethodEvent* event); - void setPlainText(QGraphicsTextItem* theWrappedObject, const QString& text); - void dragMoveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneDragDropEvent* event); - void dragLeaveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneDragDropEvent* event); - void setFont(QGraphicsTextItem* theWrappedObject, const QFont& font); - QVariant extension(QGraphicsTextItem* theWrappedObject, const QVariant& variant) const; - void setTextWidth(QGraphicsTextItem* theWrappedObject, qreal width); - QVariant inputMethodQuery(QGraphicsTextItem* theWrappedObject, Qt::InputMethodQuery query) const; - void setHtml(QGraphicsTextItem* theWrappedObject, const QString& html); - void contextMenuEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneContextMenuEvent* event); - void keyPressEvent(QGraphicsTextItem* theWrappedObject, QKeyEvent* event); - void mouseDoubleClickEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneMouseEvent* event); - QColor defaultTextColor(QGraphicsTextItem* theWrappedObject) const; - void hoverMoveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneHoverEvent* event); - QTextDocument* document(QGraphicsTextItem* theWrappedObject) const; - QString toPlainText(QGraphicsTextItem* theWrappedObject) const; - QPainterPath shape(QGraphicsTextItem* theWrappedObject) const; - QFont font(QGraphicsTextItem* theWrappedObject) const; - void dragEnterEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneDragDropEvent* event); - QString toHtml(QGraphicsTextItem* theWrappedObject) const; - void keyReleaseEvent(QGraphicsTextItem* theWrappedObject, QKeyEvent* event); - Qt::TextInteractionFlags textInteractionFlags(QGraphicsTextItem* theWrappedObject) const; - void dropEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneDragDropEvent* event); - void adjustSize(QGraphicsTextItem* theWrappedObject); - void focusOutEvent(QGraphicsTextItem* theWrappedObject, QFocusEvent* event); -}; - -#endif // PYTHONQTWRAPPER_QGRAPHICSTEXTITEM_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsView.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsView.cpp deleted file mode 100644 index 17bb044..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsView.cpp +++ /dev/null @@ -1,1386 +0,0 @@ -#include "PythonQtWrapper_QGraphicsView.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QGraphicsView::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QGraphicsView::actionEvent(arg__1); -} -void PythonQtShell_QGraphicsView::changeEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsView::changeEvent(arg__1); -} -void PythonQtShell_QGraphicsView::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; - } -} - QGraphicsView::childEvent(arg__1); -} -void PythonQtShell_QGraphicsView::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QGraphicsView::closeEvent(arg__1); -} -void PythonQtShell_QGraphicsView::contextMenuEvent(QContextMenuEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - 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; - } -} - QGraphicsView::contextMenuEvent(event); -} -void PythonQtShell_QGraphicsView::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; - } -} - QGraphicsView::customEvent(arg__1); -} -int PythonQtShell_QGraphicsView::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsView::devType(); -} -void PythonQtShell_QGraphicsView::dragEnterEvent(QDragEnterEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QGraphicsView::dragEnterEvent(event); -} -void PythonQtShell_QGraphicsView::dragLeaveEvent(QDragLeaveEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QGraphicsView::dragLeaveEvent(event); -} -void PythonQtShell_QGraphicsView::dragMoveEvent(QDragMoveEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QGraphicsView::dragMoveEvent(event); -} -void PythonQtShell_QGraphicsView::drawBackground(QPainter* painter, const QRectF& rect) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawBackground"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPainter*" , "const QRectF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&painter, (void*)&rect}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsView::drawBackground(painter, rect); -} -void PythonQtShell_QGraphicsView::drawForeground(QPainter* painter, const QRectF& rect) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawForeground"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPainter*" , "const QRectF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&painter, (void*)&rect}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsView::drawForeground(painter, rect); -} -void PythonQtShell_QGraphicsView::drawItems(QPainter* painter, int numItems, QGraphicsItem** items, const QStyleOptionGraphicsItem* options) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawItems"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPainter*" , "int" , "QGraphicsItem**" , "const QStyleOptionGraphicsItem*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&painter, (void*)&numItems, (void*)&items, (void*)&options}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsView::drawItems(painter, numItems, items, options); -} -void PythonQtShell_QGraphicsView::dropEvent(QDropEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QGraphicsView::dropEvent(event); -} -void PythonQtShell_QGraphicsView::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QGraphicsView::enterEvent(arg__1); -} -bool PythonQtShell_QGraphicsView::event(QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsView::event(event); -} -bool PythonQtShell_QGraphicsView::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsView::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QGraphicsView::focusInEvent(QFocusEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QGraphicsView::focusInEvent(event); -} -bool PythonQtShell_QGraphicsView::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsView::focusNextPrevChild(next); -} -void PythonQtShell_QGraphicsView::focusOutEvent(QFocusEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QGraphicsView::focusOutEvent(event); -} -int PythonQtShell_QGraphicsView::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsView::heightForWidth(arg__1); -} -void PythonQtShell_QGraphicsView::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QGraphicsView::hideEvent(arg__1); -} -void PythonQtShell_QGraphicsView::inputMethodEvent(QInputMethodEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QGraphicsView::inputMethodEvent(event); -} -QVariant PythonQtShell_QGraphicsView::inputMethodQuery(Qt::InputMethodQuery query) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&query}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsView::inputMethodQuery(query); -} -void PythonQtShell_QGraphicsView::keyPressEvent(QKeyEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsView::keyPressEvent(event); -} -void PythonQtShell_QGraphicsView::keyReleaseEvent(QKeyEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsView::keyReleaseEvent(event); -} -void PythonQtShell_QGraphicsView::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsView::languageChange(); -} -void PythonQtShell_QGraphicsView::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QGraphicsView::leaveEvent(arg__1); -} -int PythonQtShell_QGraphicsView::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsView::metric(arg__1); -} -void PythonQtShell_QGraphicsView::mouseDoubleClickEvent(QMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QGraphicsView::mouseDoubleClickEvent(event); -} -void PythonQtShell_QGraphicsView::mouseMoveEvent(QMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QGraphicsView::mouseMoveEvent(event); -} -void PythonQtShell_QGraphicsView::mousePressEvent(QMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QGraphicsView::mousePressEvent(event); -} -void PythonQtShell_QGraphicsView::mouseReleaseEvent(QMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QGraphicsView::mouseReleaseEvent(event); -} -void PythonQtShell_QGraphicsView::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsView::moveEvent(arg__1); -} -QPaintEngine* PythonQtShell_QGraphicsView::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsView::paintEngine(); -} -void PythonQtShell_QGraphicsView::paintEvent(QPaintEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - 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; - } -} - QGraphicsView::paintEvent(event); -} -void PythonQtShell_QGraphicsView::resizeEvent(QResizeEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - 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; - } -} - QGraphicsView::resizeEvent(event); -} -void PythonQtShell_QGraphicsView::scrollContentsBy(int dx, int dy) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "scrollContentsBy"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&dx, (void*)&dy}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsView::scrollContentsBy(dx, dy); -} -void PythonQtShell_QGraphicsView::showEvent(QShowEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QGraphicsView::showEvent(event); -} -void PythonQtShell_QGraphicsView::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QGraphicsView::tabletEvent(arg__1); -} -void PythonQtShell_QGraphicsView::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; - } -} - QGraphicsView::timerEvent(arg__1); -} -bool PythonQtShell_QGraphicsView::viewportEvent(QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "viewportEvent"); - 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("viewportEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsView::viewportEvent(event); -} -void PythonQtShell_QGraphicsView::wheelEvent(QWheelEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsView::wheelEvent(event); -} -QGraphicsView* PythonQtWrapper_QGraphicsView::new_QGraphicsView(QGraphicsScene* scene, QWidget* parent) -{ -return new PythonQtShell_QGraphicsView(scene, parent); } - -QGraphicsView* PythonQtWrapper_QGraphicsView::new_QGraphicsView(QWidget* parent) -{ -return new PythonQtShell_QGraphicsView(parent); } - -void PythonQtWrapper_QGraphicsView::ensureVisible(QGraphicsView* theWrappedObject, const QGraphicsItem* item, int xmargin, int ymargin) -{ - ( theWrappedObject->ensureVisible(item, xmargin, ymargin)); -} - -QGraphicsView::ViewportAnchor PythonQtWrapper_QGraphicsView::resizeAnchor(QGraphicsView* theWrappedObject) const -{ - return ( theWrappedObject->resizeAnchor()); -} - -QPainterPath PythonQtWrapper_QGraphicsView::mapToScene(QGraphicsView* theWrappedObject, const QPainterPath& path) const -{ - return ( theWrappedObject->mapToScene(path)); -} - -QPainterPath PythonQtWrapper_QGraphicsView::mapFromScene(QGraphicsView* theWrappedObject, const QPainterPath& path) const -{ - return ( theWrappedObject->mapFromScene(path)); -} - -void PythonQtWrapper_QGraphicsView::keyPressEvent(QGraphicsView* theWrappedObject, QKeyEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_keyPressEvent(event)); -} - -void PythonQtWrapper_QGraphicsView::showEvent(QGraphicsView* theWrappedObject, QShowEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_showEvent(event)); -} - -void PythonQtWrapper_QGraphicsView::centerOn(QGraphicsView* theWrappedObject, const QPointF& pos) -{ - ( theWrappedObject->centerOn(pos)); -} - -QList PythonQtWrapper_QGraphicsView::items(QGraphicsView* theWrappedObject) const -{ - return ( theWrappedObject->items()); -} - -QPainter::RenderHints PythonQtWrapper_QGraphicsView::renderHints(QGraphicsView* theWrappedObject) const -{ - return ( theWrappedObject->renderHints()); -} - -void PythonQtWrapper_QGraphicsView::resetTransform(QGraphicsView* theWrappedObject) -{ - ( theWrappedObject->resetTransform()); -} - -void PythonQtWrapper_QGraphicsView::fitInView(QGraphicsView* theWrappedObject, qreal x, qreal y, qreal w, qreal h, Qt::AspectRatioMode aspectRadioMode) -{ - ( theWrappedObject->fitInView(x, y, w, h, aspectRadioMode)); -} - -void PythonQtWrapper_QGraphicsView::setAlignment(QGraphicsView* theWrappedObject, Qt::Alignment alignment) -{ - ( theWrappedObject->setAlignment(alignment)); -} - -QPolygon PythonQtWrapper_QGraphicsView::mapFromScene(QGraphicsView* theWrappedObject, const QPolygonF& polygon) const -{ - return ( theWrappedObject->mapFromScene(polygon)); -} - -QGraphicsScene* PythonQtWrapper_QGraphicsView::scene(QGraphicsView* theWrappedObject) const -{ - return ( theWrappedObject->scene()); -} - -QGraphicsView::DragMode PythonQtWrapper_QGraphicsView::dragMode(QGraphicsView* theWrappedObject) const -{ - return ( theWrappedObject->dragMode()); -} - -void PythonQtWrapper_QGraphicsView::centerOn(QGraphicsView* theWrappedObject, const QGraphicsItem* item) -{ - ( theWrappedObject->centerOn(item)); -} - -QList PythonQtWrapper_QGraphicsView::items(QGraphicsView* theWrappedObject, int x, int y) const -{ - return ( theWrappedObject->items(x, y)); -} - -void PythonQtWrapper_QGraphicsView::setOptimizationFlags(QGraphicsView* theWrappedObject, QGraphicsView::OptimizationFlags flags) -{ - ( theWrappedObject->setOptimizationFlags(flags)); -} - -void PythonQtWrapper_QGraphicsView::setSceneRect(QGraphicsView* theWrappedObject, qreal x, qreal y, qreal w, qreal h) -{ - ( theWrappedObject->setSceneRect(x, y, w, h)); -} - -Qt::Alignment PythonQtWrapper_QGraphicsView::alignment(QGraphicsView* theWrappedObject) const -{ - return ( theWrappedObject->alignment()); -} - -void PythonQtWrapper_QGraphicsView::fitInView(QGraphicsView* theWrappedObject, const QRectF& rect, Qt::AspectRatioMode aspectRadioMode) -{ - ( theWrappedObject->fitInView(rect, aspectRadioMode)); -} - -void PythonQtWrapper_QGraphicsView::dragMoveEvent(QGraphicsView* theWrappedObject, QDragMoveEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_dragMoveEvent(event)); -} - -void PythonQtWrapper_QGraphicsView::mouseReleaseEvent(QGraphicsView* theWrappedObject, QMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_mouseReleaseEvent(event)); -} - -QList PythonQtWrapper_QGraphicsView::items(QGraphicsView* theWrappedObject, const QRect& rect, Qt::ItemSelectionMode mode) const -{ - return ( theWrappedObject->items(rect, mode)); -} - -QPolygonF PythonQtWrapper_QGraphicsView::mapToScene(QGraphicsView* theWrappedObject, const QRect& rect) const -{ - return ( theWrappedObject->mapToScene(rect)); -} - -void PythonQtWrapper_QGraphicsView::ensureVisible(QGraphicsView* theWrappedObject, qreal x, qreal y, qreal w, qreal h, int xmargin, int ymargin) -{ - ( theWrappedObject->ensureVisible(x, y, w, h, xmargin, ymargin)); -} - -void PythonQtWrapper_QGraphicsView::drawItems(QGraphicsView* theWrappedObject, QPainter* painter, int numItems, QGraphicsItem** items, const QStyleOptionGraphicsItem* options) -{ - ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_drawItems(painter, numItems, items, options)); -} - -void PythonQtWrapper_QGraphicsView::setOptimizationFlag(QGraphicsView* theWrappedObject, QGraphicsView::OptimizationFlag flag, bool enabled) -{ - ( theWrappedObject->setOptimizationFlag(flag, enabled)); -} - -QSize PythonQtWrapper_QGraphicsView::sizeHint(QGraphicsView* theWrappedObject) const -{ - return ( theWrappedObject->sizeHint()); -} - -void PythonQtWrapper_QGraphicsView::mousePressEvent(QGraphicsView* theWrappedObject, QMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_mousePressEvent(event)); -} - -bool PythonQtWrapper_QGraphicsView::isInteractive(QGraphicsView* theWrappedObject) const -{ - return ( theWrappedObject->isInteractive()); -} - -void PythonQtWrapper_QGraphicsView::rotate(QGraphicsView* theWrappedObject, qreal angle) -{ - ( theWrappedObject->rotate(angle)); -} - -void PythonQtWrapper_QGraphicsView::setMatrix(QGraphicsView* theWrappedObject, const QMatrix& matrix, bool combine) -{ - ( theWrappedObject->setMatrix(matrix, combine)); -} - -void PythonQtWrapper_QGraphicsView::wheelEvent(QGraphicsView* theWrappedObject, QWheelEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_wheelEvent(event)); -} - -QTransform PythonQtWrapper_QGraphicsView::viewportTransform(QGraphicsView* theWrappedObject) const -{ - return ( theWrappedObject->viewportTransform()); -} - -bool PythonQtWrapper_QGraphicsView::event(QGraphicsView* theWrappedObject, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_event(event)); -} - -void PythonQtWrapper_QGraphicsView::mouseDoubleClickEvent(QGraphicsView* theWrappedObject, QMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_mouseDoubleClickEvent(event)); -} - -QList PythonQtWrapper_QGraphicsView::items(QGraphicsView* theWrappedObject, const QPoint& pos) const -{ - return ( theWrappedObject->items(pos)); -} - -void PythonQtWrapper_QGraphicsView::setForegroundBrush(QGraphicsView* theWrappedObject, const QBrush& brush) -{ - ( theWrappedObject->setForegroundBrush(brush)); -} - -void PythonQtWrapper_QGraphicsView::scrollContentsBy(QGraphicsView* theWrappedObject, int dx, int dy) -{ - ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_scrollContentsBy(dx, dy)); -} - -void PythonQtWrapper_QGraphicsView::contextMenuEvent(QGraphicsView* theWrappedObject, QContextMenuEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_contextMenuEvent(event)); -} - -QMatrix PythonQtWrapper_QGraphicsView::matrix(QGraphicsView* theWrappedObject) const -{ - return ( theWrappedObject->matrix()); -} - -void PythonQtWrapper_QGraphicsView::setInteractive(QGraphicsView* theWrappedObject, bool allowed) -{ - ( theWrappedObject->setInteractive(allowed)); -} - -void PythonQtWrapper_QGraphicsView::keyReleaseEvent(QGraphicsView* theWrappedObject, QKeyEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_keyReleaseEvent(event)); -} - -void PythonQtWrapper_QGraphicsView::dropEvent(QGraphicsView* theWrappedObject, QDropEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_dropEvent(event)); -} - -bool PythonQtWrapper_QGraphicsView::focusNextPrevChild(QGraphicsView* theWrappedObject, bool next) -{ - return ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_focusNextPrevChild(next)); -} - -QList PythonQtWrapper_QGraphicsView::items(QGraphicsView* theWrappedObject, const QPainterPath& path, Qt::ItemSelectionMode mode) const -{ - return ( theWrappedObject->items(path, mode)); -} - -Qt::ItemSelectionMode PythonQtWrapper_QGraphicsView::rubberBandSelectionMode(QGraphicsView* theWrappedObject) const -{ - return ( theWrappedObject->rubberBandSelectionMode()); -} - -QRectF PythonQtWrapper_QGraphicsView::sceneRect(QGraphicsView* theWrappedObject) const -{ - return ( theWrappedObject->sceneRect()); -} - -bool PythonQtWrapper_QGraphicsView::viewportEvent(QGraphicsView* theWrappedObject, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_viewportEvent(event)); -} - -QVariant PythonQtWrapper_QGraphicsView::inputMethodQuery(QGraphicsView* theWrappedObject, Qt::InputMethodQuery query) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_inputMethodQuery(query)); -} - -void PythonQtWrapper_QGraphicsView::drawForeground(QGraphicsView* theWrappedObject, QPainter* painter, const QRectF& rect) -{ - ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_drawForeground(painter, rect)); -} - -QPointF PythonQtWrapper_QGraphicsView::mapToScene(QGraphicsView* theWrappedObject, int x, int y) const -{ - return ( theWrappedObject->mapToScene(x, y)); -} - -void PythonQtWrapper_QGraphicsView::ensureVisible(QGraphicsView* theWrappedObject, const QRectF& rect, int xmargin, int ymargin) -{ - ( theWrappedObject->ensureVisible(rect, xmargin, ymargin)); -} - -QList PythonQtWrapper_QGraphicsView::items(QGraphicsView* theWrappedObject, int x, int y, int w, int h, Qt::ItemSelectionMode mode) const -{ - return ( theWrappedObject->items(x, y, w, h, mode)); -} - -void PythonQtWrapper_QGraphicsView::inputMethodEvent(QGraphicsView* theWrappedObject, QInputMethodEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_inputMethodEvent(event)); -} - -QPolygonF PythonQtWrapper_QGraphicsView::mapToScene(QGraphicsView* theWrappedObject, const QPolygon& polygon) const -{ - return ( theWrappedObject->mapToScene(polygon)); -} - -void PythonQtWrapper_QGraphicsView::resizeEvent(QGraphicsView* theWrappedObject, QResizeEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_resizeEvent(event)); -} - -QGraphicsItem* PythonQtWrapper_QGraphicsView::itemAt(QGraphicsView* theWrappedObject, int x, int y) const -{ - return ( theWrappedObject->itemAt(x, y)); -} - -void PythonQtWrapper_QGraphicsView::setCacheMode(QGraphicsView* theWrappedObject, QGraphicsView::CacheMode mode) -{ - ( theWrappedObject->setCacheMode(mode)); -} - -void PythonQtWrapper_QGraphicsView::shear(QGraphicsView* theWrappedObject, qreal sh, qreal sv) -{ - ( theWrappedObject->shear(sh, sv)); -} - -void PythonQtWrapper_QGraphicsView::setDragMode(QGraphicsView* theWrappedObject, QGraphicsView::DragMode mode) -{ - ( theWrappedObject->setDragMode(mode)); -} - -void PythonQtWrapper_QGraphicsView::mouseMoveEvent(QGraphicsView* theWrappedObject, QMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_mouseMoveEvent(event)); -} - -void PythonQtWrapper_QGraphicsView::paintEvent(QGraphicsView* theWrappedObject, QPaintEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_paintEvent(event)); -} - -void PythonQtWrapper_QGraphicsView::setTransformationAnchor(QGraphicsView* theWrappedObject, QGraphicsView::ViewportAnchor anchor) -{ - ( theWrappedObject->setTransformationAnchor(anchor)); -} - -QBrush PythonQtWrapper_QGraphicsView::foregroundBrush(QGraphicsView* theWrappedObject) const -{ - return ( theWrappedObject->foregroundBrush()); -} - -QPointF PythonQtWrapper_QGraphicsView::mapToScene(QGraphicsView* theWrappedObject, const QPoint& point) const -{ - return ( theWrappedObject->mapToScene(point)); -} - -void PythonQtWrapper_QGraphicsView::fitInView(QGraphicsView* theWrappedObject, const QGraphicsItem* item, Qt::AspectRatioMode aspectRadioMode) -{ - ( theWrappedObject->fitInView(item, aspectRadioMode)); -} - -QList PythonQtWrapper_QGraphicsView::items(QGraphicsView* theWrappedObject, const QPolygon& polygon, Qt::ItemSelectionMode mode) const -{ - return ( theWrappedObject->items(polygon, mode)); -} - -void PythonQtWrapper_QGraphicsView::translate(QGraphicsView* theWrappedObject, qreal dx, qreal dy) -{ - ( theWrappedObject->translate(dx, dy)); -} - -void PythonQtWrapper_QGraphicsView::setRenderHint(QGraphicsView* theWrappedObject, QPainter::RenderHint hint, bool enabled) -{ - ( theWrappedObject->setRenderHint(hint, enabled)); -} - -QGraphicsView::ViewportUpdateMode PythonQtWrapper_QGraphicsView::viewportUpdateMode(QGraphicsView* theWrappedObject) const -{ - return ( theWrappedObject->viewportUpdateMode()); -} - -QPoint PythonQtWrapper_QGraphicsView::mapFromScene(QGraphicsView* theWrappedObject, const QPointF& point) const -{ - return ( theWrappedObject->mapFromScene(point)); -} - -void PythonQtWrapper_QGraphicsView::render(QGraphicsView* theWrappedObject, QPainter* painter, const QRectF& target, const QRect& source, Qt::AspectRatioMode aspectRatioMode) -{ - ( theWrappedObject->render(painter, target, source, aspectRatioMode)); -} - -void PythonQtWrapper_QGraphicsView::scale(QGraphicsView* theWrappedObject, qreal sx, qreal sy) -{ - ( theWrappedObject->scale(sx, sy)); -} - -QPolygon PythonQtWrapper_QGraphicsView::mapFromScene(QGraphicsView* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const -{ - return ( theWrappedObject->mapFromScene(x, y, w, h)); -} - -QGraphicsView::OptimizationFlags PythonQtWrapper_QGraphicsView::optimizationFlags(QGraphicsView* theWrappedObject) const -{ - return ( theWrappedObject->optimizationFlags()); -} - -void PythonQtWrapper_QGraphicsView::setSceneRect(QGraphicsView* theWrappedObject, const QRectF& rect) -{ - ( theWrappedObject->setSceneRect(rect)); -} - -QBrush PythonQtWrapper_QGraphicsView::backgroundBrush(QGraphicsView* theWrappedObject) const -{ - return ( theWrappedObject->backgroundBrush()); -} - -QPolygonF PythonQtWrapper_QGraphicsView::mapToScene(QGraphicsView* theWrappedObject, int x, int y, int w, int h) const -{ - return ( theWrappedObject->mapToScene(x, y, w, h)); -} - -void PythonQtWrapper_QGraphicsView::setBackgroundBrush(QGraphicsView* theWrappedObject, const QBrush& brush) -{ - ( theWrappedObject->setBackgroundBrush(brush)); -} - -void PythonQtWrapper_QGraphicsView::setScene(QGraphicsView* theWrappedObject, QGraphicsScene* scene) -{ - ( theWrappedObject->setScene(scene)); -} - -void PythonQtWrapper_QGraphicsView::setTransform(QGraphicsView* theWrappedObject, const QTransform& matrix, bool combine) -{ - ( theWrappedObject->setTransform(matrix, combine)); -} - -QGraphicsView::CacheMode PythonQtWrapper_QGraphicsView::cacheMode(QGraphicsView* theWrappedObject) const -{ - return ( theWrappedObject->cacheMode()); -} - -void PythonQtWrapper_QGraphicsView::setViewportUpdateMode(QGraphicsView* theWrappedObject, QGraphicsView::ViewportUpdateMode mode) -{ - ( theWrappedObject->setViewportUpdateMode(mode)); -} - -void PythonQtWrapper_QGraphicsView::dragLeaveEvent(QGraphicsView* theWrappedObject, QDragLeaveEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_dragLeaveEvent(event)); -} - -QTransform PythonQtWrapper_QGraphicsView::transform(QGraphicsView* theWrappedObject) const -{ - return ( theWrappedObject->transform()); -} - -void PythonQtWrapper_QGraphicsView::focusInEvent(QGraphicsView* theWrappedObject, QFocusEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_focusInEvent(event)); -} - -void PythonQtWrapper_QGraphicsView::resetMatrix(QGraphicsView* theWrappedObject) -{ - ( theWrappedObject->resetMatrix()); -} - -QGraphicsView::ViewportAnchor PythonQtWrapper_QGraphicsView::transformationAnchor(QGraphicsView* theWrappedObject) const -{ - return ( theWrappedObject->transformationAnchor()); -} - -void PythonQtWrapper_QGraphicsView::dragEnterEvent(QGraphicsView* theWrappedObject, QDragEnterEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_dragEnterEvent(event)); -} - -void PythonQtWrapper_QGraphicsView::resetCachedContent(QGraphicsView* theWrappedObject) -{ - ( theWrappedObject->resetCachedContent()); -} - -void PythonQtWrapper_QGraphicsView::setRubberBandSelectionMode(QGraphicsView* theWrappedObject, Qt::ItemSelectionMode mode) -{ - ( theWrappedObject->setRubberBandSelectionMode(mode)); -} - -QPolygon PythonQtWrapper_QGraphicsView::mapFromScene(QGraphicsView* theWrappedObject, const QRectF& rect) const -{ - return ( theWrappedObject->mapFromScene(rect)); -} - -QPoint PythonQtWrapper_QGraphicsView::mapFromScene(QGraphicsView* theWrappedObject, qreal x, qreal y) const -{ - return ( theWrappedObject->mapFromScene(x, y)); -} - -void PythonQtWrapper_QGraphicsView::setRenderHints(QGraphicsView* theWrappedObject, QPainter::RenderHints hints) -{ - ( theWrappedObject->setRenderHints(hints)); -} - -void PythonQtWrapper_QGraphicsView::drawBackground(QGraphicsView* theWrappedObject, QPainter* painter, const QRectF& rect) -{ - ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_drawBackground(painter, rect)); -} - -QGraphicsItem* PythonQtWrapper_QGraphicsView::itemAt(QGraphicsView* theWrappedObject, const QPoint& pos) const -{ - return ( theWrappedObject->itemAt(pos)); -} - -void PythonQtWrapper_QGraphicsView::centerOn(QGraphicsView* theWrappedObject, qreal x, qreal y) -{ - ( theWrappedObject->centerOn(x, y)); -} - -void PythonQtWrapper_QGraphicsView::setResizeAnchor(QGraphicsView* theWrappedObject, QGraphicsView::ViewportAnchor anchor) -{ - ( theWrappedObject->setResizeAnchor(anchor)); -} - -void PythonQtWrapper_QGraphicsView::focusOutEvent(QGraphicsView* theWrappedObject, QFocusEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_focusOutEvent(event)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsView.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsView.h deleted file mode 100644 index c8fb54a..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsView.h +++ /dev/null @@ -1,248 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QGRAPHICSVIEW_H -#define PYTHONQTWRAPPER_QGRAPHICSVIEW_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QGraphicsView : public QGraphicsView -{ -public: - PythonQtShell_QGraphicsView(QGraphicsScene* scene, QWidget* parent = 0):QGraphicsView(scene, parent),_wrapper(NULL) {}; - PythonQtShell_QGraphicsView(QWidget* parent = 0):QGraphicsView(parent),_wrapper(NULL) {}; - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual void customEvent(QEvent* arg__1); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void drawBackground(QPainter* painter, const QRectF& rect); -virtual void drawForeground(QPainter* painter, const QRectF& rect); -virtual void drawItems(QPainter* painter, int numItems, QGraphicsItem** items, const QStyleOptionGraphicsItem* options); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* arg__1); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual void resizeEvent(QResizeEvent* event); -virtual void scrollContentsBy(int dx, int dy); -virtual void showEvent(QShowEvent* event); -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* arg__1); -virtual bool viewportEvent(QEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QGraphicsView : public QGraphicsView -{ public: -inline void promoted_keyPressEvent(QKeyEvent* event) { QGraphicsView::keyPressEvent(event); } -inline void promoted_showEvent(QShowEvent* event) { QGraphicsView::showEvent(event); } -inline void promoted_dragMoveEvent(QDragMoveEvent* event) { QGraphicsView::dragMoveEvent(event); } -inline void promoted_mouseReleaseEvent(QMouseEvent* event) { QGraphicsView::mouseReleaseEvent(event); } -inline void promoted_drawItems(QPainter* painter, int numItems, QGraphicsItem** items, const QStyleOptionGraphicsItem* options) { QGraphicsView::drawItems(painter, numItems, items, options); } -inline void promoted_mousePressEvent(QMouseEvent* event) { QGraphicsView::mousePressEvent(event); } -inline void promoted_wheelEvent(QWheelEvent* event) { QGraphicsView::wheelEvent(event); } -inline bool promoted_event(QEvent* event) { return QGraphicsView::event(event); } -inline void promoted_mouseDoubleClickEvent(QMouseEvent* event) { QGraphicsView::mouseDoubleClickEvent(event); } -inline void promoted_scrollContentsBy(int dx, int dy) { QGraphicsView::scrollContentsBy(dx, dy); } -inline void promoted_contextMenuEvent(QContextMenuEvent* event) { QGraphicsView::contextMenuEvent(event); } -inline void promoted_keyReleaseEvent(QKeyEvent* event) { QGraphicsView::keyReleaseEvent(event); } -inline void promoted_dropEvent(QDropEvent* event) { QGraphicsView::dropEvent(event); } -inline bool promoted_focusNextPrevChild(bool next) { return QGraphicsView::focusNextPrevChild(next); } -inline bool promoted_viewportEvent(QEvent* event) { return QGraphicsView::viewportEvent(event); } -inline QVariant promoted_inputMethodQuery(Qt::InputMethodQuery query) const { return QGraphicsView::inputMethodQuery(query); } -inline void promoted_drawForeground(QPainter* painter, const QRectF& rect) { QGraphicsView::drawForeground(painter, rect); } -inline void promoted_inputMethodEvent(QInputMethodEvent* event) { QGraphicsView::inputMethodEvent(event); } -inline void promoted_resizeEvent(QResizeEvent* event) { QGraphicsView::resizeEvent(event); } -inline void promoted_mouseMoveEvent(QMouseEvent* event) { QGraphicsView::mouseMoveEvent(event); } -inline void promoted_paintEvent(QPaintEvent* event) { QGraphicsView::paintEvent(event); } -inline void promoted_dragLeaveEvent(QDragLeaveEvent* event) { QGraphicsView::dragLeaveEvent(event); } -inline void promoted_focusInEvent(QFocusEvent* event) { QGraphicsView::focusInEvent(event); } -inline void promoted_dragEnterEvent(QDragEnterEvent* event) { QGraphicsView::dragEnterEvent(event); } -inline void promoted_drawBackground(QPainter* painter, const QRectF& rect) { QGraphicsView::drawBackground(painter, rect); } -inline void promoted_focusOutEvent(QFocusEvent* event) { QGraphicsView::focusOutEvent(event); } -}; - -class PythonQtWrapper_QGraphicsView : public QObject -{ Q_OBJECT -public: -Q_ENUMS(OptimizationFlag CacheModeFlag ) -Q_FLAGS(OptimizationFlags CacheMode ) -enum OptimizationFlag{ - DontClipPainter = QGraphicsView::DontClipPainter, DontSavePainterState = QGraphicsView::DontSavePainterState, DontAdjustForAntialiasing = QGraphicsView::DontAdjustForAntialiasing}; -enum CacheModeFlag{ - CacheNone = QGraphicsView::CacheNone, CacheBackground = QGraphicsView::CacheBackground}; -Q_DECLARE_FLAGS(OptimizationFlags, OptimizationFlag) -Q_DECLARE_FLAGS(CacheMode, CacheModeFlag) -public slots: -QGraphicsView* new_QGraphicsView(QGraphicsScene* scene, QWidget* parent = 0); -QGraphicsView* new_QGraphicsView(QWidget* parent = 0); -void delete_QGraphicsView(QGraphicsView* obj) { delete obj; } - void ensureVisible(QGraphicsView* theWrappedObject, const QGraphicsItem* item, int xmargin = 50, int ymargin = 50); - QGraphicsView::ViewportAnchor resizeAnchor(QGraphicsView* theWrappedObject) const; - QPainterPath mapToScene(QGraphicsView* theWrappedObject, const QPainterPath& path) const; - QPainterPath mapFromScene(QGraphicsView* theWrappedObject, const QPainterPath& path) const; - void keyPressEvent(QGraphicsView* theWrappedObject, QKeyEvent* event); - void showEvent(QGraphicsView* theWrappedObject, QShowEvent* event); - void centerOn(QGraphicsView* theWrappedObject, const QPointF& pos); - QList items(QGraphicsView* theWrappedObject) const; - QPainter::RenderHints renderHints(QGraphicsView* theWrappedObject) const; - void resetTransform(QGraphicsView* theWrappedObject); - void fitInView(QGraphicsView* theWrappedObject, qreal x, qreal y, qreal w, qreal h, Qt::AspectRatioMode aspectRadioMode = Qt::IgnoreAspectRatio); - void setAlignment(QGraphicsView* theWrappedObject, Qt::Alignment alignment); - QPolygon mapFromScene(QGraphicsView* theWrappedObject, const QPolygonF& polygon) const; - QGraphicsScene* scene(QGraphicsView* theWrappedObject) const; - QGraphicsView::DragMode dragMode(QGraphicsView* theWrappedObject) const; - void centerOn(QGraphicsView* theWrappedObject, const QGraphicsItem* item); - QList items(QGraphicsView* theWrappedObject, int x, int y) const; - void setOptimizationFlags(QGraphicsView* theWrappedObject, QGraphicsView::OptimizationFlags flags); - void setSceneRect(QGraphicsView* theWrappedObject, qreal x, qreal y, qreal w, qreal h); - Qt::Alignment alignment(QGraphicsView* theWrappedObject) const; - void fitInView(QGraphicsView* theWrappedObject, const QRectF& rect, Qt::AspectRatioMode aspectRadioMode = Qt::IgnoreAspectRatio); - void dragMoveEvent(QGraphicsView* theWrappedObject, QDragMoveEvent* event); - void mouseReleaseEvent(QGraphicsView* theWrappedObject, QMouseEvent* event); - QList items(QGraphicsView* theWrappedObject, const QRect& rect, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; - QPolygonF mapToScene(QGraphicsView* theWrappedObject, const QRect& rect) const; - void ensureVisible(QGraphicsView* theWrappedObject, qreal x, qreal y, qreal w, qreal h, int xmargin = 50, int ymargin = 50); - void drawItems(QGraphicsView* theWrappedObject, QPainter* painter, int numItems, QGraphicsItem** items, const QStyleOptionGraphicsItem* options); - void setOptimizationFlag(QGraphicsView* theWrappedObject, QGraphicsView::OptimizationFlag flag, bool enabled = true); - QSize sizeHint(QGraphicsView* theWrappedObject) const; - void mousePressEvent(QGraphicsView* theWrappedObject, QMouseEvent* event); - bool isInteractive(QGraphicsView* theWrappedObject) const; - void rotate(QGraphicsView* theWrappedObject, qreal angle); - void setMatrix(QGraphicsView* theWrappedObject, const QMatrix& matrix, bool combine = false); - void wheelEvent(QGraphicsView* theWrappedObject, QWheelEvent* event); - QTransform viewportTransform(QGraphicsView* theWrappedObject) const; - bool event(QGraphicsView* theWrappedObject, QEvent* event); - void mouseDoubleClickEvent(QGraphicsView* theWrappedObject, QMouseEvent* event); - QList items(QGraphicsView* theWrappedObject, const QPoint& pos) const; - void setForegroundBrush(QGraphicsView* theWrappedObject, const QBrush& brush); - void scrollContentsBy(QGraphicsView* theWrappedObject, int dx, int dy); - void contextMenuEvent(QGraphicsView* theWrappedObject, QContextMenuEvent* event); - QMatrix matrix(QGraphicsView* theWrappedObject) const; - void setInteractive(QGraphicsView* theWrappedObject, bool allowed); - void keyReleaseEvent(QGraphicsView* theWrappedObject, QKeyEvent* event); - void dropEvent(QGraphicsView* theWrappedObject, QDropEvent* event); - bool focusNextPrevChild(QGraphicsView* theWrappedObject, bool next); - QList items(QGraphicsView* theWrappedObject, const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; - Qt::ItemSelectionMode rubberBandSelectionMode(QGraphicsView* theWrappedObject) const; - QRectF sceneRect(QGraphicsView* theWrappedObject) const; - bool viewportEvent(QGraphicsView* theWrappedObject, QEvent* event); - QVariant inputMethodQuery(QGraphicsView* theWrappedObject, Qt::InputMethodQuery query) const; - void drawForeground(QGraphicsView* theWrappedObject, QPainter* painter, const QRectF& rect); - QPointF mapToScene(QGraphicsView* theWrappedObject, int x, int y) const; - void ensureVisible(QGraphicsView* theWrappedObject, const QRectF& rect, int xmargin = 50, int ymargin = 50); - QList items(QGraphicsView* theWrappedObject, int x, int y, int w, int h, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; - void inputMethodEvent(QGraphicsView* theWrappedObject, QInputMethodEvent* event); - QPolygonF mapToScene(QGraphicsView* theWrappedObject, const QPolygon& polygon) const; - void resizeEvent(QGraphicsView* theWrappedObject, QResizeEvent* event); - QGraphicsItem* itemAt(QGraphicsView* theWrappedObject, int x, int y) const; - void setCacheMode(QGraphicsView* theWrappedObject, QGraphicsView::CacheMode mode); - void shear(QGraphicsView* theWrappedObject, qreal sh, qreal sv); - void setDragMode(QGraphicsView* theWrappedObject, QGraphicsView::DragMode mode); - void mouseMoveEvent(QGraphicsView* theWrappedObject, QMouseEvent* event); - void paintEvent(QGraphicsView* theWrappedObject, QPaintEvent* event); - void setTransformationAnchor(QGraphicsView* theWrappedObject, QGraphicsView::ViewportAnchor anchor); - QBrush foregroundBrush(QGraphicsView* theWrappedObject) const; - QPointF mapToScene(QGraphicsView* theWrappedObject, const QPoint& point) const; - void fitInView(QGraphicsView* theWrappedObject, const QGraphicsItem* item, Qt::AspectRatioMode aspectRadioMode = Qt::IgnoreAspectRatio); - QList items(QGraphicsView* theWrappedObject, const QPolygon& polygon, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; - void translate(QGraphicsView* theWrappedObject, qreal dx, qreal dy); - void setRenderHint(QGraphicsView* theWrappedObject, QPainter::RenderHint hint, bool enabled = true); - QGraphicsView::ViewportUpdateMode viewportUpdateMode(QGraphicsView* theWrappedObject) const; - QPoint mapFromScene(QGraphicsView* theWrappedObject, const QPointF& point) const; - void render(QGraphicsView* theWrappedObject, QPainter* painter, const QRectF& target = QRectF(), const QRect& source = QRect(), Qt::AspectRatioMode aspectRatioMode = Qt::KeepAspectRatio); - void scale(QGraphicsView* theWrappedObject, qreal sx, qreal sy); - QPolygon mapFromScene(QGraphicsView* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const; - QGraphicsView::OptimizationFlags optimizationFlags(QGraphicsView* theWrappedObject) const; - void setSceneRect(QGraphicsView* theWrappedObject, const QRectF& rect); - QBrush backgroundBrush(QGraphicsView* theWrappedObject) const; - QPolygonF mapToScene(QGraphicsView* theWrappedObject, int x, int y, int w, int h) const; - void setBackgroundBrush(QGraphicsView* theWrappedObject, const QBrush& brush); - void setScene(QGraphicsView* theWrappedObject, QGraphicsScene* scene); - void setTransform(QGraphicsView* theWrappedObject, const QTransform& matrix, bool combine = false); - QGraphicsView::CacheMode cacheMode(QGraphicsView* theWrappedObject) const; - void setViewportUpdateMode(QGraphicsView* theWrappedObject, QGraphicsView::ViewportUpdateMode mode); - void dragLeaveEvent(QGraphicsView* theWrappedObject, QDragLeaveEvent* event); - QTransform transform(QGraphicsView* theWrappedObject) const; - void focusInEvent(QGraphicsView* theWrappedObject, QFocusEvent* event); - void resetMatrix(QGraphicsView* theWrappedObject); - QGraphicsView::ViewportAnchor transformationAnchor(QGraphicsView* theWrappedObject) const; - void dragEnterEvent(QGraphicsView* theWrappedObject, QDragEnterEvent* event); - void resetCachedContent(QGraphicsView* theWrappedObject); - void setRubberBandSelectionMode(QGraphicsView* theWrappedObject, Qt::ItemSelectionMode mode); - QPolygon mapFromScene(QGraphicsView* theWrappedObject, const QRectF& rect) const; - QPoint mapFromScene(QGraphicsView* theWrappedObject, qreal x, qreal y) const; - void setRenderHints(QGraphicsView* theWrappedObject, QPainter::RenderHints hints); - void drawBackground(QGraphicsView* theWrappedObject, QPainter* painter, const QRectF& rect); - QGraphicsItem* itemAt(QGraphicsView* theWrappedObject, const QPoint& pos) const; - void centerOn(QGraphicsView* theWrappedObject, qreal x, qreal y); - void setResizeAnchor(QGraphicsView* theWrappedObject, QGraphicsView::ViewportAnchor anchor); - void focusOutEvent(QGraphicsView* theWrappedObject, QFocusEvent* event); -}; - -#endif // PYTHONQTWRAPPER_QGRAPHICSVIEW_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsWidget.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsWidget.cpp deleted file mode 100644 index 762b0c3..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsWidget.cpp +++ /dev/null @@ -1,1640 +0,0 @@ -#include "PythonQtWrapper_QGraphicsWidget.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QGraphicsWidget::advance(int phase) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "advance"); - 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*)&phase}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsWidget::advance(phase); -} -QRectF PythonQtShell_QGraphicsWidget::boundingRect() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "boundingRect"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QRectF"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRectF returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); - } else { - returnValue = *((QRectF*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsWidget::boundingRect(); -} -void PythonQtShell_QGraphicsWidget::changeEvent(QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsWidget::changeEvent(event); -} -void PythonQtShell_QGraphicsWidget::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; - } -} - QGraphicsWidget::childEvent(arg__1); -} -void PythonQtShell_QGraphicsWidget::closeEvent(QCloseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QGraphicsWidget::closeEvent(event); -} -bool PythonQtShell_QGraphicsWidget::collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "collidesWithItem"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QGraphicsItem*" , "Qt::ItemSelectionMode"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&other, (void*)&mode}; - 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("collidesWithItem", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsWidget::collidesWithItem(other, mode); -} -bool PythonQtShell_QGraphicsWidget::collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "collidesWithPath"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&path, (void*)&mode}; - 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("collidesWithPath", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsWidget::collidesWithPath(path, mode); -} -bool PythonQtShell_QGraphicsWidget::contains(const QPointF& point) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contains"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QPointF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&point}; - 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("contains", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsWidget::contains(point); -} -void PythonQtShell_QGraphicsWidget::contextMenuEvent(QGraphicsSceneContextMenuEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; - 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; - } -} - QGraphicsWidget::contextMenuEvent(event); -} -void PythonQtShell_QGraphicsWidget::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; - } -} - QGraphicsWidget::customEvent(arg__1); -} -void PythonQtShell_QGraphicsWidget::dragEnterEvent(QGraphicsSceneDragDropEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsWidget::dragEnterEvent(event); -} -void PythonQtShell_QGraphicsWidget::dragLeaveEvent(QGraphicsSceneDragDropEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsWidget::dragLeaveEvent(event); -} -void PythonQtShell_QGraphicsWidget::dragMoveEvent(QGraphicsSceneDragDropEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsWidget::dragMoveEvent(event); -} -void PythonQtShell_QGraphicsWidget::dropEvent(QGraphicsSceneDragDropEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsWidget::dropEvent(event); -} -bool PythonQtShell_QGraphicsWidget::event(QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsWidget::event(event); -} -bool PythonQtShell_QGraphicsWidget::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsWidget::eventFilter(arg__1, arg__2); -} -QVariant PythonQtShell_QGraphicsWidget::extension(const QVariant& variant) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "extension"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&variant}; - 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("extension", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsWidget::extension(variant); -} -void PythonQtShell_QGraphicsWidget::focusInEvent(QFocusEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QGraphicsWidget::focusInEvent(event); -} -bool PythonQtShell_QGraphicsWidget::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsWidget::focusNextPrevChild(next); -} -void PythonQtShell_QGraphicsWidget::focusOutEvent(QFocusEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QGraphicsWidget::focusOutEvent(event); -} -void PythonQtShell_QGraphicsWidget::getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getContentsMargins"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "qreal*" , "qreal*" , "qreal*" , "qreal*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&left, (void*)&top, (void*)&right, (void*)&bottom}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsWidget::getContentsMargins(left, top, right, bottom); -} -void PythonQtShell_QGraphicsWidget::grabKeyboardEvent(QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "grabKeyboardEvent"); - 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; - } -} - QGraphicsWidget::grabKeyboardEvent(event); -} -void PythonQtShell_QGraphicsWidget::grabMouseEvent(QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "grabMouseEvent"); - 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; - } -} - QGraphicsWidget::grabMouseEvent(event); -} -void PythonQtShell_QGraphicsWidget::hideEvent(QHideEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QGraphicsWidget::hideEvent(event); -} -void PythonQtShell_QGraphicsWidget::hoverEnterEvent(QGraphicsSceneHoverEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hoverEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; - 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; - } -} - QGraphicsWidget::hoverEnterEvent(event); -} -void PythonQtShell_QGraphicsWidget::hoverLeaveEvent(QGraphicsSceneHoverEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hoverLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; - 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; - } -} - QGraphicsWidget::hoverLeaveEvent(event); -} -void PythonQtShell_QGraphicsWidget::hoverMoveEvent(QGraphicsSceneHoverEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hoverMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; - 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; - } -} - QGraphicsWidget::hoverMoveEvent(event); -} -void PythonQtShell_QGraphicsWidget::initStyleOption(QStyleOption* option) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "initStyleOption"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QStyleOption*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&option}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsWidget::initStyleOption(option); -} -void PythonQtShell_QGraphicsWidget::inputMethodEvent(QInputMethodEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QGraphicsWidget::inputMethodEvent(event); -} -QVariant PythonQtShell_QGraphicsWidget::inputMethodQuery(Qt::InputMethodQuery query) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&query}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsWidget::inputMethodQuery(query); -} -bool PythonQtShell_QGraphicsWidget::isObscuredBy(const QGraphicsItem* item) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isObscuredBy"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&item}; - 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("isObscuredBy", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsWidget::isObscuredBy(item); -} -QVariant PythonQtShell_QGraphicsWidget::itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&change, (void*)&value}; - 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("itemChange", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsWidget::itemChange(change, value); -} -void PythonQtShell_QGraphicsWidget::keyPressEvent(QKeyEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsWidget::keyPressEvent(event); -} -void PythonQtShell_QGraphicsWidget::keyReleaseEvent(QKeyEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsWidget::keyReleaseEvent(event); -} -void PythonQtShell_QGraphicsWidget::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsWidget::mouseDoubleClickEvent(event); -} -void PythonQtShell_QGraphicsWidget::mouseMoveEvent(QGraphicsSceneMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsWidget::mouseMoveEvent(event); -} -void PythonQtShell_QGraphicsWidget::mousePressEvent(QGraphicsSceneMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsWidget::mousePressEvent(event); -} -void PythonQtShell_QGraphicsWidget::mouseReleaseEvent(QGraphicsSceneMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsWidget::mouseReleaseEvent(event); -} -void PythonQtShell_QGraphicsWidget::moveEvent(QGraphicsSceneMoveEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneMoveEvent*"}; - 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; - } -} - QGraphicsWidget::moveEvent(event); -} -QPainterPath PythonQtShell_QGraphicsWidget::opaqueArea() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "opaqueArea"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); - } else { - returnValue = *((QPainterPath*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsWidget::opaqueArea(); -} -void PythonQtShell_QGraphicsWidget::paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter, (void*)&option, (void*)&widget}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsWidget::paint(painter, option, widget); -} -void PythonQtShell_QGraphicsWidget::paintWindowFrame(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintWindowFrame"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter, (void*)&option, (void*)&widget}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsWidget::paintWindowFrame(painter, option, widget); -} -void PythonQtShell_QGraphicsWidget::polishEvent() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "polishEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsWidget::polishEvent(); -} -QVariant PythonQtShell_QGraphicsWidget::propertyChange(const QString& propertyName, const QVariant& value) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "propertyChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "const QString&" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&propertyName, (void*)&value}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("propertyChange", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsWidget::propertyChange(propertyName, value); -} -void PythonQtShell_QGraphicsWidget::resizeEvent(QGraphicsSceneResizeEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsWidget::resizeEvent(event); -} -bool PythonQtShell_QGraphicsWidget::sceneEvent(QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sceneEvent"); - 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("sceneEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsWidget::sceneEvent(event); -} -bool PythonQtShell_QGraphicsWidget::sceneEventFilter(QGraphicsItem* watched, QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sceneEventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&watched, (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("sceneEventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsWidget::sceneEventFilter(watched, event); -} -void PythonQtShell_QGraphicsWidget::setExtension(QGraphicsItem::Extension extension, const QVariant& variant) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setExtension"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&extension, (void*)&variant}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsWidget::setExtension(extension, variant); -} -void PythonQtShell_QGraphicsWidget::setGeometry(const QRectF& rect) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setGeometry"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QRectF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&rect}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsWidget::setGeometry(rect); -} -QPainterPath PythonQtShell_QGraphicsWidget::shape() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "shape"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); - } else { - returnValue = *((QPainterPath*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsWidget::shape(); -} -void PythonQtShell_QGraphicsWidget::showEvent(QShowEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QGraphicsWidget::showEvent(event); -} -QSizeF PythonQtShell_QGraphicsWidget::sizeHint(Qt::SizeHint which, const QSizeF& constraint) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeHint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSizeF" , "Qt::SizeHint" , "const QSizeF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QSizeF returnValue; - void* args[3] = {NULL, (void*)&which, (void*)&constraint}; - 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("sizeHint", methodInfo, result); - } else { - returnValue = *((QSizeF*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsWidget::sizeHint(which, constraint); -} -bool PythonQtShell_QGraphicsWidget::supportsExtension(QGraphicsItem::Extension extension) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "supportsExtension"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&extension}; - 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("supportsExtension", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsWidget::supportsExtension(extension); -} -void PythonQtShell_QGraphicsWidget::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; - } -} - QGraphicsWidget::timerEvent(arg__1); -} -int PythonQtShell_QGraphicsWidget::type() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "type"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsWidget::type(); -} -void PythonQtShell_QGraphicsWidget::ungrabKeyboardEvent(QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "ungrabKeyboardEvent"); - 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; - } -} - QGraphicsWidget::ungrabKeyboardEvent(event); -} -void PythonQtShell_QGraphicsWidget::ungrabMouseEvent(QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "ungrabMouseEvent"); - 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; - } -} - QGraphicsWidget::ungrabMouseEvent(event); -} -void PythonQtShell_QGraphicsWidget::updateGeometry() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateGeometry"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGraphicsWidget::updateGeometry(); -} -void PythonQtShell_QGraphicsWidget::wheelEvent(QGraphicsSceneWheelEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; - 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; - } -} - QGraphicsWidget::wheelEvent(event); -} -bool PythonQtShell_QGraphicsWidget::windowFrameEvent(QEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "windowFrameEvent"); - 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("windowFrameEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsWidget::windowFrameEvent(e); -} -Qt::WindowFrameSection PythonQtShell_QGraphicsWidget::windowFrameSectionAt(const QPointF& pos) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "windowFrameSectionAt"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"Qt::WindowFrameSection" , "const QPointF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - Qt::WindowFrameSection returnValue; - void* args[2] = {NULL, (void*)&pos}; - 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("windowFrameSectionAt", methodInfo, result); - } else { - returnValue = *((Qt::WindowFrameSection*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGraphicsWidget::windowFrameSectionAt(pos); -} -QGraphicsWidget* PythonQtWrapper_QGraphicsWidget::new_QGraphicsWidget(QGraphicsItem* parent, Qt::WindowFlags wFlags) -{ -return new PythonQtShell_QGraphicsWidget(parent, wFlags); } - -Qt::FocusPolicy PythonQtWrapper_QGraphicsWidget::focusPolicy(QGraphicsWidget* theWrappedObject) const -{ - return ( theWrappedObject->focusPolicy()); -} - -bool PythonQtWrapper_QGraphicsWidget::testAttribute(QGraphicsWidget* theWrappedObject, Qt::WidgetAttribute attribute) const -{ - return ( theWrappedObject->testAttribute(attribute)); -} - -void PythonQtWrapper_QGraphicsWidget::resize(QGraphicsWidget* theWrappedObject, qreal w, qreal h) -{ - ( theWrappedObject->resize(w, h)); -} - -QPainterPath PythonQtWrapper_QGraphicsWidget::shape(QGraphicsWidget* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_shape()); -} - -void PythonQtWrapper_QGraphicsWidget::setLayoutDirection(QGraphicsWidget* theWrappedObject, Qt::LayoutDirection direction) -{ - ( theWrappedObject->setLayoutDirection(direction)); -} - -void PythonQtWrapper_QGraphicsWidget::paint(QGraphicsWidget* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) -{ - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_paint(painter, option, widget)); -} - -void PythonQtWrapper_QGraphicsWidget::showEvent(QGraphicsWidget* theWrappedObject, QShowEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_showEvent(event)); -} - -void PythonQtWrapper_QGraphicsWidget::updateGeometry(QGraphicsWidget* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_updateGeometry()); -} - -QSizeF PythonQtWrapper_QGraphicsWidget::sizeHint(QGraphicsWidget* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_sizeHint(which, constraint)); -} - -bool PythonQtWrapper_QGraphicsWidget::sceneEvent(QGraphicsWidget* theWrappedObject, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_sceneEvent(event)); -} - -Qt::WindowType PythonQtWrapper_QGraphicsWidget::windowType(QGraphicsWidget* theWrappedObject) const -{ - return ( theWrappedObject->windowType()); -} - -void PythonQtWrapper_QGraphicsWidget::ungrabKeyboardEvent(QGraphicsWidget* theWrappedObject, QEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_ungrabKeyboardEvent(event)); -} - -QStyle* PythonQtWrapper_QGraphicsWidget::style(QGraphicsWidget* theWrappedObject) const -{ - return ( theWrappedObject->style()); -} - -void PythonQtWrapper_QGraphicsWidget::setWindowFrameMargins(QGraphicsWidget* theWrappedObject, qreal left, qreal top, qreal right, qreal bottom) -{ - ( theWrappedObject->setWindowFrameMargins(left, top, right, bottom)); -} - -void PythonQtWrapper_QGraphicsWidget::setPalette(QGraphicsWidget* theWrappedObject, const QPalette& palette) -{ - ( theWrappedObject->setPalette(palette)); -} - -void PythonQtWrapper_QGraphicsWidget::paintWindowFrame(QGraphicsWidget* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) -{ - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_paintWindowFrame(painter, option, widget)); -} - -QGraphicsLayout* PythonQtWrapper_QGraphicsWidget::layout(QGraphicsWidget* theWrappedObject) const -{ - return ( theWrappedObject->layout()); -} - -QString PythonQtWrapper_QGraphicsWidget::windowTitle(QGraphicsWidget* theWrappedObject) const -{ - return ( theWrappedObject->windowTitle()); -} - -bool PythonQtWrapper_QGraphicsWidget::focusNextPrevChild(QGraphicsWidget* theWrappedObject, bool next) -{ - return ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_focusNextPrevChild(next)); -} - -QRectF PythonQtWrapper_QGraphicsWidget::rect(QGraphicsWidget* theWrappedObject) const -{ - return ( theWrappedObject->rect()); -} - -QRectF PythonQtWrapper_QGraphicsWidget::windowFrameRect(QGraphicsWidget* theWrappedObject) const -{ - return ( theWrappedObject->windowFrameRect()); -} - -bool PythonQtWrapper_QGraphicsWidget::isActiveWindow(QGraphicsWidget* theWrappedObject) const -{ - return ( theWrappedObject->isActiveWindow()); -} - -void PythonQtWrapper_QGraphicsWidget::changeEvent(QGraphicsWidget* theWrappedObject, QEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_changeEvent(event)); -} - -void PythonQtWrapper_QGraphicsWidget::getContentsMargins(QGraphicsWidget* theWrappedObject, qreal* left, qreal* top, qreal* right, qreal* bottom) const -{ - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_getContentsMargins(left, top, right, bottom)); -} - -QVariant PythonQtWrapper_QGraphicsWidget::itemChange(QGraphicsWidget* theWrappedObject, QGraphicsItem::GraphicsItemChange change, const QVariant& value) -{ - return ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_itemChange(change, value)); -} - -void PythonQtWrapper_QGraphicsWidget::resizeEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneResizeEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_resizeEvent(event)); -} - -void PythonQtWrapper_QGraphicsWidget::setWindowTitle(QGraphicsWidget* theWrappedObject, const QString& title) -{ - ( theWrappedObject->setWindowTitle(title)); -} - -void PythonQtWrapper_QGraphicsWidget::closeEvent(QGraphicsWidget* theWrappedObject, QCloseEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_closeEvent(event)); -} - -void PythonQtWrapper_QGraphicsWidget::polishEvent(QGraphicsWidget* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_polishEvent()); -} - -void PythonQtWrapper_QGraphicsWidget::hideEvent(QGraphicsWidget* theWrappedObject, QHideEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_hideEvent(event)); -} - -QPalette PythonQtWrapper_QGraphicsWidget::palette(QGraphicsWidget* theWrappedObject) const -{ - return ( theWrappedObject->palette()); -} - -void PythonQtWrapper_QGraphicsWidget::unsetWindowFrameMargins(QGraphicsWidget* theWrappedObject) -{ - ( theWrappedObject->unsetWindowFrameMargins()); -} - -bool PythonQtWrapper_QGraphicsWidget::windowFrameEvent(QGraphicsWidget* theWrappedObject, QEvent* e) -{ - return ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_windowFrameEvent(e)); -} - -void PythonQtWrapper_QGraphicsWidget::setGeometry(QGraphicsWidget* theWrappedObject, const QRectF& rect) -{ - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_setGeometry(rect)); -} - -void PythonQtWrapper_QGraphicsWidget::hoverLeaveEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneHoverEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_hoverLeaveEvent(event)); -} - -QRectF PythonQtWrapper_QGraphicsWidget::windowFrameGeometry(QGraphicsWidget* theWrappedObject) const -{ - return ( theWrappedObject->windowFrameGeometry()); -} - -void PythonQtWrapper_QGraphicsWidget::resize(QGraphicsWidget* theWrappedObject, const QSizeF& size) -{ - ( theWrappedObject->resize(size)); -} - -void PythonQtWrapper_QGraphicsWidget::setLayout(QGraphicsWidget* theWrappedObject, QGraphicsLayout* layout) -{ - ( theWrappedObject->setLayout(layout)); -} - -void PythonQtWrapper_QGraphicsWidget::grabKeyboardEvent(QGraphicsWidget* theWrappedObject, QEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_grabKeyboardEvent(event)); -} - -void PythonQtWrapper_QGraphicsWidget::setGeometry(QGraphicsWidget* theWrappedObject, qreal x, qreal y, qreal w, qreal h) -{ - ( theWrappedObject->setGeometry(x, y, w, h)); -} - -void PythonQtWrapper_QGraphicsWidget::ungrabMouseEvent(QGraphicsWidget* theWrappedObject, QEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_ungrabMouseEvent(event)); -} - -void PythonQtWrapper_QGraphicsWidget::setFont(QGraphicsWidget* theWrappedObject, const QFont& font) -{ - ( theWrappedObject->setFont(font)); -} - -QFont PythonQtWrapper_QGraphicsWidget::font(QGraphicsWidget* theWrappedObject) const -{ - return ( theWrappedObject->font()); -} - -void PythonQtWrapper_QGraphicsWidget::focusInEvent(QGraphicsWidget* theWrappedObject, QFocusEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_focusInEvent(event)); -} - -QSizeF PythonQtWrapper_QGraphicsWidget::size(QGraphicsWidget* theWrappedObject) const -{ - return ( theWrappedObject->size()); -} - -QRectF PythonQtWrapper_QGraphicsWidget::boundingRect(QGraphicsWidget* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_boundingRect()); -} - -void PythonQtWrapper_QGraphicsWidget::grabMouseEvent(QGraphicsWidget* theWrappedObject, QEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_grabMouseEvent(event)); -} - -void PythonQtWrapper_QGraphicsWidget::static_QGraphicsWidget_setTabOrder(QGraphicsWidget* first, QGraphicsWidget* second) -{ - (QGraphicsWidget::setTabOrder(first, second)); -} - -Qt::WindowFlags PythonQtWrapper_QGraphicsWidget::windowFlags(QGraphicsWidget* theWrappedObject) const -{ - return ( theWrappedObject->windowFlags()); -} - -void PythonQtWrapper_QGraphicsWidget::hoverMoveEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneHoverEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_hoverMoveEvent(event)); -} - -void PythonQtWrapper_QGraphicsWidget::setContentsMargins(QGraphicsWidget* theWrappedObject, qreal left, qreal top, qreal right, qreal bottom) -{ - ( theWrappedObject->setContentsMargins(left, top, right, bottom)); -} - -void PythonQtWrapper_QGraphicsWidget::moveEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneMoveEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_moveEvent(event)); -} - -void PythonQtWrapper_QGraphicsWidget::adjustSize(QGraphicsWidget* theWrappedObject) -{ - ( theWrappedObject->adjustSize()); -} - -void PythonQtWrapper_QGraphicsWidget::initStyleOption(QGraphicsWidget* theWrappedObject, QStyleOption* option) const -{ - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_initStyleOption(option)); -} - -Qt::LayoutDirection PythonQtWrapper_QGraphicsWidget::layoutDirection(QGraphicsWidget* theWrappedObject) const -{ - return ( theWrappedObject->layoutDirection()); -} - -void PythonQtWrapper_QGraphicsWidget::setStyle(QGraphicsWidget* theWrappedObject, QStyle* style) -{ - ( theWrappedObject->setStyle(style)); -} - -Qt::WindowFrameSection PythonQtWrapper_QGraphicsWidget::windowFrameSectionAt(QGraphicsWidget* theWrappedObject, const QPointF& pos) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_windowFrameSectionAt(pos)); -} - -QVariant PythonQtWrapper_QGraphicsWidget::propertyChange(QGraphicsWidget* theWrappedObject, const QString& propertyName, const QVariant& value) -{ - return ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_propertyChange(propertyName, value)); -} - -void PythonQtWrapper_QGraphicsWidget::focusOutEvent(QGraphicsWidget* theWrappedObject, QFocusEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_focusOutEvent(event)); -} - -void PythonQtWrapper_QGraphicsWidget::setFocusPolicy(QGraphicsWidget* theWrappedObject, Qt::FocusPolicy policy) -{ - ( theWrappedObject->setFocusPolicy(policy)); -} - -QGraphicsWidget* PythonQtWrapper_QGraphicsWidget::focusWidget(QGraphicsWidget* theWrappedObject) const -{ - return ( theWrappedObject->focusWidget()); -} - -bool PythonQtWrapper_QGraphicsWidget::event(QGraphicsWidget* theWrappedObject, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_event(event)); -} - -void PythonQtWrapper_QGraphicsWidget::setAttribute(QGraphicsWidget* theWrappedObject, Qt::WidgetAttribute attribute, bool on) -{ - ( theWrappedObject->setAttribute(attribute, on)); -} - -int PythonQtWrapper_QGraphicsWidget::type(QGraphicsWidget* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_type()); -} - -void PythonQtWrapper_QGraphicsWidget::unsetLayoutDirection(QGraphicsWidget* theWrappedObject) -{ - ( theWrappedObject->unsetLayoutDirection()); -} - -void PythonQtWrapper_QGraphicsWidget::setWindowFlags(QGraphicsWidget* theWrappedObject, Qt::WindowFlags wFlags) -{ - ( theWrappedObject->setWindowFlags(wFlags)); -} - -void PythonQtWrapper_QGraphicsWidget::getWindowFrameMargins(QGraphicsWidget* theWrappedObject, qreal* left, qreal* top, qreal* right, qreal* bottom) const -{ - ( theWrappedObject->getWindowFrameMargins(left, top, right, bottom)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsWidget.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsWidget.h deleted file mode 100644 index 086957d..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGraphicsWidget.h +++ /dev/null @@ -1,221 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QGRAPHICSWIDGET_H -#define PYTHONQTWRAPPER_QGRAPHICSWIDGET_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QGraphicsWidget : public QGraphicsWidget -{ -public: - PythonQtShell_QGraphicsWidget(QGraphicsItem* parent = 0, Qt::WindowFlags wFlags = 0):QGraphicsWidget(parent, wFlags),_wrapper(NULL) {}; - -virtual void advance(int phase); -virtual QRectF boundingRect() const; -virtual void changeEvent(QEvent* event); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEvent(QCloseEvent* event); -virtual bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode) const; -virtual bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode) const; -virtual bool contains(const QPointF& point) const; -virtual void contextMenuEvent(QGraphicsSceneContextMenuEvent* event); -virtual void customEvent(QEvent* arg__1); -virtual void dragEnterEvent(QGraphicsSceneDragDropEvent* event); -virtual void dragLeaveEvent(QGraphicsSceneDragDropEvent* event); -virtual void dragMoveEvent(QGraphicsSceneDragDropEvent* event); -virtual void dropEvent(QGraphicsSceneDragDropEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual QVariant extension(const QVariant& variant) const; -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual void getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const; -virtual void grabKeyboardEvent(QEvent* event); -virtual void grabMouseEvent(QEvent* event); -virtual void hideEvent(QHideEvent* event); -virtual void hoverEnterEvent(QGraphicsSceneHoverEvent* event); -virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent* event); -virtual void hoverMoveEvent(QGraphicsSceneHoverEvent* event); -virtual void initStyleOption(QStyleOption* option) const; -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual bool isObscuredBy(const QGraphicsItem* item) const; -virtual QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value); -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event); -virtual void mouseMoveEvent(QGraphicsSceneMouseEvent* event); -virtual void mousePressEvent(QGraphicsSceneMouseEvent* event); -virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent* event); -virtual void moveEvent(QGraphicsSceneMoveEvent* event); -virtual QPainterPath opaqueArea() const; -virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = 0); -virtual void paintWindowFrame(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = 0); -virtual void polishEvent(); -virtual QVariant propertyChange(const QString& propertyName, const QVariant& value); -virtual void resizeEvent(QGraphicsSceneResizeEvent* event); -virtual bool sceneEvent(QEvent* event); -virtual bool sceneEventFilter(QGraphicsItem* watched, QEvent* event); -virtual void setExtension(QGraphicsItem::Extension extension, const QVariant& variant); -virtual void setGeometry(const QRectF& rect); -virtual QPainterPath shape() const; -virtual void showEvent(QShowEvent* event); -virtual QSizeF sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const; -virtual bool supportsExtension(QGraphicsItem::Extension extension) const; -virtual void timerEvent(QTimerEvent* arg__1); -virtual int type() const; -virtual void ungrabKeyboardEvent(QEvent* event); -virtual void ungrabMouseEvent(QEvent* event); -virtual void updateGeometry(); -virtual void wheelEvent(QGraphicsSceneWheelEvent* event); -virtual bool windowFrameEvent(QEvent* e); -virtual Qt::WindowFrameSection windowFrameSectionAt(const QPointF& pos) const; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QGraphicsWidget : public QGraphicsWidget -{ public: -inline QPainterPath promoted_shape() const { return QGraphicsWidget::shape(); } -inline void promoted_paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = 0) { QGraphicsWidget::paint(painter, option, widget); } -inline void promoted_showEvent(QShowEvent* event) { QGraphicsWidget::showEvent(event); } -inline void promoted_updateGeometry() { QGraphicsWidget::updateGeometry(); } -inline QSizeF promoted_sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const { return QGraphicsWidget::sizeHint(which, constraint); } -inline bool promoted_sceneEvent(QEvent* event) { return QGraphicsWidget::sceneEvent(event); } -inline void promoted_ungrabKeyboardEvent(QEvent* event) { QGraphicsWidget::ungrabKeyboardEvent(event); } -inline void promoted_paintWindowFrame(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = 0) { QGraphicsWidget::paintWindowFrame(painter, option, widget); } -inline bool promoted_focusNextPrevChild(bool next) { return QGraphicsWidget::focusNextPrevChild(next); } -inline void promoted_changeEvent(QEvent* event) { QGraphicsWidget::changeEvent(event); } -inline void promoted_getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const { QGraphicsWidget::getContentsMargins(left, top, right, bottom); } -inline QVariant promoted_itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) { return QGraphicsWidget::itemChange(change, value); } -inline void promoted_resizeEvent(QGraphicsSceneResizeEvent* event) { QGraphicsWidget::resizeEvent(event); } -inline void promoted_closeEvent(QCloseEvent* event) { QGraphicsWidget::closeEvent(event); } -inline void promoted_polishEvent() { QGraphicsWidget::polishEvent(); } -inline void promoted_hideEvent(QHideEvent* event) { QGraphicsWidget::hideEvent(event); } -inline bool promoted_windowFrameEvent(QEvent* e) { return QGraphicsWidget::windowFrameEvent(e); } -inline void promoted_setGeometry(const QRectF& rect) { QGraphicsWidget::setGeometry(rect); } -inline void promoted_hoverLeaveEvent(QGraphicsSceneHoverEvent* event) { QGraphicsWidget::hoverLeaveEvent(event); } -inline void promoted_grabKeyboardEvent(QEvent* event) { QGraphicsWidget::grabKeyboardEvent(event); } -inline void promoted_ungrabMouseEvent(QEvent* event) { QGraphicsWidget::ungrabMouseEvent(event); } -inline void promoted_focusInEvent(QFocusEvent* event) { QGraphicsWidget::focusInEvent(event); } -inline QRectF promoted_boundingRect() const { return QGraphicsWidget::boundingRect(); } -inline void promoted_grabMouseEvent(QEvent* event) { QGraphicsWidget::grabMouseEvent(event); } -inline void promoted_hoverMoveEvent(QGraphicsSceneHoverEvent* event) { QGraphicsWidget::hoverMoveEvent(event); } -inline void promoted_moveEvent(QGraphicsSceneMoveEvent* event) { QGraphicsWidget::moveEvent(event); } -inline void promoted_initStyleOption(QStyleOption* option) const { QGraphicsWidget::initStyleOption(option); } -inline Qt::WindowFrameSection promoted_windowFrameSectionAt(const QPointF& pos) const { return QGraphicsWidget::windowFrameSectionAt(pos); } -inline QVariant promoted_propertyChange(const QString& propertyName, const QVariant& value) { return QGraphicsWidget::propertyChange(propertyName, value); } -inline void promoted_focusOutEvent(QFocusEvent* event) { QGraphicsWidget::focusOutEvent(event); } -inline bool promoted_event(QEvent* event) { return QGraphicsWidget::event(event); } -inline int promoted_type() const { return QGraphicsWidget::type(); } -}; - -class PythonQtWrapper_QGraphicsWidget : public QObject -{ Q_OBJECT -public: -Q_ENUMS(enum_1 ) -enum enum_1{ - Type = QGraphicsWidget::Type}; -public slots: -QGraphicsWidget* new_QGraphicsWidget(QGraphicsItem* parent = 0, Qt::WindowFlags wFlags = 0); -void delete_QGraphicsWidget(QGraphicsWidget* obj) { delete obj; } - Qt::FocusPolicy focusPolicy(QGraphicsWidget* theWrappedObject) const; - bool testAttribute(QGraphicsWidget* theWrappedObject, Qt::WidgetAttribute attribute) const; - void resize(QGraphicsWidget* theWrappedObject, qreal w, qreal h); - QPainterPath shape(QGraphicsWidget* theWrappedObject) const; - void setLayoutDirection(QGraphicsWidget* theWrappedObject, Qt::LayoutDirection direction); - void paint(QGraphicsWidget* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = 0); - void showEvent(QGraphicsWidget* theWrappedObject, QShowEvent* event); - void updateGeometry(QGraphicsWidget* theWrappedObject); - QSizeF sizeHint(QGraphicsWidget* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const; - bool sceneEvent(QGraphicsWidget* theWrappedObject, QEvent* event); - Qt::WindowType windowType(QGraphicsWidget* theWrappedObject) const; - void ungrabKeyboardEvent(QGraphicsWidget* theWrappedObject, QEvent* event); - QStyle* style(QGraphicsWidget* theWrappedObject) const; - void setWindowFrameMargins(QGraphicsWidget* theWrappedObject, qreal left, qreal top, qreal right, qreal bottom); - void setPalette(QGraphicsWidget* theWrappedObject, const QPalette& palette); - void paintWindowFrame(QGraphicsWidget* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = 0); - QGraphicsLayout* layout(QGraphicsWidget* theWrappedObject) const; - QString windowTitle(QGraphicsWidget* theWrappedObject) const; - bool focusNextPrevChild(QGraphicsWidget* theWrappedObject, bool next); - QRectF rect(QGraphicsWidget* theWrappedObject) const; - QRectF windowFrameRect(QGraphicsWidget* theWrappedObject) const; - bool isActiveWindow(QGraphicsWidget* theWrappedObject) const; - void changeEvent(QGraphicsWidget* theWrappedObject, QEvent* event); - void getContentsMargins(QGraphicsWidget* theWrappedObject, qreal* left, qreal* top, qreal* right, qreal* bottom) const; - QVariant itemChange(QGraphicsWidget* theWrappedObject, QGraphicsItem::GraphicsItemChange change, const QVariant& value); - void resizeEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneResizeEvent* event); - void setWindowTitle(QGraphicsWidget* theWrappedObject, const QString& title); - void closeEvent(QGraphicsWidget* theWrappedObject, QCloseEvent* event); - void polishEvent(QGraphicsWidget* theWrappedObject); - void hideEvent(QGraphicsWidget* theWrappedObject, QHideEvent* event); - QPalette palette(QGraphicsWidget* theWrappedObject) const; - void unsetWindowFrameMargins(QGraphicsWidget* theWrappedObject); - bool windowFrameEvent(QGraphicsWidget* theWrappedObject, QEvent* e); - void setGeometry(QGraphicsWidget* theWrappedObject, const QRectF& rect); - void hoverLeaveEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneHoverEvent* event); - QRectF windowFrameGeometry(QGraphicsWidget* theWrappedObject) const; - void resize(QGraphicsWidget* theWrappedObject, const QSizeF& size); - void setLayout(QGraphicsWidget* theWrappedObject, QGraphicsLayout* layout); - void grabKeyboardEvent(QGraphicsWidget* theWrappedObject, QEvent* event); - void setGeometry(QGraphicsWidget* theWrappedObject, qreal x, qreal y, qreal w, qreal h); - void ungrabMouseEvent(QGraphicsWidget* theWrappedObject, QEvent* event); - void setFont(QGraphicsWidget* theWrappedObject, const QFont& font); - QFont font(QGraphicsWidget* theWrappedObject) const; - void focusInEvent(QGraphicsWidget* theWrappedObject, QFocusEvent* event); - QSizeF size(QGraphicsWidget* theWrappedObject) const; - QRectF boundingRect(QGraphicsWidget* theWrappedObject) const; - void grabMouseEvent(QGraphicsWidget* theWrappedObject, QEvent* event); - void static_QGraphicsWidget_setTabOrder(QGraphicsWidget* first, QGraphicsWidget* second); - Qt::WindowFlags windowFlags(QGraphicsWidget* theWrappedObject) const; - void hoverMoveEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneHoverEvent* event); - void setContentsMargins(QGraphicsWidget* theWrappedObject, qreal left, qreal top, qreal right, qreal bottom); - void moveEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneMoveEvent* event); - void adjustSize(QGraphicsWidget* theWrappedObject); - void initStyleOption(QGraphicsWidget* theWrappedObject, QStyleOption* option) const; - Qt::LayoutDirection layoutDirection(QGraphicsWidget* theWrappedObject) const; - void setStyle(QGraphicsWidget* theWrappedObject, QStyle* style); - Qt::WindowFrameSection windowFrameSectionAt(QGraphicsWidget* theWrappedObject, const QPointF& pos) const; - QVariant propertyChange(QGraphicsWidget* theWrappedObject, const QString& propertyName, const QVariant& value); - void focusOutEvent(QGraphicsWidget* theWrappedObject, QFocusEvent* event); - void setFocusPolicy(QGraphicsWidget* theWrappedObject, Qt::FocusPolicy policy); - QGraphicsWidget* focusWidget(QGraphicsWidget* theWrappedObject) const; - bool event(QGraphicsWidget* theWrappedObject, QEvent* event); - void setAttribute(QGraphicsWidget* theWrappedObject, Qt::WidgetAttribute attribute, bool on = true); - int type(QGraphicsWidget* theWrappedObject) const; - void unsetLayoutDirection(QGraphicsWidget* theWrappedObject); - void setWindowFlags(QGraphicsWidget* theWrappedObject, Qt::WindowFlags wFlags); - void getWindowFrameMargins(QGraphicsWidget* theWrappedObject, qreal* left, qreal* top, qreal* right, qreal* bottom) const; -}; - -#endif // PYTHONQTWRAPPER_QGRAPHICSWIDGET_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGridLayout.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGridLayout.cpp deleted file mode 100644 index e24d13b..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGridLayout.cpp +++ /dev/null @@ -1,663 +0,0 @@ -#include "PythonQtWrapper_QGridLayout.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QGridLayout::addItem(QLayoutItem* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "addItem"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QLayoutItem*"}; - 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; - } -} - QGridLayout::addItem(arg__1); -} -void PythonQtShell_QGridLayout::childEvent(QChildEvent* e) -{ -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*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGridLayout::childEvent(e); -} -int PythonQtShell_QGridLayout::count() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "count"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGridLayout::count(); -} -void PythonQtShell_QGridLayout::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; - } -} - QGridLayout::customEvent(arg__1); -} -bool PythonQtShell_QGridLayout::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGridLayout::event(arg__1); -} -bool PythonQtShell_QGridLayout::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGridLayout::eventFilter(arg__1, arg__2); -} -Qt::Orientations PythonQtShell_QGridLayout::expandingDirections() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "expandingDirections"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"Qt::Orientations"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::Orientations returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); - } else { - returnValue = *((Qt::Orientations*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGridLayout::expandingDirections(); -} -QRect PythonQtShell_QGridLayout::geometry() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "geometry"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QRect"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRect returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGridLayout::geometry(); -} -int PythonQtShell_QGridLayout::indexOf(QWidget* arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "indexOf"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("indexOf", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGridLayout::indexOf(arg__1); -} -void PythonQtShell_QGridLayout::invalidate() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "invalidate"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGridLayout::invalidate(); -} -bool PythonQtShell_QGridLayout::isEmpty() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isEmpty"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGridLayout::isEmpty(); -} -QLayoutItem* PythonQtShell_QGridLayout::itemAt(int index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemAt"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QLayoutItem*" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QLayoutItem* 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) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); - } else { - returnValue = *((QLayoutItem**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGridLayout::itemAt(index); -} -QLayout* PythonQtShell_QGridLayout::layout() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "layout"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QLayout*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QLayout* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("layout", methodInfo, result); - } else { - returnValue = *((QLayout**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGridLayout::layout(); -} -QSize PythonQtShell_QGridLayout::maximumSize() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "maximumSize"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGridLayout::maximumSize(); -} -QSize PythonQtShell_QGridLayout::minimumSize() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "minimumSize"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGridLayout::minimumSize(); -} -void PythonQtShell_QGridLayout::setGeometry(const QRect& arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setGeometry"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QRect&"}; - 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; - } -} - QGridLayout::setGeometry(arg__1); -} -QLayoutItem* PythonQtShell_QGridLayout::takeAt(int index) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "takeAt"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QLayoutItem*" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QLayoutItem* 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) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("takeAt", methodInfo, result); - } else { - returnValue = *((QLayoutItem**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGridLayout::takeAt(index); -} -void PythonQtShell_QGridLayout::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; - } -} - QGridLayout::timerEvent(arg__1); -} -QGridLayout* PythonQtWrapper_QGridLayout::new_QGridLayout() -{ -return new PythonQtShell_QGridLayout(); } - -QGridLayout* PythonQtWrapper_QGridLayout::new_QGridLayout(QWidget* parent) -{ -return new PythonQtShell_QGridLayout(parent); } - -void PythonQtWrapper_QGridLayout::setGeometry(QGridLayout* theWrappedObject, const QRect& arg__1) -{ - ( ((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->promoted_setGeometry(arg__1)); -} - -int PythonQtWrapper_QGridLayout::rowCount(QGridLayout* theWrappedObject) const -{ - return ( theWrappedObject->rowCount()); -} - -int PythonQtWrapper_QGridLayout::heightForWidth(QGridLayout* theWrappedObject, int arg__1) const -{ - return ( theWrappedObject->heightForWidth(arg__1)); -} - -QSize PythonQtWrapper_QGridLayout::minimumSize(QGridLayout* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->promoted_minimumSize()); -} - -int PythonQtWrapper_QGridLayout::spacing(QGridLayout* theWrappedObject) const -{ - return ( theWrappedObject->spacing()); -} - -QLayoutItem* PythonQtWrapper_QGridLayout::itemAt(QGridLayout* theWrappedObject, int index) const -{ - return ( ((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->promoted_itemAt(index)); -} - -void PythonQtWrapper_QGridLayout::setColumnStretch(QGridLayout* theWrappedObject, int column, int stretch) -{ - ( theWrappedObject->setColumnStretch(column, stretch)); -} - -int PythonQtWrapper_QGridLayout::rowMinimumHeight(QGridLayout* theWrappedObject, int row) const -{ - return ( theWrappedObject->rowMinimumHeight(row)); -} - -void PythonQtWrapper_QGridLayout::addWidget(QGridLayout* theWrappedObject, QWidget* arg__1, int row, int column, Qt::Alignment arg__4) -{ - ( theWrappedObject->addWidget(arg__1, row, column, arg__4)); -} - -QLayoutItem* PythonQtWrapper_QGridLayout::takeAt(QGridLayout* theWrappedObject, int index) -{ - return ( ((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->promoted_takeAt(index)); -} - -void PythonQtWrapper_QGridLayout::setColumnMinimumWidth(QGridLayout* theWrappedObject, int column, int minSize) -{ - ( theWrappedObject->setColumnMinimumWidth(column, minSize)); -} - -QSize PythonQtWrapper_QGridLayout::sizeHint(QGridLayout* theWrappedObject) const -{ - return ( theWrappedObject->sizeHint()); -} - -void PythonQtWrapper_QGridLayout::setRowMinimumHeight(QGridLayout* theWrappedObject, int row, int minSize) -{ - ( theWrappedObject->setRowMinimumHeight(row, minSize)); -} - -void PythonQtWrapper_QGridLayout::invalidate(QGridLayout* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->promoted_invalidate()); -} - -void PythonQtWrapper_QGridLayout::setOriginCorner(QGridLayout* theWrappedObject, Qt::Corner arg__1) -{ - ( theWrappedObject->setOriginCorner(arg__1)); -} - -int PythonQtWrapper_QGridLayout::horizontalSpacing(QGridLayout* theWrappedObject) const -{ - return ( theWrappedObject->horizontalSpacing()); -} - -int PythonQtWrapper_QGridLayout::columnStretch(QGridLayout* theWrappedObject, int column) const -{ - return ( theWrappedObject->columnStretch(column)); -} - -Qt::Corner PythonQtWrapper_QGridLayout::originCorner(QGridLayout* theWrappedObject) const -{ - return ( theWrappedObject->originCorner()); -} - -int PythonQtWrapper_QGridLayout::verticalSpacing(QGridLayout* theWrappedObject) const -{ - return ( theWrappedObject->verticalSpacing()); -} - -void PythonQtWrapper_QGridLayout::setRowStretch(QGridLayout* theWrappedObject, int row, int stretch) -{ - ( theWrappedObject->setRowStretch(row, stretch)); -} - -int PythonQtWrapper_QGridLayout::minimumHeightForWidth(QGridLayout* theWrappedObject, int arg__1) const -{ - return ( theWrappedObject->minimumHeightForWidth(arg__1)); -} - -void PythonQtWrapper_QGridLayout::setHorizontalSpacing(QGridLayout* theWrappedObject, int spacing) -{ - ( theWrappedObject->setHorizontalSpacing(spacing)); -} - -void PythonQtWrapper_QGridLayout::setVerticalSpacing(QGridLayout* theWrappedObject, int spacing) -{ - ( theWrappedObject->setVerticalSpacing(spacing)); -} - -QRect PythonQtWrapper_QGridLayout::cellRect(QGridLayout* theWrappedObject, int row, int column) const -{ - return ( theWrappedObject->cellRect(row, column)); -} - -void PythonQtWrapper_QGridLayout::setSpacing(QGridLayout* theWrappedObject, int spacing) -{ - ( theWrappedObject->setSpacing(spacing)); -} - -void PythonQtWrapper_QGridLayout::addLayout(QGridLayout* theWrappedObject, QLayout* arg__1, int row, int column, int rowSpan, int columnSpan, Qt::Alignment arg__6) -{ - ( theWrappedObject->addLayout(arg__1, row, column, rowSpan, columnSpan, arg__6)); -} - -int PythonQtWrapper_QGridLayout::rowStretch(QGridLayout* theWrappedObject, int row) const -{ - return ( theWrappedObject->rowStretch(row)); -} - -void PythonQtWrapper_QGridLayout::addWidget(QGridLayout* theWrappedObject, QWidget* arg__1, int row, int column, int rowSpan, int columnSpan, Qt::Alignment arg__6) -{ - ( theWrappedObject->addWidget(arg__1, row, column, rowSpan, columnSpan, arg__6)); -} - -bool PythonQtWrapper_QGridLayout::hasHeightForWidth(QGridLayout* theWrappedObject) const -{ - return ( theWrappedObject->hasHeightForWidth()); -} - -Qt::Orientations PythonQtWrapper_QGridLayout::expandingDirections(QGridLayout* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->promoted_expandingDirections()); -} - -void PythonQtWrapper_QGridLayout::setDefaultPositioning(QGridLayout* theWrappedObject, int n, Qt::Orientation orient) -{ - ( theWrappedObject->setDefaultPositioning(n, orient)); -} - -int PythonQtWrapper_QGridLayout::columnMinimumWidth(QGridLayout* theWrappedObject, int column) const -{ - return ( theWrappedObject->columnMinimumWidth(column)); -} - -void PythonQtWrapper_QGridLayout::addLayout(QGridLayout* theWrappedObject, QLayout* arg__1, int row, int column, Qt::Alignment arg__4) -{ - ( theWrappedObject->addLayout(arg__1, row, column, arg__4)); -} - -int PythonQtWrapper_QGridLayout::columnCount(QGridLayout* theWrappedObject) const -{ - return ( theWrappedObject->columnCount()); -} - -void PythonQtWrapper_QGridLayout::addItem(QGridLayout* theWrappedObject, QLayoutItem* item, int row, int column, int rowSpan, int columnSpan, Qt::Alignment arg__6) -{ - ( theWrappedObject->addItem(item, row, column, rowSpan, columnSpan, arg__6)); -} - -int PythonQtWrapper_QGridLayout::count(QGridLayout* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->promoted_count()); -} - -QSize PythonQtWrapper_QGridLayout::maximumSize(QGridLayout* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->promoted_maximumSize()); -} - -void PythonQtWrapper_QGridLayout::addItem(QGridLayout* theWrappedObject, QLayoutItem* arg__1) -{ - ( ((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->promoted_addItem(arg__1)); -} - -QLayoutItem* PythonQtWrapper_QGridLayout::itemAtPosition(QGridLayout* theWrappedObject, int row, int column) const -{ - return ( theWrappedObject->itemAtPosition(row, column)); -} - -void PythonQtWrapper_QGridLayout::getItemPosition(QGridLayout* theWrappedObject, int idx, int* row, int* column, int* rowSpan, int* columnSpan) -{ - ( theWrappedObject->getItemPosition(idx, row, column, rowSpan, columnSpan)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGridLayout.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGridLayout.h deleted file mode 100644 index 4263209..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGridLayout.h +++ /dev/null @@ -1,111 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QGRIDLAYOUT_H -#define PYTHONQTWRAPPER_QGRIDLAYOUT_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QGridLayout : public QGridLayout -{ -public: - PythonQtShell_QGridLayout():QGridLayout(),_wrapper(NULL) {}; - PythonQtShell_QGridLayout(QWidget* parent):QGridLayout(parent),_wrapper(NULL) {}; - -virtual void addItem(QLayoutItem* arg__1); -virtual void childEvent(QChildEvent* e); -virtual int count() const; -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual Qt::Orientations expandingDirections() const; -virtual QRect geometry() const; -virtual int indexOf(QWidget* arg__1) const; -virtual void invalidate(); -virtual bool isEmpty() const; -virtual QLayoutItem* itemAt(int index) const; -virtual QLayout* layout(); -virtual QSize maximumSize() const; -virtual QSize minimumSize() const; -virtual void setGeometry(const QRect& arg__1); -virtual QLayoutItem* takeAt(int index); -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QGridLayout : public QGridLayout -{ public: -inline void promoted_setGeometry(const QRect& arg__1) { QGridLayout::setGeometry(arg__1); } -inline QSize promoted_minimumSize() const { return QGridLayout::minimumSize(); } -inline QLayoutItem* promoted_itemAt(int index) const { return QGridLayout::itemAt(index); } -inline QLayoutItem* promoted_takeAt(int index) { return QGridLayout::takeAt(index); } -inline void promoted_invalidate() { QGridLayout::invalidate(); } -inline Qt::Orientations promoted_expandingDirections() const { return QGridLayout::expandingDirections(); } -inline int promoted_count() const { return QGridLayout::count(); } -inline QSize promoted_maximumSize() const { return QGridLayout::maximumSize(); } -inline void promoted_addItem(QLayoutItem* arg__1) { QGridLayout::addItem(arg__1); } -}; - -class PythonQtWrapper_QGridLayout : public QObject -{ Q_OBJECT -public: -public slots: -QGridLayout* new_QGridLayout(); -QGridLayout* new_QGridLayout(QWidget* parent); -void delete_QGridLayout(QGridLayout* obj) { delete obj; } - void setGeometry(QGridLayout* theWrappedObject, const QRect& arg__1); - int rowCount(QGridLayout* theWrappedObject) const; - int heightForWidth(QGridLayout* theWrappedObject, int arg__1) const; - QSize minimumSize(QGridLayout* theWrappedObject) const; - int spacing(QGridLayout* theWrappedObject) const; - QLayoutItem* itemAt(QGridLayout* theWrappedObject, int index) const; - void setColumnStretch(QGridLayout* theWrappedObject, int column, int stretch); - int rowMinimumHeight(QGridLayout* theWrappedObject, int row) const; - void addWidget(QGridLayout* theWrappedObject, QWidget* arg__1, int row, int column, Qt::Alignment arg__4 = 0); - QLayoutItem* takeAt(QGridLayout* theWrappedObject, int index); - void setColumnMinimumWidth(QGridLayout* theWrappedObject, int column, int minSize); - QSize sizeHint(QGridLayout* theWrappedObject) const; - void setRowMinimumHeight(QGridLayout* theWrappedObject, int row, int minSize); - void invalidate(QGridLayout* theWrappedObject); - void setOriginCorner(QGridLayout* theWrappedObject, Qt::Corner arg__1); - int horizontalSpacing(QGridLayout* theWrappedObject) const; - int columnStretch(QGridLayout* theWrappedObject, int column) const; - Qt::Corner originCorner(QGridLayout* theWrappedObject) const; - int verticalSpacing(QGridLayout* theWrappedObject) const; - void setRowStretch(QGridLayout* theWrappedObject, int row, int stretch); - int minimumHeightForWidth(QGridLayout* theWrappedObject, int arg__1) const; - void setHorizontalSpacing(QGridLayout* theWrappedObject, int spacing); - void setVerticalSpacing(QGridLayout* theWrappedObject, int spacing); - QRect cellRect(QGridLayout* theWrappedObject, int row, int column) const; - void setSpacing(QGridLayout* theWrappedObject, int spacing); - void addLayout(QGridLayout* theWrappedObject, QLayout* arg__1, int row, int column, int rowSpan, int columnSpan, Qt::Alignment arg__6 = 0); - int rowStretch(QGridLayout* theWrappedObject, int row) const; - void addWidget(QGridLayout* theWrappedObject, QWidget* arg__1, int row, int column, int rowSpan, int columnSpan, Qt::Alignment arg__6 = 0); - bool hasHeightForWidth(QGridLayout* theWrappedObject) const; - Qt::Orientations expandingDirections(QGridLayout* theWrappedObject) const; - void setDefaultPositioning(QGridLayout* theWrappedObject, int n, Qt::Orientation orient); - int columnMinimumWidth(QGridLayout* theWrappedObject, int column) const; - void addLayout(QGridLayout* theWrappedObject, QLayout* arg__1, int row, int column, Qt::Alignment arg__4 = 0); - int columnCount(QGridLayout* theWrappedObject) const; - void addItem(QGridLayout* theWrappedObject, QLayoutItem* item, int row, int column, int rowSpan = 1, int columnSpan = 1, Qt::Alignment arg__6 = 0); - int count(QGridLayout* theWrappedObject) const; - QSize maximumSize(QGridLayout* theWrappedObject) const; - void addItem(QGridLayout* theWrappedObject, QLayoutItem* arg__1); - QLayoutItem* itemAtPosition(QGridLayout* theWrappedObject, int row, int column) const; - void getItemPosition(QGridLayout* theWrappedObject, int idx, int* row, int* column, int* rowSpan, int* columnSpan); -}; - -#endif // PYTHONQTWRAPPER_QGRIDLAYOUT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGroupBox.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGroupBox.cpp deleted file mode 100644 index 1ce2728..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGroupBox.cpp +++ /dev/null @@ -1,899 +0,0 @@ -#include "PythonQtWrapper_QGroupBox.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QGroupBox::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QGroupBox::actionEvent(arg__1); -} -void PythonQtShell_QGroupBox::changeEvent(QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGroupBox::changeEvent(event); -} -void PythonQtShell_QGroupBox::childEvent(QChildEvent* event) -{ -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*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGroupBox::childEvent(event); -} -void PythonQtShell_QGroupBox::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QGroupBox::closeEvent(arg__1); -} -void PythonQtShell_QGroupBox::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGroupBox::contextMenuEvent(arg__1); -} -void PythonQtShell_QGroupBox::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; - } -} - QGroupBox::customEvent(arg__1); -} -int PythonQtShell_QGroupBox::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGroupBox::devType(); -} -void PythonQtShell_QGroupBox::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QGroupBox::dragEnterEvent(arg__1); -} -void PythonQtShell_QGroupBox::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QGroupBox::dragLeaveEvent(arg__1); -} -void PythonQtShell_QGroupBox::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QGroupBox::dragMoveEvent(arg__1); -} -void PythonQtShell_QGroupBox::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QGroupBox::dropEvent(arg__1); -} -void PythonQtShell_QGroupBox::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QGroupBox::enterEvent(arg__1); -} -bool PythonQtShell_QGroupBox::event(QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGroupBox::event(event); -} -bool PythonQtShell_QGroupBox::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGroupBox::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QGroupBox::focusInEvent(QFocusEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QGroupBox::focusInEvent(event); -} -bool PythonQtShell_QGroupBox::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGroupBox::focusNextPrevChild(next); -} -void PythonQtShell_QGroupBox::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QGroupBox::focusOutEvent(arg__1); -} -int PythonQtShell_QGroupBox::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGroupBox::heightForWidth(arg__1); -} -void PythonQtShell_QGroupBox::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QGroupBox::hideEvent(arg__1); -} -void PythonQtShell_QGroupBox::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QGroupBox::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QGroupBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGroupBox::inputMethodQuery(arg__1); -} -void PythonQtShell_QGroupBox::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGroupBox::keyPressEvent(arg__1); -} -void PythonQtShell_QGroupBox::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGroupBox::keyReleaseEvent(arg__1); -} -void PythonQtShell_QGroupBox::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGroupBox::languageChange(); -} -void PythonQtShell_QGroupBox::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QGroupBox::leaveEvent(arg__1); -} -int PythonQtShell_QGroupBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGroupBox::metric(arg__1); -} -void PythonQtShell_QGroupBox::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QGroupBox::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QGroupBox::mouseMoveEvent(QMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QGroupBox::mouseMoveEvent(event); -} -void PythonQtShell_QGroupBox::mousePressEvent(QMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QGroupBox::mousePressEvent(event); -} -void PythonQtShell_QGroupBox::mouseReleaseEvent(QMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QGroupBox::mouseReleaseEvent(event); -} -void PythonQtShell_QGroupBox::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGroupBox::moveEvent(arg__1); -} -QPaintEngine* PythonQtShell_QGroupBox::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGroupBox::paintEngine(); -} -void PythonQtShell_QGroupBox::paintEvent(QPaintEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - 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; - } -} - QGroupBox::paintEvent(event); -} -void PythonQtShell_QGroupBox::resizeEvent(QResizeEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - 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; - } -} - QGroupBox::resizeEvent(event); -} -void PythonQtShell_QGroupBox::showEvent(QShowEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QGroupBox::showEvent(arg__1); -} -QSize PythonQtShell_QGroupBox::sizeHint() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getSizeHint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGroupBox::sizeHint(); -} -void PythonQtShell_QGroupBox::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QGroupBox::tabletEvent(arg__1); -} -void PythonQtShell_QGroupBox::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; - } -} - QGroupBox::timerEvent(arg__1); -} -void PythonQtShell_QGroupBox::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGroupBox::wheelEvent(arg__1); -} -QGroupBox* PythonQtWrapper_QGroupBox::new_QGroupBox(QWidget* parent) -{ -return new PythonQtShell_QGroupBox(parent); } - -QGroupBox* PythonQtWrapper_QGroupBox::new_QGroupBox(const QString& title, QWidget* parent) -{ -return new PythonQtShell_QGroupBox(title, parent); } - -void PythonQtWrapper_QGroupBox::setFlat(QGroupBox* theWrappedObject, bool flat) -{ - ( theWrappedObject->setFlat(flat)); -} - -bool PythonQtWrapper_QGroupBox::isChecked(QGroupBox* theWrappedObject) const -{ - return ( theWrappedObject->isChecked()); -} - -bool PythonQtWrapper_QGroupBox::isCheckable(QGroupBox* theWrappedObject) const -{ - return ( theWrappedObject->isCheckable()); -} - -bool PythonQtWrapper_QGroupBox::event(QGroupBox* theWrappedObject, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QGroupBox*)theWrappedObject)->promoted_event(event)); -} - -void PythonQtWrapper_QGroupBox::setTitle(QGroupBox* theWrappedObject, const QString& title) -{ - ( theWrappedObject->setTitle(title)); -} - -Qt::Alignment PythonQtWrapper_QGroupBox::alignment(QGroupBox* theWrappedObject) const -{ - return ( theWrappedObject->alignment()); -} - -void PythonQtWrapper_QGroupBox::paintEvent(QGroupBox* theWrappedObject, QPaintEvent* event) -{ - ( ((PythonQtPublicPromoter_QGroupBox*)theWrappedObject)->promoted_paintEvent(event)); -} - -bool PythonQtWrapper_QGroupBox::isFlat(QGroupBox* theWrappedObject) const -{ - return ( theWrappedObject->isFlat()); -} - -void PythonQtWrapper_QGroupBox::setAlignment(QGroupBox* theWrappedObject, int alignment) -{ - ( theWrappedObject->setAlignment(alignment)); -} - -void PythonQtWrapper_QGroupBox::changeEvent(QGroupBox* theWrappedObject, QEvent* event) -{ - ( ((PythonQtPublicPromoter_QGroupBox*)theWrappedObject)->promoted_changeEvent(event)); -} - -QString PythonQtWrapper_QGroupBox::title(QGroupBox* theWrappedObject) const -{ - return ( theWrappedObject->title()); -} - -QSize PythonQtWrapper_QGroupBox::minimumSizeHint(QGroupBox* theWrappedObject) const -{ - return ( theWrappedObject->minimumSizeHint()); -} - -void PythonQtWrapper_QGroupBox::resizeEvent(QGroupBox* theWrappedObject, QResizeEvent* event) -{ - ( ((PythonQtPublicPromoter_QGroupBox*)theWrappedObject)->promoted_resizeEvent(event)); -} - -void PythonQtWrapper_QGroupBox::mouseReleaseEvent(QGroupBox* theWrappedObject, QMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QGroupBox*)theWrappedObject)->promoted_mouseReleaseEvent(event)); -} - -void PythonQtWrapper_QGroupBox::mousePressEvent(QGroupBox* theWrappedObject, QMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QGroupBox*)theWrappedObject)->promoted_mousePressEvent(event)); -} - -void PythonQtWrapper_QGroupBox::focusInEvent(QGroupBox* theWrappedObject, QFocusEvent* event) -{ - ( ((PythonQtPublicPromoter_QGroupBox*)theWrappedObject)->promoted_focusInEvent(event)); -} - -void PythonQtWrapper_QGroupBox::setCheckable(QGroupBox* theWrappedObject, bool checkable) -{ - ( theWrappedObject->setCheckable(checkable)); -} - -void PythonQtWrapper_QGroupBox::mouseMoveEvent(QGroupBox* theWrappedObject, QMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QGroupBox*)theWrappedObject)->promoted_mouseMoveEvent(event)); -} - -void PythonQtWrapper_QGroupBox::childEvent(QGroupBox* theWrappedObject, QChildEvent* event) -{ - ( ((PythonQtPublicPromoter_QGroupBox*)theWrappedObject)->promoted_childEvent(event)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGroupBox.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGroupBox.h deleted file mode 100644 index 1a83c8b..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QGroupBox.h +++ /dev/null @@ -1,128 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QGROUPBOX_H -#define PYTHONQTWRAPPER_QGROUPBOX_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QGroupBox : public QGroupBox -{ -public: - PythonQtShell_QGroupBox(QWidget* parent = 0):QGroupBox(parent),_wrapper(NULL) {}; - PythonQtShell_QGroupBox(const QString& title, QWidget* parent = 0):QGroupBox(title, parent),_wrapper(NULL) {}; - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* event); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* arg__1); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual void resizeEvent(QResizeEvent* event); -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QGroupBox : public QGroupBox -{ public: -inline bool promoted_event(QEvent* event) { return QGroupBox::event(event); } -inline void promoted_paintEvent(QPaintEvent* event) { QGroupBox::paintEvent(event); } -inline void promoted_changeEvent(QEvent* event) { QGroupBox::changeEvent(event); } -inline void promoted_resizeEvent(QResizeEvent* event) { QGroupBox::resizeEvent(event); } -inline void promoted_mouseReleaseEvent(QMouseEvent* event) { QGroupBox::mouseReleaseEvent(event); } -inline void promoted_mousePressEvent(QMouseEvent* event) { QGroupBox::mousePressEvent(event); } -inline void promoted_focusInEvent(QFocusEvent* event) { QGroupBox::focusInEvent(event); } -inline void promoted_mouseMoveEvent(QMouseEvent* event) { QGroupBox::mouseMoveEvent(event); } -inline void promoted_childEvent(QChildEvent* event) { QGroupBox::childEvent(event); } -}; - -class PythonQtWrapper_QGroupBox : public QObject -{ Q_OBJECT -public: -public slots: -QGroupBox* new_QGroupBox(QWidget* parent = 0); -QGroupBox* new_QGroupBox(const QString& title, QWidget* parent = 0); -void delete_QGroupBox(QGroupBox* obj) { delete obj; } - void setFlat(QGroupBox* theWrappedObject, bool flat); - bool isChecked(QGroupBox* theWrappedObject) const; - bool isCheckable(QGroupBox* theWrappedObject) const; - bool event(QGroupBox* theWrappedObject, QEvent* event); - void setTitle(QGroupBox* theWrappedObject, const QString& title); - Qt::Alignment alignment(QGroupBox* theWrappedObject) const; - void paintEvent(QGroupBox* theWrappedObject, QPaintEvent* event); - bool isFlat(QGroupBox* theWrappedObject) const; - void setAlignment(QGroupBox* theWrappedObject, int alignment); - void changeEvent(QGroupBox* theWrappedObject, QEvent* event); - QString title(QGroupBox* theWrappedObject) const; - QSize minimumSizeHint(QGroupBox* theWrappedObject) const; - void resizeEvent(QGroupBox* theWrappedObject, QResizeEvent* event); - void mouseReleaseEvent(QGroupBox* theWrappedObject, QMouseEvent* event); - void mousePressEvent(QGroupBox* theWrappedObject, QMouseEvent* event); - void focusInEvent(QGroupBox* theWrappedObject, QFocusEvent* event); - void setCheckable(QGroupBox* theWrappedObject, bool checkable); - void mouseMoveEvent(QGroupBox* theWrappedObject, QMouseEvent* event); - void childEvent(QGroupBox* theWrappedObject, QChildEvent* event); -}; - -#endif // PYTHONQTWRAPPER_QGROUPBOX_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QHBoxLayout.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QHBoxLayout.cpp deleted file mode 100644 index a7a9a1e..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QHBoxLayout.cpp +++ /dev/null @@ -1,463 +0,0 @@ -#include "PythonQtWrapper_QHBoxLayout.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QHBoxLayout::addItem(QLayoutItem* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "addItem"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QLayoutItem*"}; - 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; - } -} - QHBoxLayout::addItem(arg__1); -} -void PythonQtShell_QHBoxLayout::childEvent(QChildEvent* e) -{ -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*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QHBoxLayout::childEvent(e); -} -int PythonQtShell_QHBoxLayout::count() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "count"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QHBoxLayout::count(); -} -void PythonQtShell_QHBoxLayout::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; - } -} - QHBoxLayout::customEvent(arg__1); -} -bool PythonQtShell_QHBoxLayout::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QHBoxLayout::event(arg__1); -} -bool PythonQtShell_QHBoxLayout::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QHBoxLayout::eventFilter(arg__1, arg__2); -} -Qt::Orientations PythonQtShell_QHBoxLayout::expandingDirections() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "expandingDirections"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"Qt::Orientations"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::Orientations returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); - } else { - returnValue = *((Qt::Orientations*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QHBoxLayout::expandingDirections(); -} -QRect PythonQtShell_QHBoxLayout::geometry() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "geometry"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QRect"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRect returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QHBoxLayout::geometry(); -} -int PythonQtShell_QHBoxLayout::indexOf(QWidget* arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "indexOf"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("indexOf", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QHBoxLayout::indexOf(arg__1); -} -void PythonQtShell_QHBoxLayout::invalidate() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "invalidate"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QHBoxLayout::invalidate(); -} -bool PythonQtShell_QHBoxLayout::isEmpty() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isEmpty"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QHBoxLayout::isEmpty(); -} -QLayoutItem* PythonQtShell_QHBoxLayout::itemAt(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemAt"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QLayoutItem*" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QLayoutItem* 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("itemAt", methodInfo, result); - } else { - returnValue = *((QLayoutItem**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QHBoxLayout::itemAt(arg__1); -} -QLayout* PythonQtShell_QHBoxLayout::layout() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "layout"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QLayout*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QLayout* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("layout", methodInfo, result); - } else { - returnValue = *((QLayout**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QHBoxLayout::layout(); -} -QSize PythonQtShell_QHBoxLayout::maximumSize() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "maximumSize"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QHBoxLayout::maximumSize(); -} -QSize PythonQtShell_QHBoxLayout::minimumSize() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "minimumSize"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QHBoxLayout::minimumSize(); -} -void PythonQtShell_QHBoxLayout::setGeometry(const QRect& arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setGeometry"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QRect&"}; - 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; - } -} - QHBoxLayout::setGeometry(arg__1); -} -QLayoutItem* PythonQtShell_QHBoxLayout::takeAt(int arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "takeAt"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QLayoutItem*" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QLayoutItem* 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("takeAt", methodInfo, result); - } else { - returnValue = *((QLayoutItem**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QHBoxLayout::takeAt(arg__1); -} -void PythonQtShell_QHBoxLayout::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; - } -} - QHBoxLayout::timerEvent(arg__1); -} -QHBoxLayout* PythonQtWrapper_QHBoxLayout::new_QHBoxLayout() -{ -return new PythonQtShell_QHBoxLayout(); } - -QHBoxLayout* PythonQtWrapper_QHBoxLayout::new_QHBoxLayout(QWidget* parent) -{ -return new PythonQtShell_QHBoxLayout(parent); } - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QHBoxLayout.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QHBoxLayout.h deleted file mode 100644 index 394751e..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QHBoxLayout.h +++ /dev/null @@ -1,58 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QHBOXLAYOUT_H -#define PYTHONQTWRAPPER_QHBOXLAYOUT_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QHBoxLayout : public QHBoxLayout -{ -public: - PythonQtShell_QHBoxLayout():QHBoxLayout(),_wrapper(NULL) {}; - PythonQtShell_QHBoxLayout(QWidget* parent):QHBoxLayout(parent),_wrapper(NULL) {}; - -virtual void addItem(QLayoutItem* arg__1); -virtual void childEvent(QChildEvent* e); -virtual int count() const; -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual Qt::Orientations expandingDirections() const; -virtual QRect geometry() const; -virtual int indexOf(QWidget* arg__1) const; -virtual void invalidate(); -virtual bool isEmpty() const; -virtual QLayoutItem* itemAt(int arg__1) const; -virtual QLayout* layout(); -virtual QSize maximumSize() const; -virtual QSize minimumSize() const; -virtual void setGeometry(const QRect& arg__1); -virtual QLayoutItem* takeAt(int arg__1); -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QHBoxLayout : public QObject -{ Q_OBJECT -public: -public slots: -QHBoxLayout* new_QHBoxLayout(); -QHBoxLayout* new_QHBoxLayout(QWidget* parent); -void delete_QHBoxLayout(QHBoxLayout* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QHBOXLAYOUT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QHeaderView.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QHeaderView.cpp deleted file mode 100644 index cf67e56..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QHeaderView.cpp +++ /dev/null @@ -1,2017 +0,0 @@ -#include "PythonQtWrapper_QHeaderView.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QHeaderView::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QHeaderView::actionEvent(arg__1); -} -void PythonQtShell_QHeaderView::changeEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QHeaderView::changeEvent(arg__1); -} -void PythonQtShell_QHeaderView::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; - } -} - QHeaderView::childEvent(arg__1); -} -void PythonQtShell_QHeaderView::closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEditor"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&editor, (void*)&hint}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QHeaderView::closeEditor(editor, hint); -} -void PythonQtShell_QHeaderView::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QHeaderView::closeEvent(arg__1); -} -void PythonQtShell_QHeaderView::commitData(QWidget* editor) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "commitData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QHeaderView::commitData(editor); -} -void PythonQtShell_QHeaderView::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QHeaderView::contextMenuEvent(arg__1); -} -void PythonQtShell_QHeaderView::currentChanged(const QModelIndex& current, const QModelIndex& old) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "currentChanged"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)¤t, (void*)&old}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QHeaderView::currentChanged(current, old); -} -void PythonQtShell_QHeaderView::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; - } -} - QHeaderView::customEvent(arg__1); -} -void PythonQtShell_QHeaderView::dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dataChanged"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&topLeft, (void*)&bottomRight}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QHeaderView::dataChanged(topLeft, bottomRight); -} -int PythonQtShell_QHeaderView::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QHeaderView::devType(); -} -void PythonQtShell_QHeaderView::doItemsLayout() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "doItemsLayout"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QHeaderView::doItemsLayout(); -} -void PythonQtShell_QHeaderView::dragEnterEvent(QDragEnterEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QHeaderView::dragEnterEvent(event); -} -void PythonQtShell_QHeaderView::dragLeaveEvent(QDragLeaveEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QHeaderView::dragLeaveEvent(event); -} -void PythonQtShell_QHeaderView::dragMoveEvent(QDragMoveEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QHeaderView::dragMoveEvent(event); -} -void PythonQtShell_QHeaderView::dropEvent(QDropEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QHeaderView::dropEvent(event); -} -bool PythonQtShell_QHeaderView::edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "edit"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&index, (void*)&trigger, (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("edit", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QHeaderView::edit(index, trigger, event); -} -void PythonQtShell_QHeaderView::editorDestroyed(QObject* editor) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "editorDestroyed"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QObject*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QHeaderView::editorDestroyed(editor); -} -void PythonQtShell_QHeaderView::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QHeaderView::enterEvent(arg__1); -} -bool PythonQtShell_QHeaderView::event(QEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QHeaderView::event(e); -} -bool PythonQtShell_QHeaderView::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QHeaderView::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QHeaderView::focusInEvent(QFocusEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QHeaderView::focusInEvent(event); -} -bool PythonQtShell_QHeaderView::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QHeaderView::focusNextPrevChild(next); -} -void PythonQtShell_QHeaderView::focusOutEvent(QFocusEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QHeaderView::focusOutEvent(event); -} -int PythonQtShell_QHeaderView::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QHeaderView::heightForWidth(arg__1); -} -void PythonQtShell_QHeaderView::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QHeaderView::hideEvent(arg__1); -} -int PythonQtShell_QHeaderView::horizontalOffset() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "horizontalOffset"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QHeaderView::horizontalOffset(); -} -void PythonQtShell_QHeaderView::horizontalScrollbarAction(int action) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "horizontalScrollbarAction"); - 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*)&action}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QHeaderView::horizontalScrollbarAction(action); -} -void PythonQtShell_QHeaderView::horizontalScrollbarValueChanged(int value) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "horizontalScrollbarValueChanged"); - 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*)&value}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QHeaderView::horizontalScrollbarValueChanged(value); -} -QModelIndex PythonQtShell_QHeaderView::indexAt(const QPoint& p) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "indexAt"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&p}; - 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("indexAt", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QHeaderView::indexAt(p); -} -void PythonQtShell_QHeaderView::inputMethodEvent(QInputMethodEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QHeaderView::inputMethodEvent(event); -} -QVariant PythonQtShell_QHeaderView::inputMethodQuery(Qt::InputMethodQuery query) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&query}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QHeaderView::inputMethodQuery(query); -} -bool PythonQtShell_QHeaderView::isIndexHidden(const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isIndexHidden"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool 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) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QHeaderView::isIndexHidden(index); -} -void PythonQtShell_QHeaderView::keyPressEvent(QKeyEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QHeaderView::keyPressEvent(event); -} -void PythonQtShell_QHeaderView::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QHeaderView::keyReleaseEvent(arg__1); -} -void PythonQtShell_QHeaderView::keyboardSearch(const QString& search) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyboardSearch"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&search}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QHeaderView::keyboardSearch(search); -} -void PythonQtShell_QHeaderView::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QHeaderView::languageChange(); -} -void PythonQtShell_QHeaderView::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QHeaderView::leaveEvent(arg__1); -} -int PythonQtShell_QHeaderView::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QHeaderView::metric(arg__1); -} -void PythonQtShell_QHeaderView::mouseDoubleClickEvent(QMouseEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QHeaderView::mouseDoubleClickEvent(e); -} -void PythonQtShell_QHeaderView::mouseMoveEvent(QMouseEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QHeaderView::mouseMoveEvent(e); -} -void PythonQtShell_QHeaderView::mousePressEvent(QMouseEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QHeaderView::mousePressEvent(e); -} -void PythonQtShell_QHeaderView::mouseReleaseEvent(QMouseEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QHeaderView::mouseReleaseEvent(e); -} -void PythonQtShell_QHeaderView::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QHeaderView::moveEvent(arg__1); -} -QPaintEngine* PythonQtShell_QHeaderView::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QHeaderView::paintEngine(); -} -void PythonQtShell_QHeaderView::paintEvent(QPaintEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QHeaderView::paintEvent(e); -} -void PythonQtShell_QHeaderView::paintSection(QPainter* painter, const QRect& rect, int logicalIndex) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintSection"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter, (void*)&rect, (void*)&logicalIndex}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QHeaderView::paintSection(painter, rect, logicalIndex); -} -void PythonQtShell_QHeaderView::reset() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reset"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QHeaderView::reset(); -} -void PythonQtShell_QHeaderView::resizeEvent(QResizeEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - 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; - } -} - QHeaderView::resizeEvent(event); -} -void PythonQtShell_QHeaderView::rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowsAboutToBeRemoved"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent, (void*)&start, (void*)&end}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QHeaderView::rowsAboutToBeRemoved(parent, start, end); -} -void PythonQtShell_QHeaderView::rowsInserted(const QModelIndex& parent, int start, int end) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowsInserted"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent, (void*)&start, (void*)&end}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QHeaderView::rowsInserted(parent, start, end); -} -void PythonQtShell_QHeaderView::scrollContentsBy(int dx, int dy) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "scrollContentsBy"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&dx, (void*)&dy}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QHeaderView::scrollContentsBy(dx, dy); -} -void PythonQtShell_QHeaderView::scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "scrollTo"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&index, (void*)&hint}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QHeaderView::scrollTo(index, hint); -} -QSize PythonQtShell_QHeaderView::sectionSizeFromContents(int logicalIndex) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sectionSizeFromContents"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QSize returnValue; - void* args[2] = {NULL, (void*)&logicalIndex}; - 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("sectionSizeFromContents", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QHeaderView::sectionSizeFromContents(logicalIndex); -} -void PythonQtShell_QHeaderView::selectAll() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectAll"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QHeaderView::selectAll(); -} -QList PythonQtShell_QHeaderView::selectedIndexes() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectedIndexes"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QList returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); - } else { - returnValue = *((QList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QHeaderView::selectedIndexes(); -} -void PythonQtShell_QHeaderView::selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectionChanged"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&selected, (void*)&deselected}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QHeaderView::selectionChanged(selected, deselected); -} -QItemSelectionModel::SelectionFlags PythonQtShell_QHeaderView::selectionCommand(const QModelIndex& index, const QEvent* event) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectionCommand"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QItemSelectionModel::SelectionFlags" , "const QModelIndex&" , "const QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QItemSelectionModel::SelectionFlags returnValue; - void* args[3] = {NULL, (void*)&index, (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("selectionCommand", methodInfo, result); - } else { - returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QHeaderView::selectionCommand(index, event); -} -void PythonQtShell_QHeaderView::setModel(QAbstractItemModel* model) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setModel"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QAbstractItemModel*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&model}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QHeaderView::setModel(model); -} -void PythonQtShell_QHeaderView::setRootIndex(const QModelIndex& index) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setRootIndex"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QHeaderView::setRootIndex(index); -} -void PythonQtShell_QHeaderView::setSelection(const QRect& arg__1, QItemSelectionModel::SelectionFlags arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setSelection"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QHeaderView::setSelection(arg__1, arg__2); -} -void PythonQtShell_QHeaderView::setSelectionModel(QItemSelectionModel* selectionModel) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setSelectionModel"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QItemSelectionModel*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&selectionModel}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QHeaderView::setSelectionModel(selectionModel); -} -void PythonQtShell_QHeaderView::showEvent(QShowEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QHeaderView::showEvent(arg__1); -} -int PythonQtShell_QHeaderView::sizeHintForColumn(int column) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeHintForColumn"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&column}; - 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("sizeHintForColumn", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QHeaderView::sizeHintForColumn(column); -} -int PythonQtShell_QHeaderView::sizeHintForRow(int row) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeHintForRow"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&row}; - 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("sizeHintForRow", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QHeaderView::sizeHintForRow(row); -} -void PythonQtShell_QHeaderView::startDrag(Qt::DropActions supportedActions) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "startDrag"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "Qt::DropActions"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&supportedActions}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QHeaderView::startDrag(supportedActions); -} -void PythonQtShell_QHeaderView::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QHeaderView::tabletEvent(arg__1); -} -void PythonQtShell_QHeaderView::timerEvent(QTimerEvent* event) -{ -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*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QHeaderView::timerEvent(event); -} -void PythonQtShell_QHeaderView::updateEditorData() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateEditorData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QHeaderView::updateEditorData(); -} -void PythonQtShell_QHeaderView::updateEditorGeometries() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateEditorGeometries"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QHeaderView::updateEditorGeometries(); -} -void PythonQtShell_QHeaderView::updateGeometries() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateGeometries"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QHeaderView::updateGeometries(); -} -int PythonQtShell_QHeaderView::verticalOffset() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "verticalOffset"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QHeaderView::verticalOffset(); -} -void PythonQtShell_QHeaderView::verticalScrollbarAction(int action) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "verticalScrollbarAction"); - 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*)&action}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QHeaderView::verticalScrollbarAction(action); -} -void PythonQtShell_QHeaderView::verticalScrollbarValueChanged(int value) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "verticalScrollbarValueChanged"); - 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*)&value}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QHeaderView::verticalScrollbarValueChanged(value); -} -QStyleOptionViewItem PythonQtShell_QHeaderView::viewOptions() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "viewOptions"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QStyleOptionViewItem"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStyleOptionViewItem returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); - } else { - returnValue = *((QStyleOptionViewItem*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QHeaderView::viewOptions(); -} -bool PythonQtShell_QHeaderView::viewportEvent(QEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "viewportEvent"); - 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("viewportEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QHeaderView::viewportEvent(e); -} -QRect PythonQtShell_QHeaderView::visualRect(const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "visualRect"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRect 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) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QHeaderView::visualRect(index); -} -QRegion PythonQtShell_QHeaderView::visualRegionForSelection(const QItemSelection& selection) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "visualRegionForSelection"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRegion returnValue; - void* args[2] = {NULL, (void*)&selection}; - 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("visualRegionForSelection", methodInfo, result); - } else { - returnValue = *((QRegion*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QHeaderView::visualRegionForSelection(selection); -} -void PythonQtShell_QHeaderView::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QHeaderView::wheelEvent(arg__1); -} -QHeaderView* PythonQtWrapper_QHeaderView::new_QHeaderView(Qt::Orientation orientation, QWidget* parent) -{ -return new PythonQtShell_QHeaderView(orientation, parent); } - -void PythonQtWrapper_QHeaderView::showSection(QHeaderView* theWrappedObject, int logicalIndex) -{ - ( theWrappedObject->showSection(logicalIndex)); -} - -bool PythonQtWrapper_QHeaderView::isSortIndicatorShown(QHeaderView* theWrappedObject) const -{ - return ( theWrappedObject->isSortIndicatorShown()); -} - -int PythonQtWrapper_QHeaderView::count(QHeaderView* theWrappedObject) const -{ - return ( theWrappedObject->count()); -} - -bool PythonQtWrapper_QHeaderView::highlightSections(QHeaderView* theWrappedObject) const -{ - return ( theWrappedObject->highlightSections()); -} - -Qt::SortOrder PythonQtWrapper_QHeaderView::sortIndicatorOrder(QHeaderView* theWrappedObject) const -{ - return ( theWrappedObject->sortIndicatorOrder()); -} - -void PythonQtWrapper_QHeaderView::dataChanged(QHeaderView* theWrappedObject, const QModelIndex& topLeft, const QModelIndex& bottomRight) -{ - ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_dataChanged(topLeft, bottomRight)); -} - -void PythonQtWrapper_QHeaderView::currentChanged(QHeaderView* theWrappedObject, const QModelIndex& current, const QModelIndex& old) -{ - ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_currentChanged(current, old)); -} - -void PythonQtWrapper_QHeaderView::setHighlightSections(QHeaderView* theWrappedObject, bool highlight) -{ - ( theWrappedObject->setHighlightSections(highlight)); -} - -void PythonQtWrapper_QHeaderView::setSortIndicatorShown(QHeaderView* theWrappedObject, bool show) -{ - ( theWrappedObject->setSortIndicatorShown(show)); -} - -int PythonQtWrapper_QHeaderView::visualIndexAt(QHeaderView* theWrappedObject, int position) const -{ - return ( theWrappedObject->visualIndexAt(position)); -} - -void PythonQtWrapper_QHeaderView::setCascadingSectionResizes(QHeaderView* theWrappedObject, bool enable) -{ - ( theWrappedObject->setCascadingSectionResizes(enable)); -} - -void PythonQtWrapper_QHeaderView::reset(QHeaderView* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_reset()); -} - -int PythonQtWrapper_QHeaderView::sortIndicatorSection(QHeaderView* theWrappedObject) const -{ - return ( theWrappedObject->sortIndicatorSection()); -} - -int PythonQtWrapper_QHeaderView::sectionSize(QHeaderView* theWrappedObject, int logicalIndex) const -{ - return ( theWrappedObject->sectionSize(logicalIndex)); -} - -int PythonQtWrapper_QHeaderView::verticalOffset(QHeaderView* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_verticalOffset()); -} - -void PythonQtWrapper_QHeaderView::setResizeMode(QHeaderView* theWrappedObject, int logicalIndex, QHeaderView::ResizeMode mode) -{ - ( theWrappedObject->setResizeMode(logicalIndex, mode)); -} - -void PythonQtWrapper_QHeaderView::moveSection(QHeaderView* theWrappedObject, int from, int to) -{ - ( theWrappedObject->moveSection(from, to)); -} - -QSize PythonQtWrapper_QHeaderView::sectionSizeFromContents(QHeaderView* theWrappedObject, int logicalIndex) const -{ - return ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_sectionSizeFromContents(logicalIndex)); -} - -int PythonQtWrapper_QHeaderView::sectionPosition(QHeaderView* theWrappedObject, int logicalIndex) const -{ - return ( theWrappedObject->sectionPosition(logicalIndex)); -} - -void PythonQtWrapper_QHeaderView::setDefaultSectionSize(QHeaderView* theWrappedObject, int size) -{ - ( theWrappedObject->setDefaultSectionSize(size)); -} - -void PythonQtWrapper_QHeaderView::mousePressEvent(QHeaderView* theWrappedObject, QMouseEvent* e) -{ - ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_mousePressEvent(e)); -} - -void PythonQtWrapper_QHeaderView::setStretchLastSection(QHeaderView* theWrappedObject, bool stretch) -{ - ( theWrappedObject->setStretchLastSection(stretch)); -} - -bool PythonQtWrapper_QHeaderView::isSectionHidden(QHeaderView* theWrappedObject, int logicalIndex) const -{ - return ( theWrappedObject->isSectionHidden(logicalIndex)); -} - -void PythonQtWrapper_QHeaderView::rowsInserted(QHeaderView* theWrappedObject, const QModelIndex& parent, int start, int end) -{ - ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_rowsInserted(parent, start, end)); -} - -int PythonQtWrapper_QHeaderView::stretchSectionCount(QHeaderView* theWrappedObject) const -{ - return ( theWrappedObject->stretchSectionCount()); -} - -int PythonQtWrapper_QHeaderView::offset(QHeaderView* theWrappedObject) const -{ - return ( theWrappedObject->offset()); -} - -void PythonQtWrapper_QHeaderView::mouseDoubleClickEvent(QHeaderView* theWrappedObject, QMouseEvent* e) -{ - ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_mouseDoubleClickEvent(e)); -} - -QRegion PythonQtWrapper_QHeaderView::visualRegionForSelection(QHeaderView* theWrappedObject, const QItemSelection& selection) const -{ - return ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_visualRegionForSelection(selection)); -} - -void PythonQtWrapper_QHeaderView::hideSection(QHeaderView* theWrappedObject, int logicalIndex) -{ - ( theWrappedObject->hideSection(logicalIndex)); -} - -int PythonQtWrapper_QHeaderView::minimumSectionSize(QHeaderView* theWrappedObject) const -{ - return ( theWrappedObject->minimumSectionSize()); -} - -void PythonQtWrapper_QHeaderView::mouseMoveEvent(QHeaderView* theWrappedObject, QMouseEvent* e) -{ - ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_mouseMoveEvent(e)); -} - -bool PythonQtWrapper_QHeaderView::stretchLastSection(QHeaderView* theWrappedObject) const -{ - return ( theWrappedObject->stretchLastSection()); -} - -QSize PythonQtWrapper_QHeaderView::sizeHint(QHeaderView* theWrappedObject) const -{ - return ( theWrappedObject->sizeHint()); -} - -Qt::Alignment PythonQtWrapper_QHeaderView::defaultAlignment(QHeaderView* theWrappedObject) const -{ - return ( theWrappedObject->defaultAlignment()); -} - -void PythonQtWrapper_QHeaderView::mouseReleaseEvent(QHeaderView* theWrappedObject, QMouseEvent* e) -{ - ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_mouseReleaseEvent(e)); -} - -int PythonQtWrapper_QHeaderView::length(QHeaderView* theWrappedObject) const -{ - return ( theWrappedObject->length()); -} - -void PythonQtWrapper_QHeaderView::setModel(QHeaderView* theWrappedObject, QAbstractItemModel* model) -{ - ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_setModel(model)); -} - -void PythonQtWrapper_QHeaderView::resizeSection(QHeaderView* theWrappedObject, int logicalIndex, int size) -{ - ( theWrappedObject->resizeSection(logicalIndex, size)); -} - -int PythonQtWrapper_QHeaderView::hiddenSectionCount(QHeaderView* theWrappedObject) const -{ - return ( theWrappedObject->hiddenSectionCount()); -} - -int PythonQtWrapper_QHeaderView::horizontalOffset(QHeaderView* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_horizontalOffset()); -} - -bool PythonQtWrapper_QHeaderView::isMovable(QHeaderView* theWrappedObject) const -{ - return ( theWrappedObject->isMovable()); -} - -void PythonQtWrapper_QHeaderView::resizeSections(QHeaderView* theWrappedObject, QHeaderView::ResizeMode mode) -{ - ( theWrappedObject->resizeSections(mode)); -} - -void PythonQtWrapper_QHeaderView::scrollContentsBy(QHeaderView* theWrappedObject, int dx, int dy) -{ - ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_scrollContentsBy(dx, dy)); -} - -int PythonQtWrapper_QHeaderView::logicalIndexAt(QHeaderView* theWrappedObject, int x, int y) const -{ - return ( theWrappedObject->logicalIndexAt(x, y)); -} - -int PythonQtWrapper_QHeaderView::logicalIndexAt(QHeaderView* theWrappedObject, int position) const -{ - return ( theWrappedObject->logicalIndexAt(position)); -} - -void PythonQtWrapper_QHeaderView::setSelection(QHeaderView* theWrappedObject, const QRect& arg__1, QItemSelectionModel::SelectionFlags arg__2) -{ - ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_setSelection(arg__1, arg__2)); -} - -void PythonQtWrapper_QHeaderView::doItemsLayout(QHeaderView* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_doItemsLayout()); -} - -QRect PythonQtWrapper_QHeaderView::visualRect(QHeaderView* theWrappedObject, const QModelIndex& index) const -{ - return ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_visualRect(index)); -} - -int PythonQtWrapper_QHeaderView::logicalIndexAt(QHeaderView* theWrappedObject, const QPoint& pos) const -{ - return ( theWrappedObject->logicalIndexAt(pos)); -} - -QHeaderView::ResizeMode PythonQtWrapper_QHeaderView::resizeMode(QHeaderView* theWrappedObject, int logicalIndex) const -{ - return ( theWrappedObject->resizeMode(logicalIndex)); -} - -void PythonQtWrapper_QHeaderView::setSortIndicator(QHeaderView* theWrappedObject, int logicalIndex, Qt::SortOrder order) -{ - ( theWrappedObject->setSortIndicator(logicalIndex, order)); -} - -bool PythonQtWrapper_QHeaderView::isIndexHidden(QHeaderView* theWrappedObject, const QModelIndex& index) const -{ - return ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_isIndexHidden(index)); -} - -void PythonQtWrapper_QHeaderView::scrollTo(QHeaderView* theWrappedObject, const QModelIndex& index, QAbstractItemView::ScrollHint hint) -{ - ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_scrollTo(index, hint)); -} - -bool PythonQtWrapper_QHeaderView::isClickable(QHeaderView* theWrappedObject) const -{ - return ( theWrappedObject->isClickable()); -} - -int PythonQtWrapper_QHeaderView::defaultSectionSize(QHeaderView* theWrappedObject) const -{ - return ( theWrappedObject->defaultSectionSize()); -} - -int PythonQtWrapper_QHeaderView::sectionSizeHint(QHeaderView* theWrappedObject, int logicalIndex) const -{ - return ( theWrappedObject->sectionSizeHint(logicalIndex)); -} - -Qt::Orientation PythonQtWrapper_QHeaderView::orientation(QHeaderView* theWrappedObject) const -{ - return ( theWrappedObject->orientation()); -} - -void PythonQtWrapper_QHeaderView::setSectionHidden(QHeaderView* theWrappedObject, int logicalIndex, bool hide) -{ - ( theWrappedObject->setSectionHidden(logicalIndex, hide)); -} - -bool PythonQtWrapper_QHeaderView::restoreState(QHeaderView* theWrappedObject, const QByteArray& state) -{ - return ( theWrappedObject->restoreState(state)); -} - -void PythonQtWrapper_QHeaderView::setMinimumSectionSize(QHeaderView* theWrappedObject, int size) -{ - ( theWrappedObject->setMinimumSectionSize(size)); -} - -QByteArray PythonQtWrapper_QHeaderView::saveState(QHeaderView* theWrappedObject) const -{ - return ( theWrappedObject->saveState()); -} - -void PythonQtWrapper_QHeaderView::setDefaultAlignment(QHeaderView* theWrappedObject, Qt::Alignment alignment) -{ - ( theWrappedObject->setDefaultAlignment(alignment)); -} - -void PythonQtWrapper_QHeaderView::paintEvent(QHeaderView* theWrappedObject, QPaintEvent* e) -{ - ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_paintEvent(e)); -} - -int PythonQtWrapper_QHeaderView::visualIndex(QHeaderView* theWrappedObject, int logicalIndex) const -{ - return ( theWrappedObject->visualIndex(logicalIndex)); -} - -bool PythonQtWrapper_QHeaderView::viewportEvent(QHeaderView* theWrappedObject, QEvent* e) -{ - return ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_viewportEvent(e)); -} - -void PythonQtWrapper_QHeaderView::setClickable(QHeaderView* theWrappedObject, bool clickable) -{ - ( theWrappedObject->setClickable(clickable)); -} - -bool PythonQtWrapper_QHeaderView::event(QHeaderView* theWrappedObject, QEvent* e) -{ - return ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_event(e)); -} - -int PythonQtWrapper_QHeaderView::logicalIndex(QHeaderView* theWrappedObject, int visualIndex) const -{ - return ( theWrappedObject->logicalIndex(visualIndex)); -} - -int PythonQtWrapper_QHeaderView::sectionViewportPosition(QHeaderView* theWrappedObject, int logicalIndex) const -{ - return ( theWrappedObject->sectionViewportPosition(logicalIndex)); -} - -bool PythonQtWrapper_QHeaderView::sectionsHidden(QHeaderView* theWrappedObject) const -{ - return ( theWrappedObject->sectionsHidden()); -} - -void PythonQtWrapper_QHeaderView::setResizeMode(QHeaderView* theWrappedObject, QHeaderView::ResizeMode mode) -{ - ( theWrappedObject->setResizeMode(mode)); -} - -void PythonQtWrapper_QHeaderView::swapSections(QHeaderView* theWrappedObject, int first, int second) -{ - ( theWrappedObject->swapSections(first, second)); -} - -void PythonQtWrapper_QHeaderView::updateGeometries(QHeaderView* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_updateGeometries()); -} - -bool PythonQtWrapper_QHeaderView::sectionsMoved(QHeaderView* theWrappedObject) const -{ - return ( theWrappedObject->sectionsMoved()); -} - -void PythonQtWrapper_QHeaderView::paintSection(QHeaderView* theWrappedObject, QPainter* painter, const QRect& rect, int logicalIndex) const -{ - ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_paintSection(painter, rect, logicalIndex)); -} - -QModelIndex PythonQtWrapper_QHeaderView::indexAt(QHeaderView* theWrappedObject, const QPoint& p) const -{ - return ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_indexAt(p)); -} - -bool PythonQtWrapper_QHeaderView::cascadingSectionResizes(QHeaderView* theWrappedObject) const -{ - return ( theWrappedObject->cascadingSectionResizes()); -} - -void PythonQtWrapper_QHeaderView::setMovable(QHeaderView* theWrappedObject, bool movable) -{ - ( theWrappedObject->setMovable(movable)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QHeaderView.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QHeaderView.h deleted file mode 100644 index 67cd8cc..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QHeaderView.h +++ /dev/null @@ -1,245 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QHEADERVIEW_H -#define PYTHONQTWRAPPER_QHEADERVIEW_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QHeaderView : public QHeaderView -{ -public: - PythonQtShell_QHeaderView(Qt::Orientation orientation, QWidget* parent = 0):QHeaderView(orientation, parent),_wrapper(NULL) {}; - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void commitData(QWidget* editor); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void currentChanged(const QModelIndex& current, const QModelIndex& old); -virtual void customEvent(QEvent* arg__1); -virtual void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight); -virtual int devType() const; -virtual void doItemsLayout(); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event); -virtual void editorDestroyed(QObject* editor); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual int horizontalOffset() const; -virtual void horizontalScrollbarAction(int action); -virtual void horizontalScrollbarValueChanged(int value); -virtual QModelIndex indexAt(const QPoint& p) const; -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual bool isIndexHidden(const QModelIndex& index) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void keyboardSearch(const QString& search); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual void mouseDoubleClickEvent(QMouseEvent* e); -virtual void mouseMoveEvent(QMouseEvent* e); -virtual void mousePressEvent(QMouseEvent* e); -virtual void mouseReleaseEvent(QMouseEvent* e); -virtual void moveEvent(QMoveEvent* arg__1); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* e); -virtual void paintSection(QPainter* painter, const QRect& rect, int logicalIndex) const; -virtual void reset(); -virtual void resizeEvent(QResizeEvent* event); -virtual void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end); -virtual void rowsInserted(const QModelIndex& parent, int start, int end); -virtual void scrollContentsBy(int dx, int dy); -virtual void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint); -virtual QSize sectionSizeFromContents(int logicalIndex) const; -virtual void selectAll(); -virtual QList selectedIndexes() const; -virtual void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected); -virtual QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event) const; -virtual void setModel(QAbstractItemModel* model); -virtual void setRootIndex(const QModelIndex& index); -virtual void setSelection(const QRect& arg__1, QItemSelectionModel::SelectionFlags arg__2); -virtual void setSelectionModel(QItemSelectionModel* selectionModel); -virtual void showEvent(QShowEvent* arg__1); -virtual int sizeHintForColumn(int column) const; -virtual int sizeHintForRow(int row) const; -virtual void startDrag(Qt::DropActions supportedActions); -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* event); -virtual void updateEditorData(); -virtual void updateEditorGeometries(); -virtual void updateGeometries(); -virtual int verticalOffset() const; -virtual void verticalScrollbarAction(int action); -virtual void verticalScrollbarValueChanged(int value); -virtual QStyleOptionViewItem viewOptions() const; -virtual bool viewportEvent(QEvent* e); -virtual QRect visualRect(const QModelIndex& index) const; -virtual QRegion visualRegionForSelection(const QItemSelection& selection) const; -virtual void wheelEvent(QWheelEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QHeaderView : public QHeaderView -{ public: -inline void promoted_dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight) { QHeaderView::dataChanged(topLeft, bottomRight); } -inline void promoted_currentChanged(const QModelIndex& current, const QModelIndex& old) { QHeaderView::currentChanged(current, old); } -inline void promoted_reset() { QHeaderView::reset(); } -inline int promoted_verticalOffset() const { return QHeaderView::verticalOffset(); } -inline QSize promoted_sectionSizeFromContents(int logicalIndex) const { return QHeaderView::sectionSizeFromContents(logicalIndex); } -inline void promoted_mousePressEvent(QMouseEvent* e) { QHeaderView::mousePressEvent(e); } -inline void promoted_rowsInserted(const QModelIndex& parent, int start, int end) { QHeaderView::rowsInserted(parent, start, end); } -inline void promoted_mouseDoubleClickEvent(QMouseEvent* e) { QHeaderView::mouseDoubleClickEvent(e); } -inline QRegion promoted_visualRegionForSelection(const QItemSelection& selection) const { return QHeaderView::visualRegionForSelection(selection); } -inline void promoted_mouseMoveEvent(QMouseEvent* e) { QHeaderView::mouseMoveEvent(e); } -inline void promoted_mouseReleaseEvent(QMouseEvent* e) { QHeaderView::mouseReleaseEvent(e); } -inline void promoted_setModel(QAbstractItemModel* model) { QHeaderView::setModel(model); } -inline int promoted_horizontalOffset() const { return QHeaderView::horizontalOffset(); } -inline void promoted_scrollContentsBy(int dx, int dy) { QHeaderView::scrollContentsBy(dx, dy); } -inline void promoted_setSelection(const QRect& arg__1, QItemSelectionModel::SelectionFlags arg__2) { QHeaderView::setSelection(arg__1, arg__2); } -inline void promoted_doItemsLayout() { QHeaderView::doItemsLayout(); } -inline QRect promoted_visualRect(const QModelIndex& index) const { return QHeaderView::visualRect(index); } -inline bool promoted_isIndexHidden(const QModelIndex& index) const { return QHeaderView::isIndexHidden(index); } -inline void promoted_scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint) { QHeaderView::scrollTo(index, hint); } -inline void promoted_paintEvent(QPaintEvent* e) { QHeaderView::paintEvent(e); } -inline bool promoted_viewportEvent(QEvent* e) { return QHeaderView::viewportEvent(e); } -inline bool promoted_event(QEvent* e) { return QHeaderView::event(e); } -inline void promoted_updateGeometries() { QHeaderView::updateGeometries(); } -inline void promoted_paintSection(QPainter* painter, const QRect& rect, int logicalIndex) const { QHeaderView::paintSection(painter, rect, logicalIndex); } -inline QModelIndex promoted_indexAt(const QPoint& p) const { return QHeaderView::indexAt(p); } -}; - -class PythonQtWrapper_QHeaderView : public QObject -{ Q_OBJECT -public: -public slots: -QHeaderView* new_QHeaderView(Qt::Orientation orientation, QWidget* parent = 0); -void delete_QHeaderView(QHeaderView* obj) { delete obj; } - void showSection(QHeaderView* theWrappedObject, int logicalIndex); - bool isSortIndicatorShown(QHeaderView* theWrappedObject) const; - int count(QHeaderView* theWrappedObject) const; - bool highlightSections(QHeaderView* theWrappedObject) const; - Qt::SortOrder sortIndicatorOrder(QHeaderView* theWrappedObject) const; - void dataChanged(QHeaderView* theWrappedObject, const QModelIndex& topLeft, const QModelIndex& bottomRight); - void currentChanged(QHeaderView* theWrappedObject, const QModelIndex& current, const QModelIndex& old); - void setHighlightSections(QHeaderView* theWrappedObject, bool highlight); - void setSortIndicatorShown(QHeaderView* theWrappedObject, bool show); - int visualIndexAt(QHeaderView* theWrappedObject, int position) const; - void setCascadingSectionResizes(QHeaderView* theWrappedObject, bool enable); - void reset(QHeaderView* theWrappedObject); - int sortIndicatorSection(QHeaderView* theWrappedObject) const; - int sectionSize(QHeaderView* theWrappedObject, int logicalIndex) const; - int verticalOffset(QHeaderView* theWrappedObject) const; - void setResizeMode(QHeaderView* theWrappedObject, int logicalIndex, QHeaderView::ResizeMode mode); - void moveSection(QHeaderView* theWrappedObject, int from, int to); - QSize sectionSizeFromContents(QHeaderView* theWrappedObject, int logicalIndex) const; - int sectionPosition(QHeaderView* theWrappedObject, int logicalIndex) const; - void setDefaultSectionSize(QHeaderView* theWrappedObject, int size); - void mousePressEvent(QHeaderView* theWrappedObject, QMouseEvent* e); - void setStretchLastSection(QHeaderView* theWrappedObject, bool stretch); - bool isSectionHidden(QHeaderView* theWrappedObject, int logicalIndex) const; - void rowsInserted(QHeaderView* theWrappedObject, const QModelIndex& parent, int start, int end); - int stretchSectionCount(QHeaderView* theWrappedObject) const; - int offset(QHeaderView* theWrappedObject) const; - void mouseDoubleClickEvent(QHeaderView* theWrappedObject, QMouseEvent* e); - QRegion visualRegionForSelection(QHeaderView* theWrappedObject, const QItemSelection& selection) const; - void hideSection(QHeaderView* theWrappedObject, int logicalIndex); - int minimumSectionSize(QHeaderView* theWrappedObject) const; - void mouseMoveEvent(QHeaderView* theWrappedObject, QMouseEvent* e); - bool stretchLastSection(QHeaderView* theWrappedObject) const; - QSize sizeHint(QHeaderView* theWrappedObject) const; - Qt::Alignment defaultAlignment(QHeaderView* theWrappedObject) const; - void mouseReleaseEvent(QHeaderView* theWrappedObject, QMouseEvent* e); - int length(QHeaderView* theWrappedObject) const; - void setModel(QHeaderView* theWrappedObject, QAbstractItemModel* model); - void resizeSection(QHeaderView* theWrappedObject, int logicalIndex, int size); - int hiddenSectionCount(QHeaderView* theWrappedObject) const; - int horizontalOffset(QHeaderView* theWrappedObject) const; - bool isMovable(QHeaderView* theWrappedObject) const; - void resizeSections(QHeaderView* theWrappedObject, QHeaderView::ResizeMode mode); - void scrollContentsBy(QHeaderView* theWrappedObject, int dx, int dy); - int logicalIndexAt(QHeaderView* theWrappedObject, int x, int y) const; - int logicalIndexAt(QHeaderView* theWrappedObject, int position) const; - void setSelection(QHeaderView* theWrappedObject, const QRect& arg__1, QItemSelectionModel::SelectionFlags arg__2); - void doItemsLayout(QHeaderView* theWrappedObject); - QRect visualRect(QHeaderView* theWrappedObject, const QModelIndex& index) const; - int logicalIndexAt(QHeaderView* theWrappedObject, const QPoint& pos) const; - QHeaderView::ResizeMode resizeMode(QHeaderView* theWrappedObject, int logicalIndex) const; - void setSortIndicator(QHeaderView* theWrappedObject, int logicalIndex, Qt::SortOrder order); - bool isIndexHidden(QHeaderView* theWrappedObject, const QModelIndex& index) const; - void scrollTo(QHeaderView* theWrappedObject, const QModelIndex& index, QAbstractItemView::ScrollHint hint); - bool isClickable(QHeaderView* theWrappedObject) const; - int defaultSectionSize(QHeaderView* theWrappedObject) const; - int sectionSizeHint(QHeaderView* theWrappedObject, int logicalIndex) const; - Qt::Orientation orientation(QHeaderView* theWrappedObject) const; - void setSectionHidden(QHeaderView* theWrappedObject, int logicalIndex, bool hide); - bool restoreState(QHeaderView* theWrappedObject, const QByteArray& state); - void setMinimumSectionSize(QHeaderView* theWrappedObject, int size); - QByteArray saveState(QHeaderView* theWrappedObject) const; - void setDefaultAlignment(QHeaderView* theWrappedObject, Qt::Alignment alignment); - void paintEvent(QHeaderView* theWrappedObject, QPaintEvent* e); - int visualIndex(QHeaderView* theWrappedObject, int logicalIndex) const; - bool viewportEvent(QHeaderView* theWrappedObject, QEvent* e); - void setClickable(QHeaderView* theWrappedObject, bool clickable); - bool event(QHeaderView* theWrappedObject, QEvent* e); - int logicalIndex(QHeaderView* theWrappedObject, int visualIndex) const; - int sectionViewportPosition(QHeaderView* theWrappedObject, int logicalIndex) const; - bool sectionsHidden(QHeaderView* theWrappedObject) const; - void setResizeMode(QHeaderView* theWrappedObject, QHeaderView::ResizeMode mode); - void swapSections(QHeaderView* theWrappedObject, int first, int second); - void updateGeometries(QHeaderView* theWrappedObject); - bool sectionsMoved(QHeaderView* theWrappedObject) const; - void paintSection(QHeaderView* theWrappedObject, QPainter* painter, const QRect& rect, int logicalIndex) const; - QModelIndex indexAt(QHeaderView* theWrappedObject, const QPoint& p) const; - bool cascadingSectionResizes(QHeaderView* theWrappedObject) const; - void setMovable(QHeaderView* theWrappedObject, bool movable); -}; - -#endif // PYTHONQTWRAPPER_QHEADERVIEW_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QHelpEvent.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QHelpEvent.cpp deleted file mode 100644 index 3ed3926..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QHelpEvent.cpp +++ /dev/null @@ -1,42 +0,0 @@ -#include "PythonQtWrapper_QHelpEvent.h" - -#include -#include -#include -#include -#include - -QHelpEvent* PythonQtWrapper_QHelpEvent::new_QHelpEvent(QEvent::Type type, const QPoint& pos, const QPoint& globalPos) -{ -return new QHelpEvent(type, pos, globalPos); } - -const QPoint* PythonQtWrapper_QHelpEvent::globalPos(QHelpEvent* theWrappedObject) const -{ - return &( theWrappedObject->globalPos()); -} - -int PythonQtWrapper_QHelpEvent::globalY(QHelpEvent* theWrappedObject) const -{ - return ( theWrappedObject->globalY()); -} - -int PythonQtWrapper_QHelpEvent::y(QHelpEvent* theWrappedObject) const -{ - return ( theWrappedObject->y()); -} - -const QPoint* PythonQtWrapper_QHelpEvent::pos(QHelpEvent* theWrappedObject) const -{ - return &( theWrappedObject->pos()); -} - -int PythonQtWrapper_QHelpEvent::x(QHelpEvent* theWrappedObject) const -{ - return ( theWrappedObject->x()); -} - -int PythonQtWrapper_QHelpEvent::globalX(QHelpEvent* theWrappedObject) const -{ - return ( theWrappedObject->globalX()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QHelpEvent.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QHelpEvent.h deleted file mode 100644 index c4179df..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QHelpEvent.h +++ /dev/null @@ -1,26 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QHELPEVENT_H -#define PYTHONQTWRAPPER_QHELPEVENT_H - -#include -#include - -#include - -#include -#include - -class PythonQtWrapper_QHelpEvent : public QObject -{ Q_OBJECT -public: -public slots: -QHelpEvent* new_QHelpEvent(QEvent::Type type, const QPoint& pos, const QPoint& globalPos); -void delete_QHelpEvent(QHelpEvent* obj) { delete obj; } - const QPoint* globalPos(QHelpEvent* theWrappedObject) const; - int globalY(QHelpEvent* theWrappedObject) const; - int y(QHelpEvent* theWrappedObject) const; - const QPoint* pos(QHelpEvent* theWrappedObject) const; - int x(QHelpEvent* theWrappedObject) const; - int globalX(QHelpEvent* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QHELPEVENT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QHideEvent.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QHideEvent.cpp deleted file mode 100644 index 639720b..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QHideEvent.cpp +++ /dev/null @@ -1,11 +0,0 @@ -#include "PythonQtWrapper_QHideEvent.h" - -#include -#include -#include -#include - -QHideEvent* PythonQtWrapper_QHideEvent::new_QHideEvent() -{ -return new QHideEvent(); } - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QHideEvent.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QHideEvent.h deleted file mode 100644 index bd5ae87..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QHideEvent.h +++ /dev/null @@ -1,19 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QHIDEEVENT_H -#define PYTHONQTWRAPPER_QHIDEEVENT_H - -#include -#include - -#include - -#include - -class PythonQtWrapper_QHideEvent : public QObject -{ Q_OBJECT -public: -public slots: -QHideEvent* new_QHideEvent(); -void delete_QHideEvent(QHideEvent* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QHIDEEVENT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QHoverEvent.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QHoverEvent.cpp deleted file mode 100644 index daf1496..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QHoverEvent.cpp +++ /dev/null @@ -1,22 +0,0 @@ -#include "PythonQtWrapper_QHoverEvent.h" - -#include -#include -#include -#include -#include - -QHoverEvent* PythonQtWrapper_QHoverEvent::new_QHoverEvent(QEvent::Type type, const QPoint& pos, const QPoint& oldPos) -{ -return new PythonQtShell_QHoverEvent(type, pos, oldPos); } - -const QPoint* PythonQtWrapper_QHoverEvent::oldPos(QHoverEvent* theWrappedObject) const -{ - return &( theWrappedObject->oldPos()); -} - -const QPoint* PythonQtWrapper_QHoverEvent::pos(QHoverEvent* theWrappedObject) const -{ - return &( theWrappedObject->pos()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QHoverEvent.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QHoverEvent.h deleted file mode 100644 index 9b961ee..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QHoverEvent.h +++ /dev/null @@ -1,31 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QHOVEREVENT_H -#define PYTHONQTWRAPPER_QHOVEREVENT_H - -#include -#include - -#include - -#include -#include - -class PythonQtShell_QHoverEvent : public QHoverEvent -{ -public: - PythonQtShell_QHoverEvent(QEvent::Type type, const QPoint& pos, const QPoint& oldPos):QHoverEvent(type, pos, oldPos),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QHoverEvent : public QObject -{ Q_OBJECT -public: -public slots: -QHoverEvent* new_QHoverEvent(QEvent::Type type, const QPoint& pos, const QPoint& oldPos); -void delete_QHoverEvent(QHoverEvent* obj) { delete obj; } - const QPoint* oldPos(QHoverEvent* theWrappedObject) const; - const QPoint* pos(QHoverEvent* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QHOVEREVENT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QIcon.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QIcon.cpp deleted file mode 100644 index 28e39b3..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QIcon.cpp +++ /dev/null @@ -1,98 +0,0 @@ -#include "PythonQtWrapper_QIcon.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QIcon* PythonQtWrapper_QIcon::new_QIcon() -{ -return new QIcon(); } - -QIcon* PythonQtWrapper_QIcon::new_QIcon(QIconEngine* engine) -{ -return new QIcon(engine); } - -QIcon* PythonQtWrapper_QIcon::new_QIcon(QIconEngineV2* engine) -{ -return new QIcon(engine); } - -QIcon* PythonQtWrapper_QIcon::new_QIcon(const QIcon& other) -{ -return new QIcon(other); } - -QIcon* PythonQtWrapper_QIcon::new_QIcon(const QPixmap& pixmap) -{ -return new QIcon(pixmap); } - -QIcon* PythonQtWrapper_QIcon::new_QIcon(const QString& fileName) -{ -return new QIcon(fileName); } - -QPixmap PythonQtWrapper_QIcon::pixmap(QIcon* theWrappedObject, int w, int h, QIcon::Mode mode, QIcon::State state) const -{ - return ( theWrappedObject->pixmap(w, h, mode, state)); -} - -qint64 PythonQtWrapper_QIcon::cacheKey(QIcon* theWrappedObject) const -{ - return ( theWrappedObject->cacheKey()); -} - -bool PythonQtWrapper_QIcon::isNull(QIcon* theWrappedObject) const -{ - return ( theWrappedObject->isNull()); -} - -void PythonQtWrapper_QIcon::paint(QIcon* theWrappedObject, QPainter* painter, int x, int y, int w, int h, Qt::Alignment alignment, QIcon::Mode mode, QIcon::State state) const -{ - ( theWrappedObject->paint(painter, x, y, w, h, alignment, mode, state)); -} - -void PythonQtWrapper_QIcon::paint(QIcon* theWrappedObject, QPainter* painter, const QRect& rect, Qt::Alignment alignment, QIcon::Mode mode, QIcon::State state) const -{ - ( theWrappedObject->paint(painter, rect, alignment, mode, state)); -} - -void PythonQtWrapper_QIcon::addFile(QIcon* theWrappedObject, const QString& fileName, const QSize& size, QIcon::Mode mode, QIcon::State state) -{ - ( theWrappedObject->addFile(fileName, size, mode, state)); -} - -QSize PythonQtWrapper_QIcon::actualSize(QIcon* theWrappedObject, const QSize& size, QIcon::Mode mode, QIcon::State state) const -{ - return ( theWrappedObject->actualSize(size, mode, state)); -} - -void PythonQtWrapper_QIcon::readFrom(QIcon* theWrappedObject, QDataStream& arg__1) -{ - arg__1 >> (*theWrappedObject); -} - -QPixmap PythonQtWrapper_QIcon::pixmap(QIcon* theWrappedObject, const QSize& size, QIcon::Mode mode, QIcon::State state) const -{ - return ( theWrappedObject->pixmap(size, mode, state)); -} - -void PythonQtWrapper_QIcon::addPixmap(QIcon* theWrappedObject, const QPixmap& pixmap, QIcon::Mode mode, QIcon::State state) -{ - ( theWrappedObject->addPixmap(pixmap, mode, state)); -} - -void PythonQtWrapper_QIcon::writeTo(QIcon* theWrappedObject, QDataStream& arg__1) -{ - arg__1 << (*theWrappedObject); -} - -QPixmap PythonQtWrapper_QIcon::pixmap(QIcon* theWrappedObject, int extent, QIcon::Mode mode, QIcon::State state) const -{ - return ( theWrappedObject->pixmap(extent, mode, state)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QIcon.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QIcon.h deleted file mode 100644 index 2ac7f50..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QIcon.h +++ /dev/null @@ -1,48 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QICON_H -#define PYTHONQTWRAPPER_QICON_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtWrapper_QIcon : public QObject -{ Q_OBJECT -public: -Q_ENUMS(Mode State ) -enum Mode{ - Normal = QIcon::Normal, Disabled = QIcon::Disabled, Active = QIcon::Active, Selected = QIcon::Selected}; -enum State{ - On = QIcon::On, Off = QIcon::Off}; -public slots: -QIcon* new_QIcon(); -QIcon* new_QIcon(QIconEngine* engine); -QIcon* new_QIcon(QIconEngineV2* engine); -QIcon* new_QIcon(const QIcon& other); -QIcon* new_QIcon(const QPixmap& pixmap); -QIcon* new_QIcon(const QString& fileName); -void delete_QIcon(QIcon* obj) { delete obj; } - QPixmap pixmap(QIcon* theWrappedObject, int w, int h, QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off) const; - qint64 cacheKey(QIcon* theWrappedObject) const; - bool isNull(QIcon* theWrappedObject) const; - void paint(QIcon* theWrappedObject, QPainter* painter, int x, int y, int w, int h, Qt::Alignment alignment = Qt::AlignCenter, QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off) const; - void paint(QIcon* theWrappedObject, QPainter* painter, const QRect& rect, Qt::Alignment alignment = Qt::AlignCenter, QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off) const; - void addFile(QIcon* theWrappedObject, const QString& fileName, const QSize& size = QSize(), QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off); - QSize actualSize(QIcon* theWrappedObject, const QSize& size, QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off) const; - void readFrom(QIcon* theWrappedObject, QDataStream& arg__1); - QPixmap pixmap(QIcon* theWrappedObject, const QSize& size, QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off) const; - void addPixmap(QIcon* theWrappedObject, const QPixmap& pixmap, QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off); - void writeTo(QIcon* theWrappedObject, QDataStream& arg__1); - QPixmap pixmap(QIcon* theWrappedObject, int extent, QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off) const; -}; - -#endif // PYTHONQTWRAPPER_QICON_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QIconDragEvent.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QIconDragEvent.cpp deleted file mode 100644 index f2c7ebb..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QIconDragEvent.cpp +++ /dev/null @@ -1,11 +0,0 @@ -#include "PythonQtWrapper_QIconDragEvent.h" - -#include -#include -#include -#include - -QIconDragEvent* PythonQtWrapper_QIconDragEvent::new_QIconDragEvent() -{ -return new QIconDragEvent(); } - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QIconDragEvent.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QIconDragEvent.h deleted file mode 100644 index deef82d..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QIconDragEvent.h +++ /dev/null @@ -1,19 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QICONDRAGEVENT_H -#define PYTHONQTWRAPPER_QICONDRAGEVENT_H - -#include -#include - -#include - -#include - -class PythonQtWrapper_QIconDragEvent : public QObject -{ Q_OBJECT -public: -public slots: -QIconDragEvent* new_QIconDragEvent(); -void delete_QIconDragEvent(QIconDragEvent* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QICONDRAGEVENT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QIconEngine.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QIconEngine.cpp deleted file mode 100644 index 4fdb295..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QIconEngine.cpp +++ /dev/null @@ -1,142 +0,0 @@ -#include "PythonQtWrapper_QIconEngine.h" - -#include -#include -#include -#include -#include -#include -#include -#include - -QSize PythonQtShell_QIconEngine::actualSize(const QSize& size, QIcon::Mode mode, QIcon::State state) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actualSize"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize" , "const QSize&" , "QIcon::Mode" , "QIcon::State"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QSize returnValue; - void* args[4] = {NULL, (void*)&size, (void*)&mode, (void*)&state}; - 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("actualSize", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QIconEngine::actualSize(size, mode, state); -} -void PythonQtShell_QIconEngine::addFile(const QString& fileName, const QSize& size, QIcon::Mode mode, QIcon::State state) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "addFile"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QString&" , "const QSize&" , "QIcon::Mode" , "QIcon::State"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&fileName, (void*)&size, (void*)&mode, (void*)&state}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QIconEngine::addFile(fileName, size, mode, state); -} -void PythonQtShell_QIconEngine::addPixmap(const QPixmap& pixmap, QIcon::Mode mode, QIcon::State state) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "addPixmap"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QPixmap&" , "QIcon::Mode" , "QIcon::State"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&pixmap, (void*)&mode, (void*)&state}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QIconEngine::addPixmap(pixmap, mode, state); -} -void PythonQtShell_QIconEngine::paint(QPainter* painter, const QRect& rect, QIcon::Mode mode, QIcon::State state) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "QIcon::Mode" , "QIcon::State"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&painter, (void*)&rect, (void*)&mode, (void*)&state}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - -} -QPixmap PythonQtShell_QIconEngine::pixmap(const QSize& size, QIcon::Mode mode, QIcon::State state) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "pixmap"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPixmap" , "const QSize&" , "QIcon::Mode" , "QIcon::State"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QPixmap returnValue; - void* args[4] = {NULL, (void*)&size, (void*)&mode, (void*)&state}; - 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("pixmap", methodInfo, result); - } else { - returnValue = *((QPixmap*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QIconEngine::pixmap(size, mode, state); -} -QIconEngine* PythonQtWrapper_QIconEngine::new_QIconEngine() -{ -return new PythonQtShell_QIconEngine(); } - -void PythonQtWrapper_QIconEngine::addPixmap(QIconEngine* theWrappedObject, const QPixmap& pixmap, QIcon::Mode mode, QIcon::State state) -{ - ( ((PythonQtPublicPromoter_QIconEngine*)theWrappedObject)->promoted_addPixmap(pixmap, mode, state)); -} - -QSize PythonQtWrapper_QIconEngine::actualSize(QIconEngine* theWrappedObject, const QSize& size, QIcon::Mode mode, QIcon::State state) -{ - return ( ((PythonQtPublicPromoter_QIconEngine*)theWrappedObject)->promoted_actualSize(size, mode, state)); -} - -void PythonQtWrapper_QIconEngine::addFile(QIconEngine* theWrappedObject, const QString& fileName, const QSize& size, QIcon::Mode mode, QIcon::State state) -{ - ( ((PythonQtPublicPromoter_QIconEngine*)theWrappedObject)->promoted_addFile(fileName, size, mode, state)); -} - -QPixmap PythonQtWrapper_QIconEngine::pixmap(QIconEngine* theWrappedObject, const QSize& size, QIcon::Mode mode, QIcon::State state) -{ - return ( ((PythonQtPublicPromoter_QIconEngine*)theWrappedObject)->promoted_pixmap(size, mode, state)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QIconEngine.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QIconEngine.h deleted file mode 100644 index 1657950..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QIconEngine.h +++ /dev/null @@ -1,49 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QICONENGINE_H -#define PYTHONQTWRAPPER_QICONENGINE_H - -#include -#include - -#include - -#include -#include -#include -#include -#include - -class PythonQtShell_QIconEngine : public QIconEngine -{ -public: - PythonQtShell_QIconEngine():QIconEngine(),_wrapper(NULL) {}; - -virtual QSize actualSize(const QSize& size, QIcon::Mode mode, QIcon::State state); -virtual void addFile(const QString& fileName, const QSize& size, QIcon::Mode mode, QIcon::State state); -virtual void addPixmap(const QPixmap& pixmap, QIcon::Mode mode, QIcon::State state); -virtual void paint(QPainter* painter, const QRect& rect, QIcon::Mode mode, QIcon::State state); -virtual QPixmap pixmap(const QSize& size, QIcon::Mode mode, QIcon::State state); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QIconEngine : public QIconEngine -{ public: -inline void promoted_addPixmap(const QPixmap& pixmap, QIcon::Mode mode, QIcon::State state) { QIconEngine::addPixmap(pixmap, mode, state); } -inline QSize promoted_actualSize(const QSize& size, QIcon::Mode mode, QIcon::State state) { return QIconEngine::actualSize(size, mode, state); } -inline void promoted_addFile(const QString& fileName, const QSize& size, QIcon::Mode mode, QIcon::State state) { QIconEngine::addFile(fileName, size, mode, state); } -inline QPixmap promoted_pixmap(const QSize& size, QIcon::Mode mode, QIcon::State state) { return QIconEngine::pixmap(size, mode, state); } -}; - -class PythonQtWrapper_QIconEngine : public QObject -{ Q_OBJECT -public: -public slots: -QIconEngine* new_QIconEngine(); -void delete_QIconEngine(QIconEngine* obj) { delete obj; } - void addPixmap(QIconEngine* theWrappedObject, const QPixmap& pixmap, QIcon::Mode mode, QIcon::State state); - QSize actualSize(QIconEngine* theWrappedObject, const QSize& size, QIcon::Mode mode, QIcon::State state); - void addFile(QIconEngine* theWrappedObject, const QString& fileName, const QSize& size, QIcon::Mode mode, QIcon::State state); - QPixmap pixmap(QIconEngine* theWrappedObject, const QSize& size, QIcon::Mode mode, QIcon::State state); -}; - -#endif // PYTHONQTWRAPPER_QICONENGINE_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QIconEnginePluginV2.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QIconEnginePluginV2.cpp deleted file mode 100644 index 214dd48..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QIconEnginePluginV2.cpp +++ /dev/null @@ -1,181 +0,0 @@ -#include "PythonQtWrapper_QIconEnginePluginV2.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QIconEnginePluginV2::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; - } -} - QIconEnginePluginV2::childEvent(arg__1); -} -QIconEngineV2* PythonQtShell_QIconEnginePluginV2::create(const QString& filename) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "create"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QIconEngineV2*" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QIconEngineV2* returnValue; - void* args[2] = {NULL, (void*)&filename}; - 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("create", methodInfo, result); - } else { - returnValue = *((QIconEngineV2**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QIconEngineV2* result; -return result; -} -void PythonQtShell_QIconEnginePluginV2::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; - } -} - QIconEnginePluginV2::customEvent(arg__1); -} -bool PythonQtShell_QIconEnginePluginV2::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QIconEnginePluginV2::event(arg__1); -} -bool PythonQtShell_QIconEnginePluginV2::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QIconEnginePluginV2::eventFilter(arg__1, arg__2); -} -QStringList PythonQtShell_QIconEnginePluginV2::keys() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keys"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QStringList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStringList returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("keys", methodInfo, result); - } else { - returnValue = *((QStringList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QStringList result; -return result; -} -void PythonQtShell_QIconEnginePluginV2::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; - } -} - QIconEnginePluginV2::timerEvent(arg__1); -} -QIconEnginePluginV2* PythonQtWrapper_QIconEnginePluginV2::new_QIconEnginePluginV2(QObject* parent) -{ -return new PythonQtShell_QIconEnginePluginV2(parent); } - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QIconEnginePluginV2.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QIconEnginePluginV2.h deleted file mode 100644 index e9e2e7a..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QIconEnginePluginV2.h +++ /dev/null @@ -1,40 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QICONENGINEPLUGINV2_H -#define PYTHONQTWRAPPER_QICONENGINEPLUGINV2_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QIconEnginePluginV2 : public QIconEnginePluginV2 -{ -public: - PythonQtShell_QIconEnginePluginV2(QObject* parent = 0):QIconEnginePluginV2(parent),_wrapper(NULL) {}; - -virtual void childEvent(QChildEvent* arg__1); -virtual QIconEngineV2* create(const QString& filename = QString()); -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual QStringList keys() const; -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QIconEnginePluginV2 : public QObject -{ Q_OBJECT -public: -public slots: -QIconEnginePluginV2* new_QIconEnginePluginV2(QObject* parent = 0); -void delete_QIconEnginePluginV2(QIconEnginePluginV2* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QICONENGINEPLUGINV2_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QImage.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QImage.cpp deleted file mode 100644 index 7f2cf86..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QImage.cpp +++ /dev/null @@ -1,466 +0,0 @@ -#include "PythonQtWrapper_QImage.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -int PythonQtShell_QImage::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QImage::devType(); -} -int PythonQtShell_QImage::metric(QPaintDevice::PaintDeviceMetric metric) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&metric}; - 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("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QImage::metric(metric); -} -QPaintEngine* PythonQtShell_QImage::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QImage::paintEngine(); -} -QImage* PythonQtWrapper_QImage::new_QImage() -{ -return new PythonQtShell_QImage(); } - -QImage* PythonQtWrapper_QImage::new_QImage(const QImage& arg__1) -{ -return new PythonQtShell_QImage(arg__1); } - -QImage* PythonQtWrapper_QImage::new_QImage(const QSize& size, QImage::Format format) -{ -return new PythonQtShell_QImage(size, format); } - -QImage* PythonQtWrapper_QImage::new_QImage(const QString& fileName, const char* format) -{ -return new PythonQtShell_QImage(fileName, format); } - -QImage* PythonQtWrapper_QImage::new_QImage(int width, int height, QImage::Format format) -{ -return new PythonQtShell_QImage(width, height, format); } - -QImage PythonQtWrapper_QImage::mirrored(QImage* theWrappedObject, bool horizontally, bool vertically) const -{ - return ( theWrappedObject->mirrored(horizontally, vertically)); -} - -QImage PythonQtWrapper_QImage::copy(QImage* theWrappedObject, int x, int y, int w, int h) const -{ - return ( theWrappedObject->copy(x, y, w, h)); -} - -QImage PythonQtWrapper_QImage::convertToFormat(QImage* theWrappedObject, QImage::Format f, Qt::ImageConversionFlags flags) const -{ - return ( theWrappedObject->convertToFormat(f, flags)); -} - -QImage PythonQtWrapper_QImage::createAlphaMask(QImage* theWrappedObject, Qt::ImageConversionFlags flags) const -{ - return ( theWrappedObject->createAlphaMask(flags)); -} - -void PythonQtWrapper_QImage::setPixel(QImage* theWrappedObject, const QPoint& pt, uint index_or_rgb) -{ - ( theWrappedObject->setPixel(pt, index_or_rgb)); -} - -void PythonQtWrapper_QImage::setOffset(QImage* theWrappedObject, const QPoint& arg__1) -{ - ( theWrappedObject->setOffset(arg__1)); -} - -unsigned int PythonQtWrapper_QImage::pixel(QImage* theWrappedObject, int x, int y) const -{ - return ( theWrappedObject->pixel(x, y)); -} - -void PythonQtWrapper_QImage::setText(QImage* theWrappedObject, const QString& key, const QString& value) -{ - ( theWrappedObject->setText(key, value)); -} - -int PythonQtWrapper_QImage::bytesPerLine(QImage* theWrappedObject) const -{ - return ( theWrappedObject->bytesPerLine()); -} - -int PythonQtWrapper_QImage::numColors(QImage* theWrappedObject) const -{ - return ( theWrappedObject->numColors()); -} - -QImage PythonQtWrapper_QImage::createMaskFromColor(QImage* theWrappedObject, unsigned int color, Qt::MaskMode mode) const -{ - return ( theWrappedObject->createMaskFromColor(color, mode)); -} - -QTransform PythonQtWrapper_QImage::static_QImage_trueMatrix(const QTransform& arg__1, int w, int h) -{ - return (QImage::trueMatrix(arg__1, w, h)); -} - -unsigned int PythonQtWrapper_QImage::pixel(QImage* theWrappedObject, const QPoint& pt) const -{ - return ( theWrappedObject->pixel(pt)); -} - -QMatrix PythonQtWrapper_QImage::static_QImage_trueMatrix(const QMatrix& arg__1, int w, int h) -{ - return (QImage::trueMatrix(arg__1, w, h)); -} - -void PythonQtWrapper_QImage::setAlphaChannel(QImage* theWrappedObject, const QImage& alphaChannel) -{ - ( theWrappedObject->setAlphaChannel(alphaChannel)); -} - -void PythonQtWrapper_QImage::setNumColors(QImage* theWrappedObject, int arg__1) -{ - ( theWrappedObject->setNumColors(arg__1)); -} - -bool PythonQtWrapper_QImage::operator_equal(QImage* theWrappedObject, const QImage& arg__1) const -{ - return ( (*theWrappedObject)== arg__1); -} - -unsigned int PythonQtWrapper_QImage::color(QImage* theWrappedObject, int i) const -{ - return ( theWrappedObject->color(i)); -} - -bool PythonQtWrapper_QImage::isGrayscale(QImage* theWrappedObject) const -{ - return ( theWrappedObject->isGrayscale()); -} - -bool PythonQtWrapper_QImage::loadFromData(QImage* theWrappedObject, const QByteArray& data, const char* aformat) -{ - return ( theWrappedObject->loadFromData(data, aformat)); -} - -bool PythonQtWrapper_QImage::isNull(QImage* theWrappedObject) const -{ - return ( theWrappedObject->isNull()); -} - -QImage::Format PythonQtWrapper_QImage::format(QImage* theWrappedObject) const -{ - return ( theWrappedObject->format()); -} - -QString PythonQtWrapper_QImage::text(QImage* theWrappedObject, const QString& key) const -{ - return ( theWrappedObject->text(key)); -} - -void PythonQtWrapper_QImage::setColor(QImage* theWrappedObject, int i, unsigned int c) -{ - ( theWrappedObject->setColor(i, c)); -} - -bool PythonQtWrapper_QImage::valid(QImage* theWrappedObject, int x, int y) const -{ - return ( theWrappedObject->valid(x, y)); -} - -int PythonQtWrapper_QImage::dotsPerMeterY(QImage* theWrappedObject) const -{ - return ( theWrappedObject->dotsPerMeterY()); -} - -int PythonQtWrapper_QImage::devType(QImage* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QImage*)theWrappedObject)->promoted_devType()); -} - -QSize PythonQtWrapper_QImage::size(QImage* theWrappedObject) const -{ - return ( theWrappedObject->size()); -} - -QImage PythonQtWrapper_QImage::scaledToHeight(QImage* theWrappedObject, int h, Qt::TransformationMode mode) const -{ - return ( theWrappedObject->scaledToHeight(h, mode)); -} - -int PythonQtWrapper_QImage::numBytes(QImage* theWrappedObject) const -{ - return ( theWrappedObject->numBytes()); -} - -void PythonQtWrapper_QImage::setPixel(QImage* theWrappedObject, int x, int y, uint index_or_rgb) -{ - ( theWrappedObject->setPixel(x, y, index_or_rgb)); -} - -bool PythonQtWrapper_QImage::allGray(QImage* theWrappedObject) const -{ - return ( theWrappedObject->allGray()); -} - -int PythonQtWrapper_QImage::depth(QImage* theWrappedObject) const -{ - return ( theWrappedObject->depth()); -} - -void PythonQtWrapper_QImage::invertPixels(QImage* theWrappedObject, QImage::InvertMode arg__1) -{ - ( theWrappedObject->invertPixels(arg__1)); -} - -qint64 PythonQtWrapper_QImage::cacheKey(QImage* theWrappedObject) const -{ - return ( theWrappedObject->cacheKey()); -} - -int PythonQtWrapper_QImage::pixelIndex(QImage* theWrappedObject, const QPoint& pt) const -{ - return ( theWrappedObject->pixelIndex(pt)); -} - -void PythonQtWrapper_QImage::writeTo(QImage* theWrappedObject, QDataStream& arg__1) -{ - arg__1 << (*theWrappedObject); -} - -QImage PythonQtWrapper_QImage::transformed(QImage* theWrappedObject, const QTransform& matrix, Qt::TransformationMode mode) const -{ - return ( theWrappedObject->transformed(matrix, mode)); -} - -QImage PythonQtWrapper_QImage::scaled(QImage* theWrappedObject, const QSize& s, Qt::AspectRatioMode aspectMode, Qt::TransformationMode mode) const -{ - return ( theWrappedObject->scaled(s, aspectMode, mode)); -} - -QPaintEngine* PythonQtWrapper_QImage::paintEngine(QImage* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QImage*)theWrappedObject)->promoted_paintEngine()); -} - -int PythonQtWrapper_QImage::width(QImage* theWrappedObject) const -{ - return ( theWrappedObject->width()); -} - -QImage PythonQtWrapper_QImage::copy(QImage* theWrappedObject, const QRect& rect) const -{ - return ( theWrappedObject->copy(rect)); -} - -void PythonQtWrapper_QImage::setDotsPerMeterY(QImage* theWrappedObject, int arg__1) -{ - ( theWrappedObject->setDotsPerMeterY(arg__1)); -} - -QImage PythonQtWrapper_QImage::convertToFormat(QImage* theWrappedObject, QImage::Format f, const QVector& colorTable, Qt::ImageConversionFlags flags) const -{ - return ( theWrappedObject->convertToFormat(f, colorTable, flags)); -} - -int PythonQtWrapper_QImage::metric(QImage* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const -{ - return ( ((PythonQtPublicPromoter_QImage*)theWrappedObject)->promoted_metric(metric)); -} - -QImage PythonQtWrapper_QImage::createHeuristicMask(QImage* theWrappedObject, bool clipTight) const -{ - return ( theWrappedObject->createHeuristicMask(clipTight)); -} - -bool PythonQtWrapper_QImage::save(QImage* theWrappedObject, const QString& fileName, const char* format, int quality) const -{ - return ( theWrappedObject->save(fileName, format, quality)); -} - -bool PythonQtWrapper_QImage::save(QImage* theWrappedObject, QIODevice* device, const char* format, int quality) const -{ - return ( theWrappedObject->save(device, format, quality)); -} - -bool PythonQtWrapper_QImage::load(QImage* theWrappedObject, const QString& fileName, const char* format) -{ - return ( theWrappedObject->load(fileName, format)); -} - -int PythonQtWrapper_QImage::pixelIndex(QImage* theWrappedObject, int x, int y) const -{ - return ( theWrappedObject->pixelIndex(x, y)); -} - -QPoint PythonQtWrapper_QImage::offset(QImage* theWrappedObject) const -{ - return ( theWrappedObject->offset()); -} - -QImage PythonQtWrapper_QImage::static_QImage_fromData(const QByteArray& data, const char* format) -{ - return (QImage::fromData(data, format)); -} - -void PythonQtWrapper_QImage::readFrom(QImage* theWrappedObject, QDataStream& arg__1) -{ - arg__1 >> (*theWrappedObject); -} - -QImage PythonQtWrapper_QImage::scaledToWidth(QImage* theWrappedObject, int w, Qt::TransformationMode mode) const -{ - return ( theWrappedObject->scaledToWidth(w, mode)); -} - -int PythonQtWrapper_QImage::dotsPerMeterX(QImage* theWrappedObject) const -{ - return ( theWrappedObject->dotsPerMeterX()); -} - -QImage PythonQtWrapper_QImage::alphaChannel(QImage* theWrappedObject) const -{ - return ( theWrappedObject->alphaChannel()); -} - -QImage PythonQtWrapper_QImage::scaled(QImage* theWrappedObject, int w, int h, Qt::AspectRatioMode aspectMode, Qt::TransformationMode mode) const -{ - return ( theWrappedObject->scaled(w, h, aspectMode, mode)); -} - -QVector PythonQtWrapper_QImage::colorTable(QImage* theWrappedObject) const -{ - return ( theWrappedObject->colorTable()); -} - -void PythonQtWrapper_QImage::fill(QImage* theWrappedObject, uint pixel) -{ - ( theWrappedObject->fill(pixel)); -} - -QStringList PythonQtWrapper_QImage::textKeys(QImage* theWrappedObject) const -{ - return ( theWrappedObject->textKeys()); -} - -bool PythonQtWrapper_QImage::valid(QImage* theWrappedObject, const QPoint& pt) const -{ - return ( theWrappedObject->valid(pt)); -} - -bool PythonQtWrapper_QImage::load(QImage* theWrappedObject, QIODevice* device, const char* format) -{ - return ( theWrappedObject->load(device, format)); -} - -void PythonQtWrapper_QImage::setDotsPerMeterX(QImage* theWrappedObject, int arg__1) -{ - ( theWrappedObject->setDotsPerMeterX(arg__1)); -} - -QRect PythonQtWrapper_QImage::rect(QImage* theWrappedObject) const -{ - return ( theWrappedObject->rect()); -} - -QImage PythonQtWrapper_QImage::rgbSwapped(QImage* theWrappedObject) const -{ - return ( theWrappedObject->rgbSwapped()); -} - -int PythonQtWrapper_QImage::height(QImage* theWrappedObject) const -{ - return ( theWrappedObject->height()); -} - -bool PythonQtWrapper_QImage::hasAlphaChannel(QImage* theWrappedObject) const -{ - return ( theWrappedObject->hasAlphaChannel()); -} - -QImage PythonQtWrapper_QImage::transformed(QImage* theWrappedObject, const QMatrix& matrix, Qt::TransformationMode mode) const -{ - return ( theWrappedObject->transformed(matrix, mode)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QImage.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QImage.h deleted file mode 100644 index 6ff8f00..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QImage.h +++ /dev/null @@ -1,134 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QIMAGE_H -#define PYTHONQTWRAPPER_QIMAGE_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QImage : public QImage -{ -public: - PythonQtShell_QImage():QImage(),_wrapper(NULL) {}; - PythonQtShell_QImage(const QImage& arg__1):QImage(arg__1),_wrapper(NULL) {}; - PythonQtShell_QImage(const QSize& size, QImage::Format format):QImage(size, format),_wrapper(NULL) {}; - PythonQtShell_QImage(const QString& fileName, const char* format = 0):QImage(fileName, format),_wrapper(NULL) {}; - PythonQtShell_QImage(int width, int height, QImage::Format format):QImage(width, height, format),_wrapper(NULL) {}; - -virtual int devType() const; -virtual int metric(QPaintDevice::PaintDeviceMetric metric) const; -virtual QPaintEngine* paintEngine() const; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QImage : public QImage -{ public: -inline int promoted_devType() const { return QImage::devType(); } -inline QPaintEngine* promoted_paintEngine() const { return QImage::paintEngine(); } -inline int promoted_metric(QPaintDevice::PaintDeviceMetric metric) const { return QImage::metric(metric); } -}; - -class PythonQtWrapper_QImage : public QObject -{ Q_OBJECT -public: -Q_ENUMS(InvertMode Format ) -enum InvertMode{ - InvertRgb = QImage::InvertRgb, InvertRgba = QImage::InvertRgba}; -enum Format{ - Format_Invalid = QImage::Format_Invalid, Format_Mono = QImage::Format_Mono, Format_MonoLSB = QImage::Format_MonoLSB, Format_Indexed8 = QImage::Format_Indexed8, Format_RGB32 = QImage::Format_RGB32, Format_ARGB32 = QImage::Format_ARGB32, Format_ARGB32_Premultiplied = QImage::Format_ARGB32_Premultiplied, Format_RGB16 = QImage::Format_RGB16, Format_ARGB8565_Premultiplied = QImage::Format_ARGB8565_Premultiplied, Format_RGB666 = QImage::Format_RGB666, Format_ARGB6666_Premultiplied = QImage::Format_ARGB6666_Premultiplied, Format_RGB555 = QImage::Format_RGB555, Format_ARGB8555_Premultiplied = QImage::Format_ARGB8555_Premultiplied, Format_RGB888 = QImage::Format_RGB888, Format_RGB444 = QImage::Format_RGB444, Format_ARGB4444_Premultiplied = QImage::Format_ARGB4444_Premultiplied, NImageFormats = QImage::NImageFormats}; -public slots: -QImage* new_QImage(); -QImage* new_QImage(const QImage& arg__1); -QImage* new_QImage(const QSize& size, QImage::Format format); -QImage* new_QImage(const QString& fileName, const char* format = 0); -QImage* new_QImage(int width, int height, QImage::Format format); -void delete_QImage(QImage* obj) { delete obj; } - QImage mirrored(QImage* theWrappedObject, bool horizontally = false, bool vertically = true) const; - QImage copy(QImage* theWrappedObject, int x, int y, int w, int h) const; - QImage convertToFormat(QImage* theWrappedObject, QImage::Format f, Qt::ImageConversionFlags flags = Qt::AutoColor) const; - QImage createAlphaMask(QImage* theWrappedObject, Qt::ImageConversionFlags flags = Qt::AutoColor) const; - void setPixel(QImage* theWrappedObject, const QPoint& pt, uint index_or_rgb); - void setOffset(QImage* theWrappedObject, const QPoint& arg__1); - unsigned int pixel(QImage* theWrappedObject, int x, int y) const; - void setText(QImage* theWrappedObject, const QString& key, const QString& value); - int bytesPerLine(QImage* theWrappedObject) const; - int numColors(QImage* theWrappedObject) const; - QImage createMaskFromColor(QImage* theWrappedObject, unsigned int color, Qt::MaskMode mode = Qt::MaskInColor) const; - QTransform static_QImage_trueMatrix(const QTransform& arg__1, int w, int h); - unsigned int pixel(QImage* theWrappedObject, const QPoint& pt) const; - QMatrix static_QImage_trueMatrix(const QMatrix& arg__1, int w, int h); - void setAlphaChannel(QImage* theWrappedObject, const QImage& alphaChannel); - void setNumColors(QImage* theWrappedObject, int arg__1); - bool operator_equal(QImage* theWrappedObject, const QImage& arg__1) const; - unsigned int color(QImage* theWrappedObject, int i) const; - bool isGrayscale(QImage* theWrappedObject) const; - bool loadFromData(QImage* theWrappedObject, const QByteArray& data, const char* aformat = 0); - bool isNull(QImage* theWrappedObject) const; - QImage::Format format(QImage* theWrappedObject) const; - QString text(QImage* theWrappedObject, const QString& key = QString()) const; - void setColor(QImage* theWrappedObject, int i, unsigned int c); - bool valid(QImage* theWrappedObject, int x, int y) const; - int dotsPerMeterY(QImage* theWrappedObject) const; - int devType(QImage* theWrappedObject) const; - QSize size(QImage* theWrappedObject) const; - QImage scaledToHeight(QImage* theWrappedObject, int h, Qt::TransformationMode mode = Qt::FastTransformation) const; - int numBytes(QImage* theWrappedObject) const; - void setPixel(QImage* theWrappedObject, int x, int y, uint index_or_rgb); - bool allGray(QImage* theWrappedObject) const; - int depth(QImage* theWrappedObject) const; - void invertPixels(QImage* theWrappedObject, QImage::InvertMode arg__1 = QImage::InvertRgb); - qint64 cacheKey(QImage* theWrappedObject) const; - int pixelIndex(QImage* theWrappedObject, const QPoint& pt) const; - void writeTo(QImage* theWrappedObject, QDataStream& arg__1); - QImage transformed(QImage* theWrappedObject, const QTransform& matrix, Qt::TransformationMode mode = Qt::FastTransformation) const; - QImage scaled(QImage* theWrappedObject, const QSize& s, Qt::AspectRatioMode aspectMode = Qt::IgnoreAspectRatio, Qt::TransformationMode mode = Qt::FastTransformation) const; - QPaintEngine* paintEngine(QImage* theWrappedObject) const; - int width(QImage* theWrappedObject) const; - QImage copy(QImage* theWrappedObject, const QRect& rect = QRect()) const; - void setDotsPerMeterY(QImage* theWrappedObject, int arg__1); - QImage convertToFormat(QImage* theWrappedObject, QImage::Format f, const QVector& colorTable, Qt::ImageConversionFlags flags = Qt::AutoColor) const; - int metric(QImage* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const; - QImage createHeuristicMask(QImage* theWrappedObject, bool clipTight = true) const; - bool save(QImage* theWrappedObject, const QString& fileName, const char* format = 0, int quality = -1) const; - bool save(QImage* theWrappedObject, QIODevice* device, const char* format = 0, int quality = -1) const; - bool load(QImage* theWrappedObject, const QString& fileName, const char* format = 0); - int pixelIndex(QImage* theWrappedObject, int x, int y) const; - QPoint offset(QImage* theWrappedObject) const; - QImage static_QImage_fromData(const QByteArray& data, const char* format = 0); - void readFrom(QImage* theWrappedObject, QDataStream& arg__1); - QImage scaledToWidth(QImage* theWrappedObject, int w, Qt::TransformationMode mode = Qt::FastTransformation) const; - int dotsPerMeterX(QImage* theWrappedObject) const; - QImage alphaChannel(QImage* theWrappedObject) const; - QImage scaled(QImage* theWrappedObject, int w, int h, Qt::AspectRatioMode aspectMode = Qt::IgnoreAspectRatio, Qt::TransformationMode mode = Qt::FastTransformation) const; - QVector colorTable(QImage* theWrappedObject) const; - void fill(QImage* theWrappedObject, uint pixel); - QStringList textKeys(QImage* theWrappedObject) const; - bool valid(QImage* theWrappedObject, const QPoint& pt) const; - bool load(QImage* theWrappedObject, QIODevice* device, const char* format); - void setDotsPerMeterX(QImage* theWrappedObject, int arg__1); - QRect rect(QImage* theWrappedObject) const; - QImage rgbSwapped(QImage* theWrappedObject) const; - int height(QImage* theWrappedObject) const; - bool hasAlphaChannel(QImage* theWrappedObject) const; - QImage transformed(QImage* theWrappedObject, const QMatrix& matrix, Qt::TransformationMode mode = Qt::FastTransformation) const; -}; - -#endif // PYTHONQTWRAPPER_QIMAGE_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QImageIOHandler.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QImageIOHandler.cpp deleted file mode 100644 index 64b3946..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QImageIOHandler.cpp +++ /dev/null @@ -1,475 +0,0 @@ -#include "PythonQtWrapper_QImageIOHandler.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -bool PythonQtShell_QImageIOHandler::canRead() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "canRead"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canRead", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - bool result; -return result; -} -int PythonQtShell_QImageIOHandler::currentImageNumber() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "currentImageNumber"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("currentImageNumber", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QImageIOHandler::currentImageNumber(); -} -QRect PythonQtShell_QImageIOHandler::currentImageRect() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "currentImageRect"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QRect"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRect returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("currentImageRect", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QImageIOHandler::currentImageRect(); -} -int PythonQtShell_QImageIOHandler::imageCount() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "imageCount"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("imageCount", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QImageIOHandler::imageCount(); -} -bool PythonQtShell_QImageIOHandler::jumpToImage(int imageNumber) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "jumpToImage"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&imageNumber}; - 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("jumpToImage", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QImageIOHandler::jumpToImage(imageNumber); -} -bool PythonQtShell_QImageIOHandler::jumpToNextImage() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "jumpToNextImage"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("jumpToNextImage", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QImageIOHandler::jumpToNextImage(); -} -int PythonQtShell_QImageIOHandler::loopCount() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "loopCount"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("loopCount", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QImageIOHandler::loopCount(); -} -QByteArray PythonQtShell_QImageIOHandler::name() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "name"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QByteArray"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QByteArray returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("name", methodInfo, result); - } else { - returnValue = *((QByteArray*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QImageIOHandler::name(); -} -int PythonQtShell_QImageIOHandler::nextImageDelay() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "nextImageDelay"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nextImageDelay", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QImageIOHandler::nextImageDelay(); -} -QVariant PythonQtShell_QImageIOHandler::option(QImageIOHandler::ImageOption option) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "option"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "QImageIOHandler::ImageOption"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&option}; - 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("option", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QImageIOHandler::option(option); -} -bool PythonQtShell_QImageIOHandler::read(QImage* image) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "read"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QImage*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&image}; - 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("read", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - bool result; -return result; -} -void PythonQtShell_QImageIOHandler::setOption(QImageIOHandler::ImageOption option, const QVariant& value) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setOption"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QImageIOHandler::ImageOption" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&option, (void*)&value}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QImageIOHandler::setOption(option, value); -} -bool PythonQtShell_QImageIOHandler::supportsOption(QImageIOHandler::ImageOption option) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "supportsOption"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QImageIOHandler::ImageOption"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&option}; - 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("supportsOption", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QImageIOHandler::supportsOption(option); -} -bool PythonQtShell_QImageIOHandler::write(const QImage& image) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "write"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QImage&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&image}; - 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("write", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QImageIOHandler::write(image); -} -QImageIOHandler* PythonQtWrapper_QImageIOHandler::new_QImageIOHandler() -{ -return new PythonQtShell_QImageIOHandler(); } - -QByteArray PythonQtWrapper_QImageIOHandler::format(QImageIOHandler* theWrappedObject) const -{ - return ( theWrappedObject->format()); -} - -void PythonQtWrapper_QImageIOHandler::setDevice(QImageIOHandler* theWrappedObject, QIODevice* device) -{ - ( theWrappedObject->setDevice(device)); -} - -bool PythonQtWrapper_QImageIOHandler::write(QImageIOHandler* theWrappedObject, const QImage& image) -{ - return ( ((PythonQtPublicPromoter_QImageIOHandler*)theWrappedObject)->promoted_write(image)); -} - -QIODevice* PythonQtWrapper_QImageIOHandler::device(QImageIOHandler* theWrappedObject) const -{ - return ( theWrappedObject->device()); -} - -bool PythonQtWrapper_QImageIOHandler::supportsOption(QImageIOHandler* theWrappedObject, QImageIOHandler::ImageOption option) const -{ - return ( ((PythonQtPublicPromoter_QImageIOHandler*)theWrappedObject)->promoted_supportsOption(option)); -} - -QVariant PythonQtWrapper_QImageIOHandler::option(QImageIOHandler* theWrappedObject, QImageIOHandler::ImageOption option) const -{ - return ( ((PythonQtPublicPromoter_QImageIOHandler*)theWrappedObject)->promoted_option(option)); -} - -int PythonQtWrapper_QImageIOHandler::currentImageNumber(QImageIOHandler* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QImageIOHandler*)theWrappedObject)->promoted_currentImageNumber()); -} - -QRect PythonQtWrapper_QImageIOHandler::currentImageRect(QImageIOHandler* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QImageIOHandler*)theWrappedObject)->promoted_currentImageRect()); -} - -bool PythonQtWrapper_QImageIOHandler::jumpToImage(QImageIOHandler* theWrappedObject, int imageNumber) -{ - return ( ((PythonQtPublicPromoter_QImageIOHandler*)theWrappedObject)->promoted_jumpToImage(imageNumber)); -} - -bool PythonQtWrapper_QImageIOHandler::jumpToNextImage(QImageIOHandler* theWrappedObject) -{ - return ( ((PythonQtPublicPromoter_QImageIOHandler*)theWrappedObject)->promoted_jumpToNextImage()); -} - -void PythonQtWrapper_QImageIOHandler::setFormat(QImageIOHandler* theWrappedObject, const QByteArray& format) -{ - ( theWrappedObject->setFormat(format)); -} - -void PythonQtWrapper_QImageIOHandler::setOption(QImageIOHandler* theWrappedObject, QImageIOHandler::ImageOption option, const QVariant& value) -{ - ( ((PythonQtPublicPromoter_QImageIOHandler*)theWrappedObject)->promoted_setOption(option, value)); -} - -int PythonQtWrapper_QImageIOHandler::imageCount(QImageIOHandler* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QImageIOHandler*)theWrappedObject)->promoted_imageCount()); -} - -int PythonQtWrapper_QImageIOHandler::nextImageDelay(QImageIOHandler* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QImageIOHandler*)theWrappedObject)->promoted_nextImageDelay()); -} - -int PythonQtWrapper_QImageIOHandler::loopCount(QImageIOHandler* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QImageIOHandler*)theWrappedObject)->promoted_loopCount()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QImageIOHandler.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QImageIOHandler.h deleted file mode 100644 index fd46239..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QImageIOHandler.h +++ /dev/null @@ -1,81 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QIMAGEIOHANDLER_H -#define PYTHONQTWRAPPER_QIMAGEIOHANDLER_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QImageIOHandler : public QImageIOHandler -{ -public: - PythonQtShell_QImageIOHandler():QImageIOHandler(),_wrapper(NULL) {}; - -virtual bool canRead() const; -virtual int currentImageNumber() const; -virtual QRect currentImageRect() const; -virtual int imageCount() const; -virtual bool jumpToImage(int imageNumber); -virtual bool jumpToNextImage(); -virtual int loopCount() const; -virtual QByteArray name() const; -virtual int nextImageDelay() const; -virtual QVariant option(QImageIOHandler::ImageOption option) const; -virtual bool read(QImage* image); -virtual void setOption(QImageIOHandler::ImageOption option, const QVariant& value); -virtual bool supportsOption(QImageIOHandler::ImageOption option) const; -virtual bool write(const QImage& image); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QImageIOHandler : public QImageIOHandler -{ public: -inline bool promoted_write(const QImage& image) { return QImageIOHandler::write(image); } -inline bool promoted_supportsOption(QImageIOHandler::ImageOption option) const { return QImageIOHandler::supportsOption(option); } -inline QVariant promoted_option(QImageIOHandler::ImageOption option) const { return QImageIOHandler::option(option); } -inline int promoted_currentImageNumber() const { return QImageIOHandler::currentImageNumber(); } -inline QRect promoted_currentImageRect() const { return QImageIOHandler::currentImageRect(); } -inline bool promoted_jumpToImage(int imageNumber) { return QImageIOHandler::jumpToImage(imageNumber); } -inline bool promoted_jumpToNextImage() { return QImageIOHandler::jumpToNextImage(); } -inline void promoted_setOption(QImageIOHandler::ImageOption option, const QVariant& value) { QImageIOHandler::setOption(option, value); } -inline int promoted_imageCount() const { return QImageIOHandler::imageCount(); } -inline int promoted_nextImageDelay() const { return QImageIOHandler::nextImageDelay(); } -inline int promoted_loopCount() const { return QImageIOHandler::loopCount(); } -}; - -class PythonQtWrapper_QImageIOHandler : public QObject -{ Q_OBJECT -public: -Q_ENUMS(ImageOption ) -enum ImageOption{ - Size = QImageIOHandler::Size, ClipRect = QImageIOHandler::ClipRect, Description = QImageIOHandler::Description, ScaledClipRect = QImageIOHandler::ScaledClipRect, ScaledSize = QImageIOHandler::ScaledSize, CompressionRatio = QImageIOHandler::CompressionRatio, Gamma = QImageIOHandler::Gamma, Quality = QImageIOHandler::Quality, Name = QImageIOHandler::Name, SubType = QImageIOHandler::SubType, IncrementalReading = QImageIOHandler::IncrementalReading, Endianness = QImageIOHandler::Endianness, Animation = QImageIOHandler::Animation, BackgroundColor = QImageIOHandler::BackgroundColor}; -public slots: -QImageIOHandler* new_QImageIOHandler(); -void delete_QImageIOHandler(QImageIOHandler* obj) { delete obj; } - QByteArray format(QImageIOHandler* theWrappedObject) const; - void setDevice(QImageIOHandler* theWrappedObject, QIODevice* device); - bool write(QImageIOHandler* theWrappedObject, const QImage& image); - QIODevice* device(QImageIOHandler* theWrappedObject) const; - bool supportsOption(QImageIOHandler* theWrappedObject, QImageIOHandler::ImageOption option) const; - QVariant option(QImageIOHandler* theWrappedObject, QImageIOHandler::ImageOption option) const; - int currentImageNumber(QImageIOHandler* theWrappedObject) const; - QRect currentImageRect(QImageIOHandler* theWrappedObject) const; - bool jumpToImage(QImageIOHandler* theWrappedObject, int imageNumber); - bool jumpToNextImage(QImageIOHandler* theWrappedObject); - void setFormat(QImageIOHandler* theWrappedObject, const QByteArray& format); - void setOption(QImageIOHandler* theWrappedObject, QImageIOHandler::ImageOption option, const QVariant& value); - int imageCount(QImageIOHandler* theWrappedObject) const; - int nextImageDelay(QImageIOHandler* theWrappedObject) const; - int loopCount(QImageIOHandler* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QIMAGEIOHANDLER_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QImageIOPlugin.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QImageIOPlugin.cpp deleted file mode 100644 index 7817f43..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QImageIOPlugin.cpp +++ /dev/null @@ -1,212 +0,0 @@ -#include "PythonQtWrapper_QImageIOPlugin.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QImageIOPlugin::Capabilities PythonQtShell_QImageIOPlugin::capabilities(QIODevice* device, const QByteArray& format) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "capabilities"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QImageIOPlugin::Capabilities" , "QIODevice*" , "const QByteArray&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QImageIOPlugin::Capabilities returnValue; - void* args[3] = {NULL, (void*)&device, (void*)&format}; - 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("capabilities", methodInfo, result); - } else { - returnValue = *((QImageIOPlugin::Capabilities*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QImageIOPlugin::Capabilities result; -return result; -} -void PythonQtShell_QImageIOPlugin::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; - } -} - QImageIOPlugin::childEvent(arg__1); -} -QImageIOHandler* PythonQtShell_QImageIOPlugin::create(QIODevice* device, const QByteArray& format) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "create"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QImageIOHandler*" , "QIODevice*" , "const QByteArray&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QImageIOHandler* returnValue; - void* args[3] = {NULL, (void*)&device, (void*)&format}; - 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("create", methodInfo, result); - } else { - returnValue = *((QImageIOHandler**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QImageIOHandler* result; -return result; -} -void PythonQtShell_QImageIOPlugin::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; - } -} - QImageIOPlugin::customEvent(arg__1); -} -bool PythonQtShell_QImageIOPlugin::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QImageIOPlugin::event(arg__1); -} -bool PythonQtShell_QImageIOPlugin::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QImageIOPlugin::eventFilter(arg__1, arg__2); -} -QStringList PythonQtShell_QImageIOPlugin::keys() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keys"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QStringList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStringList returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("keys", methodInfo, result); - } else { - returnValue = *((QStringList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QStringList result; -return result; -} -void PythonQtShell_QImageIOPlugin::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; - } -} - QImageIOPlugin::timerEvent(arg__1); -} -QImageIOPlugin* PythonQtWrapper_QImageIOPlugin::new_QImageIOPlugin(QObject* parent) -{ -return new PythonQtShell_QImageIOPlugin(parent); } - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QImageIOPlugin.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QImageIOPlugin.h deleted file mode 100644 index 28c1348..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QImageIOPlugin.h +++ /dev/null @@ -1,48 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QIMAGEIOPLUGIN_H -#define PYTHONQTWRAPPER_QIMAGEIOPLUGIN_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QImageIOPlugin : public QImageIOPlugin -{ -public: - PythonQtShell_QImageIOPlugin(QObject* parent = 0):QImageIOPlugin(parent),_wrapper(NULL) {}; - -virtual QImageIOPlugin::Capabilities capabilities(QIODevice* device, const QByteArray& format) const; -virtual void childEvent(QChildEvent* arg__1); -virtual QImageIOHandler* create(QIODevice* device, const QByteArray& format = QByteArray()) const; -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual QStringList keys() const; -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QImageIOPlugin : public QObject -{ Q_OBJECT -public: -Q_ENUMS(Capability ) -Q_FLAGS(Capabilities ) -enum Capability{ - CanRead = QImageIOPlugin::CanRead, CanWrite = QImageIOPlugin::CanWrite, CanReadIncremental = QImageIOPlugin::CanReadIncremental}; -Q_DECLARE_FLAGS(Capabilities, Capability) -public slots: -QImageIOPlugin* new_QImageIOPlugin(QObject* parent = 0); -void delete_QImageIOPlugin(QImageIOPlugin* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QIMAGEIOPLUGIN_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QImageReader.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QImageReader.cpp deleted file mode 100644 index 3c17d96..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QImageReader.cpp +++ /dev/null @@ -1,208 +0,0 @@ -#include "PythonQtWrapper_QImageReader.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QImageReader* PythonQtWrapper_QImageReader::new_QImageReader() -{ -return new QImageReader(); } - -QImageReader* PythonQtWrapper_QImageReader::new_QImageReader(QIODevice* device, const QByteArray& format) -{ -return new QImageReader(device, format); } - -QImageReader* PythonQtWrapper_QImageReader::new_QImageReader(const QString& fileName, const QByteArray& format) -{ -return new QImageReader(fileName, format); } - -QString PythonQtWrapper_QImageReader::fileName(QImageReader* theWrappedObject) const -{ - return ( theWrappedObject->fileName()); -} - -int PythonQtWrapper_QImageReader::nextImageDelay(QImageReader* theWrappedObject) const -{ - return ( theWrappedObject->nextImageDelay()); -} - -QRect PythonQtWrapper_QImageReader::clipRect(QImageReader* theWrappedObject) const -{ - return ( theWrappedObject->clipRect()); -} - -QList PythonQtWrapper_QImageReader::static_QImageReader_supportedImageFormats() -{ - return (QImageReader::supportedImageFormats()); -} - -bool PythonQtWrapper_QImageReader::supportsOption(QImageReader* theWrappedObject, QImageIOHandler::ImageOption option) const -{ - return ( theWrappedObject->supportsOption(option)); -} - -int PythonQtWrapper_QImageReader::currentImageNumber(QImageReader* theWrappedObject) const -{ - return ( theWrappedObject->currentImageNumber()); -} - -QByteArray PythonQtWrapper_QImageReader::format(QImageReader* theWrappedObject) const -{ - return ( theWrappedObject->format()); -} - -QRect PythonQtWrapper_QImageReader::scaledClipRect(QImageReader* theWrappedObject) const -{ - return ( theWrappedObject->scaledClipRect()); -} - -void PythonQtWrapper_QImageReader::setDevice(QImageReader* theWrappedObject, QIODevice* device) -{ - ( theWrappedObject->setDevice(device)); -} - -QImageReader::ImageReaderError PythonQtWrapper_QImageReader::error(QImageReader* theWrappedObject) const -{ - return ( theWrappedObject->error()); -} - -int PythonQtWrapper_QImageReader::quality(QImageReader* theWrappedObject) const -{ - return ( theWrappedObject->quality()); -} - -QSize PythonQtWrapper_QImageReader::size(QImageReader* theWrappedObject) const -{ - return ( theWrappedObject->size()); -} - -QString PythonQtWrapper_QImageReader::errorString(QImageReader* theWrappedObject) const -{ - return ( theWrappedObject->errorString()); -} - -bool PythonQtWrapper_QImageReader::jumpToNextImage(QImageReader* theWrappedObject) -{ - return ( theWrappedObject->jumpToNextImage()); -} - -QString PythonQtWrapper_QImageReader::text(QImageReader* theWrappedObject, const QString& key) const -{ - return ( theWrappedObject->text(key)); -} - -void PythonQtWrapper_QImageReader::setFormat(QImageReader* theWrappedObject, const QByteArray& format) -{ - ( theWrappedObject->setFormat(format)); -} - -void PythonQtWrapper_QImageReader::setScaledClipRect(QImageReader* theWrappedObject, const QRect& rect) -{ - ( theWrappedObject->setScaledClipRect(rect)); -} - -void PythonQtWrapper_QImageReader::setQuality(QImageReader* theWrappedObject, int quality) -{ - ( theWrappedObject->setQuality(quality)); -} - -QByteArray PythonQtWrapper_QImageReader::static_QImageReader_imageFormat(const QString& fileName) -{ - return (QImageReader::imageFormat(fileName)); -} - -void PythonQtWrapper_QImageReader::setBackgroundColor(QImageReader* theWrappedObject, const QColor& color) -{ - ( theWrappedObject->setBackgroundColor(color)); -} - -void PythonQtWrapper_QImageReader::setFileName(QImageReader* theWrappedObject, const QString& fileName) -{ - ( theWrappedObject->setFileName(fileName)); -} - -QSize PythonQtWrapper_QImageReader::scaledSize(QImageReader* theWrappedObject) const -{ - return ( theWrappedObject->scaledSize()); -} - -int PythonQtWrapper_QImageReader::loopCount(QImageReader* theWrappedObject) const -{ - return ( theWrappedObject->loopCount()); -} - -QByteArray PythonQtWrapper_QImageReader::static_QImageReader_imageFormat(QIODevice* device) -{ - return (QImageReader::imageFormat(device)); -} - -QIODevice* PythonQtWrapper_QImageReader::device(QImageReader* theWrappedObject) const -{ - return ( theWrappedObject->device()); -} - -QRect PythonQtWrapper_QImageReader::currentImageRect(QImageReader* theWrappedObject) const -{ - return ( theWrappedObject->currentImageRect()); -} - -void PythonQtWrapper_QImageReader::setClipRect(QImageReader* theWrappedObject, const QRect& rect) -{ - ( theWrappedObject->setClipRect(rect)); -} - -bool PythonQtWrapper_QImageReader::canRead(QImageReader* theWrappedObject) const -{ - return ( theWrappedObject->canRead()); -} - -bool PythonQtWrapper_QImageReader::jumpToImage(QImageReader* theWrappedObject, int imageNumber) -{ - return ( theWrappedObject->jumpToImage(imageNumber)); -} - -void PythonQtWrapper_QImageReader::setScaledSize(QImageReader* theWrappedObject, const QSize& size) -{ - ( theWrappedObject->setScaledSize(size)); -} - -int PythonQtWrapper_QImageReader::imageCount(QImageReader* theWrappedObject) const -{ - return ( theWrappedObject->imageCount()); -} - -QImage PythonQtWrapper_QImageReader::read(QImageReader* theWrappedObject) -{ - return ( theWrappedObject->read()); -} - -QColor PythonQtWrapper_QImageReader::backgroundColor(QImageReader* theWrappedObject) const -{ - return ( theWrappedObject->backgroundColor()); -} - -bool PythonQtWrapper_QImageReader::supportsAnimation(QImageReader* theWrappedObject) const -{ - return ( theWrappedObject->supportsAnimation()); -} - -QStringList PythonQtWrapper_QImageReader::textKeys(QImageReader* theWrappedObject) const -{ - return ( theWrappedObject->textKeys()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QImageReader.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QImageReader.h deleted file mode 100644 index 59d876f..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QImageReader.h +++ /dev/null @@ -1,73 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QIMAGEREADER_H -#define PYTHONQTWRAPPER_QIMAGEREADER_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtWrapper_QImageReader : public QObject -{ Q_OBJECT -public: -Q_ENUMS(ImageReaderError ) -enum ImageReaderError{ - UnknownError = QImageReader::UnknownError, FileNotFoundError = QImageReader::FileNotFoundError, DeviceError = QImageReader::DeviceError, UnsupportedFormatError = QImageReader::UnsupportedFormatError, InvalidDataError = QImageReader::InvalidDataError}; -public slots: -QImageReader* new_QImageReader(); -QImageReader* new_QImageReader(QIODevice* device, const QByteArray& format = QByteArray()); -QImageReader* new_QImageReader(const QString& fileName, const QByteArray& format = QByteArray()); -void delete_QImageReader(QImageReader* obj) { delete obj; } - QString fileName(QImageReader* theWrappedObject) const; - int nextImageDelay(QImageReader* theWrappedObject) const; - QRect clipRect(QImageReader* theWrappedObject) const; - QList static_QImageReader_supportedImageFormats(); - bool supportsOption(QImageReader* theWrappedObject, QImageIOHandler::ImageOption option) const; - int currentImageNumber(QImageReader* theWrappedObject) const; - QByteArray format(QImageReader* theWrappedObject) const; - QRect scaledClipRect(QImageReader* theWrappedObject) const; - void setDevice(QImageReader* theWrappedObject, QIODevice* device); - QImageReader::ImageReaderError error(QImageReader* theWrappedObject) const; - int quality(QImageReader* theWrappedObject) const; - QSize size(QImageReader* theWrappedObject) const; - QString errorString(QImageReader* theWrappedObject) const; - bool jumpToNextImage(QImageReader* theWrappedObject); - QString text(QImageReader* theWrappedObject, const QString& key) const; - void setFormat(QImageReader* theWrappedObject, const QByteArray& format); - void setScaledClipRect(QImageReader* theWrappedObject, const QRect& rect); - void setQuality(QImageReader* theWrappedObject, int quality); - QByteArray static_QImageReader_imageFormat(const QString& fileName); - void setBackgroundColor(QImageReader* theWrappedObject, const QColor& color); - void setFileName(QImageReader* theWrappedObject, const QString& fileName); - QSize scaledSize(QImageReader* theWrappedObject) const; - int loopCount(QImageReader* theWrappedObject) const; - QByteArray static_QImageReader_imageFormat(QIODevice* device); - QIODevice* device(QImageReader* theWrappedObject) const; - QRect currentImageRect(QImageReader* theWrappedObject) const; - void setClipRect(QImageReader* theWrappedObject, const QRect& rect); - bool canRead(QImageReader* theWrappedObject) const; - bool jumpToImage(QImageReader* theWrappedObject, int imageNumber); - void setScaledSize(QImageReader* theWrappedObject, const QSize& size); - int imageCount(QImageReader* theWrappedObject) const; - QImage read(QImageReader* theWrappedObject); - QColor backgroundColor(QImageReader* theWrappedObject) const; - bool supportsAnimation(QImageReader* theWrappedObject) const; - QStringList textKeys(QImageReader* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QIMAGEREADER_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QImageWriter.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QImageWriter.cpp deleted file mode 100644 index 50aa855..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QImageWriter.cpp +++ /dev/null @@ -1,119 +0,0 @@ -#include "PythonQtWrapper_QImageWriter.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QImageWriter* PythonQtWrapper_QImageWriter::new_QImageWriter() -{ -return new QImageWriter(); } - -QImageWriter* PythonQtWrapper_QImageWriter::new_QImageWriter(QIODevice* device, const QByteArray& format) -{ -return new QImageWriter(device, format); } - -QImageWriter* PythonQtWrapper_QImageWriter::new_QImageWriter(const QString& fileName, const QByteArray& format) -{ -return new QImageWriter(fileName, format); } - -void PythonQtWrapper_QImageWriter::setFileName(QImageWriter* theWrappedObject, const QString& fileName) -{ - ( theWrappedObject->setFileName(fileName)); -} - -void PythonQtWrapper_QImageWriter::setCompression(QImageWriter* theWrappedObject, int compression) -{ - ( theWrappedObject->setCompression(compression)); -} - -int PythonQtWrapper_QImageWriter::compression(QImageWriter* theWrappedObject) const -{ - return ( theWrappedObject->compression()); -} - -QList PythonQtWrapper_QImageWriter::static_QImageWriter_supportedImageFormats() -{ - return (QImageWriter::supportedImageFormats()); -} - -QImageWriter::ImageWriterError PythonQtWrapper_QImageWriter::error(QImageWriter* theWrappedObject) const -{ - return ( theWrappedObject->error()); -} - -QIODevice* PythonQtWrapper_QImageWriter::device(QImageWriter* theWrappedObject) const -{ - return ( theWrappedObject->device()); -} - -QByteArray PythonQtWrapper_QImageWriter::format(QImageWriter* theWrappedObject) const -{ - return ( theWrappedObject->format()); -} - -void PythonQtWrapper_QImageWriter::setDevice(QImageWriter* theWrappedObject, QIODevice* device) -{ - ( theWrappedObject->setDevice(device)); -} - -bool PythonQtWrapper_QImageWriter::supportsOption(QImageWriter* theWrappedObject, QImageIOHandler::ImageOption option) const -{ - return ( theWrappedObject->supportsOption(option)); -} - -QString PythonQtWrapper_QImageWriter::errorString(QImageWriter* theWrappedObject) const -{ - return ( theWrappedObject->errorString()); -} - -void PythonQtWrapper_QImageWriter::setFormat(QImageWriter* theWrappedObject, const QByteArray& format) -{ - ( theWrappedObject->setFormat(format)); -} - -QString PythonQtWrapper_QImageWriter::fileName(QImageWriter* theWrappedObject) const -{ - return ( theWrappedObject->fileName()); -} - -int PythonQtWrapper_QImageWriter::quality(QImageWriter* theWrappedObject) const -{ - return ( theWrappedObject->quality()); -} - -float PythonQtWrapper_QImageWriter::gamma(QImageWriter* theWrappedObject) const -{ - return ( theWrappedObject->gamma()); -} - -void PythonQtWrapper_QImageWriter::setGamma(QImageWriter* theWrappedObject, float gamma) -{ - ( theWrappedObject->setGamma(gamma)); -} - -void PythonQtWrapper_QImageWriter::setText(QImageWriter* theWrappedObject, const QString& key, const QString& text) -{ - ( theWrappedObject->setText(key, text)); -} - -bool PythonQtWrapper_QImageWriter::canWrite(QImageWriter* theWrappedObject) const -{ - return ( theWrappedObject->canWrite()); -} - -bool PythonQtWrapper_QImageWriter::write(QImageWriter* theWrappedObject, const QImage& image) -{ - return ( theWrappedObject->write(image)); -} - -void PythonQtWrapper_QImageWriter::setQuality(QImageWriter* theWrappedObject, int quality) -{ - ( theWrappedObject->setQuality(quality)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QImageWriter.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QImageWriter.h deleted file mode 100644 index 2fe02a6..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QImageWriter.h +++ /dev/null @@ -1,48 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QIMAGEWRITER_H -#define PYTHONQTWRAPPER_QIMAGEWRITER_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include - -class PythonQtWrapper_QImageWriter : public QObject -{ Q_OBJECT -public: -Q_ENUMS(ImageWriterError ) -enum ImageWriterError{ - UnknownError = QImageWriter::UnknownError, DeviceError = QImageWriter::DeviceError, UnsupportedFormatError = QImageWriter::UnsupportedFormatError}; -public slots: -QImageWriter* new_QImageWriter(); -QImageWriter* new_QImageWriter(QIODevice* device, const QByteArray& format); -QImageWriter* new_QImageWriter(const QString& fileName, const QByteArray& format = QByteArray()); -void delete_QImageWriter(QImageWriter* obj) { delete obj; } - void setFileName(QImageWriter* theWrappedObject, const QString& fileName); - void setCompression(QImageWriter* theWrappedObject, int compression); - int compression(QImageWriter* theWrappedObject) const; - QList static_QImageWriter_supportedImageFormats(); - QImageWriter::ImageWriterError error(QImageWriter* theWrappedObject) const; - QIODevice* device(QImageWriter* theWrappedObject) const; - QByteArray format(QImageWriter* theWrappedObject) const; - void setDevice(QImageWriter* theWrappedObject, QIODevice* device); - bool supportsOption(QImageWriter* theWrappedObject, QImageIOHandler::ImageOption option) const; - QString errorString(QImageWriter* theWrappedObject) const; - void setFormat(QImageWriter* theWrappedObject, const QByteArray& format); - QString fileName(QImageWriter* theWrappedObject) const; - int quality(QImageWriter* theWrappedObject) const; - float gamma(QImageWriter* theWrappedObject) const; - void setGamma(QImageWriter* theWrappedObject, float gamma); - void setText(QImageWriter* theWrappedObject, const QString& key, const QString& text); - bool canWrite(QImageWriter* theWrappedObject) const; - bool write(QImageWriter* theWrappedObject, const QImage& image); - void setQuality(QImageWriter* theWrappedObject, int quality); -}; - -#endif // PYTHONQTWRAPPER_QIMAGEWRITER_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QInputContext.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QInputContext.cpp deleted file mode 100644 index afcaeb7..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QInputContext.cpp +++ /dev/null @@ -1,430 +0,0 @@ -#include "PythonQtWrapper_QInputContext.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QList PythonQtShell_QInputContext::actions() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actions"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QList returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("actions", methodInfo, result); - } else { - returnValue = *((QList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QInputContext::actions(); -} -void PythonQtShell_QInputContext::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; - } -} - QInputContext::childEvent(arg__1); -} -void PythonQtShell_QInputContext::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; - } -} - QInputContext::customEvent(arg__1); -} -bool PythonQtShell_QInputContext::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QInputContext::event(arg__1); -} -bool PythonQtShell_QInputContext::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QInputContext::eventFilter(arg__1, arg__2); -} -bool PythonQtShell_QInputContext::filterEvent(const QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "filterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const 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("filterEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QInputContext::filterEvent(event); -} -QFont PythonQtShell_QInputContext::font() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "font"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QFont"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QFont returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("font", methodInfo, result); - } else { - returnValue = *((QFont*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QInputContext::font(); -} -QString PythonQtShell_QInputContext::identifierName() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "identifierName"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QString"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QString returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("identifierName", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QString result; -return result; -} -bool PythonQtShell_QInputContext::isComposing() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isComposing"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isComposing", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - bool result; -return result; -} -QString PythonQtShell_QInputContext::language() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "language"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QString"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QString returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("language", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QString result; -return result; -} -void PythonQtShell_QInputContext::mouseHandler(int x, QMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseHandler"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "int" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&x, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QInputContext::mouseHandler(x, event); -} -void PythonQtShell_QInputContext::reset() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reset"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - -} -void PythonQtShell_QInputContext::setFocusWidget(QWidget* w) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setFocusWidget"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&w}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QInputContext::setFocusWidget(w); -} -void PythonQtShell_QInputContext::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; - } -} - QInputContext::timerEvent(arg__1); -} -void PythonQtShell_QInputContext::update() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "update"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QInputContext::update(); -} -void PythonQtShell_QInputContext::widgetDestroyed(QWidget* w) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "widgetDestroyed"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&w}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QInputContext::widgetDestroyed(w); -} -QInputContext* PythonQtWrapper_QInputContext::new_QInputContext(QObject* parent) -{ -return new PythonQtShell_QInputContext(parent); } - -void PythonQtWrapper_QInputContext::widgetDestroyed(QInputContext* theWrappedObject, QWidget* w) -{ - ( ((PythonQtPublicPromoter_QInputContext*)theWrappedObject)->promoted_widgetDestroyed(w)); -} - -QWidget* PythonQtWrapper_QInputContext::focusWidget(QInputContext* theWrappedObject) const -{ - return ( theWrappedObject->focusWidget()); -} - -bool PythonQtWrapper_QInputContext::filterEvent(QInputContext* theWrappedObject, const QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QInputContext*)theWrappedObject)->promoted_filterEvent(event)); -} - -QFont PythonQtWrapper_QInputContext::font(QInputContext* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QInputContext*)theWrappedObject)->promoted_font()); -} - -void PythonQtWrapper_QInputContext::mouseHandler(QInputContext* theWrappedObject, int x, QMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QInputContext*)theWrappedObject)->promoted_mouseHandler(x, event)); -} - -void PythonQtWrapper_QInputContext::update(QInputContext* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QInputContext*)theWrappedObject)->promoted_update()); -} - -QList PythonQtWrapper_QInputContext::actions(QInputContext* theWrappedObject) -{ - return ( ((PythonQtPublicPromoter_QInputContext*)theWrappedObject)->promoted_actions()); -} - -void PythonQtWrapper_QInputContext::sendEvent(QInputContext* theWrappedObject, const QInputMethodEvent& event) -{ - ( theWrappedObject->sendEvent(event)); -} - -QTextFormat PythonQtWrapper_QInputContext::standardFormat(QInputContext* theWrappedObject, QInputContext::StandardFormat s) const -{ - return ( theWrappedObject->standardFormat(s)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QInputContext.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QInputContext.h deleted file mode 100644 index 9eb23bc..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QInputContext.h +++ /dev/null @@ -1,77 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QINPUTCONTEXT_H -#define PYTHONQTWRAPPER_QINPUTCONTEXT_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QInputContext : public QInputContext -{ -public: - PythonQtShell_QInputContext(QObject* parent = 0):QInputContext(parent),_wrapper(NULL) {}; - -virtual QList actions(); -virtual void childEvent(QChildEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual bool filterEvent(const QEvent* event); -virtual QFont font() const; -virtual QString identifierName(); -virtual bool isComposing() const; -virtual QString language(); -virtual void mouseHandler(int x, QMouseEvent* event); -virtual void reset(); -virtual void setFocusWidget(QWidget* w); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void update(); -virtual void widgetDestroyed(QWidget* w); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QInputContext : public QInputContext -{ public: -inline void promoted_widgetDestroyed(QWidget* w) { QInputContext::widgetDestroyed(w); } -inline bool promoted_filterEvent(const QEvent* event) { return QInputContext::filterEvent(event); } -inline QFont promoted_font() const { return QInputContext::font(); } -inline void promoted_mouseHandler(int x, QMouseEvent* event) { QInputContext::mouseHandler(x, event); } -inline void promoted_update() { QInputContext::update(); } -inline QList promoted_actions() { return QInputContext::actions(); } -}; - -class PythonQtWrapper_QInputContext : public QObject -{ Q_OBJECT -public: -Q_ENUMS(StandardFormat ) -enum StandardFormat{ - PreeditFormat = QInputContext::PreeditFormat, SelectionFormat = QInputContext::SelectionFormat}; -public slots: -QInputContext* new_QInputContext(QObject* parent = 0); -void delete_QInputContext(QInputContext* obj) { delete obj; } - void widgetDestroyed(QInputContext* theWrappedObject, QWidget* w); - QWidget* focusWidget(QInputContext* theWrappedObject) const; - bool filterEvent(QInputContext* theWrappedObject, const QEvent* event); - QFont font(QInputContext* theWrappedObject) const; - void mouseHandler(QInputContext* theWrappedObject, int x, QMouseEvent* event); - void update(QInputContext* theWrappedObject); - QList actions(QInputContext* theWrappedObject); - void sendEvent(QInputContext* theWrappedObject, const QInputMethodEvent& event); - QTextFormat standardFormat(QInputContext* theWrappedObject, QInputContext::StandardFormat s) const; -}; - -#endif // PYTHONQTWRAPPER_QINPUTCONTEXT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QInputContextFactory.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QInputContextFactory.cpp deleted file mode 100644 index 63b644f..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QInputContextFactory.cpp +++ /dev/null @@ -1,39 +0,0 @@ -#include "PythonQtWrapper_QInputContextFactory.h" - -#include -#include -#include -#include -#include -#include -#include - -QInputContextFactory* PythonQtWrapper_QInputContextFactory::new_QInputContextFactory() -{ -return new PythonQtShell_QInputContextFactory(); } - -QString PythonQtWrapper_QInputContextFactory::static_QInputContextFactory_displayName(const QString& key) -{ - return (QInputContextFactory::displayName(key)); -} - -QStringList PythonQtWrapper_QInputContextFactory::static_QInputContextFactory_languages(const QString& key) -{ - return (QInputContextFactory::languages(key)); -} - -QStringList PythonQtWrapper_QInputContextFactory::static_QInputContextFactory_keys() -{ - return (QInputContextFactory::keys()); -} - -QString PythonQtWrapper_QInputContextFactory::static_QInputContextFactory_description(const QString& key) -{ - return (QInputContextFactory::description(key)); -} - -QInputContext* PythonQtWrapper_QInputContextFactory::static_QInputContextFactory_create(const QString& key, QObject* parent) -{ - return (QInputContextFactory::create(key, parent)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QInputContextFactory.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QInputContextFactory.h deleted file mode 100644 index f4b4c9c..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QInputContextFactory.h +++ /dev/null @@ -1,36 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QINPUTCONTEXTFACTORY_H -#define PYTHONQTWRAPPER_QINPUTCONTEXTFACTORY_H - -#include -#include - -#include - -#include -#include -#include -#include - -class PythonQtShell_QInputContextFactory : public QInputContextFactory -{ -public: - PythonQtShell_QInputContextFactory():QInputContextFactory(),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QInputContextFactory : public QObject -{ Q_OBJECT -public: -public slots: -QInputContextFactory* new_QInputContextFactory(); -void delete_QInputContextFactory(QInputContextFactory* obj) { delete obj; } - QString static_QInputContextFactory_displayName(const QString& key); - QStringList static_QInputContextFactory_languages(const QString& key); - QStringList static_QInputContextFactory_keys(); - QString static_QInputContextFactory_description(const QString& key); - QInputContext* static_QInputContextFactory_create(const QString& key, QObject* parent); -}; - -#endif // PYTHONQTWRAPPER_QINPUTCONTEXTFACTORY_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QInputContextPlugin.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QInputContextPlugin.cpp deleted file mode 100644 index fda3b9a..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QInputContextPlugin.cpp +++ /dev/null @@ -1,269 +0,0 @@ -#include "PythonQtWrapper_QInputContextPlugin.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QInputContextPlugin::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; - } -} - QInputContextPlugin::childEvent(arg__1); -} -QInputContext* PythonQtShell_QInputContextPlugin::create(const QString& key) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "create"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QInputContext*" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QInputContext* returnValue; - void* args[2] = {NULL, (void*)&key}; - 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("create", methodInfo, result); - } else { - returnValue = *((QInputContext**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QInputContext* result; -return result; -} -void PythonQtShell_QInputContextPlugin::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; - } -} - QInputContextPlugin::customEvent(arg__1); -} -QString PythonQtShell_QInputContextPlugin::description(const QString& key) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "description"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QString" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QString returnValue; - void* args[2] = {NULL, (void*)&key}; - 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("description", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QString result; -return result; -} -QString PythonQtShell_QInputContextPlugin::displayName(const QString& key) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "displayName"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QString" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QString returnValue; - void* args[2] = {NULL, (void*)&key}; - 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("displayName", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QString result; -return result; -} -bool PythonQtShell_QInputContextPlugin::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QInputContextPlugin::event(arg__1); -} -bool PythonQtShell_QInputContextPlugin::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QInputContextPlugin::eventFilter(arg__1, arg__2); -} -QStringList PythonQtShell_QInputContextPlugin::keys() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keys"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QStringList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStringList returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("keys", methodInfo, result); - } else { - returnValue = *((QStringList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QStringList result; -return result; -} -QStringList PythonQtShell_QInputContextPlugin::languages(const QString& key) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languages"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QStringList" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QStringList returnValue; - void* args[2] = {NULL, (void*)&key}; - 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("languages", methodInfo, result); - } else { - returnValue = *((QStringList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QStringList result; -return result; -} -void PythonQtShell_QInputContextPlugin::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; - } -} - QInputContextPlugin::timerEvent(arg__1); -} -QInputContextPlugin* PythonQtWrapper_QInputContextPlugin::new_QInputContextPlugin(QObject* parent) -{ -return new PythonQtShell_QInputContextPlugin(parent); } - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QInputContextPlugin.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QInputContextPlugin.h deleted file mode 100644 index 02687bc..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QInputContextPlugin.h +++ /dev/null @@ -1,44 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QINPUTCONTEXTPLUGIN_H -#define PYTHONQTWRAPPER_QINPUTCONTEXTPLUGIN_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QInputContextPlugin : public QInputContextPlugin -{ -public: - PythonQtShell_QInputContextPlugin(QObject* parent = 0):QInputContextPlugin(parent),_wrapper(NULL) {}; - -virtual void childEvent(QChildEvent* arg__1); -virtual QInputContext* create(const QString& key); -virtual void customEvent(QEvent* arg__1); -virtual QString description(const QString& key); -virtual QString displayName(const QString& key); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual QStringList keys() const; -virtual QStringList languages(const QString& key); -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QInputContextPlugin : public QObject -{ Q_OBJECT -public: -public slots: -QInputContextPlugin* new_QInputContextPlugin(QObject* parent = 0); -void delete_QInputContextPlugin(QInputContextPlugin* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QINPUTCONTEXTPLUGIN_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QInputDialog.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QInputDialog.cpp deleted file mode 100644 index 5b37de9..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QInputDialog.cpp +++ /dev/null @@ -1,54 +0,0 @@ -#include "PythonQtWrapper_QInputDialog.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QString PythonQtWrapper_QInputDialog::static_QInputDialog_getText(QWidget* parent, const QString& title, const QString& label, QLineEdit::EchoMode echo, const QString& text, bool* ok, Qt::WindowFlags f) -{ - return (QInputDialog::getText(parent, title, label, echo, text, ok, f)); -} - -QString PythonQtWrapper_QInputDialog::static_QInputDialog_getItem(QWidget* parent, const QString& title, const QString& label, const QStringList& list, int current, bool editable, bool* ok, Qt::WindowFlags f) -{ - return (QInputDialog::getItem(parent, title, label, list, current, editable, ok, f)); -} - -int PythonQtWrapper_QInputDialog::static_QInputDialog_getInteger(QWidget* parent, const QString& title, const QString& label, int value, int minValue, int maxValue, int step, bool* ok, Qt::WindowFlags f) -{ - return (QInputDialog::getInteger(parent, title, label, value, minValue, maxValue, step, ok, f)); -} - -double PythonQtWrapper_QInputDialog::static_QInputDialog_getDouble(QWidget* parent, const QString& title, const QString& label, double value, double minValue, double maxValue, int decimals, bool* ok, Qt::WindowFlags f) -{ - return (QInputDialog::getDouble(parent, title, label, value, minValue, maxValue, decimals, ok, f)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QInputDialog.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QInputDialog.h deleted file mode 100644 index c47025e..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QInputDialog.h +++ /dev/null @@ -1,48 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QINPUTDIALOG_H -#define PYTHONQTWRAPPER_QINPUTDIALOG_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtWrapper_QInputDialog : public QObject -{ Q_OBJECT -public: -public slots: - QString static_QInputDialog_getText(QWidget* parent, const QString& title, const QString& label, QLineEdit::EchoMode echo = QLineEdit::Normal, const QString& text = QString(), bool* ok = 0, Qt::WindowFlags f = 0); - QString static_QInputDialog_getItem(QWidget* parent, const QString& title, const QString& label, const QStringList& list, int current = 0, bool editable = true, bool* ok = 0, Qt::WindowFlags f = 0); - int static_QInputDialog_getInteger(QWidget* parent, const QString& title, const QString& label, int value = 0, int minValue = -2147483647, int maxValue = 2147483647, int step = 1, bool* ok = 0, Qt::WindowFlags f = 0); - double static_QInputDialog_getDouble(QWidget* parent, const QString& title, const QString& label, double value = 0, double minValue = -2147483647, double maxValue = 2147483647, int decimals = 1, bool* ok = 0, Qt::WindowFlags f = 0); -}; - -#endif // PYTHONQTWRAPPER_QINPUTDIALOG_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QInputEvent.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QInputEvent.cpp deleted file mode 100644 index c77ff7b..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QInputEvent.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include "PythonQtWrapper_QInputEvent.h" - -#include -#include -#include -#include - -QInputEvent* PythonQtWrapper_QInputEvent::new_QInputEvent(QEvent::Type type, Qt::KeyboardModifiers modifiers) -{ -return new PythonQtShell_QInputEvent(type, modifiers); } - -Qt::KeyboardModifiers PythonQtWrapper_QInputEvent::modifiers(QInputEvent* theWrappedObject) const -{ - return ( theWrappedObject->modifiers()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QInputEvent.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QInputEvent.h deleted file mode 100644 index 8b23cfb..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QInputEvent.h +++ /dev/null @@ -1,29 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QINPUTEVENT_H -#define PYTHONQTWRAPPER_QINPUTEVENT_H - -#include -#include - -#include - -#include - -class PythonQtShell_QInputEvent : public QInputEvent -{ -public: - PythonQtShell_QInputEvent(QEvent::Type type, Qt::KeyboardModifiers modifiers = Qt::NoModifier):QInputEvent(type, modifiers),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QInputEvent : public QObject -{ Q_OBJECT -public: -public slots: -QInputEvent* new_QInputEvent(QEvent::Type type, Qt::KeyboardModifiers modifiers = Qt::NoModifier); -void delete_QInputEvent(QInputEvent* obj) { delete obj; } - Qt::KeyboardModifiers modifiers(QInputEvent* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QINPUTEVENT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QIntValidator.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QIntValidator.cpp deleted file mode 100644 index 628bd44..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QIntValidator.cpp +++ /dev/null @@ -1,220 +0,0 @@ -#include "PythonQtWrapper_QIntValidator.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QIntValidator::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; - } -} - QIntValidator::childEvent(arg__1); -} -void PythonQtShell_QIntValidator::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; - } -} - QIntValidator::customEvent(arg__1); -} -bool PythonQtShell_QIntValidator::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QIntValidator::event(arg__1); -} -bool PythonQtShell_QIntValidator::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QIntValidator::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QIntValidator::fixup(QString& arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "fixup"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QString&"}; - 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; - } -} - QIntValidator::fixup(arg__1); -} -void PythonQtShell_QIntValidator::setRange(int bottom, int top) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setRange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&bottom, (void*)&top}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QIntValidator::setRange(bottom, top); -} -void PythonQtShell_QIntValidator::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; - } -} - QIntValidator::timerEvent(arg__1); -} -QValidator::State PythonQtShell_QIntValidator::validate(QString& arg__1, int& arg__2) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "validate"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QValidator::State 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("validate", methodInfo, result); - } else { - returnValue = *((QValidator::State*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QIntValidator::validate(arg__1, arg__2); -} -QIntValidator* PythonQtWrapper_QIntValidator::new_QIntValidator(QObject* parent) -{ -return new PythonQtShell_QIntValidator(parent); } - -QIntValidator* PythonQtWrapper_QIntValidator::new_QIntValidator(int bottom, int top, QObject* parent) -{ -return new PythonQtShell_QIntValidator(bottom, top, parent); } - -void PythonQtWrapper_QIntValidator::setRange(QIntValidator* theWrappedObject, int bottom, int top) -{ - ( ((PythonQtPublicPromoter_QIntValidator*)theWrappedObject)->promoted_setRange(bottom, top)); -} - -QValidator::State PythonQtWrapper_QIntValidator::validate(QIntValidator* theWrappedObject, QString& arg__1, int& arg__2) const -{ - return ( ((PythonQtPublicPromoter_QIntValidator*)theWrappedObject)->promoted_validate(arg__1, arg__2)); -} - -int PythonQtWrapper_QIntValidator::top(QIntValidator* theWrappedObject) const -{ - return ( theWrappedObject->top()); -} - -void PythonQtWrapper_QIntValidator::setTop(QIntValidator* theWrappedObject, int arg__1) -{ - ( theWrappedObject->setTop(arg__1)); -} - -int PythonQtWrapper_QIntValidator::bottom(QIntValidator* theWrappedObject) const -{ - return ( theWrappedObject->bottom()); -} - -void PythonQtWrapper_QIntValidator::setBottom(QIntValidator* theWrappedObject, int arg__1) -{ - ( theWrappedObject->setBottom(arg__1)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QIntValidator.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QIntValidator.h deleted file mode 100644 index 1915f3d..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QIntValidator.h +++ /dev/null @@ -1,56 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QINTVALIDATOR_H -#define PYTHONQTWRAPPER_QINTVALIDATOR_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QIntValidator : public QIntValidator -{ -public: - PythonQtShell_QIntValidator(QObject* parent):QIntValidator(parent),_wrapper(NULL) {}; - PythonQtShell_QIntValidator(int bottom, int top, QObject* parent):QIntValidator(bottom, top, parent),_wrapper(NULL) {}; - -virtual void childEvent(QChildEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void fixup(QString& arg__1) const; -virtual void setRange(int bottom, int top); -virtual void timerEvent(QTimerEvent* arg__1); -virtual QValidator::State validate(QString& arg__1, int& arg__2) const; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QIntValidator : public QIntValidator -{ public: -inline void promoted_setRange(int bottom, int top) { QIntValidator::setRange(bottom, top); } -inline QValidator::State promoted_validate(QString& arg__1, int& arg__2) const { return QIntValidator::validate(arg__1, arg__2); } -}; - -class PythonQtWrapper_QIntValidator : public QObject -{ Q_OBJECT -public: -public slots: -QIntValidator* new_QIntValidator(QObject* parent); -QIntValidator* new_QIntValidator(int bottom, int top, QObject* parent); -void delete_QIntValidator(QIntValidator* obj) { delete obj; } - void setRange(QIntValidator* theWrappedObject, int bottom, int top); - QValidator::State validate(QIntValidator* theWrappedObject, QString& arg__1, int& arg__2) const; - int top(QIntValidator* theWrappedObject) const; - void setTop(QIntValidator* theWrappedObject, int arg__1); - int bottom(QIntValidator* theWrappedObject) const; - void setBottom(QIntValidator* theWrappedObject, int arg__1); -}; - -#endif // PYTHONQTWRAPPER_QINTVALIDATOR_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QItemDelegate.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QItemDelegate.cpp deleted file mode 100644 index 7ab17e1..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QItemDelegate.cpp +++ /dev/null @@ -1,434 +0,0 @@ -#include "PythonQtWrapper_QItemDelegate.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QItemDelegate::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; - } -} - QItemDelegate::childEvent(arg__1); -} -QWidget* PythonQtShell_QItemDelegate::createEditor(QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "createEditor"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QWidget*" , "QWidget*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QWidget* returnValue; - void* args[4] = {NULL, (void*)&parent, (void*)&option, (void*)&index}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("createEditor", methodInfo, result); - } else { - returnValue = *((QWidget**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QItemDelegate::createEditor(parent, option, index); -} -void PythonQtShell_QItemDelegate::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; - } -} - QItemDelegate::customEvent(arg__1); -} -void PythonQtShell_QItemDelegate::drawCheck(QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, Qt::CheckState state) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawCheck"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionViewItem&" , "const QRect&" , "Qt::CheckState"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&painter, (void*)&option, (void*)&rect, (void*)&state}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QItemDelegate::drawCheck(painter, option, rect, state); -} -void PythonQtShell_QItemDelegate::drawDecoration(QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, const QPixmap& pixmap) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawDecoration"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionViewItem&" , "const QRect&" , "const QPixmap&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&painter, (void*)&option, (void*)&rect, (void*)&pixmap}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QItemDelegate::drawDecoration(painter, option, rect, pixmap); -} -void PythonQtShell_QItemDelegate::drawDisplay(QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, const QString& text) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawDisplay"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionViewItem&" , "const QRect&" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&painter, (void*)&option, (void*)&rect, (void*)&text}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QItemDelegate::drawDisplay(painter, option, rect, text); -} -void PythonQtShell_QItemDelegate::drawFocus(QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawFocus"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionViewItem&" , "const QRect&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter, (void*)&option, (void*)&rect}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QItemDelegate::drawFocus(painter, option, rect); -} -bool PythonQtShell_QItemDelegate::editorEvent(QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "editorEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*" , "QAbstractItemModel*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - bool returnValue; - void* args[5] = {NULL, (void*)&event, (void*)&model, (void*)&option, (void*)&index}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("editorEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QItemDelegate::editorEvent(event, model, option, index); -} -bool PythonQtShell_QItemDelegate::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QItemDelegate::event(arg__1); -} -bool PythonQtShell_QItemDelegate::eventFilter(QObject* object, QEvent* event) -{ -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*)&object, (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("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QItemDelegate::eventFilter(object, event); -} -void PythonQtShell_QItemDelegate::paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter, (void*)&option, (void*)&index}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QItemDelegate::paint(painter, option, index); -} -void PythonQtShell_QItemDelegate::setEditorData(QWidget* editor, const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setEditorData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWidget*" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&editor, (void*)&index}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QItemDelegate::setEditorData(editor, index); -} -void PythonQtShell_QItemDelegate::setModelData(QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setModelData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemModel*" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&editor, (void*)&model, (void*)&index}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QItemDelegate::setModelData(editor, model, index); -} -QSize PythonQtShell_QItemDelegate::sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeHint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QSize returnValue; - void* args[3] = {NULL, (void*)&option, (void*)&index}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QItemDelegate::sizeHint(option, index); -} -void PythonQtShell_QItemDelegate::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; - } -} - QItemDelegate::timerEvent(arg__1); -} -void PythonQtShell_QItemDelegate::updateEditorGeometry(QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateEditorGeometry"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWidget*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&editor, (void*)&option, (void*)&index}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QItemDelegate::updateEditorGeometry(editor, option, index); -} -QItemDelegate* PythonQtWrapper_QItemDelegate::new_QItemDelegate(QObject* parent) -{ -return new PythonQtShell_QItemDelegate(parent); } - -bool PythonQtWrapper_QItemDelegate::editorEvent(QItemDelegate* theWrappedObject, QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index) -{ - return ( ((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->promoted_editorEvent(event, model, option, index)); -} - -bool PythonQtWrapper_QItemDelegate::hasClipping(QItemDelegate* theWrappedObject) const -{ - return ( theWrappedObject->hasClipping()); -} - -QWidget* PythonQtWrapper_QItemDelegate::createEditor(QItemDelegate* theWrappedObject, QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const -{ - return ( ((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->promoted_createEditor(parent, option, index)); -} - -void PythonQtWrapper_QItemDelegate::drawDecoration(QItemDelegate* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, const QPixmap& pixmap) const -{ - ( ((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->promoted_drawDecoration(painter, option, rect, pixmap)); -} - -void PythonQtWrapper_QItemDelegate::setEditorData(QItemDelegate* theWrappedObject, QWidget* editor, const QModelIndex& index) const -{ - ( ((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->promoted_setEditorData(editor, index)); -} - -QSize PythonQtWrapper_QItemDelegate::sizeHint(QItemDelegate* theWrappedObject, const QStyleOptionViewItem& option, const QModelIndex& index) const -{ - return ( ((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->promoted_sizeHint(option, index)); -} - -void PythonQtWrapper_QItemDelegate::updateEditorGeometry(QItemDelegate* theWrappedObject, QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const -{ - ( ((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->promoted_updateEditorGeometry(editor, option, index)); -} - -void PythonQtWrapper_QItemDelegate::drawDisplay(QItemDelegate* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, const QString& text) const -{ - ( ((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->promoted_drawDisplay(painter, option, rect, text)); -} - -void PythonQtWrapper_QItemDelegate::paint(QItemDelegate* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const -{ - ( ((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->promoted_paint(painter, option, index)); -} - -bool PythonQtWrapper_QItemDelegate::eventFilter(QItemDelegate* theWrappedObject, QObject* object, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->promoted_eventFilter(object, event)); -} - -QItemEditorFactory* PythonQtWrapper_QItemDelegate::itemEditorFactory(QItemDelegate* theWrappedObject) const -{ - return ( theWrappedObject->itemEditorFactory()); -} - -void PythonQtWrapper_QItemDelegate::setItemEditorFactory(QItemDelegate* theWrappedObject, QItemEditorFactory* factory) -{ - ( theWrappedObject->setItemEditorFactory(factory)); -} - -void PythonQtWrapper_QItemDelegate::drawFocus(QItemDelegate* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect) const -{ - ( ((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->promoted_drawFocus(painter, option, rect)); -} - -void PythonQtWrapper_QItemDelegate::setClipping(QItemDelegate* theWrappedObject, bool clip) -{ - ( theWrappedObject->setClipping(clip)); -} - -void PythonQtWrapper_QItemDelegate::setModelData(QItemDelegate* theWrappedObject, QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const -{ - ( ((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->promoted_setModelData(editor, model, index)); -} - -void PythonQtWrapper_QItemDelegate::drawCheck(QItemDelegate* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, Qt::CheckState state) const -{ - ( ((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->promoted_drawCheck(painter, option, rect, state)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QItemDelegate.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QItemDelegate.h deleted file mode 100644 index 8199b4c..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QItemDelegate.h +++ /dev/null @@ -1,92 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QITEMDELEGATE_H -#define PYTHONQTWRAPPER_QITEMDELEGATE_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QItemDelegate : public QItemDelegate -{ -public: - PythonQtShell_QItemDelegate(QObject* parent = 0):QItemDelegate(parent),_wrapper(NULL) {}; - -virtual void childEvent(QChildEvent* arg__1); -virtual QWidget* createEditor(QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const; -virtual void customEvent(QEvent* arg__1); -virtual void drawCheck(QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, Qt::CheckState state) const; -virtual void drawDecoration(QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, const QPixmap& pixmap) const; -virtual void drawDisplay(QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, const QString& text) const; -virtual void drawFocus(QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect) const; -virtual bool editorEvent(QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* object, QEvent* event); -virtual void paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const; -virtual void setEditorData(QWidget* editor, const QModelIndex& index) const; -virtual void setModelData(QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const; -virtual QSize sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const; -virtual void timerEvent(QTimerEvent* arg__1); -virtual void updateEditorGeometry(QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QItemDelegate : public QItemDelegate -{ public: -inline bool promoted_editorEvent(QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index) { return QItemDelegate::editorEvent(event, model, option, index); } -inline QWidget* promoted_createEditor(QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const { return QItemDelegate::createEditor(parent, option, index); } -inline void promoted_drawDecoration(QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, const QPixmap& pixmap) const { QItemDelegate::drawDecoration(painter, option, rect, pixmap); } -inline void promoted_setEditorData(QWidget* editor, const QModelIndex& index) const { QItemDelegate::setEditorData(editor, index); } -inline QSize promoted_sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const { return QItemDelegate::sizeHint(option, index); } -inline void promoted_updateEditorGeometry(QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const { QItemDelegate::updateEditorGeometry(editor, option, index); } -inline void promoted_drawDisplay(QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, const QString& text) const { QItemDelegate::drawDisplay(painter, option, rect, text); } -inline void promoted_paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const { QItemDelegate::paint(painter, option, index); } -inline bool promoted_eventFilter(QObject* object, QEvent* event) { return QItemDelegate::eventFilter(object, event); } -inline void promoted_drawFocus(QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect) const { QItemDelegate::drawFocus(painter, option, rect); } -inline void promoted_setModelData(QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const { QItemDelegate::setModelData(editor, model, index); } -inline void promoted_drawCheck(QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, Qt::CheckState state) const { QItemDelegate::drawCheck(painter, option, rect, state); } -}; - -class PythonQtWrapper_QItemDelegate : public QObject -{ Q_OBJECT -public: -public slots: -QItemDelegate* new_QItemDelegate(QObject* parent = 0); -void delete_QItemDelegate(QItemDelegate* obj) { delete obj; } - bool editorEvent(QItemDelegate* theWrappedObject, QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index); - bool hasClipping(QItemDelegate* theWrappedObject) const; - QWidget* createEditor(QItemDelegate* theWrappedObject, QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const; - void drawDecoration(QItemDelegate* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, const QPixmap& pixmap) const; - void setEditorData(QItemDelegate* theWrappedObject, QWidget* editor, const QModelIndex& index) const; - QSize sizeHint(QItemDelegate* theWrappedObject, const QStyleOptionViewItem& option, const QModelIndex& index) const; - void updateEditorGeometry(QItemDelegate* theWrappedObject, QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const; - void drawDisplay(QItemDelegate* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, const QString& text) const; - void paint(QItemDelegate* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const; - bool eventFilter(QItemDelegate* theWrappedObject, QObject* object, QEvent* event); - QItemEditorFactory* itemEditorFactory(QItemDelegate* theWrappedObject) const; - void setItemEditorFactory(QItemDelegate* theWrappedObject, QItemEditorFactory* factory); - void drawFocus(QItemDelegate* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect) const; - void setClipping(QItemDelegate* theWrappedObject, bool clip); - void setModelData(QItemDelegate* theWrappedObject, QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const; - void drawCheck(QItemDelegate* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, Qt::CheckState state) const; -}; - -#endif // PYTHONQTWRAPPER_QITEMDELEGATE_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QItemEditorCreatorBase.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QItemEditorCreatorBase.cpp deleted file mode 100644 index 7110a45..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QItemEditorCreatorBase.cpp +++ /dev/null @@ -1,71 +0,0 @@ -#include "PythonQtWrapper_QItemEditorCreatorBase.h" - -#include -#include -#include -#include -#include -#include - -QWidget* PythonQtShell_QItemEditorCreatorBase::createWidget(QWidget* parent) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "createWidget"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QWidget*" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QWidget* returnValue; - void* args[2] = {NULL, (void*)&parent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("createWidget", methodInfo, result); - } else { - returnValue = *((QWidget**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QWidget* result; -return result; -} -QByteArray PythonQtShell_QItemEditorCreatorBase::valuePropertyName() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "valuePropertyName"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QByteArray"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QByteArray returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("valuePropertyName", methodInfo, result); - } else { - returnValue = *((QByteArray*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QByteArray result; -return result; -} -QItemEditorCreatorBase* PythonQtWrapper_QItemEditorCreatorBase::new_QItemEditorCreatorBase() -{ -return new PythonQtShell_QItemEditorCreatorBase(); } - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QItemEditorCreatorBase.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QItemEditorCreatorBase.h deleted file mode 100644 index 5341785..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QItemEditorCreatorBase.h +++ /dev/null @@ -1,32 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QITEMEDITORCREATORBASE_H -#define PYTHONQTWRAPPER_QITEMEDITORCREATORBASE_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtShell_QItemEditorCreatorBase : public QItemEditorCreatorBase -{ -public: - PythonQtShell_QItemEditorCreatorBase():QItemEditorCreatorBase(),_wrapper(NULL) {}; - -virtual QWidget* createWidget(QWidget* parent) const; -virtual QByteArray valuePropertyName() const; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QItemEditorCreatorBase : public QObject -{ Q_OBJECT -public: -public slots: -QItemEditorCreatorBase* new_QItemEditorCreatorBase(); -void delete_QItemEditorCreatorBase(QItemEditorCreatorBase* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QITEMEDITORCREATORBASE_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QItemEditorFactory.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QItemEditorFactory.cpp deleted file mode 100644 index ef99a4d..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QItemEditorFactory.cpp +++ /dev/null @@ -1,95 +0,0 @@ -#include "PythonQtWrapper_QItemEditorFactory.h" - -#include -#include -#include -#include -#include -#include -#include - -QWidget* PythonQtShell_QItemEditorFactory::createEditor(QVariant::Type type, QWidget* parent) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "createEditor"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QWidget*" , "QVariant::Type" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QWidget* returnValue; - void* args[3] = {NULL, (void*)&type, (void*)&parent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("createEditor", methodInfo, result); - } else { - returnValue = *((QWidget**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QItemEditorFactory::createEditor(type, parent); -} -QByteArray PythonQtShell_QItemEditorFactory::valuePropertyName(QVariant::Type type) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "valuePropertyName"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QByteArray" , "QVariant::Type"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QByteArray returnValue; - void* args[2] = {NULL, (void*)&type}; - 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("valuePropertyName", methodInfo, result); - } else { - returnValue = *((QByteArray*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QItemEditorFactory::valuePropertyName(type); -} -QItemEditorFactory* PythonQtWrapper_QItemEditorFactory::new_QItemEditorFactory() -{ -return new PythonQtShell_QItemEditorFactory(); } - -void PythonQtWrapper_QItemEditorFactory::static_QItemEditorFactory_setDefaultFactory(QItemEditorFactory* factory) -{ - (QItemEditorFactory::setDefaultFactory(factory)); -} - -const QItemEditorFactory* PythonQtWrapper_QItemEditorFactory::static_QItemEditorFactory_defaultFactory() -{ - return (QItemEditorFactory::defaultFactory()); -} - -void PythonQtWrapper_QItemEditorFactory::registerEditor(QItemEditorFactory* theWrappedObject, QVariant::Type type, QItemEditorCreatorBase* creator) -{ - ( theWrappedObject->registerEditor(type, creator)); -} - -QByteArray PythonQtWrapper_QItemEditorFactory::valuePropertyName(QItemEditorFactory* theWrappedObject, QVariant::Type type) const -{ - return ( ((PythonQtPublicPromoter_QItemEditorFactory*)theWrappedObject)->promoted_valuePropertyName(type)); -} - -QWidget* PythonQtWrapper_QItemEditorFactory::createEditor(QItemEditorFactory* theWrappedObject, QVariant::Type type, QWidget* parent) const -{ - return ( ((PythonQtPublicPromoter_QItemEditorFactory*)theWrappedObject)->promoted_createEditor(type, parent)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QItemEditorFactory.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QItemEditorFactory.h deleted file mode 100644 index a765e65..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QItemEditorFactory.h +++ /dev/null @@ -1,44 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QITEMEDITORFACTORY_H -#define PYTHONQTWRAPPER_QITEMEDITORFACTORY_H - -#include -#include - -#include - -#include -#include -#include -#include - -class PythonQtShell_QItemEditorFactory : public QItemEditorFactory -{ -public: - PythonQtShell_QItemEditorFactory():QItemEditorFactory(),_wrapper(NULL) {}; - -virtual QWidget* createEditor(QVariant::Type type, QWidget* parent) const; -virtual QByteArray valuePropertyName(QVariant::Type type) const; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QItemEditorFactory : public QItemEditorFactory -{ public: -inline QByteArray promoted_valuePropertyName(QVariant::Type type) const { return QItemEditorFactory::valuePropertyName(type); } -inline QWidget* promoted_createEditor(QVariant::Type type, QWidget* parent) const { return QItemEditorFactory::createEditor(type, parent); } -}; - -class PythonQtWrapper_QItemEditorFactory : public QObject -{ Q_OBJECT -public: -public slots: -QItemEditorFactory* new_QItemEditorFactory(); -void delete_QItemEditorFactory(QItemEditorFactory* obj) { delete obj; } - void static_QItemEditorFactory_setDefaultFactory(QItemEditorFactory* factory); - const QItemEditorFactory* static_QItemEditorFactory_defaultFactory(); - void registerEditor(QItemEditorFactory* theWrappedObject, QVariant::Type type, QItemEditorCreatorBase* creator); - QByteArray valuePropertyName(QItemEditorFactory* theWrappedObject, QVariant::Type type) const; - QWidget* createEditor(QItemEditorFactory* theWrappedObject, QVariant::Type type, QWidget* parent) const; -}; - -#endif // PYTHONQTWRAPPER_QITEMEDITORFACTORY_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QItemSelection.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QItemSelection.cpp deleted file mode 100644 index da4a3c2..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QItemSelection.cpp +++ /dev/null @@ -1,229 +0,0 @@ -#include "PythonQtWrapper_QItemSelection.h" - -#include -#include -#include -#include -#include -#include -#include -#include - -QItemSelection* PythonQtWrapper_QItemSelection::new_QItemSelection() -{ -return new QItemSelection(); } - -QItemSelection* PythonQtWrapper_QItemSelection::new_QItemSelection(const QModelIndex& topLeft, const QModelIndex& bottomRight) -{ -return new QItemSelection(topLeft, bottomRight); } - -bool PythonQtWrapper_QItemSelection::removeOne(QItemSelection* theWrappedObject, const QItemSelectionRange& t) -{ - return ( theWrappedObject->removeOne(t)); -} - -bool PythonQtWrapper_QItemSelection::operator_equal(QItemSelection* theWrappedObject, const QList& l) const -{ - return ( (*theWrappedObject)== l); -} - -void PythonQtWrapper_QItemSelection::prepend(QItemSelection* theWrappedObject, const QItemSelectionRange& t) -{ - ( theWrappedObject->prepend(t)); -} - -QList PythonQtWrapper_QItemSelection::static_QItemSelection_fromVector(const QVector& vector) -{ - return (QItemSelection::fromVector(vector)); -} - -QVector PythonQtWrapper_QItemSelection::toVector(QItemSelection* theWrappedObject) const -{ - return ( theWrappedObject->toVector()); -} - -void PythonQtWrapper_QItemSelection::pop_back(QItemSelection* theWrappedObject) -{ - ( theWrappedObject->pop_back()); -} - -void PythonQtWrapper_QItemSelection::clear(QItemSelection* theWrappedObject) -{ - ( theWrappedObject->clear()); -} - -void PythonQtWrapper_QItemSelection::pop_front(QItemSelection* theWrappedObject) -{ - ( theWrappedObject->pop_front()); -} - -void PythonQtWrapper_QItemSelection::push_back(QItemSelection* theWrappedObject, const QItemSelectionRange& t) -{ - ( theWrappedObject->push_back(t)); -} - -int PythonQtWrapper_QItemSelection::count(QItemSelection* theWrappedObject) const -{ - return ( theWrappedObject->count()); -} - -int PythonQtWrapper_QItemSelection::removeAll(QItemSelection* theWrappedObject, const QItemSelectionRange& t) -{ - return ( theWrappedObject->removeAll(t)); -} - -void PythonQtWrapper_QItemSelection::merge(QItemSelection* theWrappedObject, const QItemSelection& other, QItemSelectionModel::SelectionFlags command) -{ - ( theWrappedObject->merge(other, command)); -} - -const QItemSelectionRange* PythonQtWrapper_QItemSelection::last(QItemSelection* theWrappedObject) const -{ - return &( theWrappedObject->last()); -} - -void PythonQtWrapper_QItemSelection::setSharable(QItemSelection* theWrappedObject, bool sharable) -{ - ( theWrappedObject->setSharable(sharable)); -} - -const QItemSelectionRange* PythonQtWrapper_QItemSelection::back(QItemSelection* theWrappedObject) const -{ - return &( theWrappedObject->back()); -} - -int PythonQtWrapper_QItemSelection::indexOf(QItemSelection* theWrappedObject, const QItemSelectionRange& t, int from) const -{ - return ( theWrappedObject->indexOf(t, from)); -} - -void PythonQtWrapper_QItemSelection::select(QItemSelection* theWrappedObject, const QModelIndex& topLeft, const QModelIndex& bottomRight) -{ - ( theWrappedObject->select(topLeft, bottomRight)); -} - -QItemSelectionRange PythonQtWrapper_QItemSelection::value(QItemSelection* theWrappedObject, int i, const QItemSelectionRange& defaultValue) const -{ - return ( theWrappedObject->value(i, defaultValue)); -} - -QItemSelectionRange PythonQtWrapper_QItemSelection::takeFirst(QItemSelection* theWrappedObject) -{ - return ( theWrappedObject->takeFirst()); -} - -QItemSelectionRange PythonQtWrapper_QItemSelection::value(QItemSelection* theWrappedObject, int i) const -{ - return ( theWrappedObject->value(i)); -} - -const QItemSelectionRange* PythonQtWrapper_QItemSelection::at(QItemSelection* theWrappedObject, int i) const -{ - return &( theWrappedObject->at(i)); -} - -void PythonQtWrapper_QItemSelection::push_front(QItemSelection* theWrappedObject, const QItemSelectionRange& t) -{ - ( theWrappedObject->push_front(t)); -} - -const QItemSelectionRange* PythonQtWrapper_QItemSelection::first(QItemSelection* theWrappedObject) const -{ - return &( theWrappedObject->first()); -} - -void PythonQtWrapper_QItemSelection::append(QItemSelection* theWrappedObject, const QItemSelectionRange& t) -{ - ( theWrappedObject->append(t)); -} - -bool PythonQtWrapper_QItemSelection::contains(QItemSelection* theWrappedObject, const QModelIndex& index) const -{ - return ( theWrappedObject->contains(index)); -} - -int PythonQtWrapper_QItemSelection::count(QItemSelection* theWrappedObject, const QItemSelectionRange& t) const -{ - return ( theWrappedObject->count(t)); -} - -bool PythonQtWrapper_QItemSelection::isEmpty(QItemSelection* theWrappedObject) const -{ - return ( theWrappedObject->isEmpty()); -} - -bool PythonQtWrapper_QItemSelection::empty(QItemSelection* theWrappedObject) const -{ - return ( theWrappedObject->empty()); -} - -QItemSelectionRange PythonQtWrapper_QItemSelection::takeAt(QItemSelection* theWrappedObject, int i) -{ - return ( theWrappedObject->takeAt(i)); -} - -void PythonQtWrapper_QItemSelection::replace(QItemSelection* theWrappedObject, int i, const QItemSelectionRange& t) -{ - ( theWrappedObject->replace(i, t)); -} - -void PythonQtWrapper_QItemSelection::removeFirst(QItemSelection* theWrappedObject) -{ - ( theWrappedObject->removeFirst()); -} - -void PythonQtWrapper_QItemSelection::removeLast(QItemSelection* theWrappedObject) -{ - ( theWrappedObject->removeLast()); -} - -int PythonQtWrapper_QItemSelection::size(QItemSelection* theWrappedObject) const -{ - return ( theWrappedObject->size()); -} - -void PythonQtWrapper_QItemSelection::removeAt(QItemSelection* theWrappedObject, int i) -{ - ( theWrappedObject->removeAt(i)); -} - -void PythonQtWrapper_QItemSelection::static_QItemSelection_split(const QItemSelectionRange& range, const QItemSelectionRange& other, QItemSelection* result) -{ - (QItemSelection::split(range, other, result)); -} - -void PythonQtWrapper_QItemSelection::swap(QItemSelection* theWrappedObject, int i, int j) -{ - ( theWrappedObject->swap(i, j)); -} - -void PythonQtWrapper_QItemSelection::move(QItemSelection* theWrappedObject, int from, int to) -{ - ( theWrappedObject->move(from, to)); -} - -int PythonQtWrapper_QItemSelection::lastIndexOf(QItemSelection* theWrappedObject, const QItemSelectionRange& t, int from) const -{ - return ( theWrappedObject->lastIndexOf(t, from)); -} - -const QItemSelectionRange* PythonQtWrapper_QItemSelection::front(QItemSelection* theWrappedObject) const -{ - return &( theWrappedObject->front()); -} - -QList PythonQtWrapper_QItemSelection::indexes(QItemSelection* theWrappedObject) const -{ - return ( theWrappedObject->indexes()); -} - -QList PythonQtWrapper_QItemSelection::mid(QItemSelection* theWrappedObject, int pos, int length) const -{ - return ( theWrappedObject->mid(pos, length)); -} - -QItemSelectionRange PythonQtWrapper_QItemSelection::takeLast(QItemSelection* theWrappedObject) -{ - return ( theWrappedObject->takeLast()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QItemSelection.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QItemSelection.h deleted file mode 100644 index f6bd4e5..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QItemSelection.h +++ /dev/null @@ -1,70 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QITEMSELECTION_H -#define PYTHONQTWRAPPER_QITEMSELECTION_H - -#include -#include - -#include - -#include -#include -#include -#include -#include - -class PythonQtWrapper_QItemSelection : public QObject -{ Q_OBJECT -public: -public slots: -QItemSelection* new_QItemSelection(); -QItemSelection* new_QItemSelection(const QModelIndex& topLeft, const QModelIndex& bottomRight); -QItemSelection* new_QItemSelection(const QItemSelection& other) { -QItemSelection* a = new QItemSelection(); -*((QItemSelection*)a) = other; -return a; } -void delete_QItemSelection(QItemSelection* obj) { delete obj; } - bool removeOne(QItemSelection* theWrappedObject, const QItemSelectionRange& t); - bool operator_equal(QItemSelection* theWrappedObject, const QList& l) const; - void prepend(QItemSelection* theWrappedObject, const QItemSelectionRange& t); - QList static_QItemSelection_fromVector(const QVector& vector); - QVector toVector(QItemSelection* theWrappedObject) const; - void pop_back(QItemSelection* theWrappedObject); - void clear(QItemSelection* theWrappedObject); - void pop_front(QItemSelection* theWrappedObject); - void push_back(QItemSelection* theWrappedObject, const QItemSelectionRange& t); - int count(QItemSelection* theWrappedObject) const; - int removeAll(QItemSelection* theWrappedObject, const QItemSelectionRange& t); - void merge(QItemSelection* theWrappedObject, const QItemSelection& other, QItemSelectionModel::SelectionFlags command); - const QItemSelectionRange* last(QItemSelection* theWrappedObject) const; - void setSharable(QItemSelection* theWrappedObject, bool sharable); - const QItemSelectionRange* back(QItemSelection* theWrappedObject) const; - int indexOf(QItemSelection* theWrappedObject, const QItemSelectionRange& t, int from) const; - void select(QItemSelection* theWrappedObject, const QModelIndex& topLeft, const QModelIndex& bottomRight); - QItemSelectionRange value(QItemSelection* theWrappedObject, int i, const QItemSelectionRange& defaultValue) const; - QItemSelectionRange takeFirst(QItemSelection* theWrappedObject); - QItemSelectionRange value(QItemSelection* theWrappedObject, int i) const; - const QItemSelectionRange* at(QItemSelection* theWrappedObject, int i) const; - void push_front(QItemSelection* theWrappedObject, const QItemSelectionRange& t); - const QItemSelectionRange* first(QItemSelection* theWrappedObject) const; - void append(QItemSelection* theWrappedObject, const QItemSelectionRange& t); - bool contains(QItemSelection* theWrappedObject, const QModelIndex& index) const; - int count(QItemSelection* theWrappedObject, const QItemSelectionRange& t) const; - bool isEmpty(QItemSelection* theWrappedObject) const; - bool empty(QItemSelection* theWrappedObject) const; - QItemSelectionRange takeAt(QItemSelection* theWrappedObject, int i); - void replace(QItemSelection* theWrappedObject, int i, const QItemSelectionRange& t); - void removeFirst(QItemSelection* theWrappedObject); - void removeLast(QItemSelection* theWrappedObject); - int size(QItemSelection* theWrappedObject) const; - void removeAt(QItemSelection* theWrappedObject, int i); - void static_QItemSelection_split(const QItemSelectionRange& range, const QItemSelectionRange& other, QItemSelection* result); - void swap(QItemSelection* theWrappedObject, int i, int j); - void move(QItemSelection* theWrappedObject, int from, int to); - int lastIndexOf(QItemSelection* theWrappedObject, const QItemSelectionRange& t, int from) const; - const QItemSelectionRange* front(QItemSelection* theWrappedObject) const; - QList indexes(QItemSelection* theWrappedObject) const; - QList mid(QItemSelection* theWrappedObject, int pos, int length) const; - QItemSelectionRange takeLast(QItemSelection* theWrappedObject); -}; - -#endif // PYTHONQTWRAPPER_QITEMSELECTION_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QItemSelectionModel.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QItemSelectionModel.cpp deleted file mode 100644 index 83f05c5..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QItemSelectionModel.cpp +++ /dev/null @@ -1,256 +0,0 @@ -#include "PythonQtWrapper_QItemSelectionModel.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QItemSelectionModel::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; - } -} - QItemSelectionModel::childEvent(arg__1); -} -void PythonQtShell_QItemSelectionModel::clear() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "clear"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QItemSelectionModel::clear(); -} -void PythonQtShell_QItemSelectionModel::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; - } -} - QItemSelectionModel::customEvent(arg__1); -} -bool PythonQtShell_QItemSelectionModel::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QItemSelectionModel::event(arg__1); -} -bool PythonQtShell_QItemSelectionModel::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QItemSelectionModel::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QItemSelectionModel::reset() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reset"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QItemSelectionModel::reset(); -} -void PythonQtShell_QItemSelectionModel::select(const QItemSelection& selection, QItemSelectionModel::SelectionFlags command) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "select"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QItemSelection&" , "QItemSelectionModel::SelectionFlags"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&selection, (void*)&command}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QItemSelectionModel::select(selection, command); -} -void PythonQtShell_QItemSelectionModel::select(const QModelIndex& index, QItemSelectionModel::SelectionFlags command) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "select"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "QItemSelectionModel::SelectionFlags"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&index, (void*)&command}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QItemSelectionModel::select(index, command); -} -void PythonQtShell_QItemSelectionModel::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; - } -} - QItemSelectionModel::timerEvent(arg__1); -} -QItemSelectionModel* PythonQtWrapper_QItemSelectionModel::new_QItemSelectionModel(QAbstractItemModel* model) -{ -return new PythonQtShell_QItemSelectionModel(model); } - -QItemSelectionModel* PythonQtWrapper_QItemSelectionModel::new_QItemSelectionModel(QAbstractItemModel* model, QObject* parent) -{ -return new PythonQtShell_QItemSelectionModel(model, parent); } - -const QItemSelection PythonQtWrapper_QItemSelectionModel::selection(QItemSelectionModel* theWrappedObject) const -{ - return ( theWrappedObject->selection()); -} - -bool PythonQtWrapper_QItemSelectionModel::columnIntersectsSelection(QItemSelectionModel* theWrappedObject, int column, const QModelIndex& parent) const -{ - return ( theWrappedObject->columnIntersectsSelection(column, parent)); -} - -bool PythonQtWrapper_QItemSelectionModel::isSelected(QItemSelectionModel* theWrappedObject, const QModelIndex& index) const -{ - return ( theWrappedObject->isSelected(index)); -} - -bool PythonQtWrapper_QItemSelectionModel::isColumnSelected(QItemSelectionModel* theWrappedObject, int column, const QModelIndex& parent) const -{ - return ( theWrappedObject->isColumnSelected(column, parent)); -} - -QList PythonQtWrapper_QItemSelectionModel::selectedColumns(QItemSelectionModel* theWrappedObject, int row) const -{ - return ( theWrappedObject->selectedColumns(row)); -} - -QList PythonQtWrapper_QItemSelectionModel::selectedIndexes(QItemSelectionModel* theWrappedObject) const -{ - return ( theWrappedObject->selectedIndexes()); -} - -bool PythonQtWrapper_QItemSelectionModel::isRowSelected(QItemSelectionModel* theWrappedObject, int row, const QModelIndex& parent) const -{ - return ( theWrappedObject->isRowSelected(row, parent)); -} - -QModelIndex PythonQtWrapper_QItemSelectionModel::currentIndex(QItemSelectionModel* theWrappedObject) const -{ - return ( theWrappedObject->currentIndex()); -} - -const QAbstractItemModel* PythonQtWrapper_QItemSelectionModel::model(QItemSelectionModel* theWrappedObject) const -{ - return ( theWrappedObject->model()); -} - -bool PythonQtWrapper_QItemSelectionModel::hasSelection(QItemSelectionModel* theWrappedObject) const -{ - return ( theWrappedObject->hasSelection()); -} - -bool PythonQtWrapper_QItemSelectionModel::rowIntersectsSelection(QItemSelectionModel* theWrappedObject, int row, const QModelIndex& parent) const -{ - return ( theWrappedObject->rowIntersectsSelection(row, parent)); -} - -QList PythonQtWrapper_QItemSelectionModel::selectedRows(QItemSelectionModel* theWrappedObject, int column) const -{ - return ( theWrappedObject->selectedRows(column)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QItemSelectionModel.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QItemSelectionModel.h deleted file mode 100644 index aed86ff..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QItemSelectionModel.h +++ /dev/null @@ -1,70 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QITEMSELECTIONMODEL_H -#define PYTHONQTWRAPPER_QITEMSELECTIONMODEL_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QItemSelectionModel : public QItemSelectionModel -{ -public: - PythonQtShell_QItemSelectionModel(QAbstractItemModel* model):QItemSelectionModel(model),_wrapper(NULL) {}; - PythonQtShell_QItemSelectionModel(QAbstractItemModel* model, QObject* parent):QItemSelectionModel(model, parent),_wrapper(NULL) {}; - -virtual void childEvent(QChildEvent* arg__1); -virtual void clear(); -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void reset(); -virtual void select(const QItemSelection& selection, QItemSelectionModel::SelectionFlags command); -virtual void select(const QModelIndex& index, QItemSelectionModel::SelectionFlags command); -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QItemSelectionModel : public QItemSelectionModel -{ public: -inline void promoted_select(const QModelIndex& index, QItemSelectionModel::SelectionFlags command) { QItemSelectionModel::select(index, command); } -inline void promoted_reset() { QItemSelectionModel::reset(); } -inline void promoted_clear() { QItemSelectionModel::clear(); } -inline void promoted_select(const QItemSelection& selection, QItemSelectionModel::SelectionFlags command) { QItemSelectionModel::select(selection, command); } -}; - -class PythonQtWrapper_QItemSelectionModel : public QObject -{ Q_OBJECT -public: -Q_ENUMS(SelectionFlag ) -Q_FLAGS(SelectionFlags ) -enum SelectionFlag{ - NoUpdate = QItemSelectionModel::NoUpdate, Clear = QItemSelectionModel::Clear, Select = QItemSelectionModel::Select, Deselect = QItemSelectionModel::Deselect, Toggle = QItemSelectionModel::Toggle, Current = QItemSelectionModel::Current, Rows = QItemSelectionModel::Rows, Columns = QItemSelectionModel::Columns, SelectCurrent = QItemSelectionModel::SelectCurrent, ToggleCurrent = QItemSelectionModel::ToggleCurrent, ClearAndSelect = QItemSelectionModel::ClearAndSelect}; -Q_DECLARE_FLAGS(SelectionFlags, SelectionFlag) -public slots: -QItemSelectionModel* new_QItemSelectionModel(QAbstractItemModel* model); -QItemSelectionModel* new_QItemSelectionModel(QAbstractItemModel* model, QObject* parent); -void delete_QItemSelectionModel(QItemSelectionModel* obj) { delete obj; } - const QItemSelection selection(QItemSelectionModel* theWrappedObject) const; - bool columnIntersectsSelection(QItemSelectionModel* theWrappedObject, int column, const QModelIndex& parent) const; - bool isSelected(QItemSelectionModel* theWrappedObject, const QModelIndex& index) const; - bool isColumnSelected(QItemSelectionModel* theWrappedObject, int column, const QModelIndex& parent) const; - QList selectedColumns(QItemSelectionModel* theWrappedObject, int row = 0) const; - QList selectedIndexes(QItemSelectionModel* theWrappedObject) const; - bool isRowSelected(QItemSelectionModel* theWrappedObject, int row, const QModelIndex& parent) const; - QModelIndex currentIndex(QItemSelectionModel* theWrappedObject) const; - const QAbstractItemModel* model(QItemSelectionModel* theWrappedObject) const; - bool hasSelection(QItemSelectionModel* theWrappedObject) const; - bool rowIntersectsSelection(QItemSelectionModel* theWrappedObject, int row, const QModelIndex& parent) const; - QList selectedRows(QItemSelectionModel* theWrappedObject, int column = 0) const; -}; - -#endif // PYTHONQTWRAPPER_QITEMSELECTIONMODEL_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QItemSelectionRange.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QItemSelectionRange.cpp deleted file mode 100644 index 5c4cf5a..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QItemSelectionRange.cpp +++ /dev/null @@ -1,118 +0,0 @@ -#include "PythonQtWrapper_QItemSelectionRange.h" - -#include -#include -#include -#include -#include -#include -#include - -QItemSelectionRange* PythonQtWrapper_QItemSelectionRange::new_QItemSelectionRange() -{ -return new QItemSelectionRange(); } - -QItemSelectionRange* PythonQtWrapper_QItemSelectionRange::new_QItemSelectionRange(const QItemSelectionRange& other) -{ -return new QItemSelectionRange(other); } - -QItemSelectionRange* PythonQtWrapper_QItemSelectionRange::new_QItemSelectionRange(const QModelIndex& index) -{ -return new QItemSelectionRange(index); } - -QItemSelectionRange* PythonQtWrapper_QItemSelectionRange::new_QItemSelectionRange(const QModelIndex& topLeft, const QModelIndex& bottomRight) -{ -return new QItemSelectionRange(topLeft, bottomRight); } - -QItemSelectionRange PythonQtWrapper_QItemSelectionRange::intersected(QItemSelectionRange* theWrappedObject, const QItemSelectionRange& other) const -{ - return ( theWrappedObject->intersected(other)); -} - -int PythonQtWrapper_QItemSelectionRange::top(QItemSelectionRange* theWrappedObject) const -{ - return ( theWrappedObject->top()); -} - -bool PythonQtWrapper_QItemSelectionRange::contains(QItemSelectionRange* theWrappedObject, int row, int column, const QModelIndex& parentIndex) const -{ - return ( theWrappedObject->contains(row, column, parentIndex)); -} - -int PythonQtWrapper_QItemSelectionRange::height(QItemSelectionRange* theWrappedObject) const -{ - return ( theWrappedObject->height()); -} - -int PythonQtWrapper_QItemSelectionRange::right(QItemSelectionRange* theWrappedObject) const -{ - return ( theWrappedObject->right()); -} - -QModelIndex PythonQtWrapper_QItemSelectionRange::topLeft(QItemSelectionRange* theWrappedObject) const -{ - return ( theWrappedObject->topLeft()); -} - -QModelIndex PythonQtWrapper_QItemSelectionRange::bottomRight(QItemSelectionRange* theWrappedObject) const -{ - return ( theWrappedObject->bottomRight()); -} - -bool PythonQtWrapper_QItemSelectionRange::intersects(QItemSelectionRange* theWrappedObject, const QItemSelectionRange& other) const -{ - return ( theWrappedObject->intersects(other)); -} - -bool PythonQtWrapper_QItemSelectionRange::contains(QItemSelectionRange* theWrappedObject, const QModelIndex& index) const -{ - return ( theWrappedObject->contains(index)); -} - -int PythonQtWrapper_QItemSelectionRange::left(QItemSelectionRange* theWrappedObject) const -{ - return ( theWrappedObject->left()); -} - -int PythonQtWrapper_QItemSelectionRange::bottom(QItemSelectionRange* theWrappedObject) const -{ - return ( theWrappedObject->bottom()); -} - -bool PythonQtWrapper_QItemSelectionRange::operator_equal(QItemSelectionRange* theWrappedObject, const QItemSelectionRange& other) const -{ - return ( (*theWrappedObject)== other); -} - -QModelIndex PythonQtWrapper_QItemSelectionRange::parent(QItemSelectionRange* theWrappedObject) const -{ - return ( theWrappedObject->parent()); -} - -int PythonQtWrapper_QItemSelectionRange::width(QItemSelectionRange* theWrappedObject) const -{ - return ( theWrappedObject->width()); -} - -bool PythonQtWrapper_QItemSelectionRange::isValid(QItemSelectionRange* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -QList PythonQtWrapper_QItemSelectionRange::indexes(QItemSelectionRange* theWrappedObject) const -{ - return ( theWrappedObject->indexes()); -} - -const QAbstractItemModel* PythonQtWrapper_QItemSelectionRange::model(QItemSelectionRange* theWrappedObject) const -{ - return ( theWrappedObject->model()); -} - -QString PythonQtWrapper_QItemSelectionRange::toString(QItemSelectionRange* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QItemSelectionRange.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QItemSelectionRange.h deleted file mode 100644 index 6d029aa..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QItemSelectionRange.h +++ /dev/null @@ -1,43 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QITEMSELECTIONRANGE_H -#define PYTHONQTWRAPPER_QITEMSELECTIONRANGE_H - -#include -#include - -#include - -#include -#include -#include -#include - -class PythonQtWrapper_QItemSelectionRange : public QObject -{ Q_OBJECT -public: -public slots: -QItemSelectionRange* new_QItemSelectionRange(); -QItemSelectionRange* new_QItemSelectionRange(const QItemSelectionRange& other); -QItemSelectionRange* new_QItemSelectionRange(const QModelIndex& index); -QItemSelectionRange* new_QItemSelectionRange(const QModelIndex& topLeft, const QModelIndex& bottomRight); -void delete_QItemSelectionRange(QItemSelectionRange* obj) { delete obj; } - QItemSelectionRange intersected(QItemSelectionRange* theWrappedObject, const QItemSelectionRange& other) const; - int top(QItemSelectionRange* theWrappedObject) const; - bool contains(QItemSelectionRange* theWrappedObject, int row, int column, const QModelIndex& parentIndex) const; - int height(QItemSelectionRange* theWrappedObject) const; - int right(QItemSelectionRange* theWrappedObject) const; - QModelIndex topLeft(QItemSelectionRange* theWrappedObject) const; - QModelIndex bottomRight(QItemSelectionRange* theWrappedObject) const; - bool intersects(QItemSelectionRange* theWrappedObject, const QItemSelectionRange& other) const; - bool contains(QItemSelectionRange* theWrappedObject, const QModelIndex& index) const; - int left(QItemSelectionRange* theWrappedObject) const; - int bottom(QItemSelectionRange* theWrappedObject) const; - bool operator_equal(QItemSelectionRange* theWrappedObject, const QItemSelectionRange& other) const; - QModelIndex parent(QItemSelectionRange* theWrappedObject) const; - int width(QItemSelectionRange* theWrappedObject) const; - bool isValid(QItemSelectionRange* theWrappedObject) const; - QList indexes(QItemSelectionRange* theWrappedObject) const; - const QAbstractItemModel* model(QItemSelectionRange* theWrappedObject) const; - QString toString(QItemSelectionRange*); -}; - -#endif // PYTHONQTWRAPPER_QITEMSELECTIONRANGE_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QKeyEvent.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QKeyEvent.cpp deleted file mode 100644 index 25d3567..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QKeyEvent.cpp +++ /dev/null @@ -1,67 +0,0 @@ -#include "PythonQtWrapper_QKeyEvent.h" - -#include -#include -#include -#include -#include - -QKeyEvent* PythonQtWrapper_QKeyEvent::new_QKeyEvent(QEvent::Type type, int key, Qt::KeyboardModifiers modifiers, const QString& text, bool autorep, ushort count) -{ -return new PythonQtShell_QKeyEvent(type, key, modifiers, text, autorep, count); } - -QString PythonQtWrapper_QKeyEvent::text(QKeyEvent* theWrappedObject) const -{ - return ( theWrappedObject->text()); -} - -unsigned int PythonQtWrapper_QKeyEvent::nativeVirtualKey(QKeyEvent* theWrappedObject) const -{ - return ( theWrappedObject->nativeVirtualKey()); -} - -unsigned int PythonQtWrapper_QKeyEvent::nativeModifiers(QKeyEvent* theWrappedObject) const -{ - return ( theWrappedObject->nativeModifiers()); -} - -bool PythonQtWrapper_QKeyEvent::hasExtendedInfo(QKeyEvent* theWrappedObject) const -{ - return ( theWrappedObject->hasExtendedInfo()); -} - -int PythonQtWrapper_QKeyEvent::key(QKeyEvent* theWrappedObject) const -{ - return ( theWrappedObject->key()); -} - -QKeyEvent* PythonQtWrapper_QKeyEvent::static_QKeyEvent_createExtendedKeyEvent(QEvent::Type type, int key, Qt::KeyboardModifiers modifiers, unsigned int nativeScanCode, unsigned int nativeVirtualKey, unsigned int nativeModifiers, const QString& text, bool autorep, ushort count) -{ - return (QKeyEvent::createExtendedKeyEvent(type, key, modifiers, nativeScanCode, nativeVirtualKey, nativeModifiers, text, autorep, count)); -} - -bool PythonQtWrapper_QKeyEvent::isAutoRepeat(QKeyEvent* theWrappedObject) const -{ - return ( theWrappedObject->isAutoRepeat()); -} - -Qt::KeyboardModifiers PythonQtWrapper_QKeyEvent::modifiers(QKeyEvent* theWrappedObject) const -{ - return ( theWrappedObject->modifiers()); -} - -unsigned int PythonQtWrapper_QKeyEvent::nativeScanCode(QKeyEvent* theWrappedObject) const -{ - return ( theWrappedObject->nativeScanCode()); -} - -int PythonQtWrapper_QKeyEvent::count(QKeyEvent* theWrappedObject) const -{ - return ( theWrappedObject->count()); -} - -bool PythonQtWrapper_QKeyEvent::matches(QKeyEvent* theWrappedObject, QKeySequence::StandardKey key) const -{ - return ( theWrappedObject->matches(key)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QKeyEvent.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QKeyEvent.h deleted file mode 100644 index 7875ba6..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QKeyEvent.h +++ /dev/null @@ -1,40 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QKEYEVENT_H -#define PYTHONQTWRAPPER_QKEYEVENT_H - -#include -#include - -#include - -#include -#include - -class PythonQtShell_QKeyEvent : public QKeyEvent -{ -public: - PythonQtShell_QKeyEvent(QEvent::Type type, int key, Qt::KeyboardModifiers modifiers, const QString& text = QString(), bool autorep = false, ushort count = 1):QKeyEvent(type, key, modifiers, text, autorep, count),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QKeyEvent : public QObject -{ Q_OBJECT -public: -public slots: -QKeyEvent* new_QKeyEvent(QEvent::Type type, int key, Qt::KeyboardModifiers modifiers, const QString& text = QString(), bool autorep = false, ushort count = 1); -void delete_QKeyEvent(QKeyEvent* obj) { delete obj; } - QString text(QKeyEvent* theWrappedObject) const; - unsigned int nativeVirtualKey(QKeyEvent* theWrappedObject) const; - unsigned int nativeModifiers(QKeyEvent* theWrappedObject) const; - bool hasExtendedInfo(QKeyEvent* theWrappedObject) const; - int key(QKeyEvent* theWrappedObject) const; - QKeyEvent* static_QKeyEvent_createExtendedKeyEvent(QEvent::Type type, int key, Qt::KeyboardModifiers modifiers, unsigned int nativeScanCode, unsigned int nativeVirtualKey, unsigned int nativeModifiers, const QString& text = QString(), bool autorep = false, ushort count = 1); - bool isAutoRepeat(QKeyEvent* theWrappedObject) const; - Qt::KeyboardModifiers modifiers(QKeyEvent* theWrappedObject) const; - unsigned int nativeScanCode(QKeyEvent* theWrappedObject) const; - int count(QKeyEvent* theWrappedObject) const; - bool matches(QKeyEvent* theWrappedObject, QKeySequence::StandardKey key) const; -}; - -#endif // PYTHONQTWRAPPER_QKEYEVENT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QKeySequence.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QKeySequence.cpp deleted file mode 100644 index b4b13d9..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QKeySequence.cpp +++ /dev/null @@ -1,95 +0,0 @@ -#include "PythonQtWrapper_QKeySequence.h" - -#include -#include -#include -#include -#include -#include -#include - -QKeySequence* PythonQtWrapper_QKeySequence::new_QKeySequence() -{ -return new QKeySequence(); } - -QKeySequence* PythonQtWrapper_QKeySequence::new_QKeySequence(QKeySequence::StandardKey key) -{ -return new QKeySequence(key); } - -QKeySequence* PythonQtWrapper_QKeySequence::new_QKeySequence(const QKeySequence& ks) -{ -return new QKeySequence(ks); } - -QKeySequence* PythonQtWrapper_QKeySequence::new_QKeySequence(const QString& key) -{ -return new QKeySequence(key); } - -QKeySequence* PythonQtWrapper_QKeySequence::new_QKeySequence(int k1, int k2, int k3, int k4) -{ -return new QKeySequence(k1, k2, k3, k4); } - -void PythonQtWrapper_QKeySequence::readFrom(QKeySequence* theWrappedObject, QDataStream& out) -{ - out >> (*theWrappedObject); -} - -uint PythonQtWrapper_QKeySequence::count(QKeySequence* theWrappedObject) const -{ - return ( theWrappedObject->count()); -} - -QString PythonQtWrapper_QKeySequence::toString(QKeySequence* theWrappedObject, QKeySequence::SequenceFormat format) const -{ - return ( theWrappedObject->toString(format)); -} - -int PythonQtWrapper_QKeySequence::operator_cast_int(QKeySequence* theWrappedObject) const -{ - return ( theWrappedObject->operator int()); -} - -QKeySequence PythonQtWrapper_QKeySequence::static_QKeySequence_fromString(const QString& str, QKeySequence::SequenceFormat format) -{ - return (QKeySequence::fromString(str, format)); -} - -QList PythonQtWrapper_QKeySequence::static_QKeySequence_keyBindings(QKeySequence::StandardKey key) -{ - return (QKeySequence::keyBindings(key)); -} - -QKeySequence::SequenceMatch PythonQtWrapper_QKeySequence::matches(QKeySequence* theWrappedObject, const QKeySequence& seq) const -{ - return ( theWrappedObject->matches(seq)); -} - -QKeySequence PythonQtWrapper_QKeySequence::static_QKeySequence_mnemonic(const QString& text) -{ - return (QKeySequence::mnemonic(text)); -} - -bool PythonQtWrapper_QKeySequence::isEmpty(QKeySequence* theWrappedObject) const -{ - return ( theWrappedObject->isEmpty()); -} - -bool PythonQtWrapper_QKeySequence::operator_less(QKeySequence* theWrappedObject, const QKeySequence& ks) const -{ - return ( (*theWrappedObject)< ks); -} - -void PythonQtWrapper_QKeySequence::writeTo(QKeySequence* theWrappedObject, QDataStream& in) -{ - in << (*theWrappedObject); -} - -int PythonQtWrapper_QKeySequence::operator_subscript(QKeySequence* theWrappedObject, uint i) const -{ - return ( (*theWrappedObject)[i]); -} - -bool PythonQtWrapper_QKeySequence::operator_equal(QKeySequence* theWrappedObject, const QKeySequence& other) const -{ - return ( (*theWrappedObject)== other); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QKeySequence.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QKeySequence.h deleted file mode 100644 index 9a5fded..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QKeySequence.h +++ /dev/null @@ -1,46 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QKEYSEQUENCE_H -#define PYTHONQTWRAPPER_QKEYSEQUENCE_H - -#include -#include - -#include - -#include -#include -#include -#include - -class PythonQtWrapper_QKeySequence : public QObject -{ Q_OBJECT -public: -Q_ENUMS(SequenceFormat StandardKey SequenceMatch ) -enum SequenceFormat{ - NativeText = QKeySequence::NativeText, PortableText = QKeySequence::PortableText}; -enum StandardKey{ - UnknownKey = QKeySequence::UnknownKey, HelpContents = QKeySequence::HelpContents, WhatsThis = QKeySequence::WhatsThis, Open = QKeySequence::Open, Close = QKeySequence::Close, Save = QKeySequence::Save, New = QKeySequence::New, Delete = QKeySequence::Delete, Cut = QKeySequence::Cut, Copy = QKeySequence::Copy, Paste = QKeySequence::Paste, Undo = QKeySequence::Undo, Redo = QKeySequence::Redo, Back = QKeySequence::Back, Forward = QKeySequence::Forward, Refresh = QKeySequence::Refresh, ZoomIn = QKeySequence::ZoomIn, ZoomOut = QKeySequence::ZoomOut, Print = QKeySequence::Print, AddTab = QKeySequence::AddTab, NextChild = QKeySequence::NextChild, PreviousChild = QKeySequence::PreviousChild, Find = QKeySequence::Find, FindNext = QKeySequence::FindNext, FindPrevious = QKeySequence::FindPrevious, Replace = QKeySequence::Replace, SelectAll = QKeySequence::SelectAll, Bold = QKeySequence::Bold, Italic = QKeySequence::Italic, Underline = QKeySequence::Underline, MoveToNextChar = QKeySequence::MoveToNextChar, MoveToPreviousChar = QKeySequence::MoveToPreviousChar, MoveToNextWord = QKeySequence::MoveToNextWord, MoveToPreviousWord = QKeySequence::MoveToPreviousWord, MoveToNextLine = QKeySequence::MoveToNextLine, MoveToPreviousLine = QKeySequence::MoveToPreviousLine, MoveToNextPage = QKeySequence::MoveToNextPage, MoveToPreviousPage = QKeySequence::MoveToPreviousPage, MoveToStartOfLine = QKeySequence::MoveToStartOfLine, MoveToEndOfLine = QKeySequence::MoveToEndOfLine, MoveToStartOfBlock = QKeySequence::MoveToStartOfBlock, MoveToEndOfBlock = QKeySequence::MoveToEndOfBlock, MoveToStartOfDocument = QKeySequence::MoveToStartOfDocument, MoveToEndOfDocument = QKeySequence::MoveToEndOfDocument, SelectNextChar = QKeySequence::SelectNextChar, SelectPreviousChar = QKeySequence::SelectPreviousChar, SelectNextWord = QKeySequence::SelectNextWord, SelectPreviousWord = QKeySequence::SelectPreviousWord, SelectNextLine = QKeySequence::SelectNextLine, SelectPreviousLine = QKeySequence::SelectPreviousLine, SelectNextPage = QKeySequence::SelectNextPage, SelectPreviousPage = QKeySequence::SelectPreviousPage, SelectStartOfLine = QKeySequence::SelectStartOfLine, SelectEndOfLine = QKeySequence::SelectEndOfLine, SelectStartOfBlock = QKeySequence::SelectStartOfBlock, SelectEndOfBlock = QKeySequence::SelectEndOfBlock, SelectStartOfDocument = QKeySequence::SelectStartOfDocument, SelectEndOfDocument = QKeySequence::SelectEndOfDocument, DeleteStartOfWord = QKeySequence::DeleteStartOfWord, DeleteEndOfWord = QKeySequence::DeleteEndOfWord, DeleteEndOfLine = QKeySequence::DeleteEndOfLine}; -enum SequenceMatch{ - NoMatch = QKeySequence::NoMatch, PartialMatch = QKeySequence::PartialMatch, ExactMatch = QKeySequence::ExactMatch}; -public slots: -QKeySequence* new_QKeySequence(); -QKeySequence* new_QKeySequence(QKeySequence::StandardKey key); -QKeySequence* new_QKeySequence(const QKeySequence& ks); -QKeySequence* new_QKeySequence(const QString& key); -QKeySequence* new_QKeySequence(int k1, int k2 = 0, int k3 = 0, int k4 = 0); -void delete_QKeySequence(QKeySequence* obj) { delete obj; } - void readFrom(QKeySequence* theWrappedObject, QDataStream& out); - uint count(QKeySequence* theWrappedObject) const; - QString toString(QKeySequence* theWrappedObject, QKeySequence::SequenceFormat format = QKeySequence::PortableText) const; - int operator_cast_int(QKeySequence* theWrappedObject) const; - QKeySequence static_QKeySequence_fromString(const QString& str, QKeySequence::SequenceFormat format = QKeySequence::PortableText); - QList static_QKeySequence_keyBindings(QKeySequence::StandardKey key); - QKeySequence::SequenceMatch matches(QKeySequence* theWrappedObject, const QKeySequence& seq) const; - QKeySequence static_QKeySequence_mnemonic(const QString& text); - bool isEmpty(QKeySequence* theWrappedObject) const; - bool operator_less(QKeySequence* theWrappedObject, const QKeySequence& ks) const; - void writeTo(QKeySequence* theWrappedObject, QDataStream& in); - int operator_subscript(QKeySequence* theWrappedObject, uint i) const; - bool operator_equal(QKeySequence* theWrappedObject, const QKeySequence& other) const; -}; - -#endif // PYTHONQTWRAPPER_QKEYSEQUENCE_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QLCDNumber.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QLCDNumber.cpp deleted file mode 100644 index 6530dd5..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QLCDNumber.cpp +++ /dev/null @@ -1,873 +0,0 @@ -#include "PythonQtWrapper_QLCDNumber.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QLCDNumber::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QLCDNumber::actionEvent(arg__1); -} -void PythonQtShell_QLCDNumber::changeEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QLCDNumber::changeEvent(arg__1); -} -void PythonQtShell_QLCDNumber::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; - } -} - QLCDNumber::childEvent(arg__1); -} -void PythonQtShell_QLCDNumber::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QLCDNumber::closeEvent(arg__1); -} -void PythonQtShell_QLCDNumber::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QLCDNumber::contextMenuEvent(arg__1); -} -void PythonQtShell_QLCDNumber::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; - } -} - QLCDNumber::customEvent(arg__1); -} -int PythonQtShell_QLCDNumber::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QLCDNumber::devType(); -} -void PythonQtShell_QLCDNumber::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QLCDNumber::dragEnterEvent(arg__1); -} -void PythonQtShell_QLCDNumber::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QLCDNumber::dragLeaveEvent(arg__1); -} -void PythonQtShell_QLCDNumber::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QLCDNumber::dragMoveEvent(arg__1); -} -void PythonQtShell_QLCDNumber::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QLCDNumber::dropEvent(arg__1); -} -void PythonQtShell_QLCDNumber::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QLCDNumber::enterEvent(arg__1); -} -bool PythonQtShell_QLCDNumber::event(QEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QLCDNumber::event(e); -} -bool PythonQtShell_QLCDNumber::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QLCDNumber::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QLCDNumber::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QLCDNumber::focusInEvent(arg__1); -} -bool PythonQtShell_QLCDNumber::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QLCDNumber::focusNextPrevChild(next); -} -void PythonQtShell_QLCDNumber::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QLCDNumber::focusOutEvent(arg__1); -} -int PythonQtShell_QLCDNumber::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QLCDNumber::heightForWidth(arg__1); -} -void PythonQtShell_QLCDNumber::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QLCDNumber::hideEvent(arg__1); -} -void PythonQtShell_QLCDNumber::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QLCDNumber::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QLCDNumber::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QLCDNumber::inputMethodQuery(arg__1); -} -void PythonQtShell_QLCDNumber::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QLCDNumber::keyPressEvent(arg__1); -} -void PythonQtShell_QLCDNumber::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QLCDNumber::keyReleaseEvent(arg__1); -} -void PythonQtShell_QLCDNumber::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QLCDNumber::languageChange(); -} -void PythonQtShell_QLCDNumber::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QLCDNumber::leaveEvent(arg__1); -} -int PythonQtShell_QLCDNumber::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QLCDNumber::metric(arg__1); -} -QSize PythonQtShell_QLCDNumber::minimumSizeHint() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QLCDNumber::minimumSizeHint(); -} -void PythonQtShell_QLCDNumber::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QLCDNumber::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QLCDNumber::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QLCDNumber::mouseMoveEvent(arg__1); -} -void PythonQtShell_QLCDNumber::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QLCDNumber::mousePressEvent(arg__1); -} -void PythonQtShell_QLCDNumber::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QLCDNumber::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QLCDNumber::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QLCDNumber::moveEvent(arg__1); -} -QPaintEngine* PythonQtShell_QLCDNumber::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QLCDNumber::paintEngine(); -} -void PythonQtShell_QLCDNumber::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - 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; - } -} - QLCDNumber::paintEvent(arg__1); -} -void PythonQtShell_QLCDNumber::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - 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; - } -} - QLCDNumber::resizeEvent(arg__1); -} -void PythonQtShell_QLCDNumber::showEvent(QShowEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QLCDNumber::showEvent(arg__1); -} -void PythonQtShell_QLCDNumber::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QLCDNumber::tabletEvent(arg__1); -} -void PythonQtShell_QLCDNumber::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; - } -} - QLCDNumber::timerEvent(arg__1); -} -void PythonQtShell_QLCDNumber::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QLCDNumber::wheelEvent(arg__1); -} -QLCDNumber* PythonQtWrapper_QLCDNumber::new_QLCDNumber(QWidget* parent) -{ -return new PythonQtShell_QLCDNumber(parent); } - -QLCDNumber* PythonQtWrapper_QLCDNumber::new_QLCDNumber(uint numDigits, QWidget* parent) -{ -return new PythonQtShell_QLCDNumber(numDigits, parent); } - -void PythonQtWrapper_QLCDNumber::setNumDigits(QLCDNumber* theWrappedObject, int nDigits) -{ - ( theWrappedObject->setNumDigits(nDigits)); -} - -int PythonQtWrapper_QLCDNumber::intValue(QLCDNumber* theWrappedObject) const -{ - return ( theWrappedObject->intValue()); -} - -bool PythonQtWrapper_QLCDNumber::checkOverflow(QLCDNumber* theWrappedObject, int num) const -{ - return ( theWrappedObject->checkOverflow(num)); -} - -bool PythonQtWrapper_QLCDNumber::event(QLCDNumber* theWrappedObject, QEvent* e) -{ - return ( ((PythonQtPublicPromoter_QLCDNumber*)theWrappedObject)->promoted_event(e)); -} - -bool PythonQtWrapper_QLCDNumber::smallDecimalPoint(QLCDNumber* theWrappedObject) const -{ - return ( theWrappedObject->smallDecimalPoint()); -} - -QLCDNumber::Mode PythonQtWrapper_QLCDNumber::mode(QLCDNumber* theWrappedObject) const -{ - return ( theWrappedObject->mode()); -} - -void PythonQtWrapper_QLCDNumber::setMode(QLCDNumber* theWrappedObject, QLCDNumber::Mode arg__1) -{ - ( theWrappedObject->setMode(arg__1)); -} - -double PythonQtWrapper_QLCDNumber::value(QLCDNumber* theWrappedObject) const -{ - return ( theWrappedObject->value()); -} - -int PythonQtWrapper_QLCDNumber::numDigits(QLCDNumber* theWrappedObject) const -{ - return ( theWrappedObject->numDigits()); -} - -QLCDNumber::SegmentStyle PythonQtWrapper_QLCDNumber::segmentStyle(QLCDNumber* theWrappedObject) const -{ - return ( theWrappedObject->segmentStyle()); -} - -void PythonQtWrapper_QLCDNumber::setSegmentStyle(QLCDNumber* theWrappedObject, QLCDNumber::SegmentStyle arg__1) -{ - ( theWrappedObject->setSegmentStyle(arg__1)); -} - -bool PythonQtWrapper_QLCDNumber::checkOverflow(QLCDNumber* theWrappedObject, double num) const -{ - return ( theWrappedObject->checkOverflow(num)); -} - -QSize PythonQtWrapper_QLCDNumber::sizeHint(QLCDNumber* theWrappedObject) const -{ - return ( theWrappedObject->sizeHint()); -} - -void PythonQtWrapper_QLCDNumber::paintEvent(QLCDNumber* theWrappedObject, QPaintEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QLCDNumber*)theWrappedObject)->promoted_paintEvent(arg__1)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QLCDNumber.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QLCDNumber.h deleted file mode 100644 index 0031ca2..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QLCDNumber.h +++ /dev/null @@ -1,115 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QLCDNUMBER_H -#define PYTHONQTWRAPPER_QLCDNUMBER_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QLCDNumber : public QLCDNumber -{ -public: - PythonQtShell_QLCDNumber(QWidget* parent = 0):QLCDNumber(parent),_wrapper(NULL) {}; - PythonQtShell_QLCDNumber(uint numDigits, QWidget* parent = 0):QLCDNumber(numDigits, parent),_wrapper(NULL) {}; - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* arg__1); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void showEvent(QShowEvent* arg__1); -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QLCDNumber : public QLCDNumber -{ public: -inline bool promoted_event(QEvent* e) { return QLCDNumber::event(e); } -inline void promoted_paintEvent(QPaintEvent* arg__1) { QLCDNumber::paintEvent(arg__1); } -}; - -class PythonQtWrapper_QLCDNumber : public QObject -{ Q_OBJECT -public: -public slots: -QLCDNumber* new_QLCDNumber(QWidget* parent = 0); -QLCDNumber* new_QLCDNumber(uint numDigits, QWidget* parent = 0); -void delete_QLCDNumber(QLCDNumber* obj) { delete obj; } - void setNumDigits(QLCDNumber* theWrappedObject, int nDigits); - int intValue(QLCDNumber* theWrappedObject) const; - bool checkOverflow(QLCDNumber* theWrappedObject, int num) const; - bool event(QLCDNumber* theWrappedObject, QEvent* e); - bool smallDecimalPoint(QLCDNumber* theWrappedObject) const; - QLCDNumber::Mode mode(QLCDNumber* theWrappedObject) const; - void setMode(QLCDNumber* theWrappedObject, QLCDNumber::Mode arg__1); - double value(QLCDNumber* theWrappedObject) const; - int numDigits(QLCDNumber* theWrappedObject) const; - QLCDNumber::SegmentStyle segmentStyle(QLCDNumber* theWrappedObject) const; - void setSegmentStyle(QLCDNumber* theWrappedObject, QLCDNumber::SegmentStyle arg__1); - bool checkOverflow(QLCDNumber* theWrappedObject, double num) const; - QSize sizeHint(QLCDNumber* theWrappedObject) const; - void paintEvent(QLCDNumber* theWrappedObject, QPaintEvent* arg__1); -}; - -#endif // PYTHONQTWRAPPER_QLCDNUMBER_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QLabel.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QLabel.cpp deleted file mode 100644 index c1fb5a6..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QLabel.cpp +++ /dev/null @@ -1,958 +0,0 @@ -#include "PythonQtWrapper_QLabel.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QLabel::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QLabel::actionEvent(arg__1); -} -void PythonQtShell_QLabel::changeEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QLabel::changeEvent(arg__1); -} -void PythonQtShell_QLabel::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; - } -} - QLabel::childEvent(arg__1); -} -void PythonQtShell_QLabel::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QLabel::closeEvent(arg__1); -} -void PythonQtShell_QLabel::contextMenuEvent(QContextMenuEvent* ev) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QLabel::contextMenuEvent(ev); -} -void PythonQtShell_QLabel::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; - } -} - QLabel::customEvent(arg__1); -} -int PythonQtShell_QLabel::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QLabel::devType(); -} -void PythonQtShell_QLabel::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QLabel::dragEnterEvent(arg__1); -} -void PythonQtShell_QLabel::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QLabel::dragLeaveEvent(arg__1); -} -void PythonQtShell_QLabel::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QLabel::dragMoveEvent(arg__1); -} -void PythonQtShell_QLabel::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QLabel::dropEvent(arg__1); -} -void PythonQtShell_QLabel::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QLabel::enterEvent(arg__1); -} -bool PythonQtShell_QLabel::event(QEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QLabel::event(e); -} -bool PythonQtShell_QLabel::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QLabel::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QLabel::focusInEvent(QFocusEvent* ev) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QLabel::focusInEvent(ev); -} -bool PythonQtShell_QLabel::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QLabel::focusNextPrevChild(next); -} -void PythonQtShell_QLabel::focusOutEvent(QFocusEvent* ev) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QLabel::focusOutEvent(ev); -} -int PythonQtShell_QLabel::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QLabel::heightForWidth(arg__1); -} -void PythonQtShell_QLabel::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QLabel::hideEvent(arg__1); -} -void PythonQtShell_QLabel::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QLabel::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QLabel::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QLabel::inputMethodQuery(arg__1); -} -void PythonQtShell_QLabel::keyPressEvent(QKeyEvent* ev) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QLabel::keyPressEvent(ev); -} -void PythonQtShell_QLabel::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QLabel::keyReleaseEvent(arg__1); -} -void PythonQtShell_QLabel::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QLabel::languageChange(); -} -void PythonQtShell_QLabel::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QLabel::leaveEvent(arg__1); -} -int PythonQtShell_QLabel::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QLabel::metric(arg__1); -} -void PythonQtShell_QLabel::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QLabel::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QLabel::mouseMoveEvent(QMouseEvent* ev) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QLabel::mouseMoveEvent(ev); -} -void PythonQtShell_QLabel::mousePressEvent(QMouseEvent* ev) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QLabel::mousePressEvent(ev); -} -void PythonQtShell_QLabel::mouseReleaseEvent(QMouseEvent* ev) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QLabel::mouseReleaseEvent(ev); -} -void PythonQtShell_QLabel::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QLabel::moveEvent(arg__1); -} -QPaintEngine* PythonQtShell_QLabel::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QLabel::paintEngine(); -} -void PythonQtShell_QLabel::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - 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; - } -} - QLabel::paintEvent(arg__1); -} -void PythonQtShell_QLabel::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - 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; - } -} - QLabel::resizeEvent(arg__1); -} -void PythonQtShell_QLabel::showEvent(QShowEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QLabel::showEvent(arg__1); -} -void PythonQtShell_QLabel::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QLabel::tabletEvent(arg__1); -} -void PythonQtShell_QLabel::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; - } -} - QLabel::timerEvent(arg__1); -} -void PythonQtShell_QLabel::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QLabel::wheelEvent(arg__1); -} -QLabel* PythonQtWrapper_QLabel::new_QLabel(QWidget* parent, Qt::WindowFlags f) -{ -return new PythonQtShell_QLabel(parent, f); } - -QLabel* PythonQtWrapper_QLabel::new_QLabel(const QString& text, QWidget* parent, Qt::WindowFlags f) -{ -return new PythonQtShell_QLabel(text, parent, f); } - -void PythonQtWrapper_QLabel::changeEvent(QLabel* theWrappedObject, QEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QLabel*)theWrappedObject)->promoted_changeEvent(arg__1)); -} - -QSize PythonQtWrapper_QLabel::minimumSizeHint(QLabel* theWrappedObject) const -{ - return ( theWrappedObject->minimumSizeHint()); -} - -const QPixmap* PythonQtWrapper_QLabel::pixmap(QLabel* theWrappedObject) const -{ - return ( theWrappedObject->pixmap()); -} - -int PythonQtWrapper_QLabel::heightForWidth(QLabel* theWrappedObject, int arg__1) const -{ - return ( ((PythonQtPublicPromoter_QLabel*)theWrappedObject)->promoted_heightForWidth(arg__1)); -} - -bool PythonQtWrapper_QLabel::wordWrap(QLabel* theWrappedObject) const -{ - return ( theWrappedObject->wordWrap()); -} - -void PythonQtWrapper_QLabel::keyPressEvent(QLabel* theWrappedObject, QKeyEvent* ev) -{ - ( ((PythonQtPublicPromoter_QLabel*)theWrappedObject)->promoted_keyPressEvent(ev)); -} - -void PythonQtWrapper_QLabel::setTextFormat(QLabel* theWrappedObject, Qt::TextFormat arg__1) -{ - ( theWrappedObject->setTextFormat(arg__1)); -} - -void PythonQtWrapper_QLabel::setTextInteractionFlags(QLabel* theWrappedObject, Qt::TextInteractionFlags flags) -{ - ( theWrappedObject->setTextInteractionFlags(flags)); -} - -void PythonQtWrapper_QLabel::mouseMoveEvent(QLabel* theWrappedObject, QMouseEvent* ev) -{ - ( ((PythonQtPublicPromoter_QLabel*)theWrappedObject)->promoted_mouseMoveEvent(ev)); -} - -void PythonQtWrapper_QLabel::mouseReleaseEvent(QLabel* theWrappedObject, QMouseEvent* ev) -{ - ( ((PythonQtPublicPromoter_QLabel*)theWrappedObject)->promoted_mouseReleaseEvent(ev)); -} - -QString PythonQtWrapper_QLabel::text(QLabel* theWrappedObject) const -{ - return ( theWrappedObject->text()); -} - -bool PythonQtWrapper_QLabel::focusNextPrevChild(QLabel* theWrappedObject, bool next) -{ - return ( ((PythonQtPublicPromoter_QLabel*)theWrappedObject)->promoted_focusNextPrevChild(next)); -} - -bool PythonQtWrapper_QLabel::event(QLabel* theWrappedObject, QEvent* e) -{ - return ( ((PythonQtPublicPromoter_QLabel*)theWrappedObject)->promoted_event(e)); -} - -bool PythonQtWrapper_QLabel::openExternalLinks(QLabel* theWrappedObject) const -{ - return ( theWrappedObject->openExternalLinks()); -} - -void PythonQtWrapper_QLabel::setMargin(QLabel* theWrappedObject, int arg__1) -{ - ( theWrappedObject->setMargin(arg__1)); -} - -void PythonQtWrapper_QLabel::contextMenuEvent(QLabel* theWrappedObject, QContextMenuEvent* ev) -{ - ( ((PythonQtPublicPromoter_QLabel*)theWrappedObject)->promoted_contextMenuEvent(ev)); -} - -Qt::TextInteractionFlags PythonQtWrapper_QLabel::textInteractionFlags(QLabel* theWrappedObject) const -{ - return ( theWrappedObject->textInteractionFlags()); -} - -const QPicture* PythonQtWrapper_QLabel::picture(QLabel* theWrappedObject) const -{ - return ( theWrappedObject->picture()); -} - -void PythonQtWrapper_QLabel::setAlignment(QLabel* theWrappedObject, Qt::Alignment arg__1) -{ - ( theWrappedObject->setAlignment(arg__1)); -} - -void PythonQtWrapper_QLabel::setWordWrap(QLabel* theWrappedObject, bool on) -{ - ( theWrappedObject->setWordWrap(on)); -} - -bool PythonQtWrapper_QLabel::hasScaledContents(QLabel* theWrappedObject) const -{ - return ( theWrappedObject->hasScaledContents()); -} - -QWidget* PythonQtWrapper_QLabel::buddy(QLabel* theWrappedObject) const -{ - return ( theWrappedObject->buddy()); -} - -void PythonQtWrapper_QLabel::focusInEvent(QLabel* theWrappedObject, QFocusEvent* ev) -{ - ( ((PythonQtPublicPromoter_QLabel*)theWrappedObject)->promoted_focusInEvent(ev)); -} - -void PythonQtWrapper_QLabel::setScaledContents(QLabel* theWrappedObject, bool arg__1) -{ - ( theWrappedObject->setScaledContents(arg__1)); -} - -void PythonQtWrapper_QLabel::mousePressEvent(QLabel* theWrappedObject, QMouseEvent* ev) -{ - ( ((PythonQtPublicPromoter_QLabel*)theWrappedObject)->promoted_mousePressEvent(ev)); -} - -Qt::TextFormat PythonQtWrapper_QLabel::textFormat(QLabel* theWrappedObject) const -{ - return ( theWrappedObject->textFormat()); -} - -int PythonQtWrapper_QLabel::indent(QLabel* theWrappedObject) const -{ - return ( theWrappedObject->indent()); -} - -void PythonQtWrapper_QLabel::paintEvent(QLabel* theWrappedObject, QPaintEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QLabel*)theWrappedObject)->promoted_paintEvent(arg__1)); -} - -QMovie* PythonQtWrapper_QLabel::movie(QLabel* theWrappedObject) const -{ - return ( theWrappedObject->movie()); -} - -void PythonQtWrapper_QLabel::setBuddy(QLabel* theWrappedObject, QWidget* arg__1) -{ - ( theWrappedObject->setBuddy(arg__1)); -} - -int PythonQtWrapper_QLabel::margin(QLabel* theWrappedObject) const -{ - return ( theWrappedObject->margin()); -} - -QSize PythonQtWrapper_QLabel::sizeHint(QLabel* theWrappedObject) const -{ - return ( theWrappedObject->sizeHint()); -} - -void PythonQtWrapper_QLabel::focusOutEvent(QLabel* theWrappedObject, QFocusEvent* ev) -{ - ( ((PythonQtPublicPromoter_QLabel*)theWrappedObject)->promoted_focusOutEvent(ev)); -} - -Qt::Alignment PythonQtWrapper_QLabel::alignment(QLabel* theWrappedObject) const -{ - return ( theWrappedObject->alignment()); -} - -void PythonQtWrapper_QLabel::setOpenExternalLinks(QLabel* theWrappedObject, bool open) -{ - ( theWrappedObject->setOpenExternalLinks(open)); -} - -void PythonQtWrapper_QLabel::setIndent(QLabel* theWrappedObject, int arg__1) -{ - ( theWrappedObject->setIndent(arg__1)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QLabel.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QLabel.h deleted file mode 100644 index a7dd0a6..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QLabel.h +++ /dev/null @@ -1,149 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QLABEL_H -#define PYTHONQTWRAPPER_QLABEL_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QLabel : public QLabel -{ -public: - PythonQtShell_QLabel(QWidget* parent = 0, Qt::WindowFlags f = 0):QLabel(parent, f),_wrapper(NULL) {}; - PythonQtShell_QLabel(const QString& text, QWidget* parent = 0, Qt::WindowFlags f = 0):QLabel(text, parent, f),_wrapper(NULL) {}; - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* ev); -virtual void customEvent(QEvent* arg__1); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* ev); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* ev); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* ev); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* ev); -virtual void mousePressEvent(QMouseEvent* ev); -virtual void mouseReleaseEvent(QMouseEvent* ev); -virtual void moveEvent(QMoveEvent* arg__1); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void showEvent(QShowEvent* arg__1); -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QLabel : public QLabel -{ public: -inline void promoted_changeEvent(QEvent* arg__1) { QLabel::changeEvent(arg__1); } -inline int promoted_heightForWidth(int arg__1) const { return QLabel::heightForWidth(arg__1); } -inline void promoted_keyPressEvent(QKeyEvent* ev) { QLabel::keyPressEvent(ev); } -inline void promoted_mouseMoveEvent(QMouseEvent* ev) { QLabel::mouseMoveEvent(ev); } -inline void promoted_mouseReleaseEvent(QMouseEvent* ev) { QLabel::mouseReleaseEvent(ev); } -inline bool promoted_focusNextPrevChild(bool next) { return QLabel::focusNextPrevChild(next); } -inline bool promoted_event(QEvent* e) { return QLabel::event(e); } -inline void promoted_contextMenuEvent(QContextMenuEvent* ev) { QLabel::contextMenuEvent(ev); } -inline void promoted_focusInEvent(QFocusEvent* ev) { QLabel::focusInEvent(ev); } -inline void promoted_mousePressEvent(QMouseEvent* ev) { QLabel::mousePressEvent(ev); } -inline void promoted_paintEvent(QPaintEvent* arg__1) { QLabel::paintEvent(arg__1); } -inline void promoted_focusOutEvent(QFocusEvent* ev) { QLabel::focusOutEvent(ev); } -}; - -class PythonQtWrapper_QLabel : public QObject -{ Q_OBJECT -public: -public slots: -QLabel* new_QLabel(QWidget* parent = 0, Qt::WindowFlags f = 0); -QLabel* new_QLabel(const QString& text, QWidget* parent = 0, Qt::WindowFlags f = 0); -void delete_QLabel(QLabel* obj) { delete obj; } - void changeEvent(QLabel* theWrappedObject, QEvent* arg__1); - QSize minimumSizeHint(QLabel* theWrappedObject) const; - const QPixmap* pixmap(QLabel* theWrappedObject) const; - int heightForWidth(QLabel* theWrappedObject, int arg__1) const; - bool wordWrap(QLabel* theWrappedObject) const; - void keyPressEvent(QLabel* theWrappedObject, QKeyEvent* ev); - void setTextFormat(QLabel* theWrappedObject, Qt::TextFormat arg__1); - void setTextInteractionFlags(QLabel* theWrappedObject, Qt::TextInteractionFlags flags); - void mouseMoveEvent(QLabel* theWrappedObject, QMouseEvent* ev); - void mouseReleaseEvent(QLabel* theWrappedObject, QMouseEvent* ev); - QString text(QLabel* theWrappedObject) const; - bool focusNextPrevChild(QLabel* theWrappedObject, bool next); - bool event(QLabel* theWrappedObject, QEvent* e); - bool openExternalLinks(QLabel* theWrappedObject) const; - void setMargin(QLabel* theWrappedObject, int arg__1); - void contextMenuEvent(QLabel* theWrappedObject, QContextMenuEvent* ev); - Qt::TextInteractionFlags textInteractionFlags(QLabel* theWrappedObject) const; - const QPicture* picture(QLabel* theWrappedObject) const; - void setAlignment(QLabel* theWrappedObject, Qt::Alignment arg__1); - void setWordWrap(QLabel* theWrappedObject, bool on); - bool hasScaledContents(QLabel* theWrappedObject) const; - QWidget* buddy(QLabel* theWrappedObject) const; - void focusInEvent(QLabel* theWrappedObject, QFocusEvent* ev); - void setScaledContents(QLabel* theWrappedObject, bool arg__1); - void mousePressEvent(QLabel* theWrappedObject, QMouseEvent* ev); - Qt::TextFormat textFormat(QLabel* theWrappedObject) const; - int indent(QLabel* theWrappedObject) const; - void paintEvent(QLabel* theWrappedObject, QPaintEvent* arg__1); - QMovie* movie(QLabel* theWrappedObject) const; - void setBuddy(QLabel* theWrappedObject, QWidget* arg__1); - int margin(QLabel* theWrappedObject) const; - QSize sizeHint(QLabel* theWrappedObject) const; - void focusOutEvent(QLabel* theWrappedObject, QFocusEvent* ev); - Qt::Alignment alignment(QLabel* theWrappedObject) const; - void setOpenExternalLinks(QLabel* theWrappedObject, bool open); - void setIndent(QLabel* theWrappedObject, int arg__1); -}; - -#endif // PYTHONQTWRAPPER_QLABEL_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QLayout.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QLayout.cpp deleted file mode 100644 index 5621b43..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QLayout.cpp +++ /dev/null @@ -1,814 +0,0 @@ -#include "PythonQtWrapper_QLayout.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QLayout::addItem(QLayoutItem* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "addItem"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QLayoutItem*"}; - 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; - } -} - -} -void PythonQtShell_QLayout::childEvent(QChildEvent* e) -{ -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*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QLayout::childEvent(e); -} -int PythonQtShell_QLayout::count() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "count"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - int result; -return result; -} -void PythonQtShell_QLayout::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; - } -} - QLayout::customEvent(arg__1); -} -bool PythonQtShell_QLayout::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QLayout::event(arg__1); -} -bool PythonQtShell_QLayout::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QLayout::eventFilter(arg__1, arg__2); -} -Qt::Orientations PythonQtShell_QLayout::expandingDirections() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "expandingDirections"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"Qt::Orientations"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::Orientations returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); - } else { - returnValue = *((Qt::Orientations*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QLayout::expandingDirections(); -} -QRect PythonQtShell_QLayout::geometry() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "geometry"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QRect"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRect returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QLayout::geometry(); -} -bool PythonQtShell_QLayout::hasHeightForWidth() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hasHeightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QLayout::hasHeightForWidth(); -} -int PythonQtShell_QLayout::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QLayout::heightForWidth(arg__1); -} -int PythonQtShell_QLayout::indexOf(QWidget* arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "indexOf"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("indexOf", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QLayout::indexOf(arg__1); -} -void PythonQtShell_QLayout::invalidate() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "invalidate"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QLayout::invalidate(); -} -bool PythonQtShell_QLayout::isEmpty() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isEmpty"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QLayout::isEmpty(); -} -QLayoutItem* PythonQtShell_QLayout::itemAt(int index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemAt"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QLayoutItem*" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QLayoutItem* 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) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); - } else { - returnValue = *((QLayoutItem**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QLayoutItem* result; -return result; -} -QLayout* PythonQtShell_QLayout::layout() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "layout"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QLayout*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QLayout* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("layout", methodInfo, result); - } else { - returnValue = *((QLayout**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QLayout::layout(); -} -QSize PythonQtShell_QLayout::maximumSize() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "maximumSize"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QLayout::maximumSize(); -} -int PythonQtShell_QLayout::minimumHeightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "minimumHeightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - 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("minimumHeightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QLayout::minimumHeightForWidth(arg__1); -} -QSize PythonQtShell_QLayout::minimumSize() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "minimumSize"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QLayout::minimumSize(); -} -void PythonQtShell_QLayout::setGeometry(const QRect& arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setGeometry"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QRect&"}; - 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; - } -} - QLayout::setGeometry(arg__1); -} -QSize PythonQtShell_QLayout::sizeHint() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeHint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QSize result; -return result; -} -QSpacerItem* PythonQtShell_QLayout::spacerItem() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "spacerItem"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSpacerItem*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSpacerItem* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("spacerItem", methodInfo, result); - } else { - returnValue = *((QSpacerItem**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QLayout::spacerItem(); -} -QLayoutItem* PythonQtShell_QLayout::takeAt(int index) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "takeAt"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QLayoutItem*" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QLayoutItem* 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) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("takeAt", methodInfo, result); - } else { - returnValue = *((QLayoutItem**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QLayoutItem* result; -return result; -} -void PythonQtShell_QLayout::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; - } -} - QLayout::timerEvent(arg__1); -} -QWidget* PythonQtShell_QLayout::widget() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "widget"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QWidget* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("widget", methodInfo, result); - } else { - returnValue = *((QWidget**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QLayout::widget(); -} -QLayout* PythonQtWrapper_QLayout::new_QLayout() -{ -return new PythonQtShell_QLayout(); } - -QLayout* PythonQtWrapper_QLayout::new_QLayout(QWidget* parent) -{ -return new PythonQtShell_QLayout(parent); } - -QWidget* PythonQtWrapper_QLayout::parentWidget(QLayout* theWrappedObject) const -{ - return ( theWrappedObject->parentWidget()); -} - -QSize PythonQtWrapper_QLayout::totalMaximumSize(QLayout* theWrappedObject) const -{ - return ( theWrappedObject->totalMaximumSize()); -} - -QRect PythonQtWrapper_QLayout::geometry(QLayout* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QLayout*)theWrappedObject)->promoted_geometry()); -} - -void PythonQtWrapper_QLayout::setEnabled(QLayout* theWrappedObject, bool arg__1) -{ - ( theWrappedObject->setEnabled(arg__1)); -} - -QSize PythonQtWrapper_QLayout::totalSizeHint(QLayout* theWrappedObject) const -{ - return ( theWrappedObject->totalSizeHint()); -} - -bool PythonQtWrapper_QLayout::setAlignment(QLayout* theWrappedObject, QWidget* w, Qt::Alignment alignment) -{ - return ( theWrappedObject->setAlignment(w, alignment)); -} - -QLayout* PythonQtWrapper_QLayout::layout(QLayout* theWrappedObject) -{ - return ( ((PythonQtPublicPromoter_QLayout*)theWrappedObject)->promoted_layout()); -} - -bool PythonQtWrapper_QLayout::isEmpty(QLayout* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QLayout*)theWrappedObject)->promoted_isEmpty()); -} - -QRect PythonQtWrapper_QLayout::contentsRect(QLayout* theWrappedObject) const -{ - return ( theWrappedObject->contentsRect()); -} - -void PythonQtWrapper_QLayout::setContentsMargins(QLayout* theWrappedObject, int left, int top, int right, int bottom) -{ - ( theWrappedObject->setContentsMargins(left, top, right, bottom)); -} - -void PythonQtWrapper_QLayout::removeWidget(QLayout* theWrappedObject, QWidget* w) -{ - ( theWrappedObject->removeWidget(w)); -} - -bool PythonQtWrapper_QLayout::activate(QLayout* theWrappedObject) -{ - return ( theWrappedObject->activate()); -} - -QLayout::SizeConstraint PythonQtWrapper_QLayout::sizeConstraint(QLayout* theWrappedObject) const -{ - return ( theWrappedObject->sizeConstraint()); -} - -void PythonQtWrapper_QLayout::invalidate(QLayout* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QLayout*)theWrappedObject)->promoted_invalidate()); -} - -bool PythonQtWrapper_QLayout::isEnabled(QLayout* theWrappedObject) const -{ - return ( theWrappedObject->isEnabled()); -} - -QWidget* PythonQtWrapper_QLayout::menuBar(QLayout* theWrappedObject) const -{ - return ( theWrappedObject->menuBar()); -} - -QSize PythonQtWrapper_QLayout::maximumSize(QLayout* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QLayout*)theWrappedObject)->promoted_maximumSize()); -} - -QSize PythonQtWrapper_QLayout::minimumSize(QLayout* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QLayout*)theWrappedObject)->promoted_minimumSize()); -} - -QSize PythonQtWrapper_QLayout::static_QLayout_closestAcceptableSize(const QWidget* w, const QSize& s) -{ - return (QLayout::closestAcceptableSize(w, s)); -} - -bool PythonQtWrapper_QLayout::setAlignment(QLayout* theWrappedObject, QLayout* l, Qt::Alignment alignment) -{ - return ( theWrappedObject->setAlignment(l, alignment)); -} - -void PythonQtWrapper_QLayout::setAlignment(QLayout* theWrappedObject, Qt::Alignment alignment) -{ - ( theWrappedObject->setAlignment(alignment)); -} - -void PythonQtWrapper_QLayout::setSizeConstraint(QLayout* theWrappedObject, QLayout::SizeConstraint arg__1) -{ - ( theWrappedObject->setSizeConstraint(arg__1)); -} - -void PythonQtWrapper_QLayout::setMargin(QLayout* theWrappedObject, int arg__1) -{ - ( theWrappedObject->setMargin(arg__1)); -} - -void PythonQtWrapper_QLayout::removeItem(QLayout* theWrappedObject, QLayoutItem* arg__1) -{ - ( theWrappedObject->removeItem(arg__1)); -} - -void PythonQtWrapper_QLayout::addWidget(QLayout* theWrappedObject, QWidget* w) -{ - ( theWrappedObject->addWidget(w)); -} - -int PythonQtWrapper_QLayout::indexOf(QLayout* theWrappedObject, QWidget* arg__1) const -{ - return ( ((PythonQtPublicPromoter_QLayout*)theWrappedObject)->promoted_indexOf(arg__1)); -} - -void PythonQtWrapper_QLayout::setSpacing(QLayout* theWrappedObject, int arg__1) -{ - ( theWrappedObject->setSpacing(arg__1)); -} - -int PythonQtWrapper_QLayout::spacing(QLayout* theWrappedObject) const -{ - return ( theWrappedObject->spacing()); -} - -void PythonQtWrapper_QLayout::childEvent(QLayout* theWrappedObject, QChildEvent* e) -{ - ( ((PythonQtPublicPromoter_QLayout*)theWrappedObject)->promoted_childEvent(e)); -} - -void PythonQtWrapper_QLayout::setGeometry(QLayout* theWrappedObject, const QRect& arg__1) -{ - ( ((PythonQtPublicPromoter_QLayout*)theWrappedObject)->promoted_setGeometry(arg__1)); -} - -Qt::Orientations PythonQtWrapper_QLayout::expandingDirections(QLayout* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QLayout*)theWrappedObject)->promoted_expandingDirections()); -} - -int PythonQtWrapper_QLayout::totalHeightForWidth(QLayout* theWrappedObject, int w) const -{ - return ( theWrappedObject->totalHeightForWidth(w)); -} - -void PythonQtWrapper_QLayout::update(QLayout* theWrappedObject) -{ - ( theWrappedObject->update()); -} - -void PythonQtWrapper_QLayout::getContentsMargins(QLayout* theWrappedObject, int* left, int* top, int* right, int* bottom) const -{ - ( theWrappedObject->getContentsMargins(left, top, right, bottom)); -} - -void PythonQtWrapper_QLayout::setMenuBar(QLayout* theWrappedObject, QWidget* w) -{ - ( theWrappedObject->setMenuBar(w)); -} - -QSize PythonQtWrapper_QLayout::totalMinimumSize(QLayout* theWrappedObject) const -{ - return ( theWrappedObject->totalMinimumSize()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QLayout.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QLayout.h deleted file mode 100644 index 56d767d..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QLayout.h +++ /dev/null @@ -1,113 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QLAYOUT_H -#define PYTHONQTWRAPPER_QLAYOUT_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QLayout : public QLayout -{ -public: - PythonQtShell_QLayout():QLayout(),_wrapper(NULL) {}; - PythonQtShell_QLayout(QWidget* parent):QLayout(parent),_wrapper(NULL) {}; - -virtual void addItem(QLayoutItem* arg__1); -virtual void childEvent(QChildEvent* e); -virtual int count() const; -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual Qt::Orientations expandingDirections() const; -virtual QRect geometry() const; -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual int indexOf(QWidget* arg__1) const; -virtual void invalidate(); -virtual bool isEmpty() const; -virtual QLayoutItem* itemAt(int index) const; -virtual QLayout* layout(); -virtual QSize maximumSize() const; -virtual int minimumHeightForWidth(int arg__1) const; -virtual QSize minimumSize() const; -virtual void setGeometry(const QRect& arg__1); -virtual QSize sizeHint() const; -virtual QSpacerItem* spacerItem(); -virtual QLayoutItem* takeAt(int index); -virtual void timerEvent(QTimerEvent* arg__1); -virtual QWidget* widget(); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QLayout : public QLayout -{ public: -inline QRect promoted_geometry() const { return QLayout::geometry(); } -inline QLayout* promoted_layout() { return QLayout::layout(); } -inline bool promoted_isEmpty() const { return QLayout::isEmpty(); } -inline void promoted_invalidate() { QLayout::invalidate(); } -inline QSize promoted_maximumSize() const { return QLayout::maximumSize(); } -inline QSize promoted_minimumSize() const { return QLayout::minimumSize(); } -inline int promoted_indexOf(QWidget* arg__1) const { return QLayout::indexOf(arg__1); } -inline void promoted_childEvent(QChildEvent* e) { QLayout::childEvent(e); } -inline void promoted_setGeometry(const QRect& arg__1) { QLayout::setGeometry(arg__1); } -inline Qt::Orientations promoted_expandingDirections() const { return QLayout::expandingDirections(); } -}; - -class PythonQtWrapper_QLayout : public QObject -{ Q_OBJECT -public: -public slots: -QLayout* new_QLayout(); -QLayout* new_QLayout(QWidget* parent); -void delete_QLayout(QLayout* obj) { delete obj; } - QWidget* parentWidget(QLayout* theWrappedObject) const; - QSize totalMaximumSize(QLayout* theWrappedObject) const; - QRect geometry(QLayout* theWrappedObject) const; - void setEnabled(QLayout* theWrappedObject, bool arg__1); - QSize totalSizeHint(QLayout* theWrappedObject) const; - bool setAlignment(QLayout* theWrappedObject, QWidget* w, Qt::Alignment alignment); - QLayout* layout(QLayout* theWrappedObject); - bool isEmpty(QLayout* theWrappedObject) const; - QRect contentsRect(QLayout* theWrappedObject) const; - void setContentsMargins(QLayout* theWrappedObject, int left, int top, int right, int bottom); - void removeWidget(QLayout* theWrappedObject, QWidget* w); - bool activate(QLayout* theWrappedObject); - QLayout::SizeConstraint sizeConstraint(QLayout* theWrappedObject) const; - void invalidate(QLayout* theWrappedObject); - bool isEnabled(QLayout* theWrappedObject) const; - QWidget* menuBar(QLayout* theWrappedObject) const; - QSize maximumSize(QLayout* theWrappedObject) const; - QSize minimumSize(QLayout* theWrappedObject) const; - QSize static_QLayout_closestAcceptableSize(const QWidget* w, const QSize& s); - bool setAlignment(QLayout* theWrappedObject, QLayout* l, Qt::Alignment alignment); - void setAlignment(QLayout* theWrappedObject, Qt::Alignment alignment); - void setSizeConstraint(QLayout* theWrappedObject, QLayout::SizeConstraint arg__1); - void setMargin(QLayout* theWrappedObject, int arg__1); - void removeItem(QLayout* theWrappedObject, QLayoutItem* arg__1); - void addWidget(QLayout* theWrappedObject, QWidget* w); - int indexOf(QLayout* theWrappedObject, QWidget* arg__1) const; - void setSpacing(QLayout* theWrappedObject, int arg__1); - int spacing(QLayout* theWrappedObject) const; - void childEvent(QLayout* theWrappedObject, QChildEvent* e); - void setGeometry(QLayout* theWrappedObject, const QRect& arg__1); - Qt::Orientations expandingDirections(QLayout* theWrappedObject) const; - int totalHeightForWidth(QLayout* theWrappedObject, int w) const; - void update(QLayout* theWrappedObject); - void getContentsMargins(QLayout* theWrappedObject, int* left, int* top, int* right, int* bottom) const; - void setMenuBar(QLayout* theWrappedObject, QWidget* w); - QSize totalMinimumSize(QLayout* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QLAYOUT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QLayoutItem.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QLayoutItem.cpp deleted file mode 100644 index 978870d..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QLayoutItem.cpp +++ /dev/null @@ -1,442 +0,0 @@ -#include "PythonQtWrapper_QLayoutItem.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -Qt::Orientations PythonQtShell_QLayoutItem::expandingDirections() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "expandingDirections"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"Qt::Orientations"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::Orientations returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); - } else { - returnValue = *((Qt::Orientations*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - Qt::Orientations result; -return result; -} -QRect PythonQtShell_QLayoutItem::geometry() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "geometry"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QRect"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRect returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QRect result; -return result; -} -bool PythonQtShell_QLayoutItem::hasHeightForWidth() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hasHeightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QLayoutItem::hasHeightForWidth(); -} -int PythonQtShell_QLayoutItem::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QLayoutItem::heightForWidth(arg__1); -} -void PythonQtShell_QLayoutItem::invalidate() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "invalidate"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QLayoutItem::invalidate(); -} -bool PythonQtShell_QLayoutItem::isEmpty() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isEmpty"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - bool result; -return result; -} -QLayout* PythonQtShell_QLayoutItem::layout() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "layout"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QLayout*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QLayout* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("layout", methodInfo, result); - } else { - returnValue = *((QLayout**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QLayoutItem::layout(); -} -QSize PythonQtShell_QLayoutItem::maximumSize() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "maximumSize"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QSize result; -return result; -} -int PythonQtShell_QLayoutItem::minimumHeightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "minimumHeightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - 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("minimumHeightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QLayoutItem::minimumHeightForWidth(arg__1); -} -QSize PythonQtShell_QLayoutItem::minimumSize() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "minimumSize"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QSize result; -return result; -} -void PythonQtShell_QLayoutItem::setGeometry(const QRect& arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setGeometry"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QRect&"}; - 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; - } -} - -} -QSize PythonQtShell_QLayoutItem::sizeHint() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeHint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QSize result; -return result; -} -QSpacerItem* PythonQtShell_QLayoutItem::spacerItem() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "spacerItem"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSpacerItem*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSpacerItem* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("spacerItem", methodInfo, result); - } else { - returnValue = *((QSpacerItem**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QLayoutItem::spacerItem(); -} -QWidget* PythonQtShell_QLayoutItem::widget() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "widget"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QWidget* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("widget", methodInfo, result); - } else { - returnValue = *((QWidget**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QLayoutItem::widget(); -} -QLayoutItem* PythonQtWrapper_QLayoutItem::new_QLayoutItem(Qt::Alignment alignment) -{ -return new PythonQtShell_QLayoutItem(alignment); } - -int PythonQtWrapper_QLayoutItem::minimumHeightForWidth(QLayoutItem* theWrappedObject, int arg__1) const -{ - return ( ((PythonQtPublicPromoter_QLayoutItem*)theWrappedObject)->promoted_minimumHeightForWidth(arg__1)); -} - -Qt::Alignment PythonQtWrapper_QLayoutItem::alignment(QLayoutItem* theWrappedObject) const -{ - return ( theWrappedObject->alignment()); -} - -void PythonQtWrapper_QLayoutItem::invalidate(QLayoutItem* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QLayoutItem*)theWrappedObject)->promoted_invalidate()); -} - -void PythonQtWrapper_QLayoutItem::setAlignment(QLayoutItem* theWrappedObject, Qt::Alignment a) -{ - ( theWrappedObject->setAlignment(a)); -} - -bool PythonQtWrapper_QLayoutItem::hasHeightForWidth(QLayoutItem* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QLayoutItem*)theWrappedObject)->promoted_hasHeightForWidth()); -} - -QLayout* PythonQtWrapper_QLayoutItem::layout(QLayoutItem* theWrappedObject) -{ - return ( ((PythonQtPublicPromoter_QLayoutItem*)theWrappedObject)->promoted_layout()); -} - -QWidget* PythonQtWrapper_QLayoutItem::widget(QLayoutItem* theWrappedObject) -{ - return ( ((PythonQtPublicPromoter_QLayoutItem*)theWrappedObject)->promoted_widget()); -} - -QSpacerItem* PythonQtWrapper_QLayoutItem::spacerItem(QLayoutItem* theWrappedObject) -{ - return ( ((PythonQtPublicPromoter_QLayoutItem*)theWrappedObject)->promoted_spacerItem()); -} - -int PythonQtWrapper_QLayoutItem::heightForWidth(QLayoutItem* theWrappedObject, int arg__1) const -{ - return ( ((PythonQtPublicPromoter_QLayoutItem*)theWrappedObject)->promoted_heightForWidth(arg__1)); -} - -QSizePolicy::ControlTypes PythonQtWrapper_QLayoutItem::controlTypes(QLayoutItem* theWrappedObject) const -{ - return ( theWrappedObject->controlTypes()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QLayoutItem.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QLayoutItem.h deleted file mode 100644 index 73a562e..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QLayoutItem.h +++ /dev/null @@ -1,68 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QLAYOUTITEM_H -#define PYTHONQTWRAPPER_QLAYOUTITEM_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QLayoutItem : public QLayoutItem -{ -public: - PythonQtShell_QLayoutItem(Qt::Alignment alignment = 0):QLayoutItem(alignment),_wrapper(NULL) {}; - -virtual Qt::Orientations expandingDirections() const; -virtual QRect geometry() const; -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void invalidate(); -virtual bool isEmpty() const; -virtual QLayout* layout(); -virtual QSize maximumSize() const; -virtual int minimumHeightForWidth(int arg__1) const; -virtual QSize minimumSize() const; -virtual void setGeometry(const QRect& arg__1); -virtual QSize sizeHint() const; -virtual QSpacerItem* spacerItem(); -virtual QWidget* widget(); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QLayoutItem : public QLayoutItem -{ public: -inline int promoted_minimumHeightForWidth(int arg__1) const { return QLayoutItem::minimumHeightForWidth(arg__1); } -inline void promoted_invalidate() { QLayoutItem::invalidate(); } -inline bool promoted_hasHeightForWidth() const { return QLayoutItem::hasHeightForWidth(); } -inline QLayout* promoted_layout() { return QLayoutItem::layout(); } -inline QWidget* promoted_widget() { return QLayoutItem::widget(); } -inline QSpacerItem* promoted_spacerItem() { return QLayoutItem::spacerItem(); } -inline int promoted_heightForWidth(int arg__1) const { return QLayoutItem::heightForWidth(arg__1); } -}; - -class PythonQtWrapper_QLayoutItem : public QObject -{ Q_OBJECT -public: -public slots: -QLayoutItem* new_QLayoutItem(Qt::Alignment alignment = 0); -void delete_QLayoutItem(QLayoutItem* obj) { delete obj; } - int minimumHeightForWidth(QLayoutItem* theWrappedObject, int arg__1) const; - Qt::Alignment alignment(QLayoutItem* theWrappedObject) const; - void invalidate(QLayoutItem* theWrappedObject); - void setAlignment(QLayoutItem* theWrappedObject, Qt::Alignment a); - bool hasHeightForWidth(QLayoutItem* theWrappedObject) const; - QLayout* layout(QLayoutItem* theWrappedObject); - QWidget* widget(QLayoutItem* theWrappedObject); - QSpacerItem* spacerItem(QLayoutItem* theWrappedObject); - int heightForWidth(QLayoutItem* theWrappedObject, int arg__1) const; - QSizePolicy::ControlTypes controlTypes(QLayoutItem* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QLAYOUTITEM_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QLineEdit.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QLineEdit.cpp deleted file mode 100644 index 952ff6b..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QLineEdit.cpp +++ /dev/null @@ -1,1089 +0,0 @@ -#include "PythonQtWrapper_QLineEdit.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QLineEdit::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QLineEdit::actionEvent(arg__1); -} -void PythonQtShell_QLineEdit::changeEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QLineEdit::changeEvent(arg__1); -} -void PythonQtShell_QLineEdit::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; - } -} - QLineEdit::childEvent(arg__1); -} -void PythonQtShell_QLineEdit::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QLineEdit::closeEvent(arg__1); -} -void PythonQtShell_QLineEdit::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QLineEdit::contextMenuEvent(arg__1); -} -void PythonQtShell_QLineEdit::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; - } -} - QLineEdit::customEvent(arg__1); -} -int PythonQtShell_QLineEdit::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QLineEdit::devType(); -} -void PythonQtShell_QLineEdit::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QLineEdit::dragEnterEvent(arg__1); -} -void PythonQtShell_QLineEdit::dragLeaveEvent(QDragLeaveEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QLineEdit::dragLeaveEvent(e); -} -void PythonQtShell_QLineEdit::dragMoveEvent(QDragMoveEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QLineEdit::dragMoveEvent(e); -} -void PythonQtShell_QLineEdit::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QLineEdit::dropEvent(arg__1); -} -void PythonQtShell_QLineEdit::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QLineEdit::enterEvent(arg__1); -} -bool PythonQtShell_QLineEdit::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QLineEdit::event(arg__1); -} -bool PythonQtShell_QLineEdit::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QLineEdit::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QLineEdit::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QLineEdit::focusInEvent(arg__1); -} -bool PythonQtShell_QLineEdit::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QLineEdit::focusNextPrevChild(next); -} -void PythonQtShell_QLineEdit::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QLineEdit::focusOutEvent(arg__1); -} -int PythonQtShell_QLineEdit::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QLineEdit::heightForWidth(arg__1); -} -void PythonQtShell_QLineEdit::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QLineEdit::hideEvent(arg__1); -} -void PythonQtShell_QLineEdit::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QLineEdit::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QLineEdit::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QLineEdit::inputMethodQuery(arg__1); -} -void PythonQtShell_QLineEdit::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QLineEdit::keyPressEvent(arg__1); -} -void PythonQtShell_QLineEdit::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QLineEdit::keyReleaseEvent(arg__1); -} -void PythonQtShell_QLineEdit::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QLineEdit::languageChange(); -} -void PythonQtShell_QLineEdit::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QLineEdit::leaveEvent(arg__1); -} -int PythonQtShell_QLineEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QLineEdit::metric(arg__1); -} -void PythonQtShell_QLineEdit::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QLineEdit::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QLineEdit::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QLineEdit::mouseMoveEvent(arg__1); -} -void PythonQtShell_QLineEdit::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QLineEdit::mousePressEvent(arg__1); -} -void PythonQtShell_QLineEdit::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QLineEdit::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QLineEdit::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QLineEdit::moveEvent(arg__1); -} -QPaintEngine* PythonQtShell_QLineEdit::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QLineEdit::paintEngine(); -} -void PythonQtShell_QLineEdit::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - 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; - } -} - QLineEdit::paintEvent(arg__1); -} -void PythonQtShell_QLineEdit::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - 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; - } -} - QLineEdit::resizeEvent(arg__1); -} -void PythonQtShell_QLineEdit::showEvent(QShowEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QLineEdit::showEvent(arg__1); -} -void PythonQtShell_QLineEdit::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QLineEdit::tabletEvent(arg__1); -} -void PythonQtShell_QLineEdit::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; - } -} - QLineEdit::timerEvent(arg__1); -} -void PythonQtShell_QLineEdit::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QLineEdit::wheelEvent(arg__1); -} -QLineEdit* PythonQtWrapper_QLineEdit::new_QLineEdit(QWidget* parent) -{ -return new PythonQtShell_QLineEdit(parent); } - -QLineEdit* PythonQtWrapper_QLineEdit::new_QLineEdit(const QString& arg__1, QWidget* parent) -{ -return new PythonQtShell_QLineEdit(arg__1, parent); } - -void PythonQtWrapper_QLineEdit::setValidator(QLineEdit* theWrappedObject, const QValidator* arg__1) -{ - ( theWrappedObject->setValidator(arg__1)); -} - -void PythonQtWrapper_QLineEdit::inputMethodEvent(QLineEdit* theWrappedObject, QInputMethodEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QLineEdit*)theWrappedObject)->promoted_inputMethodEvent(arg__1)); -} - -void PythonQtWrapper_QLineEdit::home(QLineEdit* theWrappedObject, bool mark) -{ - ( theWrappedObject->home(mark)); -} - -void PythonQtWrapper_QLineEdit::dragMoveEvent(QLineEdit* theWrappedObject, QDragMoveEvent* e) -{ - ( ((PythonQtPublicPromoter_QLineEdit*)theWrappedObject)->promoted_dragMoveEvent(e)); -} - -QString PythonQtWrapper_QLineEdit::selectedText(QLineEdit* theWrappedObject) const -{ - return ( theWrappedObject->selectedText()); -} - -void PythonQtWrapper_QLineEdit::deselect(QLineEdit* theWrappedObject) -{ - ( theWrappedObject->deselect()); -} - -bool PythonQtWrapper_QLineEdit::hasSelectedText(QLineEdit* theWrappedObject) const -{ - return ( theWrappedObject->hasSelectedText()); -} - -void PythonQtWrapper_QLineEdit::keyPressEvent(QLineEdit* theWrappedObject, QKeyEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QLineEdit*)theWrappedObject)->promoted_keyPressEvent(arg__1)); -} - -void PythonQtWrapper_QLineEdit::cursorBackward(QLineEdit* theWrappedObject, bool mark, int steps) -{ - ( theWrappedObject->cursorBackward(mark, steps)); -} - -int PythonQtWrapper_QLineEdit::maxLength(QLineEdit* theWrappedObject) const -{ - return ( theWrappedObject->maxLength()); -} - -void PythonQtWrapper_QLineEdit::cursorForward(QLineEdit* theWrappedObject, bool mark, int steps) -{ - ( theWrappedObject->cursorForward(mark, steps)); -} - -void PythonQtWrapper_QLineEdit::setCursorPosition(QLineEdit* theWrappedObject, int arg__1) -{ - ( theWrappedObject->setCursorPosition(arg__1)); -} - -QString PythonQtWrapper_QLineEdit::text(QLineEdit* theWrappedObject) const -{ - return ( theWrappedObject->text()); -} - -void PythonQtWrapper_QLineEdit::end(QLineEdit* theWrappedObject, bool mark) -{ - ( theWrappedObject->end(mark)); -} - -void PythonQtWrapper_QLineEdit::changeEvent(QLineEdit* theWrappedObject, QEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QLineEdit*)theWrappedObject)->promoted_changeEvent(arg__1)); -} - -void PythonQtWrapper_QLineEdit::insert(QLineEdit* theWrappedObject, const QString& arg__1) -{ - ( theWrappedObject->insert(arg__1)); -} - -void PythonQtWrapper_QLineEdit::setAlignment(QLineEdit* theWrappedObject, Qt::Alignment flag) -{ - ( theWrappedObject->setAlignment(flag)); -} - -void PythonQtWrapper_QLineEdit::dropEvent(QLineEdit* theWrappedObject, QDropEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QLineEdit*)theWrappedObject)->promoted_dropEvent(arg__1)); -} - -void PythonQtWrapper_QLineEdit::setEchoMode(QLineEdit* theWrappedObject, QLineEdit::EchoMode arg__1) -{ - ( theWrappedObject->setEchoMode(arg__1)); -} - -void PythonQtWrapper_QLineEdit::contextMenuEvent(QLineEdit* theWrappedObject, QContextMenuEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QLineEdit*)theWrappedObject)->promoted_contextMenuEvent(arg__1)); -} - -void PythonQtWrapper_QLineEdit::backspace(QLineEdit* theWrappedObject) -{ - ( theWrappedObject->backspace()); -} - -void PythonQtWrapper_QLineEdit::focusOutEvent(QLineEdit* theWrappedObject, QFocusEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QLineEdit*)theWrappedObject)->promoted_focusOutEvent(arg__1)); -} - -void PythonQtWrapper_QLineEdit::mouseReleaseEvent(QLineEdit* theWrappedObject, QMouseEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QLineEdit*)theWrappedObject)->promoted_mouseReleaseEvent(arg__1)); -} - -void PythonQtWrapper_QLineEdit::setInputMask(QLineEdit* theWrappedObject, const QString& inputMask) -{ - ( theWrappedObject->setInputMask(inputMask)); -} - -int PythonQtWrapper_QLineEdit::cursorPosition(QLineEdit* theWrappedObject) const -{ - return ( theWrappedObject->cursorPosition()); -} - -void PythonQtWrapper_QLineEdit::focusInEvent(QLineEdit* theWrappedObject, QFocusEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QLineEdit*)theWrappedObject)->promoted_focusInEvent(arg__1)); -} - -bool PythonQtWrapper_QLineEdit::hasFrame(QLineEdit* theWrappedObject) const -{ - return ( theWrappedObject->hasFrame()); -} - -void PythonQtWrapper_QLineEdit::dragEnterEvent(QLineEdit* theWrappedObject, QDragEnterEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QLineEdit*)theWrappedObject)->promoted_dragEnterEvent(arg__1)); -} - -bool PythonQtWrapper_QLineEdit::isReadOnly(QLineEdit* theWrappedObject) const -{ - return ( theWrappedObject->isReadOnly()); -} - -bool PythonQtWrapper_QLineEdit::isRedoAvailable(QLineEdit* theWrappedObject) const -{ - return ( theWrappedObject->isRedoAvailable()); -} - -QCompleter* PythonQtWrapper_QLineEdit::completer(QLineEdit* theWrappedObject) const -{ - return ( theWrappedObject->completer()); -} - -void PythonQtWrapper_QLineEdit::setMaxLength(QLineEdit* theWrappedObject, int arg__1) -{ - ( theWrappedObject->setMaxLength(arg__1)); -} - -bool PythonQtWrapper_QLineEdit::event(QLineEdit* theWrappedObject, QEvent* arg__1) -{ - return ( ((PythonQtPublicPromoter_QLineEdit*)theWrappedObject)->promoted_event(arg__1)); -} - -bool PythonQtWrapper_QLineEdit::dragEnabled(QLineEdit* theWrappedObject) const -{ - return ( theWrappedObject->dragEnabled()); -} - -void PythonQtWrapper_QLineEdit::dragLeaveEvent(QLineEdit* theWrappedObject, QDragLeaveEvent* e) -{ - ( ((PythonQtPublicPromoter_QLineEdit*)theWrappedObject)->promoted_dragLeaveEvent(e)); -} - -void PythonQtWrapper_QLineEdit::cursorWordBackward(QLineEdit* theWrappedObject, bool mark) -{ - ( theWrappedObject->cursorWordBackward(mark)); -} - -Qt::Alignment PythonQtWrapper_QLineEdit::alignment(QLineEdit* theWrappedObject) const -{ - return ( theWrappedObject->alignment()); -} - -QString PythonQtWrapper_QLineEdit::displayText(QLineEdit* theWrappedObject) const -{ - return ( theWrappedObject->displayText()); -} - -void PythonQtWrapper_QLineEdit::mouseMoveEvent(QLineEdit* theWrappedObject, QMouseEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QLineEdit*)theWrappedObject)->promoted_mouseMoveEvent(arg__1)); -} - -void PythonQtWrapper_QLineEdit::mousePressEvent(QLineEdit* theWrappedObject, QMouseEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QLineEdit*)theWrappedObject)->promoted_mousePressEvent(arg__1)); -} - -int PythonQtWrapper_QLineEdit::cursorPositionAt(QLineEdit* theWrappedObject, const QPoint& pos) -{ - return ( theWrappedObject->cursorPositionAt(pos)); -} - -void PythonQtWrapper_QLineEdit::setCompleter(QLineEdit* theWrappedObject, QCompleter* completer) -{ - ( theWrappedObject->setCompleter(completer)); -} - -void PythonQtWrapper_QLineEdit::setReadOnly(QLineEdit* theWrappedObject, bool arg__1) -{ - ( theWrappedObject->setReadOnly(arg__1)); -} - -QMenu* PythonQtWrapper_QLineEdit::createStandardContextMenu(QLineEdit* theWrappedObject) -{ - return ( theWrappedObject->createStandardContextMenu()); -} - -void PythonQtWrapper_QLineEdit::setModified(QLineEdit* theWrappedObject, bool arg__1) -{ - ( theWrappedObject->setModified(arg__1)); -} - -void PythonQtWrapper_QLineEdit::mouseDoubleClickEvent(QLineEdit* theWrappedObject, QMouseEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QLineEdit*)theWrappedObject)->promoted_mouseDoubleClickEvent(arg__1)); -} - -int PythonQtWrapper_QLineEdit::selectionStart(QLineEdit* theWrappedObject) const -{ - return ( theWrappedObject->selectionStart()); -} - -void PythonQtWrapper_QLineEdit::del(QLineEdit* theWrappedObject) -{ - ( theWrappedObject->del()); -} - -bool PythonQtWrapper_QLineEdit::isUndoAvailable(QLineEdit* theWrappedObject) const -{ - return ( theWrappedObject->isUndoAvailable()); -} - -bool PythonQtWrapper_QLineEdit::hasAcceptableInput(QLineEdit* theWrappedObject) const -{ - return ( theWrappedObject->hasAcceptableInput()); -} - -void PythonQtWrapper_QLineEdit::setSelection(QLineEdit* theWrappedObject, int arg__1, int arg__2) -{ - ( theWrappedObject->setSelection(arg__1, arg__2)); -} - -void PythonQtWrapper_QLineEdit::paintEvent(QLineEdit* theWrappedObject, QPaintEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QLineEdit*)theWrappedObject)->promoted_paintEvent(arg__1)); -} - -void PythonQtWrapper_QLineEdit::setDragEnabled(QLineEdit* theWrappedObject, bool b) -{ - ( theWrappedObject->setDragEnabled(b)); -} - -const QValidator* PythonQtWrapper_QLineEdit::validator(QLineEdit* theWrappedObject) const -{ - return ( theWrappedObject->validator()); -} - -QSize PythonQtWrapper_QLineEdit::minimumSizeHint(QLineEdit* theWrappedObject) const -{ - return ( theWrappedObject->minimumSizeHint()); -} - -bool PythonQtWrapper_QLineEdit::isModified(QLineEdit* theWrappedObject) const -{ - return ( theWrappedObject->isModified()); -} - -void PythonQtWrapper_QLineEdit::cursorWordForward(QLineEdit* theWrappedObject, bool mark) -{ - ( theWrappedObject->cursorWordForward(mark)); -} - -QSize PythonQtWrapper_QLineEdit::sizeHint(QLineEdit* theWrappedObject) const -{ - return ( theWrappedObject->sizeHint()); -} - -QVariant PythonQtWrapper_QLineEdit::inputMethodQuery(QLineEdit* theWrappedObject, Qt::InputMethodQuery arg__1) const -{ - return ( ((PythonQtPublicPromoter_QLineEdit*)theWrappedObject)->promoted_inputMethodQuery(arg__1)); -} - -QLineEdit::EchoMode PythonQtWrapper_QLineEdit::echoMode(QLineEdit* theWrappedObject) const -{ - return ( theWrappedObject->echoMode()); -} - -QString PythonQtWrapper_QLineEdit::inputMask(QLineEdit* theWrappedObject) const -{ - return ( theWrappedObject->inputMask()); -} - -void PythonQtWrapper_QLineEdit::setFrame(QLineEdit* theWrappedObject, bool arg__1) -{ - ( theWrappedObject->setFrame(arg__1)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QLineEdit.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QLineEdit.h deleted file mode 100644 index d9a9309..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QLineEdit.h +++ /dev/null @@ -1,181 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QLINEEDIT_H -#define PYTHONQTWRAPPER_QLINEEDIT_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QLineEdit : public QLineEdit -{ -public: - PythonQtShell_QLineEdit(QWidget* parent = 0):QLineEdit(parent),_wrapper(NULL) {}; - PythonQtShell_QLineEdit(const QString& arg__1, QWidget* parent = 0):QLineEdit(arg__1, parent),_wrapper(NULL) {}; - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* e); -virtual void dragMoveEvent(QDragMoveEvent* e); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* arg__1); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void showEvent(QShowEvent* arg__1); -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QLineEdit : public QLineEdit -{ public: -inline void promoted_inputMethodEvent(QInputMethodEvent* arg__1) { QLineEdit::inputMethodEvent(arg__1); } -inline void promoted_dragMoveEvent(QDragMoveEvent* e) { QLineEdit::dragMoveEvent(e); } -inline void promoted_keyPressEvent(QKeyEvent* arg__1) { QLineEdit::keyPressEvent(arg__1); } -inline void promoted_changeEvent(QEvent* arg__1) { QLineEdit::changeEvent(arg__1); } -inline void promoted_dropEvent(QDropEvent* arg__1) { QLineEdit::dropEvent(arg__1); } -inline void promoted_contextMenuEvent(QContextMenuEvent* arg__1) { QLineEdit::contextMenuEvent(arg__1); } -inline void promoted_focusOutEvent(QFocusEvent* arg__1) { QLineEdit::focusOutEvent(arg__1); } -inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { QLineEdit::mouseReleaseEvent(arg__1); } -inline void promoted_focusInEvent(QFocusEvent* arg__1) { QLineEdit::focusInEvent(arg__1); } -inline void promoted_dragEnterEvent(QDragEnterEvent* arg__1) { QLineEdit::dragEnterEvent(arg__1); } -inline bool promoted_event(QEvent* arg__1) { return QLineEdit::event(arg__1); } -inline void promoted_dragLeaveEvent(QDragLeaveEvent* e) { QLineEdit::dragLeaveEvent(e); } -inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { QLineEdit::mouseMoveEvent(arg__1); } -inline void promoted_mousePressEvent(QMouseEvent* arg__1) { QLineEdit::mousePressEvent(arg__1); } -inline void promoted_mouseDoubleClickEvent(QMouseEvent* arg__1) { QLineEdit::mouseDoubleClickEvent(arg__1); } -inline void promoted_paintEvent(QPaintEvent* arg__1) { QLineEdit::paintEvent(arg__1); } -inline QVariant promoted_inputMethodQuery(Qt::InputMethodQuery arg__1) const { return QLineEdit::inputMethodQuery(arg__1); } -}; - -class PythonQtWrapper_QLineEdit : public QObject -{ Q_OBJECT -public: -public slots: -QLineEdit* new_QLineEdit(QWidget* parent = 0); -QLineEdit* new_QLineEdit(const QString& arg__1, QWidget* parent = 0); -void delete_QLineEdit(QLineEdit* obj) { delete obj; } - void setValidator(QLineEdit* theWrappedObject, const QValidator* arg__1); - void inputMethodEvent(QLineEdit* theWrappedObject, QInputMethodEvent* arg__1); - void home(QLineEdit* theWrappedObject, bool mark); - void dragMoveEvent(QLineEdit* theWrappedObject, QDragMoveEvent* e); - QString selectedText(QLineEdit* theWrappedObject) const; - void deselect(QLineEdit* theWrappedObject); - bool hasSelectedText(QLineEdit* theWrappedObject) const; - void keyPressEvent(QLineEdit* theWrappedObject, QKeyEvent* arg__1); - void cursorBackward(QLineEdit* theWrappedObject, bool mark, int steps = 1); - int maxLength(QLineEdit* theWrappedObject) const; - void cursorForward(QLineEdit* theWrappedObject, bool mark, int steps = 1); - void setCursorPosition(QLineEdit* theWrappedObject, int arg__1); - QString text(QLineEdit* theWrappedObject) const; - void end(QLineEdit* theWrappedObject, bool mark); - void changeEvent(QLineEdit* theWrappedObject, QEvent* arg__1); - void insert(QLineEdit* theWrappedObject, const QString& arg__1); - void setAlignment(QLineEdit* theWrappedObject, Qt::Alignment flag); - void dropEvent(QLineEdit* theWrappedObject, QDropEvent* arg__1); - void setEchoMode(QLineEdit* theWrappedObject, QLineEdit::EchoMode arg__1); - void contextMenuEvent(QLineEdit* theWrappedObject, QContextMenuEvent* arg__1); - void backspace(QLineEdit* theWrappedObject); - void focusOutEvent(QLineEdit* theWrappedObject, QFocusEvent* arg__1); - void mouseReleaseEvent(QLineEdit* theWrappedObject, QMouseEvent* arg__1); - void setInputMask(QLineEdit* theWrappedObject, const QString& inputMask); - int cursorPosition(QLineEdit* theWrappedObject) const; - void focusInEvent(QLineEdit* theWrappedObject, QFocusEvent* arg__1); - bool hasFrame(QLineEdit* theWrappedObject) const; - void dragEnterEvent(QLineEdit* theWrappedObject, QDragEnterEvent* arg__1); - bool isReadOnly(QLineEdit* theWrappedObject) const; - bool isRedoAvailable(QLineEdit* theWrappedObject) const; - QCompleter* completer(QLineEdit* theWrappedObject) const; - void setMaxLength(QLineEdit* theWrappedObject, int arg__1); - bool event(QLineEdit* theWrappedObject, QEvent* arg__1); - bool dragEnabled(QLineEdit* theWrappedObject) const; - void dragLeaveEvent(QLineEdit* theWrappedObject, QDragLeaveEvent* e); - void cursorWordBackward(QLineEdit* theWrappedObject, bool mark); - Qt::Alignment alignment(QLineEdit* theWrappedObject) const; - QString displayText(QLineEdit* theWrappedObject) const; - void mouseMoveEvent(QLineEdit* theWrappedObject, QMouseEvent* arg__1); - void mousePressEvent(QLineEdit* theWrappedObject, QMouseEvent* arg__1); - int cursorPositionAt(QLineEdit* theWrappedObject, const QPoint& pos); - void setCompleter(QLineEdit* theWrappedObject, QCompleter* completer); - void setReadOnly(QLineEdit* theWrappedObject, bool arg__1); - QMenu* createStandardContextMenu(QLineEdit* theWrappedObject); - void setModified(QLineEdit* theWrappedObject, bool arg__1); - void mouseDoubleClickEvent(QLineEdit* theWrappedObject, QMouseEvent* arg__1); - int selectionStart(QLineEdit* theWrappedObject) const; - void del(QLineEdit* theWrappedObject); - bool isUndoAvailable(QLineEdit* theWrappedObject) const; - bool hasAcceptableInput(QLineEdit* theWrappedObject) const; - void setSelection(QLineEdit* theWrappedObject, int arg__1, int arg__2); - void paintEvent(QLineEdit* theWrappedObject, QPaintEvent* arg__1); - void setDragEnabled(QLineEdit* theWrappedObject, bool b); - const QValidator* validator(QLineEdit* theWrappedObject) const; - QSize minimumSizeHint(QLineEdit* theWrappedObject) const; - bool isModified(QLineEdit* theWrappedObject) const; - void cursorWordForward(QLineEdit* theWrappedObject, bool mark); - QSize sizeHint(QLineEdit* theWrappedObject) const; - QVariant inputMethodQuery(QLineEdit* theWrappedObject, Qt::InputMethodQuery arg__1) const; - QLineEdit::EchoMode echoMode(QLineEdit* theWrappedObject) const; - QString inputMask(QLineEdit* theWrappedObject) const; - void setFrame(QLineEdit* theWrappedObject, bool arg__1); -}; - -#endif // PYTHONQTWRAPPER_QLINEEDIT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QLinearGradient.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QLinearGradient.cpp deleted file mode 100644 index cbcc537..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QLinearGradient.cpp +++ /dev/null @@ -1,54 +0,0 @@ -#include "PythonQtWrapper_QLinearGradient.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QLinearGradient* PythonQtWrapper_QLinearGradient::new_QLinearGradient() -{ -return new QLinearGradient(); } - -QLinearGradient* PythonQtWrapper_QLinearGradient::new_QLinearGradient(const QPointF& start, const QPointF& finalStop) -{ -return new QLinearGradient(start, finalStop); } - -QLinearGradient* PythonQtWrapper_QLinearGradient::new_QLinearGradient(qreal xStart, qreal yStart, qreal xFinalStop, qreal yFinalStop) -{ -return new QLinearGradient(xStart, yStart, xFinalStop, yFinalStop); } - -QPointF PythonQtWrapper_QLinearGradient::finalStop(QLinearGradient* theWrappedObject) const -{ - return ( theWrappedObject->finalStop()); -} - -void PythonQtWrapper_QLinearGradient::setFinalStop(QLinearGradient* theWrappedObject, const QPointF& stop) -{ - ( theWrappedObject->setFinalStop(stop)); -} - -void PythonQtWrapper_QLinearGradient::setFinalStop(QLinearGradient* theWrappedObject, qreal x, qreal y) -{ - ( theWrappedObject->setFinalStop(x, y)); -} - -void PythonQtWrapper_QLinearGradient::setStart(QLinearGradient* theWrappedObject, qreal x, qreal y) -{ - ( theWrappedObject->setStart(x, y)); -} - -void PythonQtWrapper_QLinearGradient::setStart(QLinearGradient* theWrappedObject, const QPointF& start) -{ - ( theWrappedObject->setStart(start)); -} - -QPointF PythonQtWrapper_QLinearGradient::start(QLinearGradient* theWrappedObject) const -{ - return ( theWrappedObject->start()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QLinearGradient.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QLinearGradient.h deleted file mode 100644 index 1c64cfe..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QLinearGradient.h +++ /dev/null @@ -1,36 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QLINEARGRADIENT_H -#define PYTHONQTWRAPPER_QLINEARGRADIENT_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include - -class PythonQtWrapper_QLinearGradient : public QObject -{ Q_OBJECT -public: -public slots: -QLinearGradient* new_QLinearGradient(); -QLinearGradient* new_QLinearGradient(const QPointF& start, const QPointF& finalStop); -QLinearGradient* new_QLinearGradient(qreal xStart, qreal yStart, qreal xFinalStop, qreal yFinalStop); -QLinearGradient* new_QLinearGradient(const QLinearGradient& other) { -QLinearGradient* a = new QLinearGradient(); -*((QLinearGradient*)a) = other; -return a; } -void delete_QLinearGradient(QLinearGradient* obj) { delete obj; } - QPointF finalStop(QLinearGradient* theWrappedObject) const; - void setFinalStop(QLinearGradient* theWrappedObject, const QPointF& stop); - void setFinalStop(QLinearGradient* theWrappedObject, qreal x, qreal y); - void setStart(QLinearGradient* theWrappedObject, qreal x, qreal y); - void setStart(QLinearGradient* theWrappedObject, const QPointF& start); - QPointF start(QLinearGradient* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QLINEARGRADIENT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QListView.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QListView.cpp deleted file mode 100644 index df736ce..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QListView.cpp +++ /dev/null @@ -1,1877 +0,0 @@ -#include "PythonQtWrapper_QListView.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QListView::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QListView::actionEvent(arg__1); -} -void PythonQtShell_QListView::changeEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListView::changeEvent(arg__1); -} -void PythonQtShell_QListView::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; - } -} - QListView::childEvent(arg__1); -} -void PythonQtShell_QListView::closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEditor"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&editor, (void*)&hint}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListView::closeEditor(editor, hint); -} -void PythonQtShell_QListView::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QListView::closeEvent(arg__1); -} -void PythonQtShell_QListView::commitData(QWidget* editor) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "commitData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListView::commitData(editor); -} -void PythonQtShell_QListView::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListView::contextMenuEvent(arg__1); -} -void PythonQtShell_QListView::currentChanged(const QModelIndex& current, const QModelIndex& previous) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "currentChanged"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)¤t, (void*)&previous}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListView::currentChanged(current, previous); -} -void PythonQtShell_QListView::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; - } -} - QListView::customEvent(arg__1); -} -void PythonQtShell_QListView::dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dataChanged"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&topLeft, (void*)&bottomRight}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListView::dataChanged(topLeft, bottomRight); -} -int PythonQtShell_QListView::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QListView::devType(); -} -void PythonQtShell_QListView::doItemsLayout() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "doItemsLayout"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListView::doItemsLayout(); -} -void PythonQtShell_QListView::dragEnterEvent(QDragEnterEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QListView::dragEnterEvent(event); -} -void PythonQtShell_QListView::dragLeaveEvent(QDragLeaveEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListView::dragLeaveEvent(e); -} -void PythonQtShell_QListView::dragMoveEvent(QDragMoveEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListView::dragMoveEvent(e); -} -void PythonQtShell_QListView::dropEvent(QDropEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListView::dropEvent(e); -} -bool PythonQtShell_QListView::edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "edit"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&index, (void*)&trigger, (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("edit", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QListView::edit(index, trigger, event); -} -void PythonQtShell_QListView::editorDestroyed(QObject* editor) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "editorDestroyed"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QObject*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListView::editorDestroyed(editor); -} -void PythonQtShell_QListView::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QListView::enterEvent(arg__1); -} -bool PythonQtShell_QListView::event(QEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QListView::event(e); -} -bool PythonQtShell_QListView::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QListView::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QListView::focusInEvent(QFocusEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QListView::focusInEvent(event); -} -bool PythonQtShell_QListView::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QListView::focusNextPrevChild(next); -} -void PythonQtShell_QListView::focusOutEvent(QFocusEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QListView::focusOutEvent(event); -} -int PythonQtShell_QListView::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QListView::heightForWidth(arg__1); -} -void PythonQtShell_QListView::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QListView::hideEvent(arg__1); -} -int PythonQtShell_QListView::horizontalOffset() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "horizontalOffset"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QListView::horizontalOffset(); -} -void PythonQtShell_QListView::horizontalScrollbarAction(int action) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "horizontalScrollbarAction"); - 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*)&action}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListView::horizontalScrollbarAction(action); -} -void PythonQtShell_QListView::horizontalScrollbarValueChanged(int value) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "horizontalScrollbarValueChanged"); - 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*)&value}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListView::horizontalScrollbarValueChanged(value); -} -QModelIndex PythonQtShell_QListView::indexAt(const QPoint& p) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "indexAt"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&p}; - 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("indexAt", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QListView::indexAt(p); -} -void PythonQtShell_QListView::inputMethodEvent(QInputMethodEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QListView::inputMethodEvent(event); -} -QVariant PythonQtShell_QListView::inputMethodQuery(Qt::InputMethodQuery query) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&query}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QListView::inputMethodQuery(query); -} -bool PythonQtShell_QListView::isIndexHidden(const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isIndexHidden"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool 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) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QListView::isIndexHidden(index); -} -void PythonQtShell_QListView::keyPressEvent(QKeyEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListView::keyPressEvent(event); -} -void PythonQtShell_QListView::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListView::keyReleaseEvent(arg__1); -} -void PythonQtShell_QListView::keyboardSearch(const QString& search) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyboardSearch"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&search}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListView::keyboardSearch(search); -} -void PythonQtShell_QListView::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListView::languageChange(); -} -void PythonQtShell_QListView::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QListView::leaveEvent(arg__1); -} -int PythonQtShell_QListView::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QListView::metric(arg__1); -} -void PythonQtShell_QListView::mouseDoubleClickEvent(QMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QListView::mouseDoubleClickEvent(event); -} -void PythonQtShell_QListView::mouseMoveEvent(QMouseEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListView::mouseMoveEvent(e); -} -void PythonQtShell_QListView::mousePressEvent(QMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QListView::mousePressEvent(event); -} -void PythonQtShell_QListView::mouseReleaseEvent(QMouseEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListView::mouseReleaseEvent(e); -} -void PythonQtShell_QListView::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListView::moveEvent(arg__1); -} -QPaintEngine* PythonQtShell_QListView::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QListView::paintEngine(); -} -void PythonQtShell_QListView::paintEvent(QPaintEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListView::paintEvent(e); -} -void PythonQtShell_QListView::reset() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reset"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListView::reset(); -} -void PythonQtShell_QListView::resizeEvent(QResizeEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListView::resizeEvent(e); -} -void PythonQtShell_QListView::rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowsAboutToBeRemoved"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent, (void*)&start, (void*)&end}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListView::rowsAboutToBeRemoved(parent, start, end); -} -void PythonQtShell_QListView::rowsInserted(const QModelIndex& parent, int start, int end) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowsInserted"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent, (void*)&start, (void*)&end}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListView::rowsInserted(parent, start, end); -} -void PythonQtShell_QListView::scrollContentsBy(int dx, int dy) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "scrollContentsBy"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&dx, (void*)&dy}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListView::scrollContentsBy(dx, dy); -} -void PythonQtShell_QListView::scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "scrollTo"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&index, (void*)&hint}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListView::scrollTo(index, hint); -} -void PythonQtShell_QListView::selectAll() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectAll"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListView::selectAll(); -} -QList PythonQtShell_QListView::selectedIndexes() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectedIndexes"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QList returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); - } else { - returnValue = *((QList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QListView::selectedIndexes(); -} -void PythonQtShell_QListView::selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectionChanged"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&selected, (void*)&deselected}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListView::selectionChanged(selected, deselected); -} -QItemSelectionModel::SelectionFlags PythonQtShell_QListView::selectionCommand(const QModelIndex& index, const QEvent* event) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectionCommand"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QItemSelectionModel::SelectionFlags" , "const QModelIndex&" , "const QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QItemSelectionModel::SelectionFlags returnValue; - void* args[3] = {NULL, (void*)&index, (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("selectionCommand", methodInfo, result); - } else { - returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QListView::selectionCommand(index, event); -} -void PythonQtShell_QListView::setModel(QAbstractItemModel* model) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setModel"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QAbstractItemModel*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&model}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListView::setModel(model); -} -void PythonQtShell_QListView::setRootIndex(const QModelIndex& index) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setRootIndex"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListView::setRootIndex(index); -} -void PythonQtShell_QListView::setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setSelection"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&rect, (void*)&command}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListView::setSelection(rect, command); -} -void PythonQtShell_QListView::setSelectionModel(QItemSelectionModel* selectionModel) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setSelectionModel"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QItemSelectionModel*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&selectionModel}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListView::setSelectionModel(selectionModel); -} -void PythonQtShell_QListView::showEvent(QShowEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QListView::showEvent(arg__1); -} -int PythonQtShell_QListView::sizeHintForColumn(int column) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeHintForColumn"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&column}; - 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("sizeHintForColumn", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QListView::sizeHintForColumn(column); -} -int PythonQtShell_QListView::sizeHintForRow(int row) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeHintForRow"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&row}; - 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("sizeHintForRow", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QListView::sizeHintForRow(row); -} -void PythonQtShell_QListView::startDrag(Qt::DropActions supportedActions) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "startDrag"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "Qt::DropActions"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&supportedActions}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListView::startDrag(supportedActions); -} -void PythonQtShell_QListView::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QListView::tabletEvent(arg__1); -} -void PythonQtShell_QListView::timerEvent(QTimerEvent* e) -{ -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*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListView::timerEvent(e); -} -void PythonQtShell_QListView::updateEditorData() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateEditorData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListView::updateEditorData(); -} -void PythonQtShell_QListView::updateEditorGeometries() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateEditorGeometries"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListView::updateEditorGeometries(); -} -void PythonQtShell_QListView::updateGeometries() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateGeometries"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListView::updateGeometries(); -} -int PythonQtShell_QListView::verticalOffset() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "verticalOffset"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QListView::verticalOffset(); -} -void PythonQtShell_QListView::verticalScrollbarAction(int action) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "verticalScrollbarAction"); - 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*)&action}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListView::verticalScrollbarAction(action); -} -void PythonQtShell_QListView::verticalScrollbarValueChanged(int value) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "verticalScrollbarValueChanged"); - 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*)&value}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListView::verticalScrollbarValueChanged(value); -} -QStyleOptionViewItem PythonQtShell_QListView::viewOptions() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "viewOptions"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QStyleOptionViewItem"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStyleOptionViewItem returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); - } else { - returnValue = *((QStyleOptionViewItem*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QListView::viewOptions(); -} -bool PythonQtShell_QListView::viewportEvent(QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "viewportEvent"); - 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("viewportEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QListView::viewportEvent(event); -} -QRect PythonQtShell_QListView::visualRect(const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "visualRect"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRect 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) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QListView::visualRect(index); -} -QRegion PythonQtShell_QListView::visualRegionForSelection(const QItemSelection& selection) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "visualRegionForSelection"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRegion returnValue; - void* args[2] = {NULL, (void*)&selection}; - 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("visualRegionForSelection", methodInfo, result); - } else { - returnValue = *((QRegion*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QListView::visualRegionForSelection(selection); -} -void PythonQtShell_QListView::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListView::wheelEvent(arg__1); -} -QListView* PythonQtWrapper_QListView::new_QListView(QWidget* parent) -{ -return new PythonQtShell_QListView(parent); } - -int PythonQtWrapper_QListView::spacing(QListView* theWrappedObject) const -{ - return ( theWrappedObject->spacing()); -} - -void PythonQtWrapper_QListView::setRootIndex(QListView* theWrappedObject, const QModelIndex& index) -{ - ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_setRootIndex(index)); -} - -void PythonQtWrapper_QListView::mouseReleaseEvent(QListView* theWrappedObject, QMouseEvent* e) -{ - ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_mouseReleaseEvent(e)); -} - -bool PythonQtWrapper_QListView::uniformItemSizes(QListView* theWrappedObject) const -{ - return ( theWrappedObject->uniformItemSizes()); -} - -void PythonQtWrapper_QListView::paintEvent(QListView* theWrappedObject, QPaintEvent* e) -{ - ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_paintEvent(e)); -} - -QRect PythonQtWrapper_QListView::visualRect(QListView* theWrappedObject, const QModelIndex& index) const -{ - return ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_visualRect(index)); -} - -void PythonQtWrapper_QListView::setGridSize(QListView* theWrappedObject, const QSize& size) -{ - ( theWrappedObject->setGridSize(size)); -} - -bool PythonQtWrapper_QListView::isRowHidden(QListView* theWrappedObject, int row) const -{ - return ( theWrappedObject->isRowHidden(row)); -} - -QStyleOptionViewItem PythonQtWrapper_QListView::viewOptions(QListView* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_viewOptions()); -} - -void PythonQtWrapper_QListView::setModelColumn(QListView* theWrappedObject, int column) -{ - ( theWrappedObject->setModelColumn(column)); -} - -void PythonQtWrapper_QListView::rowsAboutToBeRemoved(QListView* theWrappedObject, const QModelIndex& parent, int start, int end) -{ - ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_rowsAboutToBeRemoved(parent, start, end)); -} - -QRegion PythonQtWrapper_QListView::visualRegionForSelection(QListView* theWrappedObject, const QItemSelection& selection) const -{ - return ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_visualRegionForSelection(selection)); -} - -void PythonQtWrapper_QListView::setUniformItemSizes(QListView* theWrappedObject, bool enable) -{ - ( theWrappedObject->setUniformItemSizes(enable)); -} - -void PythonQtWrapper_QListView::setRowHidden(QListView* theWrappedObject, int row, bool hide) -{ - ( theWrappedObject->setRowHidden(row, hide)); -} - -int PythonQtWrapper_QListView::batchSize(QListView* theWrappedObject) const -{ - return ( theWrappedObject->batchSize()); -} - -void PythonQtWrapper_QListView::setSelectionRectVisible(QListView* theWrappedObject, bool show) -{ - ( theWrappedObject->setSelectionRectVisible(show)); -} - -bool PythonQtWrapper_QListView::isWrapping(QListView* theWrappedObject) const -{ - return ( theWrappedObject->isWrapping()); -} - -void PythonQtWrapper_QListView::setWordWrap(QListView* theWrappedObject, bool on) -{ - ( theWrappedObject->setWordWrap(on)); -} - -void PythonQtWrapper_QListView::rowsInserted(QListView* theWrappedObject, const QModelIndex& parent, int start, int end) -{ - ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_rowsInserted(parent, start, end)); -} - -QListView::LayoutMode PythonQtWrapper_QListView::layoutMode(QListView* theWrappedObject) const -{ - return ( theWrappedObject->layoutMode()); -} - -void PythonQtWrapper_QListView::setSelection(QListView* theWrappedObject, const QRect& rect, QItemSelectionModel::SelectionFlags command) -{ - ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_setSelection(rect, command)); -} - -void PythonQtWrapper_QListView::startDrag(QListView* theWrappedObject, Qt::DropActions supportedActions) -{ - ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_startDrag(supportedActions)); -} - -void PythonQtWrapper_QListView::doItemsLayout(QListView* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_doItemsLayout()); -} - -void PythonQtWrapper_QListView::setViewMode(QListView* theWrappedObject, QListView::ViewMode mode) -{ - ( theWrappedObject->setViewMode(mode)); -} - -void PythonQtWrapper_QListView::setMovement(QListView* theWrappedObject, QListView::Movement movement) -{ - ( theWrappedObject->setMovement(movement)); -} - -void PythonQtWrapper_QListView::scrollTo(QListView* theWrappedObject, const QModelIndex& index, QAbstractItemView::ScrollHint hint) -{ - ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_scrollTo(index, hint)); -} - -void PythonQtWrapper_QListView::currentChanged(QListView* theWrappedObject, const QModelIndex& current, const QModelIndex& previous) -{ - ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_currentChanged(current, previous)); -} - -void PythonQtWrapper_QListView::dragMoveEvent(QListView* theWrappedObject, QDragMoveEvent* e) -{ - ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_dragMoveEvent(e)); -} - -void PythonQtWrapper_QListView::clearPropertyFlags(QListView* theWrappedObject) -{ - ( theWrappedObject->clearPropertyFlags()); -} - -void PythonQtWrapper_QListView::dragLeaveEvent(QListView* theWrappedObject, QDragLeaveEvent* e) -{ - ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_dragLeaveEvent(e)); -} - -void PythonQtWrapper_QListView::dataChanged(QListView* theWrappedObject, const QModelIndex& topLeft, const QModelIndex& bottomRight) -{ - ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_dataChanged(topLeft, bottomRight)); -} - -void PythonQtWrapper_QListView::setLayoutMode(QListView* theWrappedObject, QListView::LayoutMode mode) -{ - ( theWrappedObject->setLayoutMode(mode)); -} - -void PythonQtWrapper_QListView::timerEvent(QListView* theWrappedObject, QTimerEvent* e) -{ - ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_timerEvent(e)); -} - -void PythonQtWrapper_QListView::updateGeometries(QListView* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_updateGeometries()); -} - -QListView::ViewMode PythonQtWrapper_QListView::viewMode(QListView* theWrappedObject) const -{ - return ( theWrappedObject->viewMode()); -} - -void PythonQtWrapper_QListView::resizeEvent(QListView* theWrappedObject, QResizeEvent* e) -{ - ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_resizeEvent(e)); -} - -void PythonQtWrapper_QListView::scrollContentsBy(QListView* theWrappedObject, int dx, int dy) -{ - ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_scrollContentsBy(dx, dy)); -} - -void PythonQtWrapper_QListView::setSpacing(QListView* theWrappedObject, int space) -{ - ( theWrappedObject->setSpacing(space)); -} - -void PythonQtWrapper_QListView::setResizeMode(QListView* theWrappedObject, QListView::ResizeMode mode) -{ - ( theWrappedObject->setResizeMode(mode)); -} - -void PythonQtWrapper_QListView::selectionChanged(QListView* theWrappedObject, const QItemSelection& selected, const QItemSelection& deselected) -{ - ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_selectionChanged(selected, deselected)); -} - -void PythonQtWrapper_QListView::setBatchSize(QListView* theWrappedObject, int batchSize) -{ - ( theWrappedObject->setBatchSize(batchSize)); -} - -int PythonQtWrapper_QListView::modelColumn(QListView* theWrappedObject) const -{ - return ( theWrappedObject->modelColumn()); -} - -bool PythonQtWrapper_QListView::wordWrap(QListView* theWrappedObject) const -{ - return ( theWrappedObject->wordWrap()); -} - -QListView::Movement PythonQtWrapper_QListView::movement(QListView* theWrappedObject) const -{ - return ( theWrappedObject->movement()); -} - -QSize PythonQtWrapper_QListView::gridSize(QListView* theWrappedObject) const -{ - return ( theWrappedObject->gridSize()); -} - -void PythonQtWrapper_QListView::dropEvent(QListView* theWrappedObject, QDropEvent* e) -{ - ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_dropEvent(e)); -} - -QList PythonQtWrapper_QListView::selectedIndexes(QListView* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_selectedIndexes()); -} - -int PythonQtWrapper_QListView::verticalOffset(QListView* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_verticalOffset()); -} - -void PythonQtWrapper_QListView::mouseMoveEvent(QListView* theWrappedObject, QMouseEvent* e) -{ - ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_mouseMoveEvent(e)); -} - -QListView::Flow PythonQtWrapper_QListView::flow(QListView* theWrappedObject) const -{ - return ( theWrappedObject->flow()); -} - -bool PythonQtWrapper_QListView::event(QListView* theWrappedObject, QEvent* e) -{ - return ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_event(e)); -} - -bool PythonQtWrapper_QListView::isIndexHidden(QListView* theWrappedObject, const QModelIndex& index) const -{ - return ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_isIndexHidden(index)); -} - -void PythonQtWrapper_QListView::setFlow(QListView* theWrappedObject, QListView::Flow flow) -{ - ( theWrappedObject->setFlow(flow)); -} - -QModelIndex PythonQtWrapper_QListView::indexAt(QListView* theWrappedObject, const QPoint& p) const -{ - return ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_indexAt(p)); -} - -void PythonQtWrapper_QListView::reset(QListView* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_reset()); -} - -void PythonQtWrapper_QListView::setWrapping(QListView* theWrappedObject, bool enable) -{ - ( theWrappedObject->setWrapping(enable)); -} - -QListView::ResizeMode PythonQtWrapper_QListView::resizeMode(QListView* theWrappedObject) const -{ - return ( theWrappedObject->resizeMode()); -} - -int PythonQtWrapper_QListView::horizontalOffset(QListView* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_horizontalOffset()); -} - -bool PythonQtWrapper_QListView::isSelectionRectVisible(QListView* theWrappedObject) const -{ - return ( theWrappedObject->isSelectionRectVisible()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QListView.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QListView.h deleted file mode 100644 index 5890281..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QListView.h +++ /dev/null @@ -1,229 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QLISTVIEW_H -#define PYTHONQTWRAPPER_QLISTVIEW_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QListView : public QListView -{ -public: - PythonQtShell_QListView(QWidget* parent = 0):QListView(parent),_wrapper(NULL) {}; - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void commitData(QWidget* editor); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void currentChanged(const QModelIndex& current, const QModelIndex& previous); -virtual void customEvent(QEvent* arg__1); -virtual void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight); -virtual int devType() const; -virtual void doItemsLayout(); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* e); -virtual void dragMoveEvent(QDragMoveEvent* e); -virtual void dropEvent(QDropEvent* e); -virtual bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event); -virtual void editorDestroyed(QObject* editor); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual int horizontalOffset() const; -virtual void horizontalScrollbarAction(int action); -virtual void horizontalScrollbarValueChanged(int value); -virtual QModelIndex indexAt(const QPoint& p) const; -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual bool isIndexHidden(const QModelIndex& index) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void keyboardSearch(const QString& search); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* e); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* e); -virtual void moveEvent(QMoveEvent* arg__1); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* e); -virtual void reset(); -virtual void resizeEvent(QResizeEvent* e); -virtual void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end); -virtual void rowsInserted(const QModelIndex& parent, int start, int end); -virtual void scrollContentsBy(int dx, int dy); -virtual void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible); -virtual void selectAll(); -virtual QList selectedIndexes() const; -virtual void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected); -virtual QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event) const; -virtual void setModel(QAbstractItemModel* model); -virtual void setRootIndex(const QModelIndex& index); -virtual void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command); -virtual void setSelectionModel(QItemSelectionModel* selectionModel); -virtual void showEvent(QShowEvent* arg__1); -virtual int sizeHintForColumn(int column) const; -virtual int sizeHintForRow(int row) const; -virtual void startDrag(Qt::DropActions supportedActions); -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* e); -virtual void updateEditorData(); -virtual void updateEditorGeometries(); -virtual void updateGeometries(); -virtual int verticalOffset() const; -virtual void verticalScrollbarAction(int action); -virtual void verticalScrollbarValueChanged(int value); -virtual QStyleOptionViewItem viewOptions() const; -virtual bool viewportEvent(QEvent* event); -virtual QRect visualRect(const QModelIndex& index) const; -virtual QRegion visualRegionForSelection(const QItemSelection& selection) const; -virtual void wheelEvent(QWheelEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QListView : public QListView -{ public: -inline void promoted_setRootIndex(const QModelIndex& index) { QListView::setRootIndex(index); } -inline void promoted_mouseReleaseEvent(QMouseEvent* e) { QListView::mouseReleaseEvent(e); } -inline void promoted_paintEvent(QPaintEvent* e) { QListView::paintEvent(e); } -inline QRect promoted_visualRect(const QModelIndex& index) const { return QListView::visualRect(index); } -inline QStyleOptionViewItem promoted_viewOptions() const { return QListView::viewOptions(); } -inline void promoted_rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) { QListView::rowsAboutToBeRemoved(parent, start, end); } -inline QRegion promoted_visualRegionForSelection(const QItemSelection& selection) const { return QListView::visualRegionForSelection(selection); } -inline void promoted_rowsInserted(const QModelIndex& parent, int start, int end) { QListView::rowsInserted(parent, start, end); } -inline void promoted_setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) { QListView::setSelection(rect, command); } -inline void promoted_startDrag(Qt::DropActions supportedActions) { QListView::startDrag(supportedActions); } -inline void promoted_doItemsLayout() { QListView::doItemsLayout(); } -inline void promoted_scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible) { QListView::scrollTo(index, hint); } -inline void promoted_currentChanged(const QModelIndex& current, const QModelIndex& previous) { QListView::currentChanged(current, previous); } -inline void promoted_dragMoveEvent(QDragMoveEvent* e) { QListView::dragMoveEvent(e); } -inline void promoted_dragLeaveEvent(QDragLeaveEvent* e) { QListView::dragLeaveEvent(e); } -inline void promoted_dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight) { QListView::dataChanged(topLeft, bottomRight); } -inline void promoted_timerEvent(QTimerEvent* e) { QListView::timerEvent(e); } -inline void promoted_updateGeometries() { QListView::updateGeometries(); } -inline void promoted_resizeEvent(QResizeEvent* e) { QListView::resizeEvent(e); } -inline void promoted_scrollContentsBy(int dx, int dy) { QListView::scrollContentsBy(dx, dy); } -inline void promoted_selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) { QListView::selectionChanged(selected, deselected); } -inline void promoted_dropEvent(QDropEvent* e) { QListView::dropEvent(e); } -inline QList promoted_selectedIndexes() const { return QListView::selectedIndexes(); } -inline int promoted_verticalOffset() const { return QListView::verticalOffset(); } -inline void promoted_mouseMoveEvent(QMouseEvent* e) { QListView::mouseMoveEvent(e); } -inline bool promoted_event(QEvent* e) { return QListView::event(e); } -inline bool promoted_isIndexHidden(const QModelIndex& index) const { return QListView::isIndexHidden(index); } -inline QModelIndex promoted_indexAt(const QPoint& p) const { return QListView::indexAt(p); } -inline void promoted_reset() { QListView::reset(); } -inline int promoted_horizontalOffset() const { return QListView::horizontalOffset(); } -}; - -class PythonQtWrapper_QListView : public QObject -{ Q_OBJECT -public: -public slots: -QListView* new_QListView(QWidget* parent = 0); -void delete_QListView(QListView* obj) { delete obj; } - int spacing(QListView* theWrappedObject) const; - void setRootIndex(QListView* theWrappedObject, const QModelIndex& index); - void mouseReleaseEvent(QListView* theWrappedObject, QMouseEvent* e); - bool uniformItemSizes(QListView* theWrappedObject) const; - void paintEvent(QListView* theWrappedObject, QPaintEvent* e); - QRect visualRect(QListView* theWrappedObject, const QModelIndex& index) const; - void setGridSize(QListView* theWrappedObject, const QSize& size); - bool isRowHidden(QListView* theWrappedObject, int row) const; - QStyleOptionViewItem viewOptions(QListView* theWrappedObject) const; - void setModelColumn(QListView* theWrappedObject, int column); - void rowsAboutToBeRemoved(QListView* theWrappedObject, const QModelIndex& parent, int start, int end); - QRegion visualRegionForSelection(QListView* theWrappedObject, const QItemSelection& selection) const; - void setUniformItemSizes(QListView* theWrappedObject, bool enable); - void setRowHidden(QListView* theWrappedObject, int row, bool hide); - int batchSize(QListView* theWrappedObject) const; - void setSelectionRectVisible(QListView* theWrappedObject, bool show); - bool isWrapping(QListView* theWrappedObject) const; - void setWordWrap(QListView* theWrappedObject, bool on); - void rowsInserted(QListView* theWrappedObject, const QModelIndex& parent, int start, int end); - QListView::LayoutMode layoutMode(QListView* theWrappedObject) const; - void setSelection(QListView* theWrappedObject, const QRect& rect, QItemSelectionModel::SelectionFlags command); - void startDrag(QListView* theWrappedObject, Qt::DropActions supportedActions); - void doItemsLayout(QListView* theWrappedObject); - void setViewMode(QListView* theWrappedObject, QListView::ViewMode mode); - void setMovement(QListView* theWrappedObject, QListView::Movement movement); - void scrollTo(QListView* theWrappedObject, const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible); - void currentChanged(QListView* theWrappedObject, const QModelIndex& current, const QModelIndex& previous); - void dragMoveEvent(QListView* theWrappedObject, QDragMoveEvent* e); - void clearPropertyFlags(QListView* theWrappedObject); - void dragLeaveEvent(QListView* theWrappedObject, QDragLeaveEvent* e); - void dataChanged(QListView* theWrappedObject, const QModelIndex& topLeft, const QModelIndex& bottomRight); - void setLayoutMode(QListView* theWrappedObject, QListView::LayoutMode mode); - void timerEvent(QListView* theWrappedObject, QTimerEvent* e); - void updateGeometries(QListView* theWrappedObject); - QListView::ViewMode viewMode(QListView* theWrappedObject) const; - void resizeEvent(QListView* theWrappedObject, QResizeEvent* e); - void scrollContentsBy(QListView* theWrappedObject, int dx, int dy); - void setSpacing(QListView* theWrappedObject, int space); - void setResizeMode(QListView* theWrappedObject, QListView::ResizeMode mode); - void selectionChanged(QListView* theWrappedObject, const QItemSelection& selected, const QItemSelection& deselected); - void setBatchSize(QListView* theWrappedObject, int batchSize); - int modelColumn(QListView* theWrappedObject) const; - bool wordWrap(QListView* theWrappedObject) const; - QListView::Movement movement(QListView* theWrappedObject) const; - QSize gridSize(QListView* theWrappedObject) const; - void dropEvent(QListView* theWrappedObject, QDropEvent* e); - QList selectedIndexes(QListView* theWrappedObject) const; - int verticalOffset(QListView* theWrappedObject) const; - void mouseMoveEvent(QListView* theWrappedObject, QMouseEvent* e); - QListView::Flow flow(QListView* theWrappedObject) const; - bool event(QListView* theWrappedObject, QEvent* e); - bool isIndexHidden(QListView* theWrappedObject, const QModelIndex& index) const; - void setFlow(QListView* theWrappedObject, QListView::Flow flow); - QModelIndex indexAt(QListView* theWrappedObject, const QPoint& p) const; - void reset(QListView* theWrappedObject); - void setWrapping(QListView* theWrappedObject, bool enable); - QListView::ResizeMode resizeMode(QListView* theWrappedObject) const; - int horizontalOffset(QListView* theWrappedObject) const; - bool isSelectionRectVisible(QListView* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QLISTVIEW_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QListWidget.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QListWidget.cpp deleted file mode 100644 index 0a5f5f6..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QListWidget.cpp +++ /dev/null @@ -1,1854 +0,0 @@ -#include "PythonQtWrapper_QListWidget.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QListWidget::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QListWidget::actionEvent(arg__1); -} -void PythonQtShell_QListWidget::changeEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListWidget::changeEvent(arg__1); -} -void PythonQtShell_QListWidget::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; - } -} - QListWidget::childEvent(arg__1); -} -void PythonQtShell_QListWidget::closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEditor"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&editor, (void*)&hint}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListWidget::closeEditor(editor, hint); -} -void PythonQtShell_QListWidget::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QListWidget::closeEvent(arg__1); -} -void PythonQtShell_QListWidget::commitData(QWidget* editor) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "commitData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListWidget::commitData(editor); -} -void PythonQtShell_QListWidget::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListWidget::contextMenuEvent(arg__1); -} -void PythonQtShell_QListWidget::currentChanged(const QModelIndex& current, const QModelIndex& previous) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "currentChanged"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)¤t, (void*)&previous}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListWidget::currentChanged(current, previous); -} -void PythonQtShell_QListWidget::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; - } -} - QListWidget::customEvent(arg__1); -} -void PythonQtShell_QListWidget::dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dataChanged"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&topLeft, (void*)&bottomRight}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListWidget::dataChanged(topLeft, bottomRight); -} -int PythonQtShell_QListWidget::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QListWidget::devType(); -} -void PythonQtShell_QListWidget::doItemsLayout() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "doItemsLayout"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListWidget::doItemsLayout(); -} -void PythonQtShell_QListWidget::dragEnterEvent(QDragEnterEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QListWidget::dragEnterEvent(event); -} -void PythonQtShell_QListWidget::dragLeaveEvent(QDragLeaveEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListWidget::dragLeaveEvent(e); -} -void PythonQtShell_QListWidget::dragMoveEvent(QDragMoveEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListWidget::dragMoveEvent(e); -} -void PythonQtShell_QListWidget::dropEvent(QDropEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QListWidget::dropEvent(event); -} -bool PythonQtShell_QListWidget::dropMimeData(int index, const QMimeData* data, Qt::DropAction action) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropMimeData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int" , "const QMimeData*" , "Qt::DropAction"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&index, (void*)&data, (void*)&action}; - 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("dropMimeData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QListWidget::dropMimeData(index, data, action); -} -bool PythonQtShell_QListWidget::edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "edit"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&index, (void*)&trigger, (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("edit", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QListWidget::edit(index, trigger, event); -} -void PythonQtShell_QListWidget::editorDestroyed(QObject* editor) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "editorDestroyed"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QObject*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListWidget::editorDestroyed(editor); -} -void PythonQtShell_QListWidget::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QListWidget::enterEvent(arg__1); -} -bool PythonQtShell_QListWidget::event(QEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QListWidget::event(e); -} -bool PythonQtShell_QListWidget::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QListWidget::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QListWidget::focusInEvent(QFocusEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QListWidget::focusInEvent(event); -} -bool PythonQtShell_QListWidget::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QListWidget::focusNextPrevChild(next); -} -void PythonQtShell_QListWidget::focusOutEvent(QFocusEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QListWidget::focusOutEvent(event); -} -int PythonQtShell_QListWidget::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QListWidget::heightForWidth(arg__1); -} -void PythonQtShell_QListWidget::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QListWidget::hideEvent(arg__1); -} -int PythonQtShell_QListWidget::horizontalOffset() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "horizontalOffset"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QListWidget::horizontalOffset(); -} -void PythonQtShell_QListWidget::horizontalScrollbarAction(int action) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "horizontalScrollbarAction"); - 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*)&action}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListWidget::horizontalScrollbarAction(action); -} -void PythonQtShell_QListWidget::horizontalScrollbarValueChanged(int value) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "horizontalScrollbarValueChanged"); - 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*)&value}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListWidget::horizontalScrollbarValueChanged(value); -} -QModelIndex PythonQtShell_QListWidget::indexAt(const QPoint& p) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "indexAt"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&p}; - 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("indexAt", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QListWidget::indexAt(p); -} -void PythonQtShell_QListWidget::inputMethodEvent(QInputMethodEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QListWidget::inputMethodEvent(event); -} -QVariant PythonQtShell_QListWidget::inputMethodQuery(Qt::InputMethodQuery query) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&query}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QListWidget::inputMethodQuery(query); -} -bool PythonQtShell_QListWidget::isIndexHidden(const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isIndexHidden"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool 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) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QListWidget::isIndexHidden(index); -} -void PythonQtShell_QListWidget::keyPressEvent(QKeyEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListWidget::keyPressEvent(event); -} -void PythonQtShell_QListWidget::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListWidget::keyReleaseEvent(arg__1); -} -void PythonQtShell_QListWidget::keyboardSearch(const QString& search) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyboardSearch"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&search}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListWidget::keyboardSearch(search); -} -void PythonQtShell_QListWidget::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListWidget::languageChange(); -} -void PythonQtShell_QListWidget::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QListWidget::leaveEvent(arg__1); -} -int PythonQtShell_QListWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QListWidget::metric(arg__1); -} -QMimeData* PythonQtShell_QListWidget::mimeData(const QList items) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mimeData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QMimeData*" , "const QList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMimeData* returnValue; - void* args[2] = {NULL, (void*)&items}; - 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("mimeData", methodInfo, result); - } else { - returnValue = *((QMimeData**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QListWidget::mimeData(items); -} -QStringList PythonQtShell_QListWidget::mimeTypes() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mimeTypes"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QStringList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStringList returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); - } else { - returnValue = *((QStringList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QListWidget::mimeTypes(); -} -void PythonQtShell_QListWidget::mouseDoubleClickEvent(QMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QListWidget::mouseDoubleClickEvent(event); -} -void PythonQtShell_QListWidget::mouseMoveEvent(QMouseEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListWidget::mouseMoveEvent(e); -} -void PythonQtShell_QListWidget::mousePressEvent(QMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QListWidget::mousePressEvent(event); -} -void PythonQtShell_QListWidget::mouseReleaseEvent(QMouseEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListWidget::mouseReleaseEvent(e); -} -void PythonQtShell_QListWidget::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListWidget::moveEvent(arg__1); -} -QPaintEngine* PythonQtShell_QListWidget::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QListWidget::paintEngine(); -} -void PythonQtShell_QListWidget::paintEvent(QPaintEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListWidget::paintEvent(e); -} -void PythonQtShell_QListWidget::reset() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reset"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListWidget::reset(); -} -void PythonQtShell_QListWidget::resizeEvent(QResizeEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListWidget::resizeEvent(e); -} -void PythonQtShell_QListWidget::rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowsAboutToBeRemoved"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent, (void*)&start, (void*)&end}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListWidget::rowsAboutToBeRemoved(parent, start, end); -} -void PythonQtShell_QListWidget::rowsInserted(const QModelIndex& parent, int start, int end) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowsInserted"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent, (void*)&start, (void*)&end}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListWidget::rowsInserted(parent, start, end); -} -void PythonQtShell_QListWidget::scrollContentsBy(int dx, int dy) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "scrollContentsBy"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&dx, (void*)&dy}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListWidget::scrollContentsBy(dx, dy); -} -void PythonQtShell_QListWidget::scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "scrollTo"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&index, (void*)&hint}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListWidget::scrollTo(index, hint); -} -void PythonQtShell_QListWidget::selectAll() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectAll"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListWidget::selectAll(); -} -QList PythonQtShell_QListWidget::selectedIndexes() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectedIndexes"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QList returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); - } else { - returnValue = *((QList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QListWidget::selectedIndexes(); -} -void PythonQtShell_QListWidget::selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectionChanged"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&selected, (void*)&deselected}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListWidget::selectionChanged(selected, deselected); -} -QItemSelectionModel::SelectionFlags PythonQtShell_QListWidget::selectionCommand(const QModelIndex& index, const QEvent* event) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectionCommand"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QItemSelectionModel::SelectionFlags" , "const QModelIndex&" , "const QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QItemSelectionModel::SelectionFlags returnValue; - void* args[3] = {NULL, (void*)&index, (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("selectionCommand", methodInfo, result); - } else { - returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QListWidget::selectionCommand(index, event); -} -void PythonQtShell_QListWidget::setRootIndex(const QModelIndex& index) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setRootIndex"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListWidget::setRootIndex(index); -} -void PythonQtShell_QListWidget::setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setSelection"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&rect, (void*)&command}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListWidget::setSelection(rect, command); -} -void PythonQtShell_QListWidget::setSelectionModel(QItemSelectionModel* selectionModel) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setSelectionModel"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QItemSelectionModel*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&selectionModel}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListWidget::setSelectionModel(selectionModel); -} -void PythonQtShell_QListWidget::showEvent(QShowEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QListWidget::showEvent(arg__1); -} -int PythonQtShell_QListWidget::sizeHintForColumn(int column) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeHintForColumn"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&column}; - 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("sizeHintForColumn", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QListWidget::sizeHintForColumn(column); -} -int PythonQtShell_QListWidget::sizeHintForRow(int row) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeHintForRow"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&row}; - 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("sizeHintForRow", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QListWidget::sizeHintForRow(row); -} -void PythonQtShell_QListWidget::startDrag(Qt::DropActions supportedActions) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "startDrag"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "Qt::DropActions"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&supportedActions}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListWidget::startDrag(supportedActions); -} -Qt::DropActions PythonQtShell_QListWidget::supportedDropActions() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "supportedDropActions"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"Qt::DropActions"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); - } else { - returnValue = *((Qt::DropActions*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QListWidget::supportedDropActions(); -} -void PythonQtShell_QListWidget::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QListWidget::tabletEvent(arg__1); -} -void PythonQtShell_QListWidget::timerEvent(QTimerEvent* e) -{ -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*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListWidget::timerEvent(e); -} -void PythonQtShell_QListWidget::updateEditorData() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateEditorData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListWidget::updateEditorData(); -} -void PythonQtShell_QListWidget::updateEditorGeometries() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateEditorGeometries"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListWidget::updateEditorGeometries(); -} -void PythonQtShell_QListWidget::updateGeometries() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateGeometries"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListWidget::updateGeometries(); -} -int PythonQtShell_QListWidget::verticalOffset() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "verticalOffset"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QListWidget::verticalOffset(); -} -void PythonQtShell_QListWidget::verticalScrollbarAction(int action) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "verticalScrollbarAction"); - 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*)&action}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListWidget::verticalScrollbarAction(action); -} -void PythonQtShell_QListWidget::verticalScrollbarValueChanged(int value) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "verticalScrollbarValueChanged"); - 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*)&value}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListWidget::verticalScrollbarValueChanged(value); -} -QStyleOptionViewItem PythonQtShell_QListWidget::viewOptions() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "viewOptions"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QStyleOptionViewItem"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStyleOptionViewItem returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); - } else { - returnValue = *((QStyleOptionViewItem*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QListWidget::viewOptions(); -} -bool PythonQtShell_QListWidget::viewportEvent(QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "viewportEvent"); - 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("viewportEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QListWidget::viewportEvent(event); -} -QRect PythonQtShell_QListWidget::visualRect(const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "visualRect"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRect 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) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QListWidget::visualRect(index); -} -QRegion PythonQtShell_QListWidget::visualRegionForSelection(const QItemSelection& selection) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "visualRegionForSelection"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRegion returnValue; - void* args[2] = {NULL, (void*)&selection}; - 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("visualRegionForSelection", methodInfo, result); - } else { - returnValue = *((QRegion*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QListWidget::visualRegionForSelection(selection); -} -void PythonQtShell_QListWidget::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListWidget::wheelEvent(arg__1); -} -QListWidget* PythonQtWrapper_QListWidget::new_QListWidget(QWidget* parent) -{ -return new PythonQtShell_QListWidget(parent); } - -void PythonQtWrapper_QListWidget::setSortingEnabled(QListWidget* theWrappedObject, bool enable) -{ - ( theWrappedObject->setSortingEnabled(enable)); -} - -QRect PythonQtWrapper_QListWidget::visualItemRect(QListWidget* theWrappedObject, const QListWidgetItem* item) const -{ - return ( theWrappedObject->visualItemRect(item)); -} - -void PythonQtWrapper_QListWidget::dropEvent(QListWidget* theWrappedObject, QDropEvent* event) -{ - ( ((PythonQtPublicPromoter_QListWidget*)theWrappedObject)->promoted_dropEvent(event)); -} - -QListWidgetItem* PythonQtWrapper_QListWidget::takeItem(QListWidget* theWrappedObject, int row) -{ - return ( theWrappedObject->takeItem(row)); -} - -void PythonQtWrapper_QListWidget::removeItemWidget(QListWidget* theWrappedObject, QListWidgetItem* item) -{ - ( theWrappedObject->removeItemWidget(item)); -} - -QStringList PythonQtWrapper_QListWidget::mimeTypes(QListWidget* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QListWidget*)theWrappedObject)->promoted_mimeTypes()); -} - -void PythonQtWrapper_QListWidget::addItem(QListWidget* theWrappedObject, const QString& label) -{ - ( theWrappedObject->addItem(label)); -} - -void PythonQtWrapper_QListWidget::insertItem(QListWidget* theWrappedObject, int row, QListWidgetItem* item) -{ - ( theWrappedObject->insertItem(row, item)); -} - -QList PythonQtWrapper_QListWidget::selectedItems(QListWidget* theWrappedObject) const -{ - return ( theWrappedObject->selectedItems()); -} - -Qt::DropActions PythonQtWrapper_QListWidget::supportedDropActions(QListWidget* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QListWidget*)theWrappedObject)->promoted_supportedDropActions()); -} - -bool PythonQtWrapper_QListWidget::isSortingEnabled(QListWidget* theWrappedObject) const -{ - return ( theWrappedObject->isSortingEnabled()); -} - -int PythonQtWrapper_QListWidget::currentRow(QListWidget* theWrappedObject) const -{ - return ( theWrappedObject->currentRow()); -} - -int PythonQtWrapper_QListWidget::row(QListWidget* theWrappedObject, const QListWidgetItem* item) const -{ - return ( theWrappedObject->row(item)); -} - -void PythonQtWrapper_QListWidget::sortItems(QListWidget* theWrappedObject, Qt::SortOrder order) -{ - ( theWrappedObject->sortItems(order)); -} - -void PythonQtWrapper_QListWidget::insertItems(QListWidget* theWrappedObject, int row, const QStringList& labels) -{ - ( theWrappedObject->insertItems(row, labels)); -} - -int PythonQtWrapper_QListWidget::count(QListWidget* theWrappedObject) const -{ - return ( theWrappedObject->count()); -} - -void PythonQtWrapper_QListWidget::editItem(QListWidget* theWrappedObject, QListWidgetItem* item) -{ - ( theWrappedObject->editItem(item)); -} - -bool PythonQtWrapper_QListWidget::event(QListWidget* theWrappedObject, QEvent* e) -{ - return ( ((PythonQtPublicPromoter_QListWidget*)theWrappedObject)->promoted_event(e)); -} - -void PythonQtWrapper_QListWidget::setCurrentItem(QListWidget* theWrappedObject, QListWidgetItem* item) -{ - ( theWrappedObject->setCurrentItem(item)); -} - -bool PythonQtWrapper_QListWidget::dropMimeData(QListWidget* theWrappedObject, int index, const QMimeData* data, Qt::DropAction action) -{ - return ( ((PythonQtPublicPromoter_QListWidget*)theWrappedObject)->promoted_dropMimeData(index, data, action)); -} - -QListWidgetItem* PythonQtWrapper_QListWidget::item(QListWidget* theWrappedObject, int row) const -{ - return ( theWrappedObject->item(row)); -} - -QWidget* PythonQtWrapper_QListWidget::itemWidget(QListWidget* theWrappedObject, QListWidgetItem* item) const -{ - return ( theWrappedObject->itemWidget(item)); -} - -void PythonQtWrapper_QListWidget::setCurrentRow(QListWidget* theWrappedObject, int row) -{ - ( theWrappedObject->setCurrentRow(row)); -} - -void PythonQtWrapper_QListWidget::insertItem(QListWidget* theWrappedObject, int row, const QString& label) -{ - ( theWrappedObject->insertItem(row, label)); -} - -void PythonQtWrapper_QListWidget::addItem(QListWidget* theWrappedObject, QListWidgetItem* item) -{ - ( theWrappedObject->addItem(item)); -} - -QListWidgetItem* PythonQtWrapper_QListWidget::itemAt(QListWidget* theWrappedObject, const QPoint& p) const -{ - return ( theWrappedObject->itemAt(p)); -} - -void PythonQtWrapper_QListWidget::setCurrentItem(QListWidget* theWrappedObject, QListWidgetItem* item, QItemSelectionModel::SelectionFlags command) -{ - ( theWrappedObject->setCurrentItem(item, command)); -} - -void PythonQtWrapper_QListWidget::closePersistentEditor(QListWidget* theWrappedObject, QListWidgetItem* item) -{ - ( theWrappedObject->closePersistentEditor(item)); -} - -QListWidgetItem* PythonQtWrapper_QListWidget::itemAt(QListWidget* theWrappedObject, int x, int y) const -{ - return ( theWrappedObject->itemAt(x, y)); -} - -void PythonQtWrapper_QListWidget::setItemWidget(QListWidget* theWrappedObject, QListWidgetItem* item, QWidget* widget) -{ - ( theWrappedObject->setItemWidget(item, widget)); -} - -void PythonQtWrapper_QListWidget::addItems(QListWidget* theWrappedObject, const QStringList& labels) -{ - ( theWrappedObject->addItems(labels)); -} - -QListWidgetItem* PythonQtWrapper_QListWidget::currentItem(QListWidget* theWrappedObject) const -{ - return ( theWrappedObject->currentItem()); -} - -void PythonQtWrapper_QListWidget::setCurrentRow(QListWidget* theWrappedObject, int row, QItemSelectionModel::SelectionFlags command) -{ - ( theWrappedObject->setCurrentRow(row, command)); -} - -void PythonQtWrapper_QListWidget::openPersistentEditor(QListWidget* theWrappedObject, QListWidgetItem* item) -{ - ( theWrappedObject->openPersistentEditor(item)); -} - -QList PythonQtWrapper_QListWidget::findItems(QListWidget* theWrappedObject, const QString& text, Qt::MatchFlags flags) const -{ - return ( theWrappedObject->findItems(text, flags)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QListWidget.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QListWidget.h deleted file mode 100644 index bad439b..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QListWidget.h +++ /dev/null @@ -1,185 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QLISTWIDGET_H -#define PYTHONQTWRAPPER_QLISTWIDGET_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QListWidget : public QListWidget -{ -public: - PythonQtShell_QListWidget(QWidget* parent = 0):QListWidget(parent),_wrapper(NULL) {}; - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void commitData(QWidget* editor); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void currentChanged(const QModelIndex& current, const QModelIndex& previous); -virtual void customEvent(QEvent* arg__1); -virtual void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight); -virtual int devType() const; -virtual void doItemsLayout(); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* e); -virtual void dragMoveEvent(QDragMoveEvent* e); -virtual void dropEvent(QDropEvent* event); -virtual bool dropMimeData(int index, const QMimeData* data, Qt::DropAction action); -virtual bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event); -virtual void editorDestroyed(QObject* editor); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual int horizontalOffset() const; -virtual void horizontalScrollbarAction(int action); -virtual void horizontalScrollbarValueChanged(int value); -virtual QModelIndex indexAt(const QPoint& p) const; -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual bool isIndexHidden(const QModelIndex& index) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void keyboardSearch(const QString& search); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QMimeData* mimeData(const QList items) const; -virtual QStringList mimeTypes() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* e); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* e); -virtual void moveEvent(QMoveEvent* arg__1); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* e); -virtual void reset(); -virtual void resizeEvent(QResizeEvent* e); -virtual void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end); -virtual void rowsInserted(const QModelIndex& parent, int start, int end); -virtual void scrollContentsBy(int dx, int dy); -virtual void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint); -virtual void selectAll(); -virtual QList selectedIndexes() const; -virtual void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected); -virtual QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event) const; -virtual void setRootIndex(const QModelIndex& index); -virtual void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command); -virtual void setSelectionModel(QItemSelectionModel* selectionModel); -virtual void showEvent(QShowEvent* arg__1); -virtual int sizeHintForColumn(int column) const; -virtual int sizeHintForRow(int row) const; -virtual void startDrag(Qt::DropActions supportedActions); -virtual Qt::DropActions supportedDropActions() const; -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* e); -virtual void updateEditorData(); -virtual void updateEditorGeometries(); -virtual void updateGeometries(); -virtual int verticalOffset() const; -virtual void verticalScrollbarAction(int action); -virtual void verticalScrollbarValueChanged(int value); -virtual QStyleOptionViewItem viewOptions() const; -virtual bool viewportEvent(QEvent* event); -virtual QRect visualRect(const QModelIndex& index) const; -virtual QRegion visualRegionForSelection(const QItemSelection& selection) const; -virtual void wheelEvent(QWheelEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QListWidget : public QListWidget -{ public: -inline void promoted_dropEvent(QDropEvent* event) { QListWidget::dropEvent(event); } -inline QStringList promoted_mimeTypes() const { return QListWidget::mimeTypes(); } -inline Qt::DropActions promoted_supportedDropActions() const { return QListWidget::supportedDropActions(); } -inline bool promoted_event(QEvent* e) { return QListWidget::event(e); } -inline bool promoted_dropMimeData(int index, const QMimeData* data, Qt::DropAction action) { return QListWidget::dropMimeData(index, data, action); } -}; - -class PythonQtWrapper_QListWidget : public QObject -{ Q_OBJECT -public: -public slots: -QListWidget* new_QListWidget(QWidget* parent = 0); -void delete_QListWidget(QListWidget* obj) { delete obj; } - void setSortingEnabled(QListWidget* theWrappedObject, bool enable); - QRect visualItemRect(QListWidget* theWrappedObject, const QListWidgetItem* item) const; - void dropEvent(QListWidget* theWrappedObject, QDropEvent* event); - QListWidgetItem* takeItem(QListWidget* theWrappedObject, int row); - void removeItemWidget(QListWidget* theWrappedObject, QListWidgetItem* item); - QStringList mimeTypes(QListWidget* theWrappedObject) const; - void addItem(QListWidget* theWrappedObject, const QString& label); - void insertItem(QListWidget* theWrappedObject, int row, QListWidgetItem* item); - QList selectedItems(QListWidget* theWrappedObject) const; - Qt::DropActions supportedDropActions(QListWidget* theWrappedObject) const; - bool isSortingEnabled(QListWidget* theWrappedObject) const; - int currentRow(QListWidget* theWrappedObject) const; - int row(QListWidget* theWrappedObject, const QListWidgetItem* item) const; - void sortItems(QListWidget* theWrappedObject, Qt::SortOrder order = Qt::AscendingOrder); - void insertItems(QListWidget* theWrappedObject, int row, const QStringList& labels); - int count(QListWidget* theWrappedObject) const; - void editItem(QListWidget* theWrappedObject, QListWidgetItem* item); - bool event(QListWidget* theWrappedObject, QEvent* e); - void setCurrentItem(QListWidget* theWrappedObject, QListWidgetItem* item); - bool dropMimeData(QListWidget* theWrappedObject, int index, const QMimeData* data, Qt::DropAction action); - QListWidgetItem* item(QListWidget* theWrappedObject, int row) const; - QWidget* itemWidget(QListWidget* theWrappedObject, QListWidgetItem* item) const; - void setCurrentRow(QListWidget* theWrappedObject, int row); - void insertItem(QListWidget* theWrappedObject, int row, const QString& label); - void addItem(QListWidget* theWrappedObject, QListWidgetItem* item); - QListWidgetItem* itemAt(QListWidget* theWrappedObject, const QPoint& p) const; - void setCurrentItem(QListWidget* theWrappedObject, QListWidgetItem* item, QItemSelectionModel::SelectionFlags command); - void closePersistentEditor(QListWidget* theWrappedObject, QListWidgetItem* item); - QListWidgetItem* itemAt(QListWidget* theWrappedObject, int x, int y) const; - void setItemWidget(QListWidget* theWrappedObject, QListWidgetItem* item, QWidget* widget); - void addItems(QListWidget* theWrappedObject, const QStringList& labels); - QListWidgetItem* currentItem(QListWidget* theWrappedObject) const; - void setCurrentRow(QListWidget* theWrappedObject, int row, QItemSelectionModel::SelectionFlags command); - void openPersistentEditor(QListWidget* theWrappedObject, QListWidgetItem* item); - QList findItems(QListWidget* theWrappedObject, const QString& text, Qt::MatchFlags flags) const; -}; - -#endif // PYTHONQTWRAPPER_QLISTWIDGET_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QListWidgetItem.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QListWidgetItem.cpp deleted file mode 100644 index c11f385..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QListWidgetItem.cpp +++ /dev/null @@ -1,352 +0,0 @@ -#include "PythonQtWrapper_QListWidgetItem.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QListWidgetItem* PythonQtShell_QListWidgetItem::clone() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "clone"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QListWidgetItem*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QListWidgetItem* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("clone", methodInfo, result); - } else { - returnValue = *((QListWidgetItem**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QListWidgetItem::clone(); -} -QVariant PythonQtShell_QListWidgetItem::data(int role) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "data"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&role}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QListWidgetItem::data(role); -} -bool PythonQtShell_QListWidgetItem::operator_less(const QListWidgetItem& other) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "operator_less"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QListWidgetItem&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&other}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("operator_less", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QListWidgetItem::operator<(other); -} -void PythonQtShell_QListWidgetItem::read(QDataStream& in) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "read"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDataStream&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&in}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListWidgetItem::read(in); -} -void PythonQtShell_QListWidgetItem::setBackgroundColor(const QColor& color) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setBackgroundColor"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QColor&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&color}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListWidgetItem::setBackgroundColor(color); -} -void PythonQtShell_QListWidgetItem::setData(int role, const QVariant& value) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "int" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&role, (void*)&value}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListWidgetItem::setData(role, value); -} -void PythonQtShell_QListWidgetItem::write(QDataStream& out) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "write"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDataStream&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&out}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QListWidgetItem::write(out); -} -QListWidgetItem* PythonQtWrapper_QListWidgetItem::new_QListWidgetItem(QListWidget* view, int type) -{ -return new PythonQtShell_QListWidgetItem(view, type); } - -QListWidgetItem* PythonQtWrapper_QListWidgetItem::new_QListWidgetItem(const QIcon& icon, const QString& text, QListWidget* view, int type) -{ -return new PythonQtShell_QListWidgetItem(icon, text, view, type); } - -QListWidgetItem* PythonQtWrapper_QListWidgetItem::new_QListWidgetItem(const QString& text, QListWidget* view, int type) -{ -return new PythonQtShell_QListWidgetItem(text, view, type); } - -int PythonQtWrapper_QListWidgetItem::type(QListWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->type()); -} - -void PythonQtWrapper_QListWidgetItem::setCheckState(QListWidgetItem* theWrappedObject, Qt::CheckState state) -{ - ( theWrappedObject->setCheckState(state)); -} - -QBrush PythonQtWrapper_QListWidgetItem::foreground(QListWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->foreground()); -} - -QIcon PythonQtWrapper_QListWidgetItem::icon(QListWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->icon()); -} - -bool PythonQtWrapper_QListWidgetItem::isHidden(QListWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->isHidden()); -} - -QSize PythonQtWrapper_QListWidgetItem::sizeHint(QListWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->sizeHint()); -} - -QFont PythonQtWrapper_QListWidgetItem::font(QListWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->font()); -} - -void PythonQtWrapper_QListWidgetItem::setStatusTip(QListWidgetItem* theWrappedObject, const QString& statusTip) -{ - ( theWrappedObject->setStatusTip(statusTip)); -} - -QString PythonQtWrapper_QListWidgetItem::text(QListWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->text()); -} - -QString PythonQtWrapper_QListWidgetItem::toolTip(QListWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->toolTip()); -} - -void PythonQtWrapper_QListWidgetItem::setBackground(QListWidgetItem* theWrappedObject, const QBrush& brush) -{ - ( theWrappedObject->setBackground(brush)); -} - -void PythonQtWrapper_QListWidgetItem::setIcon(QListWidgetItem* theWrappedObject, const QIcon& icon) -{ - ( theWrappedObject->setIcon(icon)); -} - -void PythonQtWrapper_QListWidgetItem::setHidden(QListWidgetItem* theWrappedObject, bool hide) -{ - ( theWrappedObject->setHidden(hide)); -} - -QString PythonQtWrapper_QListWidgetItem::statusTip(QListWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->statusTip()); -} - -QVariant PythonQtWrapper_QListWidgetItem::data(QListWidgetItem* theWrappedObject, int role) const -{ - return ( ((PythonQtPublicPromoter_QListWidgetItem*)theWrappedObject)->promoted_data(role)); -} - -void PythonQtWrapper_QListWidgetItem::setWhatsThis(QListWidgetItem* theWrappedObject, const QString& whatsThis) -{ - ( theWrappedObject->setWhatsThis(whatsThis)); -} - -void PythonQtWrapper_QListWidgetItem::setFont(QListWidgetItem* theWrappedObject, const QFont& font) -{ - ( theWrappedObject->setFont(font)); -} - -void PythonQtWrapper_QListWidgetItem::setTextAlignment(QListWidgetItem* theWrappedObject, int alignment) -{ - ( theWrappedObject->setTextAlignment(alignment)); -} - -QListWidgetItem* PythonQtWrapper_QListWidgetItem::clone(QListWidgetItem* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QListWidgetItem*)theWrappedObject)->promoted_clone()); -} - -Qt::ItemFlags PythonQtWrapper_QListWidgetItem::flags(QListWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->flags()); -} - -void PythonQtWrapper_QListWidgetItem::readFrom(QListWidgetItem* theWrappedObject, QDataStream& in) -{ - in >> (*theWrappedObject); -} - -void PythonQtWrapper_QListWidgetItem::writeTo(QListWidgetItem* theWrappedObject, QDataStream& out) -{ - out << (*theWrappedObject); -} - -void PythonQtWrapper_QListWidgetItem::setSelected(QListWidgetItem* theWrappedObject, bool select) -{ - ( theWrappedObject->setSelected(select)); -} - -QBrush PythonQtWrapper_QListWidgetItem::background(QListWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->background()); -} - -Qt::CheckState PythonQtWrapper_QListWidgetItem::checkState(QListWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->checkState()); -} - -void PythonQtWrapper_QListWidgetItem::setData(QListWidgetItem* theWrappedObject, int role, const QVariant& value) -{ - ( ((PythonQtPublicPromoter_QListWidgetItem*)theWrappedObject)->promoted_setData(role, value)); -} - -void PythonQtWrapper_QListWidgetItem::setToolTip(QListWidgetItem* theWrappedObject, const QString& toolTip) -{ - ( theWrappedObject->setToolTip(toolTip)); -} - -void PythonQtWrapper_QListWidgetItem::setText(QListWidgetItem* theWrappedObject, const QString& text) -{ - ( theWrappedObject->setText(text)); -} - -bool PythonQtWrapper_QListWidgetItem::isSelected(QListWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->isSelected()); -} - -QListWidget* PythonQtWrapper_QListWidgetItem::listWidget(QListWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->listWidget()); -} - -void PythonQtWrapper_QListWidgetItem::setForeground(QListWidgetItem* theWrappedObject, const QBrush& brush) -{ - ( theWrappedObject->setForeground(brush)); -} - -QString PythonQtWrapper_QListWidgetItem::whatsThis(QListWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->whatsThis()); -} - -void PythonQtWrapper_QListWidgetItem::setSizeHint(QListWidgetItem* theWrappedObject, const QSize& size) -{ - ( theWrappedObject->setSizeHint(size)); -} - -void PythonQtWrapper_QListWidgetItem::setFlags(QListWidgetItem* theWrappedObject, Qt::ItemFlags flags) -{ - ( theWrappedObject->setFlags(flags)); -} - -int PythonQtWrapper_QListWidgetItem::textAlignment(QListWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->textAlignment()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QListWidgetItem.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QListWidgetItem.h deleted file mode 100644 index fa14277..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QListWidgetItem.h +++ /dev/null @@ -1,90 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QLISTWIDGETITEM_H -#define PYTHONQTWRAPPER_QLISTWIDGETITEM_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QListWidgetItem : public QListWidgetItem -{ -public: - PythonQtShell_QListWidgetItem(QListWidget* view = 0, int type = Type):QListWidgetItem(view, type),_wrapper(NULL) {}; - PythonQtShell_QListWidgetItem(const QIcon& icon, const QString& text, QListWidget* view = 0, int type = Type):QListWidgetItem(icon, text, view, type),_wrapper(NULL) {}; - PythonQtShell_QListWidgetItem(const QString& text, QListWidget* view = 0, int type = Type):QListWidgetItem(text, view, type),_wrapper(NULL) {}; - -virtual QListWidgetItem* clone() const; -virtual QVariant data(int role) const; -virtual bool operator_less(const QListWidgetItem& other) const; -virtual void read(QDataStream& in); -virtual void setBackgroundColor(const QColor& color); -virtual void setData(int role, const QVariant& value); -virtual void write(QDataStream& out) const; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QListWidgetItem : public QListWidgetItem -{ public: -inline QVariant promoted_data(int role) const { return QListWidgetItem::data(role); } -inline QListWidgetItem* promoted_clone() const { return QListWidgetItem::clone(); } -inline void promoted_setData(int role, const QVariant& value) { QListWidgetItem::setData(role, value); } -}; - -class PythonQtWrapper_QListWidgetItem : public QObject -{ Q_OBJECT -public: -Q_ENUMS(ItemType ) -enum ItemType{ - Type = QListWidgetItem::Type, UserType = QListWidgetItem::UserType}; -public slots: -QListWidgetItem* new_QListWidgetItem(QListWidget* view = 0, int type = Type); -QListWidgetItem* new_QListWidgetItem(const QIcon& icon, const QString& text, QListWidget* view = 0, int type = Type); -QListWidgetItem* new_QListWidgetItem(const QString& text, QListWidget* view = 0, int type = Type); -void delete_QListWidgetItem(QListWidgetItem* obj) { delete obj; } - int type(QListWidgetItem* theWrappedObject) const; - void setCheckState(QListWidgetItem* theWrappedObject, Qt::CheckState state); - QBrush foreground(QListWidgetItem* theWrappedObject) const; - QIcon icon(QListWidgetItem* theWrappedObject) const; - bool isHidden(QListWidgetItem* theWrappedObject) const; - QSize sizeHint(QListWidgetItem* theWrappedObject) const; - QFont font(QListWidgetItem* theWrappedObject) const; - void setStatusTip(QListWidgetItem* theWrappedObject, const QString& statusTip); - QString text(QListWidgetItem* theWrappedObject) const; - QString toolTip(QListWidgetItem* theWrappedObject) const; - void setBackground(QListWidgetItem* theWrappedObject, const QBrush& brush); - void setIcon(QListWidgetItem* theWrappedObject, const QIcon& icon); - void setHidden(QListWidgetItem* theWrappedObject, bool hide); - QString statusTip(QListWidgetItem* theWrappedObject) const; - QVariant data(QListWidgetItem* theWrappedObject, int role) const; - void setWhatsThis(QListWidgetItem* theWrappedObject, const QString& whatsThis); - void setFont(QListWidgetItem* theWrappedObject, const QFont& font); - void setTextAlignment(QListWidgetItem* theWrappedObject, int alignment); - QListWidgetItem* clone(QListWidgetItem* theWrappedObject) const; - Qt::ItemFlags flags(QListWidgetItem* theWrappedObject) const; - void readFrom(QListWidgetItem* theWrappedObject, QDataStream& in); - void writeTo(QListWidgetItem* theWrappedObject, QDataStream& out); - void setSelected(QListWidgetItem* theWrappedObject, bool select); - QBrush background(QListWidgetItem* theWrappedObject) const; - Qt::CheckState checkState(QListWidgetItem* theWrappedObject) const; - void setData(QListWidgetItem* theWrappedObject, int role, const QVariant& value); - void setToolTip(QListWidgetItem* theWrappedObject, const QString& toolTip); - void setText(QListWidgetItem* theWrappedObject, const QString& text); - bool isSelected(QListWidgetItem* theWrappedObject) const; - QListWidget* listWidget(QListWidgetItem* theWrappedObject) const; - void setForeground(QListWidgetItem* theWrappedObject, const QBrush& brush); - QString whatsThis(QListWidgetItem* theWrappedObject) const; - void setSizeHint(QListWidgetItem* theWrappedObject, const QSize& size); - void setFlags(QListWidgetItem* theWrappedObject, Qt::ItemFlags flags); - int textAlignment(QListWidgetItem* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QLISTWIDGETITEM_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMainWindow.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMainWindow.cpp deleted file mode 100644 index c810467..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMainWindow.cpp +++ /dev/null @@ -1,1075 +0,0 @@ -#include "PythonQtWrapper_QMainWindow.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QMainWindow::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QMainWindow::actionEvent(arg__1); -} -void PythonQtShell_QMainWindow::changeEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMainWindow::changeEvent(arg__1); -} -void PythonQtShell_QMainWindow::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; - } -} - QMainWindow::childEvent(arg__1); -} -void PythonQtShell_QMainWindow::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QMainWindow::closeEvent(arg__1); -} -void PythonQtShell_QMainWindow::contextMenuEvent(QContextMenuEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - 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; - } -} - QMainWindow::contextMenuEvent(event); -} -QMenu* PythonQtShell_QMainWindow::createPopupMenu() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "createPopupMenu"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QMenu*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QMenu* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("createPopupMenu", methodInfo, result); - } else { - returnValue = *((QMenu**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMainWindow::createPopupMenu(); -} -void PythonQtShell_QMainWindow::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; - } -} - QMainWindow::customEvent(arg__1); -} -int PythonQtShell_QMainWindow::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMainWindow::devType(); -} -void PythonQtShell_QMainWindow::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QMainWindow::dragEnterEvent(arg__1); -} -void PythonQtShell_QMainWindow::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QMainWindow::dragLeaveEvent(arg__1); -} -void PythonQtShell_QMainWindow::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QMainWindow::dragMoveEvent(arg__1); -} -void PythonQtShell_QMainWindow::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QMainWindow::dropEvent(arg__1); -} -void PythonQtShell_QMainWindow::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QMainWindow::enterEvent(arg__1); -} -bool PythonQtShell_QMainWindow::event(QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMainWindow::event(event); -} -bool PythonQtShell_QMainWindow::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMainWindow::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QMainWindow::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QMainWindow::focusInEvent(arg__1); -} -bool PythonQtShell_QMainWindow::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMainWindow::focusNextPrevChild(next); -} -void PythonQtShell_QMainWindow::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QMainWindow::focusOutEvent(arg__1); -} -int PythonQtShell_QMainWindow::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMainWindow::heightForWidth(arg__1); -} -void PythonQtShell_QMainWindow::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QMainWindow::hideEvent(arg__1); -} -void PythonQtShell_QMainWindow::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QMainWindow::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QMainWindow::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMainWindow::inputMethodQuery(arg__1); -} -void PythonQtShell_QMainWindow::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMainWindow::keyPressEvent(arg__1); -} -void PythonQtShell_QMainWindow::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMainWindow::keyReleaseEvent(arg__1); -} -void PythonQtShell_QMainWindow::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMainWindow::languageChange(); -} -void PythonQtShell_QMainWindow::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QMainWindow::leaveEvent(arg__1); -} -int PythonQtShell_QMainWindow::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMainWindow::metric(arg__1); -} -QSize PythonQtShell_QMainWindow::minimumSizeHint() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMainWindow::minimumSizeHint(); -} -void PythonQtShell_QMainWindow::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QMainWindow::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QMainWindow::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QMainWindow::mouseMoveEvent(arg__1); -} -void PythonQtShell_QMainWindow::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QMainWindow::mousePressEvent(arg__1); -} -void PythonQtShell_QMainWindow::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QMainWindow::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QMainWindow::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMainWindow::moveEvent(arg__1); -} -QPaintEngine* PythonQtShell_QMainWindow::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMainWindow::paintEngine(); -} -void PythonQtShell_QMainWindow::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - 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; - } -} - QMainWindow::paintEvent(arg__1); -} -void PythonQtShell_QMainWindow::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - 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; - } -} - QMainWindow::resizeEvent(arg__1); -} -void PythonQtShell_QMainWindow::showEvent(QShowEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QMainWindow::showEvent(arg__1); -} -QSize PythonQtShell_QMainWindow::sizeHint() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getSizeHint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMainWindow::sizeHint(); -} -void PythonQtShell_QMainWindow::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QMainWindow::tabletEvent(arg__1); -} -void PythonQtShell_QMainWindow::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; - } -} - QMainWindow::timerEvent(arg__1); -} -void PythonQtShell_QMainWindow::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMainWindow::wheelEvent(arg__1); -} -QMainWindow* PythonQtWrapper_QMainWindow::new_QMainWindow(QWidget* parent, Qt::WindowFlags flags) -{ -return new PythonQtShell_QMainWindow(parent, flags); } - -QToolBar* PythonQtWrapper_QMainWindow::addToolBar(QMainWindow* theWrappedObject, const QString& title) -{ - return ( theWrappedObject->addToolBar(title)); -} - -QWidget* PythonQtWrapper_QMainWindow::menuWidget(QMainWindow* theWrappedObject) const -{ - return ( theWrappedObject->menuWidget()); -} - -QMainWindow::DockOptions PythonQtWrapper_QMainWindow::dockOptions(QMainWindow* theWrappedObject) const -{ - return ( theWrappedObject->dockOptions()); -} - -QSize PythonQtWrapper_QMainWindow::iconSize(QMainWindow* theWrappedObject) const -{ - return ( theWrappedObject->iconSize()); -} - -void PythonQtWrapper_QMainWindow::setCorner(QMainWindow* theWrappedObject, Qt::Corner corner, Qt::DockWidgetArea area) -{ - ( theWrappedObject->setCorner(corner, area)); -} - -void PythonQtWrapper_QMainWindow::contextMenuEvent(QMainWindow* theWrappedObject, QContextMenuEvent* event) -{ - ( ((PythonQtPublicPromoter_QMainWindow*)theWrappedObject)->promoted_contextMenuEvent(event)); -} - -void PythonQtWrapper_QMainWindow::setMenuBar(QMainWindow* theWrappedObject, QMenuBar* menubar) -{ - ( theWrappedObject->setMenuBar(menubar)); -} - -void PythonQtWrapper_QMainWindow::addToolBar(QMainWindow* theWrappedObject, QToolBar* toolbar) -{ - ( theWrappedObject->addToolBar(toolbar)); -} - -bool PythonQtWrapper_QMainWindow::toolBarBreak(QMainWindow* theWrappedObject, QToolBar* toolbar) const -{ - return ( theWrappedObject->toolBarBreak(toolbar)); -} - -QStatusBar* PythonQtWrapper_QMainWindow::statusBar(QMainWindow* theWrappedObject) const -{ - return ( theWrappedObject->statusBar()); -} - -bool PythonQtWrapper_QMainWindow::isSeparator(QMainWindow* theWrappedObject, const QPoint& pos) const -{ - return ( theWrappedObject->isSeparator(pos)); -} - -void PythonQtWrapper_QMainWindow::addDockWidget(QMainWindow* theWrappedObject, Qt::DockWidgetArea area, QDockWidget* dockwidget) -{ - ( theWrappedObject->addDockWidget(area, dockwidget)); -} - -void PythonQtWrapper_QMainWindow::addToolBarBreak(QMainWindow* theWrappedObject, Qt::ToolBarArea area) -{ - ( theWrappedObject->addToolBarBreak(area)); -} - -QWidget* PythonQtWrapper_QMainWindow::centralWidget(QMainWindow* theWrappedObject) const -{ - return ( theWrappedObject->centralWidget()); -} - -void PythonQtWrapper_QMainWindow::setCentralWidget(QMainWindow* theWrappedObject, QWidget* widget) -{ - ( theWrappedObject->setCentralWidget(widget)); -} - -bool PythonQtWrapper_QMainWindow::isDockNestingEnabled(QMainWindow* theWrappedObject) const -{ - return ( theWrappedObject->isDockNestingEnabled()); -} - -void PythonQtWrapper_QMainWindow::removeDockWidget(QMainWindow* theWrappedObject, QDockWidget* dockwidget) -{ - ( theWrappedObject->removeDockWidget(dockwidget)); -} - -void PythonQtWrapper_QMainWindow::removeToolBar(QMainWindow* theWrappedObject, QToolBar* toolbar) -{ - ( theWrappedObject->removeToolBar(toolbar)); -} - -QByteArray PythonQtWrapper_QMainWindow::saveState(QMainWindow* theWrappedObject, int version) const -{ - return ( theWrappedObject->saveState(version)); -} - -bool PythonQtWrapper_QMainWindow::restoreState(QMainWindow* theWrappedObject, const QByteArray& state, int version) -{ - return ( theWrappedObject->restoreState(state, version)); -} - -void PythonQtWrapper_QMainWindow::setMenuWidget(QMainWindow* theWrappedObject, QWidget* menubar) -{ - ( theWrappedObject->setMenuWidget(menubar)); -} - -bool PythonQtWrapper_QMainWindow::unifiedTitleAndToolBarOnMac(QMainWindow* theWrappedObject) const -{ - return ( theWrappedObject->unifiedTitleAndToolBarOnMac()); -} - -void PythonQtWrapper_QMainWindow::insertToolBar(QMainWindow* theWrappedObject, QToolBar* before, QToolBar* toolbar) -{ - ( theWrappedObject->insertToolBar(before, toolbar)); -} - -bool PythonQtWrapper_QMainWindow::isAnimated(QMainWindow* theWrappedObject) const -{ - return ( theWrappedObject->isAnimated()); -} - -void PythonQtWrapper_QMainWindow::setToolButtonStyle(QMainWindow* theWrappedObject, Qt::ToolButtonStyle toolButtonStyle) -{ - ( theWrappedObject->setToolButtonStyle(toolButtonStyle)); -} - -Qt::DockWidgetArea PythonQtWrapper_QMainWindow::dockWidgetArea(QMainWindow* theWrappedObject, QDockWidget* dockwidget) const -{ - return ( theWrappedObject->dockWidgetArea(dockwidget)); -} - -void PythonQtWrapper_QMainWindow::setDockOptions(QMainWindow* theWrappedObject, QMainWindow::DockOptions options) -{ - ( theWrappedObject->setDockOptions(options)); -} - -void PythonQtWrapper_QMainWindow::setIconSize(QMainWindow* theWrappedObject, const QSize& iconSize) -{ - ( theWrappedObject->setIconSize(iconSize)); -} - -void PythonQtWrapper_QMainWindow::splitDockWidget(QMainWindow* theWrappedObject, QDockWidget* after, QDockWidget* dockwidget, Qt::Orientation orientation) -{ - ( theWrappedObject->splitDockWidget(after, dockwidget, orientation)); -} - -bool PythonQtWrapper_QMainWindow::event(QMainWindow* theWrappedObject, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QMainWindow*)theWrappedObject)->promoted_event(event)); -} - -void PythonQtWrapper_QMainWindow::setStatusBar(QMainWindow* theWrappedObject, QStatusBar* statusbar) -{ - ( theWrappedObject->setStatusBar(statusbar)); -} - -QMenu* PythonQtWrapper_QMainWindow::createPopupMenu(QMainWindow* theWrappedObject) -{ - return ( ((PythonQtPublicPromoter_QMainWindow*)theWrappedObject)->promoted_createPopupMenu()); -} - -Qt::DockWidgetArea PythonQtWrapper_QMainWindow::corner(QMainWindow* theWrappedObject, Qt::Corner corner) const -{ - return ( theWrappedObject->corner(corner)); -} - -QMenuBar* PythonQtWrapper_QMainWindow::menuBar(QMainWindow* theWrappedObject) const -{ - return ( theWrappedObject->menuBar()); -} - -void PythonQtWrapper_QMainWindow::removeToolBarBreak(QMainWindow* theWrappedObject, QToolBar* before) -{ - ( theWrappedObject->removeToolBarBreak(before)); -} - -bool PythonQtWrapper_QMainWindow::restoreDockWidget(QMainWindow* theWrappedObject, QDockWidget* dockwidget) -{ - return ( theWrappedObject->restoreDockWidget(dockwidget)); -} - -void PythonQtWrapper_QMainWindow::tabifyDockWidget(QMainWindow* theWrappedObject, QDockWidget* first, QDockWidget* second) -{ - ( theWrappedObject->tabifyDockWidget(first, second)); -} - -Qt::ToolButtonStyle PythonQtWrapper_QMainWindow::toolButtonStyle(QMainWindow* theWrappedObject) const -{ - return ( theWrappedObject->toolButtonStyle()); -} - -void PythonQtWrapper_QMainWindow::addDockWidget(QMainWindow* theWrappedObject, Qt::DockWidgetArea area, QDockWidget* dockwidget, Qt::Orientation orientation) -{ - ( theWrappedObject->addDockWidget(area, dockwidget, orientation)); -} - -void PythonQtWrapper_QMainWindow::addToolBar(QMainWindow* theWrappedObject, Qt::ToolBarArea area, QToolBar* toolbar) -{ - ( theWrappedObject->addToolBar(area, toolbar)); -} - -void PythonQtWrapper_QMainWindow::insertToolBarBreak(QMainWindow* theWrappedObject, QToolBar* before) -{ - ( theWrappedObject->insertToolBarBreak(before)); -} - -void PythonQtWrapper_QMainWindow::setUnifiedTitleAndToolBarOnMac(QMainWindow* theWrappedObject, bool set) -{ - ( theWrappedObject->setUnifiedTitleAndToolBarOnMac(set)); -} - -Qt::ToolBarArea PythonQtWrapper_QMainWindow::toolBarArea(QMainWindow* theWrappedObject, QToolBar* toolbar) const -{ - return ( theWrappedObject->toolBarArea(toolbar)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMainWindow.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMainWindow.h deleted file mode 100644 index 45787a3..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMainWindow.h +++ /dev/null @@ -1,150 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QMAINWINDOW_H -#define PYTHONQTWRAPPER_QMAINWINDOW_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QMainWindow : public QMainWindow -{ -public: - PythonQtShell_QMainWindow(QWidget* parent = 0, Qt::WindowFlags flags = 0):QMainWindow(parent, flags),_wrapper(NULL) {}; - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual QMenu* createPopupMenu(); -virtual void customEvent(QEvent* arg__1); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* arg__1); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QMainWindow : public QMainWindow -{ public: -inline void promoted_contextMenuEvent(QContextMenuEvent* event) { QMainWindow::contextMenuEvent(event); } -inline bool promoted_event(QEvent* event) { return QMainWindow::event(event); } -inline QMenu* promoted_createPopupMenu() { return QMainWindow::createPopupMenu(); } -}; - -class PythonQtWrapper_QMainWindow : public QObject -{ Q_OBJECT -public: -public slots: -QMainWindow* new_QMainWindow(QWidget* parent = 0, Qt::WindowFlags flags = 0); -void delete_QMainWindow(QMainWindow* obj) { delete obj; } - QToolBar* addToolBar(QMainWindow* theWrappedObject, const QString& title); - QWidget* menuWidget(QMainWindow* theWrappedObject) const; - QMainWindow::DockOptions dockOptions(QMainWindow* theWrappedObject) const; - QSize iconSize(QMainWindow* theWrappedObject) const; - void setCorner(QMainWindow* theWrappedObject, Qt::Corner corner, Qt::DockWidgetArea area); - void contextMenuEvent(QMainWindow* theWrappedObject, QContextMenuEvent* event); - void setMenuBar(QMainWindow* theWrappedObject, QMenuBar* menubar); - void addToolBar(QMainWindow* theWrappedObject, QToolBar* toolbar); - bool toolBarBreak(QMainWindow* theWrappedObject, QToolBar* toolbar) const; - QStatusBar* statusBar(QMainWindow* theWrappedObject) const; - bool isSeparator(QMainWindow* theWrappedObject, const QPoint& pos) const; - void addDockWidget(QMainWindow* theWrappedObject, Qt::DockWidgetArea area, QDockWidget* dockwidget); - void addToolBarBreak(QMainWindow* theWrappedObject, Qt::ToolBarArea area = Qt::TopToolBarArea); - QWidget* centralWidget(QMainWindow* theWrappedObject) const; - void setCentralWidget(QMainWindow* theWrappedObject, QWidget* widget); - bool isDockNestingEnabled(QMainWindow* theWrappedObject) const; - void removeDockWidget(QMainWindow* theWrappedObject, QDockWidget* dockwidget); - void removeToolBar(QMainWindow* theWrappedObject, QToolBar* toolbar); - QByteArray saveState(QMainWindow* theWrappedObject, int version = 0) const; - bool restoreState(QMainWindow* theWrappedObject, const QByteArray& state, int version = 0); - void setMenuWidget(QMainWindow* theWrappedObject, QWidget* menubar); - bool unifiedTitleAndToolBarOnMac(QMainWindow* theWrappedObject) const; - void insertToolBar(QMainWindow* theWrappedObject, QToolBar* before, QToolBar* toolbar); - bool isAnimated(QMainWindow* theWrappedObject) const; - void setToolButtonStyle(QMainWindow* theWrappedObject, Qt::ToolButtonStyle toolButtonStyle); - Qt::DockWidgetArea dockWidgetArea(QMainWindow* theWrappedObject, QDockWidget* dockwidget) const; - void setDockOptions(QMainWindow* theWrappedObject, QMainWindow::DockOptions options); - void setIconSize(QMainWindow* theWrappedObject, const QSize& iconSize); - void splitDockWidget(QMainWindow* theWrappedObject, QDockWidget* after, QDockWidget* dockwidget, Qt::Orientation orientation); - bool event(QMainWindow* theWrappedObject, QEvent* event); - void setStatusBar(QMainWindow* theWrappedObject, QStatusBar* statusbar); - QMenu* createPopupMenu(QMainWindow* theWrappedObject); - Qt::DockWidgetArea corner(QMainWindow* theWrappedObject, Qt::Corner corner) const; - QMenuBar* menuBar(QMainWindow* theWrappedObject) const; - void removeToolBarBreak(QMainWindow* theWrappedObject, QToolBar* before); - bool restoreDockWidget(QMainWindow* theWrappedObject, QDockWidget* dockwidget); - void tabifyDockWidget(QMainWindow* theWrappedObject, QDockWidget* first, QDockWidget* second); - Qt::ToolButtonStyle toolButtonStyle(QMainWindow* theWrappedObject) const; - void addDockWidget(QMainWindow* theWrappedObject, Qt::DockWidgetArea area, QDockWidget* dockwidget, Qt::Orientation orientation); - void addToolBar(QMainWindow* theWrappedObject, Qt::ToolBarArea area, QToolBar* toolbar); - void insertToolBarBreak(QMainWindow* theWrappedObject, QToolBar* before); - void setUnifiedTitleAndToolBarOnMac(QMainWindow* theWrappedObject, bool set); - Qt::ToolBarArea toolBarArea(QMainWindow* theWrappedObject, QToolBar* toolbar) const; -}; - -#endif // PYTHONQTWRAPPER_QMAINWINDOW_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMatrix.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMatrix.cpp deleted file mode 100644 index aeec970..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMatrix.cpp +++ /dev/null @@ -1,195 +0,0 @@ -#include "PythonQtWrapper_QMatrix.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QMatrix* PythonQtWrapper_QMatrix::new_QMatrix() -{ -return new QMatrix(); } - -QMatrix* PythonQtWrapper_QMatrix::new_QMatrix(const QMatrix& matrix) -{ -return new QMatrix(matrix); } - -QMatrix* PythonQtWrapper_QMatrix::new_QMatrix(qreal m11, qreal m12, qreal m21, qreal m22, qreal dx, qreal dy) -{ -return new QMatrix(m11, m12, m21, m22, dx, dy); } - -bool PythonQtWrapper_QMatrix::isInvertible(QMatrix* theWrappedObject) const -{ - return ( theWrappedObject->isInvertible()); -} - -QMatrix* PythonQtWrapper_QMatrix::operator_multiply_assign(QMatrix* theWrappedObject, const QMatrix& arg__1) -{ - return &( (*theWrappedObject)*= arg__1); -} - -void PythonQtWrapper_QMatrix::writeTo(QMatrix* theWrappedObject, QDataStream& arg__1) -{ - arg__1 << (*theWrappedObject); -} - -QMatrix PythonQtWrapper_QMatrix::inverted(QMatrix* theWrappedObject, bool* invertible) const -{ - return ( theWrappedObject->inverted(invertible)); -} - -qreal PythonQtWrapper_QMatrix::dx(QMatrix* theWrappedObject) const -{ - return ( theWrappedObject->dx()); -} - -QMatrix* PythonQtWrapper_QMatrix::rotate(QMatrix* theWrappedObject, qreal a) -{ - return &( theWrappedObject->rotate(a)); -} - -void PythonQtWrapper_QMatrix::setMatrix(QMatrix* theWrappedObject, qreal m11, qreal m12, qreal m21, qreal m22, qreal dx, qreal dy) -{ - ( theWrappedObject->setMatrix(m11, m12, m21, m22, dx, dy)); -} - -QMatrix* PythonQtWrapper_QMatrix::translate(QMatrix* theWrappedObject, qreal dx, qreal dy) -{ - return &( theWrappedObject->translate(dx, dy)); -} - -qreal PythonQtWrapper_QMatrix::det(QMatrix* theWrappedObject) const -{ - return ( theWrappedObject->det()); -} - -QMatrix PythonQtWrapper_QMatrix::operator_multiply(QMatrix* theWrappedObject, const QMatrix& o) const -{ - return ( (*theWrappedObject)* o); -} - -QRegion PythonQtWrapper_QMatrix::map(QMatrix* theWrappedObject, const QRegion& r) const -{ - return ( theWrappedObject->map(r)); -} - -qreal PythonQtWrapper_QMatrix::m12(QMatrix* theWrappedObject) const -{ - return ( theWrappedObject->m12()); -} - -QMatrix* PythonQtWrapper_QMatrix::scale(QMatrix* theWrappedObject, qreal sx, qreal sy) -{ - return &( theWrappedObject->scale(sx, sy)); -} - -QPolygon PythonQtWrapper_QMatrix::map(QMatrix* theWrappedObject, const QPolygon& a) const -{ - return ( theWrappedObject->map(a)); -} - -void PythonQtWrapper_QMatrix::readFrom(QMatrix* theWrappedObject, QDataStream& arg__1) -{ - arg__1 >> (*theWrappedObject); -} - -QRectF PythonQtWrapper_QMatrix::mapRect(QMatrix* theWrappedObject, const QRectF& arg__1) const -{ - return ( theWrappedObject->mapRect(arg__1)); -} - -bool PythonQtWrapper_QMatrix::isIdentity(QMatrix* theWrappedObject) const -{ - return ( theWrappedObject->isIdentity()); -} - -QPoint PythonQtWrapper_QMatrix::map(QMatrix* theWrappedObject, const QPoint& p) const -{ - return ( theWrappedObject->map(p)); -} - -QPolygon PythonQtWrapper_QMatrix::mapToPolygon(QMatrix* theWrappedObject, const QRect& r) const -{ - return ( theWrappedObject->mapToPolygon(r)); -} - -QPointF PythonQtWrapper_QMatrix::map(QMatrix* theWrappedObject, const QPointF& p) const -{ - return ( theWrappedObject->map(p)); -} - -bool PythonQtWrapper_QMatrix::operator_equal(QMatrix* theWrappedObject, const QMatrix& arg__1) const -{ - return ( (*theWrappedObject)== arg__1); -} - -qreal PythonQtWrapper_QMatrix::m21(QMatrix* theWrappedObject) const -{ - return ( theWrappedObject->m21()); -} - -QRect PythonQtWrapper_QMatrix::mapRect(QMatrix* theWrappedObject, const QRect& arg__1) const -{ - return ( theWrappedObject->mapRect(arg__1)); -} - -void PythonQtWrapper_QMatrix::reset(QMatrix* theWrappedObject) -{ - ( theWrappedObject->reset()); -} - -QMatrix* PythonQtWrapper_QMatrix::shear(QMatrix* theWrappedObject, qreal sh, qreal sv) -{ - return &( theWrappedObject->shear(sh, sv)); -} - -qreal PythonQtWrapper_QMatrix::m11(QMatrix* theWrappedObject) const -{ - return ( theWrappedObject->m11()); -} - -QLineF PythonQtWrapper_QMatrix::map(QMatrix* theWrappedObject, const QLineF& l) const -{ - return ( theWrappedObject->map(l)); -} - -QPolygonF PythonQtWrapper_QMatrix::map(QMatrix* theWrappedObject, const QPolygonF& a) const -{ - return ( theWrappedObject->map(a)); -} - -QPainterPath PythonQtWrapper_QMatrix::map(QMatrix* theWrappedObject, const QPainterPath& p) const -{ - return ( theWrappedObject->map(p)); -} - -qreal PythonQtWrapper_QMatrix::dy(QMatrix* theWrappedObject) const -{ - return ( theWrappedObject->dy()); -} - -QLine PythonQtWrapper_QMatrix::map(QMatrix* theWrappedObject, const QLine& l) const -{ - return ( theWrappedObject->map(l)); -} - -qreal PythonQtWrapper_QMatrix::m22(QMatrix* theWrappedObject) const -{ - return ( theWrappedObject->m22()); -} - -QString PythonQtWrapper_QMatrix::toString(QMatrix* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMatrix.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMatrix.h deleted file mode 100644 index f4f31b0..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMatrix.h +++ /dev/null @@ -1,63 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QMATRIX_H -#define PYTHONQTWRAPPER_QMATRIX_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtWrapper_QMatrix : public QObject -{ Q_OBJECT -public: -public slots: -QMatrix* new_QMatrix(); -QMatrix* new_QMatrix(const QMatrix& matrix); -QMatrix* new_QMatrix(qreal m11, qreal m12, qreal m21, qreal m22, qreal dx, qreal dy); -void delete_QMatrix(QMatrix* obj) { delete obj; } - bool isInvertible(QMatrix* theWrappedObject) const; - QMatrix* operator_multiply_assign(QMatrix* theWrappedObject, const QMatrix& arg__1); - void writeTo(QMatrix* theWrappedObject, QDataStream& arg__1); - QMatrix inverted(QMatrix* theWrappedObject, bool* invertible = 0) const; - qreal dx(QMatrix* theWrappedObject) const; - QMatrix* rotate(QMatrix* theWrappedObject, qreal a); - void setMatrix(QMatrix* theWrappedObject, qreal m11, qreal m12, qreal m21, qreal m22, qreal dx, qreal dy); - QMatrix* translate(QMatrix* theWrappedObject, qreal dx, qreal dy); - qreal det(QMatrix* theWrappedObject) const; - QMatrix operator_multiply(QMatrix* theWrappedObject, const QMatrix& o) const; - QRegion map(QMatrix* theWrappedObject, const QRegion& r) const; - qreal m12(QMatrix* theWrappedObject) const; - QMatrix* scale(QMatrix* theWrappedObject, qreal sx, qreal sy); - QPolygon map(QMatrix* theWrappedObject, const QPolygon& a) const; - void readFrom(QMatrix* theWrappedObject, QDataStream& arg__1); - QRectF mapRect(QMatrix* theWrappedObject, const QRectF& arg__1) const; - bool isIdentity(QMatrix* theWrappedObject) const; - QPoint map(QMatrix* theWrappedObject, const QPoint& p) const; - QPolygon mapToPolygon(QMatrix* theWrappedObject, const QRect& r) const; - QPointF map(QMatrix* theWrappedObject, const QPointF& p) const; - bool operator_equal(QMatrix* theWrappedObject, const QMatrix& arg__1) const; - qreal m21(QMatrix* theWrappedObject) const; - QRect mapRect(QMatrix* theWrappedObject, const QRect& arg__1) const; - void reset(QMatrix* theWrappedObject); - QMatrix* shear(QMatrix* theWrappedObject, qreal sh, qreal sv); - qreal m11(QMatrix* theWrappedObject) const; - QLineF map(QMatrix* theWrappedObject, const QLineF& l) const; - QPolygonF map(QMatrix* theWrappedObject, const QPolygonF& a) const; - QPainterPath map(QMatrix* theWrappedObject, const QPainterPath& p) const; - qreal dy(QMatrix* theWrappedObject) const; - QLine map(QMatrix* theWrappedObject, const QLine& l) const; - qreal m22(QMatrix* theWrappedObject) const; - QString toString(QMatrix*); -}; - -#endif // PYTHONQTWRAPPER_QMATRIX_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMdiArea.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMdiArea.cpp deleted file mode 100644 index a2c7dc1..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMdiArea.cpp +++ /dev/null @@ -1,959 +0,0 @@ -#include "PythonQtWrapper_QMdiArea.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QMdiArea::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QMdiArea::actionEvent(arg__1); -} -void PythonQtShell_QMdiArea::changeEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMdiArea::changeEvent(arg__1); -} -void PythonQtShell_QMdiArea::childEvent(QChildEvent* childEvent) -{ -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*)&childEvent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMdiArea::childEvent(childEvent); -} -void PythonQtShell_QMdiArea::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QMdiArea::closeEvent(arg__1); -} -void PythonQtShell_QMdiArea::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMdiArea::contextMenuEvent(arg__1); -} -void PythonQtShell_QMdiArea::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; - } -} - QMdiArea::customEvent(arg__1); -} -int PythonQtShell_QMdiArea::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMdiArea::devType(); -} -void PythonQtShell_QMdiArea::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QMdiArea::dragEnterEvent(arg__1); -} -void PythonQtShell_QMdiArea::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QMdiArea::dragLeaveEvent(arg__1); -} -void PythonQtShell_QMdiArea::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QMdiArea::dragMoveEvent(arg__1); -} -void PythonQtShell_QMdiArea::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QMdiArea::dropEvent(arg__1); -} -void PythonQtShell_QMdiArea::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QMdiArea::enterEvent(arg__1); -} -bool PythonQtShell_QMdiArea::event(QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMdiArea::event(event); -} -bool PythonQtShell_QMdiArea::eventFilter(QObject* object, QEvent* event) -{ -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*)&object, (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("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMdiArea::eventFilter(object, event); -} -void PythonQtShell_QMdiArea::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QMdiArea::focusInEvent(arg__1); -} -bool PythonQtShell_QMdiArea::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMdiArea::focusNextPrevChild(next); -} -void PythonQtShell_QMdiArea::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QMdiArea::focusOutEvent(arg__1); -} -int PythonQtShell_QMdiArea::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMdiArea::heightForWidth(arg__1); -} -void PythonQtShell_QMdiArea::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QMdiArea::hideEvent(arg__1); -} -void PythonQtShell_QMdiArea::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QMdiArea::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QMdiArea::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMdiArea::inputMethodQuery(arg__1); -} -void PythonQtShell_QMdiArea::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMdiArea::keyPressEvent(arg__1); -} -void PythonQtShell_QMdiArea::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMdiArea::keyReleaseEvent(arg__1); -} -void PythonQtShell_QMdiArea::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMdiArea::languageChange(); -} -void PythonQtShell_QMdiArea::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QMdiArea::leaveEvent(arg__1); -} -int PythonQtShell_QMdiArea::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMdiArea::metric(arg__1); -} -void PythonQtShell_QMdiArea::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QMdiArea::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QMdiArea::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QMdiArea::mouseMoveEvent(arg__1); -} -void PythonQtShell_QMdiArea::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QMdiArea::mousePressEvent(arg__1); -} -void PythonQtShell_QMdiArea::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QMdiArea::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QMdiArea::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMdiArea::moveEvent(arg__1); -} -QPaintEngine* PythonQtShell_QMdiArea::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMdiArea::paintEngine(); -} -void PythonQtShell_QMdiArea::paintEvent(QPaintEvent* paintEvent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&paintEvent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMdiArea::paintEvent(paintEvent); -} -void PythonQtShell_QMdiArea::resizeEvent(QResizeEvent* resizeEvent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&resizeEvent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMdiArea::resizeEvent(resizeEvent); -} -void PythonQtShell_QMdiArea::scrollContentsBy(int dx, int dy) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "scrollContentsBy"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&dx, (void*)&dy}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMdiArea::scrollContentsBy(dx, dy); -} -void PythonQtShell_QMdiArea::showEvent(QShowEvent* showEvent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&showEvent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMdiArea::showEvent(showEvent); -} -void PythonQtShell_QMdiArea::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QMdiArea::tabletEvent(arg__1); -} -void PythonQtShell_QMdiArea::timerEvent(QTimerEvent* timerEvent) -{ -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*)&timerEvent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMdiArea::timerEvent(timerEvent); -} -bool PythonQtShell_QMdiArea::viewportEvent(QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "viewportEvent"); - 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("viewportEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMdiArea::viewportEvent(event); -} -void PythonQtShell_QMdiArea::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMdiArea::wheelEvent(arg__1); -} -QMdiArea* PythonQtWrapper_QMdiArea::new_QMdiArea(QWidget* parent) -{ -return new PythonQtShell_QMdiArea(parent); } - -void PythonQtWrapper_QMdiArea::setTabPosition(QMdiArea* theWrappedObject, QTabWidget::TabPosition position) -{ - ( theWrappedObject->setTabPosition(position)); -} - -bool PythonQtWrapper_QMdiArea::eventFilter(QMdiArea* theWrappedObject, QObject* object, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->promoted_eventFilter(object, event)); -} - -void PythonQtWrapper_QMdiArea::paintEvent(QMdiArea* theWrappedObject, QPaintEvent* paintEvent) -{ - ( ((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->promoted_paintEvent(paintEvent)); -} - -void PythonQtWrapper_QMdiArea::setViewMode(QMdiArea* theWrappedObject, QMdiArea::ViewMode mode) -{ - ( theWrappedObject->setViewMode(mode)); -} - -QSize PythonQtWrapper_QMdiArea::minimumSizeHint(QMdiArea* theWrappedObject) const -{ - return ( theWrappedObject->minimumSizeHint()); -} - -void PythonQtWrapper_QMdiArea::scrollContentsBy(QMdiArea* theWrappedObject, int dx, int dy) -{ - ( ((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->promoted_scrollContentsBy(dx, dy)); -} - -bool PythonQtWrapper_QMdiArea::event(QMdiArea* theWrappedObject, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->promoted_event(event)); -} - -QList PythonQtWrapper_QMdiArea::subWindowList(QMdiArea* theWrappedObject, QMdiArea::WindowOrder order) const -{ - return ( theWrappedObject->subWindowList(order)); -} - -QTabWidget::TabShape PythonQtWrapper_QMdiArea::tabShape(QMdiArea* theWrappedObject) const -{ - return ( theWrappedObject->tabShape()); -} - -QSize PythonQtWrapper_QMdiArea::sizeHint(QMdiArea* theWrappedObject) const -{ - return ( theWrappedObject->sizeHint()); -} - -bool PythonQtWrapper_QMdiArea::viewportEvent(QMdiArea* theWrappedObject, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->promoted_viewportEvent(event)); -} - -void PythonQtWrapper_QMdiArea::setActivationOrder(QMdiArea* theWrappedObject, QMdiArea::WindowOrder order) -{ - ( theWrappedObject->setActivationOrder(order)); -} - -QMdiSubWindow* PythonQtWrapper_QMdiArea::addSubWindow(QMdiArea* theWrappedObject, QWidget* widget, Qt::WindowFlags flags) -{ - return ( theWrappedObject->addSubWindow(widget, flags)); -} - -void PythonQtWrapper_QMdiArea::setBackground(QMdiArea* theWrappedObject, const QBrush& background) -{ - ( theWrappedObject->setBackground(background)); -} - -QMdiArea::ViewMode PythonQtWrapper_QMdiArea::viewMode(QMdiArea* theWrappedObject) const -{ - return ( theWrappedObject->viewMode()); -} - -QMdiArea::WindowOrder PythonQtWrapper_QMdiArea::activationOrder(QMdiArea* theWrappedObject) const -{ - return ( theWrappedObject->activationOrder()); -} - -void PythonQtWrapper_QMdiArea::resizeEvent(QMdiArea* theWrappedObject, QResizeEvent* resizeEvent) -{ - ( ((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->promoted_resizeEvent(resizeEvent)); -} - -QMdiSubWindow* PythonQtWrapper_QMdiArea::currentSubWindow(QMdiArea* theWrappedObject) const -{ - return ( theWrappedObject->currentSubWindow()); -} - -void PythonQtWrapper_QMdiArea::setTabShape(QMdiArea* theWrappedObject, QTabWidget::TabShape shape) -{ - ( theWrappedObject->setTabShape(shape)); -} - -void PythonQtWrapper_QMdiArea::showEvent(QMdiArea* theWrappedObject, QShowEvent* showEvent) -{ - ( ((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->promoted_showEvent(showEvent)); -} - -QMdiSubWindow* PythonQtWrapper_QMdiArea::activeSubWindow(QMdiArea* theWrappedObject) const -{ - return ( theWrappedObject->activeSubWindow()); -} - -void PythonQtWrapper_QMdiArea::setOption(QMdiArea* theWrappedObject, QMdiArea::AreaOption option, bool on) -{ - ( theWrappedObject->setOption(option, on)); -} - -QBrush PythonQtWrapper_QMdiArea::background(QMdiArea* theWrappedObject) const -{ - return ( theWrappedObject->background()); -} - -void PythonQtWrapper_QMdiArea::removeSubWindow(QMdiArea* theWrappedObject, QWidget* widget) -{ - ( theWrappedObject->removeSubWindow(widget)); -} - -void PythonQtWrapper_QMdiArea::childEvent(QMdiArea* theWrappedObject, QChildEvent* childEvent) -{ - ( ((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->promoted_childEvent(childEvent)); -} - -QTabWidget::TabPosition PythonQtWrapper_QMdiArea::tabPosition(QMdiArea* theWrappedObject) const -{ - return ( theWrappedObject->tabPosition()); -} - -bool PythonQtWrapper_QMdiArea::testOption(QMdiArea* theWrappedObject, QMdiArea::AreaOption opton) const -{ - return ( theWrappedObject->testOption(opton)); -} - -void PythonQtWrapper_QMdiArea::timerEvent(QMdiArea* theWrappedObject, QTimerEvent* timerEvent) -{ - ( ((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->promoted_timerEvent(timerEvent)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMdiArea.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMdiArea.h deleted file mode 100644 index b875c75..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMdiArea.h +++ /dev/null @@ -1,143 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QMDIAREA_H -#define PYTHONQTWRAPPER_QMDIAREA_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QMdiArea : public QMdiArea -{ -public: - PythonQtShell_QMdiArea(QWidget* parent = 0):QMdiArea(parent),_wrapper(NULL) {}; - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* childEvent); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* object, QEvent* event); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* arg__1); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* paintEvent); -virtual void resizeEvent(QResizeEvent* resizeEvent); -virtual void scrollContentsBy(int dx, int dy); -virtual void showEvent(QShowEvent* showEvent); -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* timerEvent); -virtual bool viewportEvent(QEvent* event); -virtual void wheelEvent(QWheelEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QMdiArea : public QMdiArea -{ public: -inline bool promoted_eventFilter(QObject* object, QEvent* event) { return QMdiArea::eventFilter(object, event); } -inline void promoted_paintEvent(QPaintEvent* paintEvent) { QMdiArea::paintEvent(paintEvent); } -inline void promoted_scrollContentsBy(int dx, int dy) { QMdiArea::scrollContentsBy(dx, dy); } -inline bool promoted_event(QEvent* event) { return QMdiArea::event(event); } -inline bool promoted_viewportEvent(QEvent* event) { return QMdiArea::viewportEvent(event); } -inline void promoted_resizeEvent(QResizeEvent* resizeEvent) { QMdiArea::resizeEvent(resizeEvent); } -inline void promoted_showEvent(QShowEvent* showEvent) { QMdiArea::showEvent(showEvent); } -inline void promoted_childEvent(QChildEvent* childEvent) { QMdiArea::childEvent(childEvent); } -inline void promoted_timerEvent(QTimerEvent* timerEvent) { QMdiArea::timerEvent(timerEvent); } -}; - -class PythonQtWrapper_QMdiArea : public QObject -{ Q_OBJECT -public: -Q_ENUMS(AreaOption ) -Q_FLAGS(AreaOptions ) -enum AreaOption{ - DontMaximizeSubWindowOnActivation = QMdiArea::DontMaximizeSubWindowOnActivation}; -Q_DECLARE_FLAGS(AreaOptions, AreaOption) -public slots: -QMdiArea* new_QMdiArea(QWidget* parent = 0); -void delete_QMdiArea(QMdiArea* obj) { delete obj; } - void setTabPosition(QMdiArea* theWrappedObject, QTabWidget::TabPosition position); - bool eventFilter(QMdiArea* theWrappedObject, QObject* object, QEvent* event); - void paintEvent(QMdiArea* theWrappedObject, QPaintEvent* paintEvent); - void setViewMode(QMdiArea* theWrappedObject, QMdiArea::ViewMode mode); - QSize minimumSizeHint(QMdiArea* theWrappedObject) const; - void scrollContentsBy(QMdiArea* theWrappedObject, int dx, int dy); - bool event(QMdiArea* theWrappedObject, QEvent* event); - QList subWindowList(QMdiArea* theWrappedObject, QMdiArea::WindowOrder order = QMdiArea::CreationOrder) const; - QTabWidget::TabShape tabShape(QMdiArea* theWrappedObject) const; - QSize sizeHint(QMdiArea* theWrappedObject) const; - bool viewportEvent(QMdiArea* theWrappedObject, QEvent* event); - void setActivationOrder(QMdiArea* theWrappedObject, QMdiArea::WindowOrder order); - QMdiSubWindow* addSubWindow(QMdiArea* theWrappedObject, QWidget* widget, Qt::WindowFlags flags = 0); - void setBackground(QMdiArea* theWrappedObject, const QBrush& background); - QMdiArea::ViewMode viewMode(QMdiArea* theWrappedObject) const; - QMdiArea::WindowOrder activationOrder(QMdiArea* theWrappedObject) const; - void resizeEvent(QMdiArea* theWrappedObject, QResizeEvent* resizeEvent); - QMdiSubWindow* currentSubWindow(QMdiArea* theWrappedObject) const; - void setTabShape(QMdiArea* theWrappedObject, QTabWidget::TabShape shape); - void showEvent(QMdiArea* theWrappedObject, QShowEvent* showEvent); - QMdiSubWindow* activeSubWindow(QMdiArea* theWrappedObject) const; - void setOption(QMdiArea* theWrappedObject, QMdiArea::AreaOption option, bool on = true); - QBrush background(QMdiArea* theWrappedObject) const; - void removeSubWindow(QMdiArea* theWrappedObject, QWidget* widget); - void childEvent(QMdiArea* theWrappedObject, QChildEvent* childEvent); - QTabWidget::TabPosition tabPosition(QMdiArea* theWrappedObject) const; - bool testOption(QMdiArea* theWrappedObject, QMdiArea::AreaOption opton) const; - void timerEvent(QMdiArea* theWrappedObject, QTimerEvent* timerEvent); -}; - -#endif // PYTHONQTWRAPPER_QMDIAREA_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMdiSubWindow.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMdiSubWindow.cpp deleted file mode 100644 index fe1ed1f..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMdiSubWindow.cpp +++ /dev/null @@ -1,953 +0,0 @@ -#include "PythonQtWrapper_QMdiSubWindow.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QMdiSubWindow::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QMdiSubWindow::actionEvent(arg__1); -} -void PythonQtShell_QMdiSubWindow::changeEvent(QEvent* changeEvent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&changeEvent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMdiSubWindow::changeEvent(changeEvent); -} -void PythonQtShell_QMdiSubWindow::childEvent(QChildEvent* childEvent) -{ -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*)&childEvent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMdiSubWindow::childEvent(childEvent); -} -void PythonQtShell_QMdiSubWindow::closeEvent(QCloseEvent* closeEvent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&closeEvent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMdiSubWindow::closeEvent(closeEvent); -} -void PythonQtShell_QMdiSubWindow::contextMenuEvent(QContextMenuEvent* contextMenuEvent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&contextMenuEvent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMdiSubWindow::contextMenuEvent(contextMenuEvent); -} -void PythonQtShell_QMdiSubWindow::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; - } -} - QMdiSubWindow::customEvent(arg__1); -} -int PythonQtShell_QMdiSubWindow::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMdiSubWindow::devType(); -} -void PythonQtShell_QMdiSubWindow::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QMdiSubWindow::dragEnterEvent(arg__1); -} -void PythonQtShell_QMdiSubWindow::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QMdiSubWindow::dragLeaveEvent(arg__1); -} -void PythonQtShell_QMdiSubWindow::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QMdiSubWindow::dragMoveEvent(arg__1); -} -void PythonQtShell_QMdiSubWindow::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QMdiSubWindow::dropEvent(arg__1); -} -void PythonQtShell_QMdiSubWindow::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QMdiSubWindow::enterEvent(arg__1); -} -bool PythonQtShell_QMdiSubWindow::event(QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMdiSubWindow::event(event); -} -bool PythonQtShell_QMdiSubWindow::eventFilter(QObject* object, QEvent* event) -{ -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*)&object, (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("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMdiSubWindow::eventFilter(object, event); -} -void PythonQtShell_QMdiSubWindow::focusInEvent(QFocusEvent* focusInEvent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&focusInEvent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMdiSubWindow::focusInEvent(focusInEvent); -} -bool PythonQtShell_QMdiSubWindow::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMdiSubWindow::focusNextPrevChild(next); -} -void PythonQtShell_QMdiSubWindow::focusOutEvent(QFocusEvent* focusOutEvent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&focusOutEvent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMdiSubWindow::focusOutEvent(focusOutEvent); -} -int PythonQtShell_QMdiSubWindow::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMdiSubWindow::heightForWidth(arg__1); -} -void PythonQtShell_QMdiSubWindow::hideEvent(QHideEvent* hideEvent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&hideEvent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMdiSubWindow::hideEvent(hideEvent); -} -void PythonQtShell_QMdiSubWindow::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QMdiSubWindow::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QMdiSubWindow::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMdiSubWindow::inputMethodQuery(arg__1); -} -void PythonQtShell_QMdiSubWindow::keyPressEvent(QKeyEvent* keyEvent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&keyEvent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMdiSubWindow::keyPressEvent(keyEvent); -} -void PythonQtShell_QMdiSubWindow::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMdiSubWindow::keyReleaseEvent(arg__1); -} -void PythonQtShell_QMdiSubWindow::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMdiSubWindow::languageChange(); -} -void PythonQtShell_QMdiSubWindow::leaveEvent(QEvent* leaveEvent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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*)&leaveEvent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMdiSubWindow::leaveEvent(leaveEvent); -} -int PythonQtShell_QMdiSubWindow::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMdiSubWindow::metric(arg__1); -} -void PythonQtShell_QMdiSubWindow::mouseDoubleClickEvent(QMouseEvent* mouseEvent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&mouseEvent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMdiSubWindow::mouseDoubleClickEvent(mouseEvent); -} -void PythonQtShell_QMdiSubWindow::mouseMoveEvent(QMouseEvent* mouseEvent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&mouseEvent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMdiSubWindow::mouseMoveEvent(mouseEvent); -} -void PythonQtShell_QMdiSubWindow::mousePressEvent(QMouseEvent* mouseEvent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&mouseEvent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMdiSubWindow::mousePressEvent(mouseEvent); -} -void PythonQtShell_QMdiSubWindow::mouseReleaseEvent(QMouseEvent* mouseEvent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&mouseEvent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMdiSubWindow::mouseReleaseEvent(mouseEvent); -} -void PythonQtShell_QMdiSubWindow::moveEvent(QMoveEvent* moveEvent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&moveEvent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMdiSubWindow::moveEvent(moveEvent); -} -QPaintEngine* PythonQtShell_QMdiSubWindow::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMdiSubWindow::paintEngine(); -} -void PythonQtShell_QMdiSubWindow::paintEvent(QPaintEvent* paintEvent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&paintEvent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMdiSubWindow::paintEvent(paintEvent); -} -void PythonQtShell_QMdiSubWindow::resizeEvent(QResizeEvent* resizeEvent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&resizeEvent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMdiSubWindow::resizeEvent(resizeEvent); -} -void PythonQtShell_QMdiSubWindow::showEvent(QShowEvent* showEvent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&showEvent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMdiSubWindow::showEvent(showEvent); -} -void PythonQtShell_QMdiSubWindow::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QMdiSubWindow::tabletEvent(arg__1); -} -void PythonQtShell_QMdiSubWindow::timerEvent(QTimerEvent* timerEvent) -{ -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*)&timerEvent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMdiSubWindow::timerEvent(timerEvent); -} -void PythonQtShell_QMdiSubWindow::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMdiSubWindow::wheelEvent(arg__1); -} -QMdiSubWindow* PythonQtWrapper_QMdiSubWindow::new_QMdiSubWindow(QWidget* parent, Qt::WindowFlags flags) -{ -return new PythonQtShell_QMdiSubWindow(parent, flags); } - -void PythonQtWrapper_QMdiSubWindow::mousePressEvent(QMdiSubWindow* theWrappedObject, QMouseEvent* mouseEvent) -{ - ( ((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->promoted_mousePressEvent(mouseEvent)); -} - -void PythonQtWrapper_QMdiSubWindow::contextMenuEvent(QMdiSubWindow* theWrappedObject, QContextMenuEvent* contextMenuEvent) -{ - ( ((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->promoted_contextMenuEvent(contextMenuEvent)); -} - -int PythonQtWrapper_QMdiSubWindow::keyboardPageStep(QMdiSubWindow* theWrappedObject) const -{ - return ( theWrappedObject->keyboardPageStep()); -} - -QSize PythonQtWrapper_QMdiSubWindow::sizeHint(QMdiSubWindow* theWrappedObject) const -{ - return ( theWrappedObject->sizeHint()); -} - -void PythonQtWrapper_QMdiSubWindow::paintEvent(QMdiSubWindow* theWrappedObject, QPaintEvent* paintEvent) -{ - ( ((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->promoted_paintEvent(paintEvent)); -} - -void PythonQtWrapper_QMdiSubWindow::setSystemMenu(QMdiSubWindow* theWrappedObject, QMenu* systemMenu) -{ - ( theWrappedObject->setSystemMenu(systemMenu)); -} - -bool PythonQtWrapper_QMdiSubWindow::isShaded(QMdiSubWindow* theWrappedObject) const -{ - return ( theWrappedObject->isShaded()); -} - -void PythonQtWrapper_QMdiSubWindow::setKeyboardSingleStep(QMdiSubWindow* theWrappedObject, int step) -{ - ( theWrappedObject->setKeyboardSingleStep(step)); -} - -void PythonQtWrapper_QMdiSubWindow::leaveEvent(QMdiSubWindow* theWrappedObject, QEvent* leaveEvent) -{ - ( ((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->promoted_leaveEvent(leaveEvent)); -} - -QWidget* PythonQtWrapper_QMdiSubWindow::widget(QMdiSubWindow* theWrappedObject) const -{ - return ( theWrappedObject->widget()); -} - -void PythonQtWrapper_QMdiSubWindow::changeEvent(QMdiSubWindow* theWrappedObject, QEvent* changeEvent) -{ - ( ((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->promoted_changeEvent(changeEvent)); -} - -QMenu* PythonQtWrapper_QMdiSubWindow::systemMenu(QMdiSubWindow* theWrappedObject) const -{ - return ( theWrappedObject->systemMenu()); -} - -void PythonQtWrapper_QMdiSubWindow::focusOutEvent(QMdiSubWindow* theWrappedObject, QFocusEvent* focusOutEvent) -{ - ( ((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->promoted_focusOutEvent(focusOutEvent)); -} - -void PythonQtWrapper_QMdiSubWindow::hideEvent(QMdiSubWindow* theWrappedObject, QHideEvent* hideEvent) -{ - ( ((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->promoted_hideEvent(hideEvent)); -} - -void PythonQtWrapper_QMdiSubWindow::showEvent(QMdiSubWindow* theWrappedObject, QShowEvent* showEvent) -{ - ( ((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->promoted_showEvent(showEvent)); -} - -void PythonQtWrapper_QMdiSubWindow::childEvent(QMdiSubWindow* theWrappedObject, QChildEvent* childEvent) -{ - ( ((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->promoted_childEvent(childEvent)); -} - -QWidget* PythonQtWrapper_QMdiSubWindow::maximizedSystemMenuIconWidget(QMdiSubWindow* theWrappedObject) const -{ - return ( theWrappedObject->maximizedSystemMenuIconWidget()); -} - -void PythonQtWrapper_QMdiSubWindow::keyPressEvent(QMdiSubWindow* theWrappedObject, QKeyEvent* keyEvent) -{ - ( ((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->promoted_keyPressEvent(keyEvent)); -} - -bool PythonQtWrapper_QMdiSubWindow::eventFilter(QMdiSubWindow* theWrappedObject, QObject* object, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->promoted_eventFilter(object, event)); -} - -void PythonQtWrapper_QMdiSubWindow::mouseReleaseEvent(QMdiSubWindow* theWrappedObject, QMouseEvent* mouseEvent) -{ - ( ((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->promoted_mouseReleaseEvent(mouseEvent)); -} - -void PythonQtWrapper_QMdiSubWindow::setWidget(QMdiSubWindow* theWrappedObject, QWidget* widget) -{ - ( theWrappedObject->setWidget(widget)); -} - -QSize PythonQtWrapper_QMdiSubWindow::minimumSizeHint(QMdiSubWindow* theWrappedObject) const -{ - return ( theWrappedObject->minimumSizeHint()); -} - -QMdiArea* PythonQtWrapper_QMdiSubWindow::mdiArea(QMdiSubWindow* theWrappedObject) const -{ - return ( theWrappedObject->mdiArea()); -} - -bool PythonQtWrapper_QMdiSubWindow::event(QMdiSubWindow* theWrappedObject, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->promoted_event(event)); -} - -void PythonQtWrapper_QMdiSubWindow::closeEvent(QMdiSubWindow* theWrappedObject, QCloseEvent* closeEvent) -{ - ( ((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->promoted_closeEvent(closeEvent)); -} - -void PythonQtWrapper_QMdiSubWindow::timerEvent(QMdiSubWindow* theWrappedObject, QTimerEvent* timerEvent) -{ - ( ((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->promoted_timerEvent(timerEvent)); -} - -int PythonQtWrapper_QMdiSubWindow::keyboardSingleStep(QMdiSubWindow* theWrappedObject) const -{ - return ( theWrappedObject->keyboardSingleStep()); -} - -void PythonQtWrapper_QMdiSubWindow::focusInEvent(QMdiSubWindow* theWrappedObject, QFocusEvent* focusInEvent) -{ - ( ((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->promoted_focusInEvent(focusInEvent)); -} - -void PythonQtWrapper_QMdiSubWindow::setKeyboardPageStep(QMdiSubWindow* theWrappedObject, int step) -{ - ( theWrappedObject->setKeyboardPageStep(step)); -} - -void PythonQtWrapper_QMdiSubWindow::setOption(QMdiSubWindow* theWrappedObject, QMdiSubWindow::SubWindowOption option, bool on) -{ - ( theWrappedObject->setOption(option, on)); -} - -void PythonQtWrapper_QMdiSubWindow::mouseMoveEvent(QMdiSubWindow* theWrappedObject, QMouseEvent* mouseEvent) -{ - ( ((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->promoted_mouseMoveEvent(mouseEvent)); -} - -void PythonQtWrapper_QMdiSubWindow::mouseDoubleClickEvent(QMdiSubWindow* theWrappedObject, QMouseEvent* mouseEvent) -{ - ( ((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->promoted_mouseDoubleClickEvent(mouseEvent)); -} - -void PythonQtWrapper_QMdiSubWindow::resizeEvent(QMdiSubWindow* theWrappedObject, QResizeEvent* resizeEvent) -{ - ( ((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->promoted_resizeEvent(resizeEvent)); -} - -void PythonQtWrapper_QMdiSubWindow::moveEvent(QMdiSubWindow* theWrappedObject, QMoveEvent* moveEvent) -{ - ( ((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->promoted_moveEvent(moveEvent)); -} - -bool PythonQtWrapper_QMdiSubWindow::testOption(QMdiSubWindow* theWrappedObject, QMdiSubWindow::SubWindowOption arg__1) const -{ - return ( theWrappedObject->testOption(arg__1)); -} - -QWidget* PythonQtWrapper_QMdiSubWindow::maximizedButtonsWidget(QMdiSubWindow* theWrappedObject) const -{ - return ( theWrappedObject->maximizedButtonsWidget()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMdiSubWindow.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMdiSubWindow.h deleted file mode 100644 index c6e8586..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMdiSubWindow.h +++ /dev/null @@ -1,159 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QMDISUBWINDOW_H -#define PYTHONQTWRAPPER_QMDISUBWINDOW_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QMdiSubWindow : public QMdiSubWindow -{ -public: - PythonQtShell_QMdiSubWindow(QWidget* parent = 0, Qt::WindowFlags flags = 0):QMdiSubWindow(parent, flags),_wrapper(NULL) {}; - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* changeEvent); -virtual void childEvent(QChildEvent* childEvent); -virtual void closeEvent(QCloseEvent* closeEvent); -virtual void contextMenuEvent(QContextMenuEvent* contextMenuEvent); -virtual void customEvent(QEvent* arg__1); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* object, QEvent* event); -virtual void focusInEvent(QFocusEvent* focusInEvent); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* focusOutEvent); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* hideEvent); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* keyEvent); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void languageChange(); -virtual void leaveEvent(QEvent* leaveEvent); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual void mouseDoubleClickEvent(QMouseEvent* mouseEvent); -virtual void mouseMoveEvent(QMouseEvent* mouseEvent); -virtual void mousePressEvent(QMouseEvent* mouseEvent); -virtual void mouseReleaseEvent(QMouseEvent* mouseEvent); -virtual void moveEvent(QMoveEvent* moveEvent); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* paintEvent); -virtual void resizeEvent(QResizeEvent* resizeEvent); -virtual void showEvent(QShowEvent* showEvent); -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* timerEvent); -virtual void wheelEvent(QWheelEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QMdiSubWindow : public QMdiSubWindow -{ public: -inline void promoted_mousePressEvent(QMouseEvent* mouseEvent) { QMdiSubWindow::mousePressEvent(mouseEvent); } -inline void promoted_contextMenuEvent(QContextMenuEvent* contextMenuEvent) { QMdiSubWindow::contextMenuEvent(contextMenuEvent); } -inline void promoted_paintEvent(QPaintEvent* paintEvent) { QMdiSubWindow::paintEvent(paintEvent); } -inline void promoted_leaveEvent(QEvent* leaveEvent) { QMdiSubWindow::leaveEvent(leaveEvent); } -inline void promoted_changeEvent(QEvent* changeEvent) { QMdiSubWindow::changeEvent(changeEvent); } -inline void promoted_focusOutEvent(QFocusEvent* focusOutEvent) { QMdiSubWindow::focusOutEvent(focusOutEvent); } -inline void promoted_hideEvent(QHideEvent* hideEvent) { QMdiSubWindow::hideEvent(hideEvent); } -inline void promoted_showEvent(QShowEvent* showEvent) { QMdiSubWindow::showEvent(showEvent); } -inline void promoted_childEvent(QChildEvent* childEvent) { QMdiSubWindow::childEvent(childEvent); } -inline void promoted_keyPressEvent(QKeyEvent* keyEvent) { QMdiSubWindow::keyPressEvent(keyEvent); } -inline bool promoted_eventFilter(QObject* object, QEvent* event) { return QMdiSubWindow::eventFilter(object, event); } -inline void promoted_mouseReleaseEvent(QMouseEvent* mouseEvent) { QMdiSubWindow::mouseReleaseEvent(mouseEvent); } -inline bool promoted_event(QEvent* event) { return QMdiSubWindow::event(event); } -inline void promoted_closeEvent(QCloseEvent* closeEvent) { QMdiSubWindow::closeEvent(closeEvent); } -inline void promoted_timerEvent(QTimerEvent* timerEvent) { QMdiSubWindow::timerEvent(timerEvent); } -inline void promoted_focusInEvent(QFocusEvent* focusInEvent) { QMdiSubWindow::focusInEvent(focusInEvent); } -inline void promoted_mouseMoveEvent(QMouseEvent* mouseEvent) { QMdiSubWindow::mouseMoveEvent(mouseEvent); } -inline void promoted_mouseDoubleClickEvent(QMouseEvent* mouseEvent) { QMdiSubWindow::mouseDoubleClickEvent(mouseEvent); } -inline void promoted_resizeEvent(QResizeEvent* resizeEvent) { QMdiSubWindow::resizeEvent(resizeEvent); } -inline void promoted_moveEvent(QMoveEvent* moveEvent) { QMdiSubWindow::moveEvent(moveEvent); } -}; - -class PythonQtWrapper_QMdiSubWindow : public QObject -{ Q_OBJECT -public: -Q_ENUMS(SubWindowOption ) -Q_FLAGS(SubWindowOptions ) -enum SubWindowOption{ - AllowOutsideAreaHorizontally = QMdiSubWindow::AllowOutsideAreaHorizontally, AllowOutsideAreaVertically = QMdiSubWindow::AllowOutsideAreaVertically, RubberBandResize = QMdiSubWindow::RubberBandResize, RubberBandMove = QMdiSubWindow::RubberBandMove}; -Q_DECLARE_FLAGS(SubWindowOptions, SubWindowOption) -public slots: -QMdiSubWindow* new_QMdiSubWindow(QWidget* parent = 0, Qt::WindowFlags flags = 0); -void delete_QMdiSubWindow(QMdiSubWindow* obj) { delete obj; } - void mousePressEvent(QMdiSubWindow* theWrappedObject, QMouseEvent* mouseEvent); - void contextMenuEvent(QMdiSubWindow* theWrappedObject, QContextMenuEvent* contextMenuEvent); - int keyboardPageStep(QMdiSubWindow* theWrappedObject) const; - QSize sizeHint(QMdiSubWindow* theWrappedObject) const; - void paintEvent(QMdiSubWindow* theWrappedObject, QPaintEvent* paintEvent); - void setSystemMenu(QMdiSubWindow* theWrappedObject, QMenu* systemMenu); - bool isShaded(QMdiSubWindow* theWrappedObject) const; - void setKeyboardSingleStep(QMdiSubWindow* theWrappedObject, int step); - void leaveEvent(QMdiSubWindow* theWrappedObject, QEvent* leaveEvent); - QWidget* widget(QMdiSubWindow* theWrappedObject) const; - void changeEvent(QMdiSubWindow* theWrappedObject, QEvent* changeEvent); - QMenu* systemMenu(QMdiSubWindow* theWrappedObject) const; - void focusOutEvent(QMdiSubWindow* theWrappedObject, QFocusEvent* focusOutEvent); - void hideEvent(QMdiSubWindow* theWrappedObject, QHideEvent* hideEvent); - void showEvent(QMdiSubWindow* theWrappedObject, QShowEvent* showEvent); - void childEvent(QMdiSubWindow* theWrappedObject, QChildEvent* childEvent); - QWidget* maximizedSystemMenuIconWidget(QMdiSubWindow* theWrappedObject) const; - void keyPressEvent(QMdiSubWindow* theWrappedObject, QKeyEvent* keyEvent); - bool eventFilter(QMdiSubWindow* theWrappedObject, QObject* object, QEvent* event); - void mouseReleaseEvent(QMdiSubWindow* theWrappedObject, QMouseEvent* mouseEvent); - void setWidget(QMdiSubWindow* theWrappedObject, QWidget* widget); - QSize minimumSizeHint(QMdiSubWindow* theWrappedObject) const; - QMdiArea* mdiArea(QMdiSubWindow* theWrappedObject) const; - bool event(QMdiSubWindow* theWrappedObject, QEvent* event); - void closeEvent(QMdiSubWindow* theWrappedObject, QCloseEvent* closeEvent); - void timerEvent(QMdiSubWindow* theWrappedObject, QTimerEvent* timerEvent); - int keyboardSingleStep(QMdiSubWindow* theWrappedObject) const; - void focusInEvent(QMdiSubWindow* theWrappedObject, QFocusEvent* focusInEvent); - void setKeyboardPageStep(QMdiSubWindow* theWrappedObject, int step); - void setOption(QMdiSubWindow* theWrappedObject, QMdiSubWindow::SubWindowOption option, bool on = true); - void mouseMoveEvent(QMdiSubWindow* theWrappedObject, QMouseEvent* mouseEvent); - void mouseDoubleClickEvent(QMdiSubWindow* theWrappedObject, QMouseEvent* mouseEvent); - void resizeEvent(QMdiSubWindow* theWrappedObject, QResizeEvent* resizeEvent); - void moveEvent(QMdiSubWindow* theWrappedObject, QMoveEvent* moveEvent); - bool testOption(QMdiSubWindow* theWrappedObject, QMdiSubWindow::SubWindowOption arg__1) const; - QWidget* maximizedButtonsWidget(QMdiSubWindow* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QMDISUBWINDOW_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMenu.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMenu.cpp deleted file mode 100644 index 6fb5c10..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMenu.cpp +++ /dev/null @@ -1,1034 +0,0 @@ -#include "PythonQtWrapper_QMenu.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QMenu::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QMenu::actionEvent(arg__1); -} -void PythonQtShell_QMenu::changeEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMenu::changeEvent(arg__1); -} -void PythonQtShell_QMenu::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; - } -} - QMenu::childEvent(arg__1); -} -void PythonQtShell_QMenu::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QMenu::closeEvent(arg__1); -} -void PythonQtShell_QMenu::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMenu::contextMenuEvent(arg__1); -} -void PythonQtShell_QMenu::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; - } -} - QMenu::customEvent(arg__1); -} -int PythonQtShell_QMenu::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMenu::devType(); -} -void PythonQtShell_QMenu::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QMenu::dragEnterEvent(arg__1); -} -void PythonQtShell_QMenu::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QMenu::dragLeaveEvent(arg__1); -} -void PythonQtShell_QMenu::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QMenu::dragMoveEvent(arg__1); -} -void PythonQtShell_QMenu::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QMenu::dropEvent(arg__1); -} -void PythonQtShell_QMenu::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QMenu::enterEvent(arg__1); -} -bool PythonQtShell_QMenu::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMenu::event(arg__1); -} -bool PythonQtShell_QMenu::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMenu::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QMenu::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QMenu::focusInEvent(arg__1); -} -bool PythonQtShell_QMenu::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMenu::focusNextPrevChild(next); -} -void PythonQtShell_QMenu::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QMenu::focusOutEvent(arg__1); -} -int PythonQtShell_QMenu::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMenu::heightForWidth(arg__1); -} -void PythonQtShell_QMenu::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QMenu::hideEvent(arg__1); -} -void PythonQtShell_QMenu::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QMenu::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QMenu::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMenu::inputMethodQuery(arg__1); -} -void PythonQtShell_QMenu::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMenu::keyPressEvent(arg__1); -} -void PythonQtShell_QMenu::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMenu::keyReleaseEvent(arg__1); -} -void PythonQtShell_QMenu::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMenu::languageChange(); -} -void PythonQtShell_QMenu::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QMenu::leaveEvent(arg__1); -} -int PythonQtShell_QMenu::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMenu::metric(arg__1); -} -QSize PythonQtShell_QMenu::minimumSizeHint() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMenu::minimumSizeHint(); -} -void PythonQtShell_QMenu::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QMenu::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QMenu::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QMenu::mouseMoveEvent(arg__1); -} -void PythonQtShell_QMenu::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QMenu::mousePressEvent(arg__1); -} -void PythonQtShell_QMenu::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QMenu::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QMenu::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMenu::moveEvent(arg__1); -} -QPaintEngine* PythonQtShell_QMenu::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMenu::paintEngine(); -} -void PythonQtShell_QMenu::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - 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; - } -} - QMenu::paintEvent(arg__1); -} -void PythonQtShell_QMenu::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - 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; - } -} - QMenu::resizeEvent(arg__1); -} -void PythonQtShell_QMenu::showEvent(QShowEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QMenu::showEvent(arg__1); -} -void PythonQtShell_QMenu::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QMenu::tabletEvent(arg__1); -} -void PythonQtShell_QMenu::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; - } -} - QMenu::timerEvent(arg__1); -} -void PythonQtShell_QMenu::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMenu::wheelEvent(arg__1); -} -QMenu* PythonQtWrapper_QMenu::new_QMenu(QWidget* parent) -{ -return new PythonQtShell_QMenu(parent); } - -QMenu* PythonQtWrapper_QMenu::new_QMenu(const QString& title, QWidget* parent) -{ -return new PythonQtShell_QMenu(title, parent); } - -QAction* PythonQtWrapper_QMenu::exec(QMenu* theWrappedObject, const QPoint& pos, QAction* at) -{ - return ( theWrappedObject->exec(pos, at)); -} - -QAction* PythonQtWrapper_QMenu::addAction(QMenu* theWrappedObject, const QIcon& icon, const QString& text) -{ - return ( theWrappedObject->addAction(icon, text)); -} - -QString PythonQtWrapper_QMenu::title(QMenu* theWrappedObject) const -{ - return ( theWrappedObject->title()); -} - -void PythonQtWrapper_QMenu::setDefaultAction(QMenu* theWrappedObject, QAction* arg__1) -{ - ( theWrappedObject->setDefaultAction(arg__1)); -} - -QRect PythonQtWrapper_QMenu::actionGeometry(QMenu* theWrappedObject, QAction* arg__1) const -{ - return ( theWrappedObject->actionGeometry(arg__1)); -} - -void PythonQtWrapper_QMenu::enterEvent(QMenu* theWrappedObject, QEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QMenu*)theWrappedObject)->promoted_enterEvent(arg__1)); -} - -QMenu* PythonQtWrapper_QMenu::addMenu(QMenu* theWrappedObject, const QIcon& icon, const QString& title) -{ - return ( theWrappedObject->addMenu(icon, title)); -} - -QAction* PythonQtWrapper_QMenu::static_QMenu_exec(QList actions, const QPoint& pos, QAction* at) -{ - return (QMenu::exec(actions, pos, at)); -} - -void PythonQtWrapper_QMenu::setSeparatorsCollapsible(QMenu* theWrappedObject, bool collapse) -{ - ( theWrappedObject->setSeparatorsCollapsible(collapse)); -} - -QAction* PythonQtWrapper_QMenu::exec(QMenu* theWrappedObject) -{ - return ( theWrappedObject->exec()); -} - -void PythonQtWrapper_QMenu::paintEvent(QMenu* theWrappedObject, QPaintEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QMenu*)theWrappedObject)->promoted_paintEvent(arg__1)); -} - -QAction* PythonQtWrapper_QMenu::addMenu(QMenu* theWrappedObject, QMenu* menu) -{ - return ( theWrappedObject->addMenu(menu)); -} - -void PythonQtWrapper_QMenu::changeEvent(QMenu* theWrappedObject, QEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QMenu*)theWrappedObject)->promoted_changeEvent(arg__1)); -} - -void PythonQtWrapper_QMenu::setIcon(QMenu* theWrappedObject, const QIcon& icon) -{ - ( theWrappedObject->setIcon(icon)); -} - -void PythonQtWrapper_QMenu::leaveEvent(QMenu* theWrappedObject, QEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QMenu*)theWrappedObject)->promoted_leaveEvent(arg__1)); -} - -void PythonQtWrapper_QMenu::setActiveAction(QMenu* theWrappedObject, QAction* act) -{ - ( theWrappedObject->setActiveAction(act)); -} - -QAction* PythonQtWrapper_QMenu::actionAt(QMenu* theWrappedObject, const QPoint& arg__1) const -{ - return ( theWrappedObject->actionAt(arg__1)); -} - -void PythonQtWrapper_QMenu::mouseMoveEvent(QMenu* theWrappedObject, QMouseEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QMenu*)theWrappedObject)->promoted_mouseMoveEvent(arg__1)); -} - -QAction* PythonQtWrapper_QMenu::insertMenu(QMenu* theWrappedObject, QAction* before, QMenu* menu) -{ - return ( theWrappedObject->insertMenu(before, menu)); -} - -void PythonQtWrapper_QMenu::keyPressEvent(QMenu* theWrappedObject, QKeyEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QMenu*)theWrappedObject)->promoted_keyPressEvent(arg__1)); -} - -void PythonQtWrapper_QMenu::wheelEvent(QMenu* theWrappedObject, QWheelEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QMenu*)theWrappedObject)->promoted_wheelEvent(arg__1)); -} - -void PythonQtWrapper_QMenu::actionEvent(QMenu* theWrappedObject, QActionEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QMenu*)theWrappedObject)->promoted_actionEvent(arg__1)); -} - -bool PythonQtWrapper_QMenu::isTearOffMenuVisible(QMenu* theWrappedObject) const -{ - return ( theWrappedObject->isTearOffMenuVisible()); -} - -bool PythonQtWrapper_QMenu::isEmpty(QMenu* theWrappedObject) const -{ - return ( theWrappedObject->isEmpty()); -} - -void PythonQtWrapper_QMenu::mousePressEvent(QMenu* theWrappedObject, QMouseEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QMenu*)theWrappedObject)->promoted_mousePressEvent(arg__1)); -} - -void PythonQtWrapper_QMenu::hideTearOffMenu(QMenu* theWrappedObject) -{ - ( theWrappedObject->hideTearOffMenu()); -} - -bool PythonQtWrapper_QMenu::separatorsCollapsible(QMenu* theWrappedObject) const -{ - return ( theWrappedObject->separatorsCollapsible()); -} - -bool PythonQtWrapper_QMenu::event(QMenu* theWrappedObject, QEvent* arg__1) -{ - return ( ((PythonQtPublicPromoter_QMenu*)theWrappedObject)->promoted_event(arg__1)); -} - -QSize PythonQtWrapper_QMenu::sizeHint(QMenu* theWrappedObject) const -{ - return ( theWrappedObject->sizeHint()); -} - -void PythonQtWrapper_QMenu::hideEvent(QMenu* theWrappedObject, QHideEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QMenu*)theWrappedObject)->promoted_hideEvent(arg__1)); -} - -void PythonQtWrapper_QMenu::popup(QMenu* theWrappedObject, const QPoint& pos, QAction* at) -{ - ( theWrappedObject->popup(pos, at)); -} - -QAction* PythonQtWrapper_QMenu::insertSeparator(QMenu* theWrappedObject, QAction* before) -{ - return ( theWrappedObject->insertSeparator(before)); -} - -void PythonQtWrapper_QMenu::mouseReleaseEvent(QMenu* theWrappedObject, QMouseEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QMenu*)theWrappedObject)->promoted_mouseReleaseEvent(arg__1)); -} - -bool PythonQtWrapper_QMenu::focusNextPrevChild(QMenu* theWrappedObject, bool next) -{ - return ( ((PythonQtPublicPromoter_QMenu*)theWrappedObject)->promoted_focusNextPrevChild(next)); -} - -QIcon PythonQtWrapper_QMenu::icon(QMenu* theWrappedObject) const -{ - return ( theWrappedObject->icon()); -} - -void PythonQtWrapper_QMenu::timerEvent(QMenu* theWrappedObject, QTimerEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QMenu*)theWrappedObject)->promoted_timerEvent(arg__1)); -} - -QAction* PythonQtWrapper_QMenu::addSeparator(QMenu* theWrappedObject) -{ - return ( theWrappedObject->addSeparator()); -} - -QAction* PythonQtWrapper_QMenu::menuAction(QMenu* theWrappedObject) const -{ - return ( theWrappedObject->menuAction()); -} - -QAction* PythonQtWrapper_QMenu::defaultAction(QMenu* theWrappedObject) const -{ - return ( theWrappedObject->defaultAction()); -} - -void PythonQtWrapper_QMenu::setTitle(QMenu* theWrappedObject, const QString& title) -{ - ( theWrappedObject->setTitle(title)); -} - -bool PythonQtWrapper_QMenu::isTearOffEnabled(QMenu* theWrappedObject) const -{ - return ( theWrappedObject->isTearOffEnabled()); -} - -QMenu* PythonQtWrapper_QMenu::addMenu(QMenu* theWrappedObject, const QString& title) -{ - return ( theWrappedObject->addMenu(title)); -} - -QAction* PythonQtWrapper_QMenu::addAction(QMenu* theWrappedObject, const QString& text) -{ - return ( theWrappedObject->addAction(text)); -} - -void PythonQtWrapper_QMenu::setTearOffEnabled(QMenu* theWrappedObject, bool arg__1) -{ - ( theWrappedObject->setTearOffEnabled(arg__1)); -} - -QAction* PythonQtWrapper_QMenu::activeAction(QMenu* theWrappedObject) const -{ - return ( theWrappedObject->activeAction()); -} - -void PythonQtWrapper_QMenu::clear(QMenu* theWrappedObject) -{ - ( theWrappedObject->clear()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMenu.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMenu.h deleted file mode 100644 index 6f9668d..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMenu.h +++ /dev/null @@ -1,160 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QMENU_H -#define PYTHONQTWRAPPER_QMENU_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QMenu : public QMenu -{ -public: - PythonQtShell_QMenu(QWidget* parent = 0):QMenu(parent),_wrapper(NULL) {}; - PythonQtShell_QMenu(const QString& title, QWidget* parent = 0):QMenu(title, parent),_wrapper(NULL) {}; - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* arg__1); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void showEvent(QShowEvent* arg__1); -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QMenu : public QMenu -{ public: -inline void promoted_enterEvent(QEvent* arg__1) { QMenu::enterEvent(arg__1); } -inline void promoted_paintEvent(QPaintEvent* arg__1) { QMenu::paintEvent(arg__1); } -inline void promoted_changeEvent(QEvent* arg__1) { QMenu::changeEvent(arg__1); } -inline void promoted_leaveEvent(QEvent* arg__1) { QMenu::leaveEvent(arg__1); } -inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { QMenu::mouseMoveEvent(arg__1); } -inline void promoted_keyPressEvent(QKeyEvent* arg__1) { QMenu::keyPressEvent(arg__1); } -inline void promoted_wheelEvent(QWheelEvent* arg__1) { QMenu::wheelEvent(arg__1); } -inline void promoted_actionEvent(QActionEvent* arg__1) { QMenu::actionEvent(arg__1); } -inline void promoted_mousePressEvent(QMouseEvent* arg__1) { QMenu::mousePressEvent(arg__1); } -inline bool promoted_event(QEvent* arg__1) { return QMenu::event(arg__1); } -inline void promoted_hideEvent(QHideEvent* arg__1) { QMenu::hideEvent(arg__1); } -inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { QMenu::mouseReleaseEvent(arg__1); } -inline bool promoted_focusNextPrevChild(bool next) { return QMenu::focusNextPrevChild(next); } -inline void promoted_timerEvent(QTimerEvent* arg__1) { QMenu::timerEvent(arg__1); } -}; - -class PythonQtWrapper_QMenu : public QObject -{ Q_OBJECT -public: -public slots: -QMenu* new_QMenu(QWidget* parent = 0); -QMenu* new_QMenu(const QString& title, QWidget* parent = 0); -void delete_QMenu(QMenu* obj) { delete obj; } - QAction* exec(QMenu* theWrappedObject, const QPoint& pos, QAction* at = 0); - QAction* addAction(QMenu* theWrappedObject, const QIcon& icon, const QString& text); - QString title(QMenu* theWrappedObject) const; - void setDefaultAction(QMenu* theWrappedObject, QAction* arg__1); - QRect actionGeometry(QMenu* theWrappedObject, QAction* arg__1) const; - void enterEvent(QMenu* theWrappedObject, QEvent* arg__1); - QMenu* addMenu(QMenu* theWrappedObject, const QIcon& icon, const QString& title); - QAction* static_QMenu_exec(QList actions, const QPoint& pos, QAction* at = 0); - void setSeparatorsCollapsible(QMenu* theWrappedObject, bool collapse); - QAction* exec(QMenu* theWrappedObject); - void paintEvent(QMenu* theWrappedObject, QPaintEvent* arg__1); - QAction* addMenu(QMenu* theWrappedObject, QMenu* menu); - void changeEvent(QMenu* theWrappedObject, QEvent* arg__1); - void setIcon(QMenu* theWrappedObject, const QIcon& icon); - void leaveEvent(QMenu* theWrappedObject, QEvent* arg__1); - void setActiveAction(QMenu* theWrappedObject, QAction* act); - QAction* actionAt(QMenu* theWrappedObject, const QPoint& arg__1) const; - void mouseMoveEvent(QMenu* theWrappedObject, QMouseEvent* arg__1); - QAction* insertMenu(QMenu* theWrappedObject, QAction* before, QMenu* menu); - void keyPressEvent(QMenu* theWrappedObject, QKeyEvent* arg__1); - void wheelEvent(QMenu* theWrappedObject, QWheelEvent* arg__1); - void actionEvent(QMenu* theWrappedObject, QActionEvent* arg__1); - bool isTearOffMenuVisible(QMenu* theWrappedObject) const; - bool isEmpty(QMenu* theWrappedObject) const; - void mousePressEvent(QMenu* theWrappedObject, QMouseEvent* arg__1); - void hideTearOffMenu(QMenu* theWrappedObject); - bool separatorsCollapsible(QMenu* theWrappedObject) const; - bool event(QMenu* theWrappedObject, QEvent* arg__1); - QSize sizeHint(QMenu* theWrappedObject) const; - void hideEvent(QMenu* theWrappedObject, QHideEvent* arg__1); - void popup(QMenu* theWrappedObject, const QPoint& pos, QAction* at = 0); - QAction* insertSeparator(QMenu* theWrappedObject, QAction* before); - void mouseReleaseEvent(QMenu* theWrappedObject, QMouseEvent* arg__1); - bool focusNextPrevChild(QMenu* theWrappedObject, bool next); - QIcon icon(QMenu* theWrappedObject) const; - void timerEvent(QMenu* theWrappedObject, QTimerEvent* arg__1); - QAction* addSeparator(QMenu* theWrappedObject); - QAction* menuAction(QMenu* theWrappedObject) const; - QAction* defaultAction(QMenu* theWrappedObject) const; - void setTitle(QMenu* theWrappedObject, const QString& title); - bool isTearOffEnabled(QMenu* theWrappedObject) const; - QMenu* addMenu(QMenu* theWrappedObject, const QString& title); - QAction* addAction(QMenu* theWrappedObject, const QString& text); - void setTearOffEnabled(QMenu* theWrappedObject, bool arg__1); - QAction* activeAction(QMenu* theWrappedObject) const; - void clear(QMenu* theWrappedObject); -}; - -#endif // PYTHONQTWRAPPER_QMENU_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMenuBar.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMenuBar.cpp deleted file mode 100644 index 8c197b1..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMenuBar.cpp +++ /dev/null @@ -1,955 +0,0 @@ -#include "PythonQtWrapper_QMenuBar.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QMenuBar::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QMenuBar::actionEvent(arg__1); -} -void PythonQtShell_QMenuBar::changeEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMenuBar::changeEvent(arg__1); -} -void PythonQtShell_QMenuBar::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; - } -} - QMenuBar::childEvent(arg__1); -} -void PythonQtShell_QMenuBar::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QMenuBar::closeEvent(arg__1); -} -void PythonQtShell_QMenuBar::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMenuBar::contextMenuEvent(arg__1); -} -void PythonQtShell_QMenuBar::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; - } -} - QMenuBar::customEvent(arg__1); -} -int PythonQtShell_QMenuBar::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMenuBar::devType(); -} -void PythonQtShell_QMenuBar::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QMenuBar::dragEnterEvent(arg__1); -} -void PythonQtShell_QMenuBar::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QMenuBar::dragLeaveEvent(arg__1); -} -void PythonQtShell_QMenuBar::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QMenuBar::dragMoveEvent(arg__1); -} -void PythonQtShell_QMenuBar::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QMenuBar::dropEvent(arg__1); -} -void PythonQtShell_QMenuBar::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QMenuBar::enterEvent(arg__1); -} -bool PythonQtShell_QMenuBar::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMenuBar::event(arg__1); -} -bool PythonQtShell_QMenuBar::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMenuBar::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QMenuBar::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QMenuBar::focusInEvent(arg__1); -} -bool PythonQtShell_QMenuBar::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMenuBar::focusNextPrevChild(next); -} -void PythonQtShell_QMenuBar::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QMenuBar::focusOutEvent(arg__1); -} -int PythonQtShell_QMenuBar::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMenuBar::heightForWidth(arg__1); -} -void PythonQtShell_QMenuBar::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QMenuBar::hideEvent(arg__1); -} -void PythonQtShell_QMenuBar::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QMenuBar::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QMenuBar::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMenuBar::inputMethodQuery(arg__1); -} -void PythonQtShell_QMenuBar::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMenuBar::keyPressEvent(arg__1); -} -void PythonQtShell_QMenuBar::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMenuBar::keyReleaseEvent(arg__1); -} -void PythonQtShell_QMenuBar::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMenuBar::languageChange(); -} -void PythonQtShell_QMenuBar::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QMenuBar::leaveEvent(arg__1); -} -int PythonQtShell_QMenuBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMenuBar::metric(arg__1); -} -void PythonQtShell_QMenuBar::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QMenuBar::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QMenuBar::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QMenuBar::mouseMoveEvent(arg__1); -} -void PythonQtShell_QMenuBar::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QMenuBar::mousePressEvent(arg__1); -} -void PythonQtShell_QMenuBar::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QMenuBar::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QMenuBar::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMenuBar::moveEvent(arg__1); -} -QPaintEngine* PythonQtShell_QMenuBar::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMenuBar::paintEngine(); -} -void PythonQtShell_QMenuBar::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - 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; - } -} - QMenuBar::paintEvent(arg__1); -} -void PythonQtShell_QMenuBar::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - 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; - } -} - QMenuBar::resizeEvent(arg__1); -} -void PythonQtShell_QMenuBar::setVisible(bool visible) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setVisible"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMenuBar::setVisible(visible); -} -void PythonQtShell_QMenuBar::showEvent(QShowEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QMenuBar::showEvent(arg__1); -} -void PythonQtShell_QMenuBar::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QMenuBar::tabletEvent(arg__1); -} -void PythonQtShell_QMenuBar::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; - } -} - QMenuBar::timerEvent(arg__1); -} -void PythonQtShell_QMenuBar::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMenuBar::wheelEvent(arg__1); -} -QMenuBar* PythonQtWrapper_QMenuBar::new_QMenuBar(QWidget* parent) -{ -return new PythonQtShell_QMenuBar(parent); } - -void PythonQtWrapper_QMenuBar::timerEvent(QMenuBar* theWrappedObject, QTimerEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->promoted_timerEvent(arg__1)); -} - -void PythonQtWrapper_QMenuBar::mouseReleaseEvent(QMenuBar* theWrappedObject, QMouseEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->promoted_mouseReleaseEvent(arg__1)); -} - -QMenu* PythonQtWrapper_QMenuBar::addMenu(QMenuBar* theWrappedObject, const QString& title) -{ - return ( theWrappedObject->addMenu(title)); -} - -QAction* PythonQtWrapper_QMenuBar::addSeparator(QMenuBar* theWrappedObject) -{ - return ( theWrappedObject->addSeparator()); -} - -void PythonQtWrapper_QMenuBar::mouseMoveEvent(QMenuBar* theWrappedObject, QMouseEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->promoted_mouseMoveEvent(arg__1)); -} - -QSize PythonQtWrapper_QMenuBar::sizeHint(QMenuBar* theWrappedObject) const -{ - return ( theWrappedObject->sizeHint()); -} - -void PythonQtWrapper_QMenuBar::setActiveAction(QMenuBar* theWrappedObject, QAction* action) -{ - ( theWrappedObject->setActiveAction(action)); -} - -int PythonQtWrapper_QMenuBar::heightForWidth(QMenuBar* theWrappedObject, int arg__1) const -{ - return ( ((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->promoted_heightForWidth(arg__1)); -} - -QAction* PythonQtWrapper_QMenuBar::insertSeparator(QMenuBar* theWrappedObject, QAction* before) -{ - return ( theWrappedObject->insertSeparator(before)); -} - -void PythonQtWrapper_QMenuBar::setDefaultUp(QMenuBar* theWrappedObject, bool arg__1) -{ - ( theWrappedObject->setDefaultUp(arg__1)); -} - -QAction* PythonQtWrapper_QMenuBar::addMenu(QMenuBar* theWrappedObject, QMenu* menu) -{ - return ( theWrappedObject->addMenu(menu)); -} - -void PythonQtWrapper_QMenuBar::setCornerWidget(QMenuBar* theWrappedObject, QWidget* w, Qt::Corner corner) -{ - ( theWrappedObject->setCornerWidget(w, corner)); -} - -void PythonQtWrapper_QMenuBar::changeEvent(QMenuBar* theWrappedObject, QEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->promoted_changeEvent(arg__1)); -} - -QAction* PythonQtWrapper_QMenuBar::actionAt(QMenuBar* theWrappedObject, const QPoint& arg__1) const -{ - return ( theWrappedObject->actionAt(arg__1)); -} - -QRect PythonQtWrapper_QMenuBar::actionGeometry(QMenuBar* theWrappedObject, QAction* arg__1) const -{ - return ( theWrappedObject->actionGeometry(arg__1)); -} - -QSize PythonQtWrapper_QMenuBar::minimumSizeHint(QMenuBar* theWrappedObject) const -{ - return ( theWrappedObject->minimumSizeHint()); -} - -QMenu* PythonQtWrapper_QMenuBar::addMenu(QMenuBar* theWrappedObject, const QIcon& icon, const QString& title) -{ - return ( theWrappedObject->addMenu(icon, title)); -} - -void PythonQtWrapper_QMenuBar::focusInEvent(QMenuBar* theWrappedObject, QFocusEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->promoted_focusInEvent(arg__1)); -} - -void PythonQtWrapper_QMenuBar::resizeEvent(QMenuBar* theWrappedObject, QResizeEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->promoted_resizeEvent(arg__1)); -} - -QAction* PythonQtWrapper_QMenuBar::activeAction(QMenuBar* theWrappedObject) const -{ - return ( theWrappedObject->activeAction()); -} - -void PythonQtWrapper_QMenuBar::clear(QMenuBar* theWrappedObject) -{ - ( theWrappedObject->clear()); -} - -bool PythonQtWrapper_QMenuBar::eventFilter(QMenuBar* theWrappedObject, QObject* arg__1, QEvent* arg__2) -{ - return ( ((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->promoted_eventFilter(arg__1, arg__2)); -} - -void PythonQtWrapper_QMenuBar::focusOutEvent(QMenuBar* theWrappedObject, QFocusEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->promoted_focusOutEvent(arg__1)); -} - -bool PythonQtWrapper_QMenuBar::isDefaultUp(QMenuBar* theWrappedObject) const -{ - return ( theWrappedObject->isDefaultUp()); -} - -QWidget* PythonQtWrapper_QMenuBar::cornerWidget(QMenuBar* theWrappedObject, Qt::Corner corner) const -{ - return ( theWrappedObject->cornerWidget(corner)); -} - -QAction* PythonQtWrapper_QMenuBar::insertMenu(QMenuBar* theWrappedObject, QAction* before, QMenu* menu) -{ - return ( theWrappedObject->insertMenu(before, menu)); -} - -QAction* PythonQtWrapper_QMenuBar::addAction(QMenuBar* theWrappedObject, const QString& text) -{ - return ( theWrappedObject->addAction(text)); -} - -void PythonQtWrapper_QMenuBar::actionEvent(QMenuBar* theWrappedObject, QActionEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->promoted_actionEvent(arg__1)); -} - -void PythonQtWrapper_QMenuBar::keyPressEvent(QMenuBar* theWrappedObject, QKeyEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->promoted_keyPressEvent(arg__1)); -} - -void PythonQtWrapper_QMenuBar::paintEvent(QMenuBar* theWrappedObject, QPaintEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->promoted_paintEvent(arg__1)); -} - -bool PythonQtWrapper_QMenuBar::event(QMenuBar* theWrappedObject, QEvent* arg__1) -{ - return ( ((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->promoted_event(arg__1)); -} - -void PythonQtWrapper_QMenuBar::leaveEvent(QMenuBar* theWrappedObject, QEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->promoted_leaveEvent(arg__1)); -} - -void PythonQtWrapper_QMenuBar::mousePressEvent(QMenuBar* theWrappedObject, QMouseEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->promoted_mousePressEvent(arg__1)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMenuBar.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMenuBar.h deleted file mode 100644 index a57e7bb..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMenuBar.h +++ /dev/null @@ -1,148 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QMENUBAR_H -#define PYTHONQTWRAPPER_QMENUBAR_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QMenuBar : public QMenuBar -{ -public: - PythonQtShell_QMenuBar(QWidget* parent = 0):QMenuBar(parent),_wrapper(NULL) {}; - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* arg__1); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void setVisible(bool visible); -virtual void showEvent(QShowEvent* arg__1); -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QMenuBar : public QMenuBar -{ public: -inline void promoted_timerEvent(QTimerEvent* arg__1) { QMenuBar::timerEvent(arg__1); } -inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { QMenuBar::mouseReleaseEvent(arg__1); } -inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { QMenuBar::mouseMoveEvent(arg__1); } -inline int promoted_heightForWidth(int arg__1) const { return QMenuBar::heightForWidth(arg__1); } -inline void promoted_setVisible(bool visible) { QMenuBar::setVisible(visible); } -inline void promoted_changeEvent(QEvent* arg__1) { QMenuBar::changeEvent(arg__1); } -inline void promoted_focusInEvent(QFocusEvent* arg__1) { QMenuBar::focusInEvent(arg__1); } -inline void promoted_resizeEvent(QResizeEvent* arg__1) { QMenuBar::resizeEvent(arg__1); } -inline bool promoted_eventFilter(QObject* arg__1, QEvent* arg__2) { return QMenuBar::eventFilter(arg__1, arg__2); } -inline void promoted_focusOutEvent(QFocusEvent* arg__1) { QMenuBar::focusOutEvent(arg__1); } -inline void promoted_actionEvent(QActionEvent* arg__1) { QMenuBar::actionEvent(arg__1); } -inline void promoted_keyPressEvent(QKeyEvent* arg__1) { QMenuBar::keyPressEvent(arg__1); } -inline void promoted_paintEvent(QPaintEvent* arg__1) { QMenuBar::paintEvent(arg__1); } -inline bool promoted_event(QEvent* arg__1) { return QMenuBar::event(arg__1); } -inline void promoted_leaveEvent(QEvent* arg__1) { QMenuBar::leaveEvent(arg__1); } -inline void promoted_mousePressEvent(QMouseEvent* arg__1) { QMenuBar::mousePressEvent(arg__1); } -}; - -class PythonQtWrapper_QMenuBar : public QObject -{ Q_OBJECT -public: -public slots: -QMenuBar* new_QMenuBar(QWidget* parent = 0); -void delete_QMenuBar(QMenuBar* obj) { delete obj; } - void timerEvent(QMenuBar* theWrappedObject, QTimerEvent* arg__1); - void mouseReleaseEvent(QMenuBar* theWrappedObject, QMouseEvent* arg__1); - QMenu* addMenu(QMenuBar* theWrappedObject, const QString& title); - QAction* addSeparator(QMenuBar* theWrappedObject); - void mouseMoveEvent(QMenuBar* theWrappedObject, QMouseEvent* arg__1); - QSize sizeHint(QMenuBar* theWrappedObject) const; - void setActiveAction(QMenuBar* theWrappedObject, QAction* action); - int heightForWidth(QMenuBar* theWrappedObject, int arg__1) const; - QAction* insertSeparator(QMenuBar* theWrappedObject, QAction* before); - void setDefaultUp(QMenuBar* theWrappedObject, bool arg__1); - QAction* addMenu(QMenuBar* theWrappedObject, QMenu* menu); - void setCornerWidget(QMenuBar* theWrappedObject, QWidget* w, Qt::Corner corner = Qt::TopRightCorner); - void changeEvent(QMenuBar* theWrappedObject, QEvent* arg__1); - QAction* actionAt(QMenuBar* theWrappedObject, const QPoint& arg__1) const; - QRect actionGeometry(QMenuBar* theWrappedObject, QAction* arg__1) const; - QSize minimumSizeHint(QMenuBar* theWrappedObject) const; - QMenu* addMenu(QMenuBar* theWrappedObject, const QIcon& icon, const QString& title); - void focusInEvent(QMenuBar* theWrappedObject, QFocusEvent* arg__1); - void resizeEvent(QMenuBar* theWrappedObject, QResizeEvent* arg__1); - QAction* activeAction(QMenuBar* theWrappedObject) const; - void clear(QMenuBar* theWrappedObject); - bool eventFilter(QMenuBar* theWrappedObject, QObject* arg__1, QEvent* arg__2); - void focusOutEvent(QMenuBar* theWrappedObject, QFocusEvent* arg__1); - bool isDefaultUp(QMenuBar* theWrappedObject) const; - QWidget* cornerWidget(QMenuBar* theWrappedObject, Qt::Corner corner = Qt::TopRightCorner) const; - QAction* insertMenu(QMenuBar* theWrappedObject, QAction* before, QMenu* menu); - QAction* addAction(QMenuBar* theWrappedObject, const QString& text); - void actionEvent(QMenuBar* theWrappedObject, QActionEvent* arg__1); - void keyPressEvent(QMenuBar* theWrappedObject, QKeyEvent* arg__1); - void paintEvent(QMenuBar* theWrappedObject, QPaintEvent* arg__1); - bool event(QMenuBar* theWrappedObject, QEvent* arg__1); - void leaveEvent(QMenuBar* theWrappedObject, QEvent* arg__1); - void mousePressEvent(QMenuBar* theWrappedObject, QMouseEvent* arg__1); -}; - -#endif // PYTHONQTWRAPPER_QMENUBAR_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMessageBox.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMessageBox.cpp deleted file mode 100644 index a7b0c53..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMessageBox.cpp +++ /dev/null @@ -1,1050 +0,0 @@ -#include "PythonQtWrapper_QMessageBox.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QMessageBox::accept() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "accept"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMessageBox::accept(); -} -void PythonQtShell_QMessageBox::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QMessageBox::actionEvent(arg__1); -} -void PythonQtShell_QMessageBox::changeEvent(QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMessageBox::changeEvent(event); -} -void PythonQtShell_QMessageBox::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; - } -} - QMessageBox::childEvent(arg__1); -} -void PythonQtShell_QMessageBox::closeEvent(QCloseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QMessageBox::closeEvent(event); -} -void PythonQtShell_QMessageBox::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMessageBox::contextMenuEvent(arg__1); -} -void PythonQtShell_QMessageBox::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; - } -} - QMessageBox::customEvent(arg__1); -} -int PythonQtShell_QMessageBox::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMessageBox::devType(); -} -void PythonQtShell_QMessageBox::done(int arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "done"); - 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; - } -} - QMessageBox::done(arg__1); -} -void PythonQtShell_QMessageBox::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QMessageBox::dragEnterEvent(arg__1); -} -void PythonQtShell_QMessageBox::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QMessageBox::dragLeaveEvent(arg__1); -} -void PythonQtShell_QMessageBox::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QMessageBox::dragMoveEvent(arg__1); -} -void PythonQtShell_QMessageBox::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QMessageBox::dropEvent(arg__1); -} -void PythonQtShell_QMessageBox::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QMessageBox::enterEvent(arg__1); -} -bool PythonQtShell_QMessageBox::event(QEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMessageBox::event(e); -} -bool PythonQtShell_QMessageBox::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMessageBox::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QMessageBox::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QMessageBox::focusInEvent(arg__1); -} -bool PythonQtShell_QMessageBox::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMessageBox::focusNextPrevChild(next); -} -void PythonQtShell_QMessageBox::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QMessageBox::focusOutEvent(arg__1); -} -int PythonQtShell_QMessageBox::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMessageBox::heightForWidth(arg__1); -} -void PythonQtShell_QMessageBox::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QMessageBox::hideEvent(arg__1); -} -void PythonQtShell_QMessageBox::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QMessageBox::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QMessageBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMessageBox::inputMethodQuery(arg__1); -} -void PythonQtShell_QMessageBox::keyPressEvent(QKeyEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMessageBox::keyPressEvent(event); -} -void PythonQtShell_QMessageBox::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMessageBox::keyReleaseEvent(arg__1); -} -void PythonQtShell_QMessageBox::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMessageBox::languageChange(); -} -void PythonQtShell_QMessageBox::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QMessageBox::leaveEvent(arg__1); -} -int PythonQtShell_QMessageBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMessageBox::metric(arg__1); -} -void PythonQtShell_QMessageBox::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QMessageBox::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QMessageBox::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QMessageBox::mouseMoveEvent(arg__1); -} -void PythonQtShell_QMessageBox::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QMessageBox::mousePressEvent(arg__1); -} -void PythonQtShell_QMessageBox::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QMessageBox::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QMessageBox::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMessageBox::moveEvent(arg__1); -} -QPaintEngine* PythonQtShell_QMessageBox::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMessageBox::paintEngine(); -} -void PythonQtShell_QMessageBox::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - 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; - } -} - QMessageBox::paintEvent(arg__1); -} -void PythonQtShell_QMessageBox::reject() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reject"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMessageBox::reject(); -} -void PythonQtShell_QMessageBox::resizeEvent(QResizeEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - 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; - } -} - QMessageBox::resizeEvent(event); -} -void PythonQtShell_QMessageBox::showEvent(QShowEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QMessageBox::showEvent(event); -} -void PythonQtShell_QMessageBox::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QMessageBox::tabletEvent(arg__1); -} -void PythonQtShell_QMessageBox::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; - } -} - QMessageBox::timerEvent(arg__1); -} -void PythonQtShell_QMessageBox::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMessageBox::wheelEvent(arg__1); -} -QMessageBox* PythonQtWrapper_QMessageBox::new_QMessageBox(QMessageBox::Icon icon, const QString& title, const QString& text, QMessageBox::StandardButtons buttons, QWidget* parent, Qt::WindowFlags f) -{ -return new PythonQtShell_QMessageBox(icon, title, text, buttons, parent, f); } - -QMessageBox* PythonQtWrapper_QMessageBox::new_QMessageBox(QWidget* parent) -{ -return new PythonQtShell_QMessageBox(parent); } - -QMessageBox::StandardButton PythonQtWrapper_QMessageBox::static_QMessageBox_information(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButtons buttons, QMessageBox::StandardButton defaultButton) -{ - return (QMessageBox::information(parent, title, text, buttons, defaultButton)); -} - -int PythonQtWrapper_QMessageBox::static_QMessageBox_question(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButton button0, QMessageBox::StandardButton button1) -{ - return (QMessageBox::question(parent, title, text, button0, button1)); -} - -void PythonQtWrapper_QMessageBox::setIconPixmap(QMessageBox* theWrappedObject, const QPixmap& pixmap) -{ - ( theWrappedObject->setIconPixmap(pixmap)); -} - -void PythonQtWrapper_QMessageBox::showEvent(QMessageBox* theWrappedObject, QShowEvent* event) -{ - ( ((PythonQtPublicPromoter_QMessageBox*)theWrappedObject)->promoted_showEvent(event)); -} - -void PythonQtWrapper_QMessageBox::static_QMessageBox_about(QWidget* parent, const QString& title, const QString& text) -{ - (QMessageBox::about(parent, title, text)); -} - -QSize PythonQtWrapper_QMessageBox::sizeHint(QMessageBox* theWrappedObject) const -{ - return ( theWrappedObject->sizeHint()); -} - -QString PythonQtWrapper_QMessageBox::text(QMessageBox* theWrappedObject) const -{ - return ( theWrappedObject->text()); -} - -void PythonQtWrapper_QMessageBox::setTextFormat(QMessageBox* theWrappedObject, Qt::TextFormat format) -{ - ( theWrappedObject->setTextFormat(format)); -} - -bool PythonQtWrapper_QMessageBox::event(QMessageBox* theWrappedObject, QEvent* e) -{ - return ( ((PythonQtPublicPromoter_QMessageBox*)theWrappedObject)->promoted_event(e)); -} - -void PythonQtWrapper_QMessageBox::closeEvent(QMessageBox* theWrappedObject, QCloseEvent* event) -{ - ( ((PythonQtPublicPromoter_QMessageBox*)theWrappedObject)->promoted_closeEvent(event)); -} - -void PythonQtWrapper_QMessageBox::setDefaultButton(QMessageBox* theWrappedObject, QMessageBox::StandardButton button) -{ - ( theWrappedObject->setDefaultButton(button)); -} - -void PythonQtWrapper_QMessageBox::setEscapeButton(QMessageBox* theWrappedObject, QMessageBox::StandardButton button) -{ - ( theWrappedObject->setEscapeButton(button)); -} - -void PythonQtWrapper_QMessageBox::addButton(QMessageBox* theWrappedObject, QAbstractButton* button, QMessageBox::ButtonRole role) -{ - ( theWrappedObject->addButton(button, role)); -} - -void PythonQtWrapper_QMessageBox::setStandardButtons(QMessageBox* theWrappedObject, QMessageBox::StandardButtons buttons) -{ - ( theWrappedObject->setStandardButtons(buttons)); -} - -void PythonQtWrapper_QMessageBox::changeEvent(QMessageBox* theWrappedObject, QEvent* event) -{ - ( ((PythonQtPublicPromoter_QMessageBox*)theWrappedObject)->promoted_changeEvent(event)); -} - -void PythonQtWrapper_QMessageBox::setDetailedText(QMessageBox* theWrappedObject, const QString& text) -{ - ( theWrappedObject->setDetailedText(text)); -} - -QPushButton* PythonQtWrapper_QMessageBox::addButton(QMessageBox* theWrappedObject, QMessageBox::StandardButton button) -{ - return ( theWrappedObject->addButton(button)); -} - -void PythonQtWrapper_QMessageBox::setDefaultButton(QMessageBox* theWrappedObject, QPushButton* button) -{ - ( theWrappedObject->setDefaultButton(button)); -} - -void PythonQtWrapper_QMessageBox::setText(QMessageBox* theWrappedObject, const QString& text) -{ - ( theWrappedObject->setText(text)); -} - -QMessageBox::StandardButton PythonQtWrapper_QMessageBox::static_QMessageBox_critical(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButtons buttons, QMessageBox::StandardButton defaultButton) -{ - return (QMessageBox::critical(parent, title, text, buttons, defaultButton)); -} - -void PythonQtWrapper_QMessageBox::static_QMessageBox_aboutQt(QWidget* parent, const QString& title) -{ - (QMessageBox::aboutQt(parent, title)); -} - -QPushButton* PythonQtWrapper_QMessageBox::defaultButton(QMessageBox* theWrappedObject) const -{ - return ( theWrappedObject->defaultButton()); -} - -QMessageBox::StandardButton PythonQtWrapper_QMessageBox::standardButton(QMessageBox* theWrappedObject, QAbstractButton* button) const -{ - return ( theWrappedObject->standardButton(button)); -} - -QAbstractButton* PythonQtWrapper_QMessageBox::button(QMessageBox* theWrappedObject, QMessageBox::StandardButton which) const -{ - return ( theWrappedObject->button(which)); -} - -QMessageBox::StandardButton PythonQtWrapper_QMessageBox::static_QMessageBox_question(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButtons buttons, QMessageBox::StandardButton defaultButton) -{ - return (QMessageBox::question(parent, title, text, buttons, defaultButton)); -} - -QAbstractButton* PythonQtWrapper_QMessageBox::escapeButton(QMessageBox* theWrappedObject) const -{ - return ( theWrappedObject->escapeButton()); -} - -QString PythonQtWrapper_QMessageBox::informativeText(QMessageBox* theWrappedObject) const -{ - return ( theWrappedObject->informativeText()); -} - -void PythonQtWrapper_QMessageBox::keyPressEvent(QMessageBox* theWrappedObject, QKeyEvent* event) -{ - ( ((PythonQtPublicPromoter_QMessageBox*)theWrappedObject)->promoted_keyPressEvent(event)); -} - -int PythonQtWrapper_QMessageBox::static_QMessageBox_warning(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButton button0, QMessageBox::StandardButton button1) -{ - return (QMessageBox::warning(parent, title, text, button0, button1)); -} - -QAbstractButton* PythonQtWrapper_QMessageBox::clickedButton(QMessageBox* theWrappedObject) const -{ - return ( theWrappedObject->clickedButton()); -} - -Qt::TextFormat PythonQtWrapper_QMessageBox::textFormat(QMessageBox* theWrappedObject) const -{ - return ( theWrappedObject->textFormat()); -} - -QMessageBox::Icon PythonQtWrapper_QMessageBox::icon(QMessageBox* theWrappedObject) const -{ - return ( theWrappedObject->icon()); -} - -QMessageBox::StandardButton PythonQtWrapper_QMessageBox::static_QMessageBox_information(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButton button0, QMessageBox::StandardButton button1) -{ - return (QMessageBox::information(parent, title, text, button0, button1)); -} - -void PythonQtWrapper_QMessageBox::setEscapeButton(QMessageBox* theWrappedObject, QAbstractButton* button) -{ - ( theWrappedObject->setEscapeButton(button)); -} - -void PythonQtWrapper_QMessageBox::setIcon(QMessageBox* theWrappedObject, QMessageBox::Icon arg__1) -{ - ( theWrappedObject->setIcon(arg__1)); -} - -QString PythonQtWrapper_QMessageBox::detailedText(QMessageBox* theWrappedObject) const -{ - return ( theWrappedObject->detailedText()); -} - -QPixmap PythonQtWrapper_QMessageBox::iconPixmap(QMessageBox* theWrappedObject) const -{ - return ( theWrappedObject->iconPixmap()); -} - -void PythonQtWrapper_QMessageBox::removeButton(QMessageBox* theWrappedObject, QAbstractButton* button) -{ - ( theWrappedObject->removeButton(button)); -} - -void PythonQtWrapper_QMessageBox::setInformativeText(QMessageBox* theWrappedObject, const QString& text) -{ - ( theWrappedObject->setInformativeText(text)); -} - -QMessageBox::StandardButton PythonQtWrapper_QMessageBox::static_QMessageBox_warning(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButtons buttons, QMessageBox::StandardButton defaultButton) -{ - return (QMessageBox::warning(parent, title, text, buttons, defaultButton)); -} - -int PythonQtWrapper_QMessageBox::static_QMessageBox_critical(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButton button0, QMessageBox::StandardButton button1) -{ - return (QMessageBox::critical(parent, title, text, button0, button1)); -} - -void PythonQtWrapper_QMessageBox::resizeEvent(QMessageBox* theWrappedObject, QResizeEvent* event) -{ - ( ((PythonQtPublicPromoter_QMessageBox*)theWrappedObject)->promoted_resizeEvent(event)); -} - -QMessageBox::StandardButtons PythonQtWrapper_QMessageBox::standardButtons(QMessageBox* theWrappedObject) const -{ - return ( theWrappedObject->standardButtons()); -} - -QPushButton* PythonQtWrapper_QMessageBox::addButton(QMessageBox* theWrappedObject, const QString& text, QMessageBox::ButtonRole role) -{ - return ( theWrappedObject->addButton(text, role)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMessageBox.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMessageBox.h deleted file mode 100644 index 4cbc9af..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMessageBox.h +++ /dev/null @@ -1,162 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QMESSAGEBOX_H -#define PYTHONQTWRAPPER_QMESSAGEBOX_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QMessageBox : public QMessageBox -{ -public: - PythonQtShell_QMessageBox(QMessageBox::Icon icon, const QString& title, const QString& text, QMessageBox::StandardButtons buttons = QMessageBox::NoButton, QWidget* parent = 0, Qt::WindowFlags f = Qt::Dialog | Qt::MSWindowsFixedSizeDialogHint):QMessageBox(icon, title, text, buttons, parent, f),_wrapper(NULL) {}; - PythonQtShell_QMessageBox(QWidget* parent = 0):QMessageBox(parent),_wrapper(NULL) {}; - -virtual void accept(); -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* event); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual int devType() const; -virtual void done(int arg__1); -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* arg__1); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual void reject(); -virtual void resizeEvent(QResizeEvent* event); -virtual void showEvent(QShowEvent* event); -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QMessageBox : public QMessageBox -{ public: -inline void promoted_showEvent(QShowEvent* event) { QMessageBox::showEvent(event); } -inline bool promoted_event(QEvent* e) { return QMessageBox::event(e); } -inline void promoted_closeEvent(QCloseEvent* event) { QMessageBox::closeEvent(event); } -inline void promoted_changeEvent(QEvent* event) { QMessageBox::changeEvent(event); } -inline void promoted_keyPressEvent(QKeyEvent* event) { QMessageBox::keyPressEvent(event); } -inline void promoted_resizeEvent(QResizeEvent* event) { QMessageBox::resizeEvent(event); } -}; - -class PythonQtWrapper_QMessageBox : public QObject -{ Q_OBJECT -public: -Q_ENUMS(ButtonRole StandardButton ) -Q_FLAGS(StandardButtons ) -enum ButtonRole{ - InvalidRole = QMessageBox::InvalidRole, AcceptRole = QMessageBox::AcceptRole, RejectRole = QMessageBox::RejectRole, DestructiveRole = QMessageBox::DestructiveRole, ActionRole = QMessageBox::ActionRole, HelpRole = QMessageBox::HelpRole, YesRole = QMessageBox::YesRole, NoRole = QMessageBox::NoRole, ResetRole = QMessageBox::ResetRole, ApplyRole = QMessageBox::ApplyRole, NRoles = QMessageBox::NRoles}; -enum StandardButton{ - NoButton = QMessageBox::NoButton, Ok = QMessageBox::Ok, Save = QMessageBox::Save, SaveAll = QMessageBox::SaveAll, Open = QMessageBox::Open, Yes = QMessageBox::Yes, YesToAll = QMessageBox::YesToAll, No = QMessageBox::No, NoToAll = QMessageBox::NoToAll, Abort = QMessageBox::Abort, Retry = QMessageBox::Retry, Ignore = QMessageBox::Ignore, Close = QMessageBox::Close, Cancel = QMessageBox::Cancel, Discard = QMessageBox::Discard, Help = QMessageBox::Help, Apply = QMessageBox::Apply, Reset = QMessageBox::Reset, RestoreDefaults = QMessageBox::RestoreDefaults, FirstButton = QMessageBox::FirstButton, LastButton = QMessageBox::LastButton, YesAll = QMessageBox::YesAll, NoAll = QMessageBox::NoAll, Default = QMessageBox::Default, Escape = QMessageBox::Escape, FlagMask = QMessageBox::FlagMask, ButtonMask = QMessageBox::ButtonMask}; -Q_DECLARE_FLAGS(StandardButtons, StandardButton) -public slots: -QMessageBox* new_QMessageBox(QMessageBox::Icon icon, const QString& title, const QString& text, QMessageBox::StandardButtons buttons = QMessageBox::NoButton, QWidget* parent = 0, Qt::WindowFlags f = Qt::Dialog | Qt::MSWindowsFixedSizeDialogHint); -QMessageBox* new_QMessageBox(QWidget* parent = 0); -void delete_QMessageBox(QMessageBox* obj) { delete obj; } - QMessageBox::StandardButton static_QMessageBox_information(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButtons buttons = QMessageBox::Ok, QMessageBox::StandardButton defaultButton = QMessageBox::NoButton); - int static_QMessageBox_question(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButton button0, QMessageBox::StandardButton button1); - void setIconPixmap(QMessageBox* theWrappedObject, const QPixmap& pixmap); - void showEvent(QMessageBox* theWrappedObject, QShowEvent* event); - void static_QMessageBox_about(QWidget* parent, const QString& title, const QString& text); - QSize sizeHint(QMessageBox* theWrappedObject) const; - QString text(QMessageBox* theWrappedObject) const; - void setTextFormat(QMessageBox* theWrappedObject, Qt::TextFormat format); - bool event(QMessageBox* theWrappedObject, QEvent* e); - void closeEvent(QMessageBox* theWrappedObject, QCloseEvent* event); - void setDefaultButton(QMessageBox* theWrappedObject, QMessageBox::StandardButton button); - void setEscapeButton(QMessageBox* theWrappedObject, QMessageBox::StandardButton button); - void addButton(QMessageBox* theWrappedObject, QAbstractButton* button, QMessageBox::ButtonRole role); - void setStandardButtons(QMessageBox* theWrappedObject, QMessageBox::StandardButtons buttons); - void changeEvent(QMessageBox* theWrappedObject, QEvent* event); - void setDetailedText(QMessageBox* theWrappedObject, const QString& text); - QPushButton* addButton(QMessageBox* theWrappedObject, QMessageBox::StandardButton button); - void setDefaultButton(QMessageBox* theWrappedObject, QPushButton* button); - void setText(QMessageBox* theWrappedObject, const QString& text); - QMessageBox::StandardButton static_QMessageBox_critical(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButtons buttons = QMessageBox::Ok, QMessageBox::StandardButton defaultButton = QMessageBox::NoButton); - void static_QMessageBox_aboutQt(QWidget* parent, const QString& title = QString()); - QPushButton* defaultButton(QMessageBox* theWrappedObject) const; - QMessageBox::StandardButton standardButton(QMessageBox* theWrappedObject, QAbstractButton* button) const; - QAbstractButton* button(QMessageBox* theWrappedObject, QMessageBox::StandardButton which) const; - QMessageBox::StandardButton static_QMessageBox_question(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButtons buttons = QMessageBox::Ok, QMessageBox::StandardButton defaultButton = QMessageBox::NoButton); - QAbstractButton* escapeButton(QMessageBox* theWrappedObject) const; - QString informativeText(QMessageBox* theWrappedObject) const; - void keyPressEvent(QMessageBox* theWrappedObject, QKeyEvent* event); - int static_QMessageBox_warning(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButton button0, QMessageBox::StandardButton button1); - QAbstractButton* clickedButton(QMessageBox* theWrappedObject) const; - Qt::TextFormat textFormat(QMessageBox* theWrappedObject) const; - QMessageBox::Icon icon(QMessageBox* theWrappedObject) const; - QMessageBox::StandardButton static_QMessageBox_information(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButton button0, QMessageBox::StandardButton button1 = QMessageBox::NoButton); - void setEscapeButton(QMessageBox* theWrappedObject, QAbstractButton* button); - void setIcon(QMessageBox* theWrappedObject, QMessageBox::Icon arg__1); - QString detailedText(QMessageBox* theWrappedObject) const; - QPixmap iconPixmap(QMessageBox* theWrappedObject) const; - void removeButton(QMessageBox* theWrappedObject, QAbstractButton* button); - void setInformativeText(QMessageBox* theWrappedObject, const QString& text); - QMessageBox::StandardButton static_QMessageBox_warning(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButtons buttons = QMessageBox::Ok, QMessageBox::StandardButton defaultButton = QMessageBox::NoButton); - int static_QMessageBox_critical(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButton button0, QMessageBox::StandardButton button1); - void resizeEvent(QMessageBox* theWrappedObject, QResizeEvent* event); - QMessageBox::StandardButtons standardButtons(QMessageBox* theWrappedObject) const; - QPushButton* addButton(QMessageBox* theWrappedObject, const QString& text, QMessageBox::ButtonRole role); -}; - -#endif // PYTHONQTWRAPPER_QMESSAGEBOX_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMotifStyle.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMotifStyle.cpp deleted file mode 100644 index ae5eb06..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMotifStyle.cpp +++ /dev/null @@ -1,679 +0,0 @@ -#include "PythonQtWrapper_QMotifStyle.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QMotifStyle::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; - } -} - QMotifStyle::childEvent(arg__1); -} -void PythonQtShell_QMotifStyle::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; - } -} - QMotifStyle::customEvent(arg__1); -} -void PythonQtShell_QMotifStyle::drawComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QPainter* p, const QWidget* w) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawComplexControl"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QStyle::ComplexControl" , "const QStyleOptionComplex*" , "QPainter*" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&cc, (void*)&opt, (void*)&p, (void*)&w}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMotifStyle::drawComplexControl(cc, opt, p, w); -} -void PythonQtShell_QMotifStyle::drawControl(QStyle::ControlElement element, const QStyleOption* opt, QPainter* p, const QWidget* w) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawControl"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QStyle::ControlElement" , "const QStyleOption*" , "QPainter*" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&element, (void*)&opt, (void*)&p, (void*)&w}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMotifStyle::drawControl(element, opt, p, w); -} -void PythonQtShell_QMotifStyle::drawItemPixmap(QPainter* painter, const QRect& rect, int alignment, const QPixmap& pixmap) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawItemPixmap"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "int" , "const QPixmap&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&painter, (void*)&rect, (void*)&alignment, (void*)&pixmap}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMotifStyle::drawItemPixmap(painter, rect, alignment, pixmap); -} -void PythonQtShell_QMotifStyle::drawItemText(QPainter* painter, const QRect& rect, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawItemText"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "int" , "const QPalette&" , "bool" , "const QString&" , "QPalette::ColorRole"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(8, argumentList); - void* args[8] = {NULL, (void*)&painter, (void*)&rect, (void*)&flags, (void*)&pal, (void*)&enabled, (void*)&text, (void*)&textRole}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMotifStyle::drawItemText(painter, rect, flags, pal, enabled, text, textRole); -} -void PythonQtShell_QMotifStyle::drawPrimitive(QStyle::PrimitiveElement pe, const QStyleOption* opt, QPainter* p, const QWidget* w) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawPrimitive"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QStyle::PrimitiveElement" , "const QStyleOption*" , "QPainter*" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&pe, (void*)&opt, (void*)&p, (void*)&w}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMotifStyle::drawPrimitive(pe, opt, p, w); -} -bool PythonQtShell_QMotifStyle::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMotifStyle::event(arg__1); -} -bool PythonQtShell_QMotifStyle::eventFilter(QObject* o, QEvent* e) -{ -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*)&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) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMotifStyle::eventFilter(o, e); -} -QPixmap PythonQtShell_QMotifStyle::generatedIconPixmap(QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "generatedIconPixmap"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPixmap" , "QIcon::Mode" , "const QPixmap&" , "const QStyleOption*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QPixmap returnValue; - void* args[4] = {NULL, (void*)&iconMode, (void*)&pixmap, (void*)&opt}; - 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("generatedIconPixmap", methodInfo, result); - } else { - returnValue = *((QPixmap*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMotifStyle::generatedIconPixmap(iconMode, pixmap, opt); -} -QStyle::SubControl PythonQtShell_QMotifStyle::hitTestComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, const QPoint& pt, const QWidget* w) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hitTestComplexControl"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QStyle::SubControl" , "QStyle::ComplexControl" , "const QStyleOptionComplex*" , "const QPoint&" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - QStyle::SubControl returnValue; - void* args[5] = {NULL, (void*)&cc, (void*)&opt, (void*)&pt, (void*)&w}; - 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("hitTestComplexControl", methodInfo, result); - } else { - returnValue = *((QStyle::SubControl*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMotifStyle::hitTestComplexControl(cc, opt, pt, w); -} -QRect PythonQtShell_QMotifStyle::itemPixmapRect(const QRect& r, int flags, const QPixmap& pixmap) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemPixmapRect"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QRect" , "const QRect&" , "int" , "const QPixmap&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QRect returnValue; - void* args[4] = {NULL, (void*)&r, (void*)&flags, (void*)&pixmap}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemPixmapRect", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMotifStyle::itemPixmapRect(r, flags, pixmap); -} -int PythonQtShell_QMotifStyle::pixelMetric(QStyle::PixelMetric metric, const QStyleOption* option, const QWidget* widget) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "pixelMetric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QStyle::PixelMetric" , "const QStyleOption*" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - int returnValue; - void* args[4] = {NULL, (void*)&metric, (void*)&option, (void*)&widget}; - 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("pixelMetric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMotifStyle::pixelMetric(metric, option, widget); -} -void PythonQtShell_QMotifStyle::polish(QApplication* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "polish"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QApplication*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMotifStyle::polish(arg__1); -} -void PythonQtShell_QMotifStyle::polish(QPalette& arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "polish"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPalette&"}; - 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; - } -} - QMotifStyle::polish(arg__1); -} -void PythonQtShell_QMotifStyle::polish(QWidget* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "polish"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWidget*"}; - 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; - } -} - QMotifStyle::polish(arg__1); -} -QSize PythonQtShell_QMotifStyle::sizeFromContents(QStyle::ContentsType ct, const QStyleOption* opt, const QSize& contentsSize, const QWidget* widget) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeFromContents"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize" , "QStyle::ContentsType" , "const QStyleOption*" , "const QSize&" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - QSize returnValue; - void* args[5] = {NULL, (void*)&ct, (void*)&opt, (void*)&contentsSize, (void*)&widget}; - 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("sizeFromContents", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMotifStyle::sizeFromContents(ct, opt, contentsSize, widget); -} -QPalette PythonQtShell_QMotifStyle::standardPalette() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "standardPalette"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPalette"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPalette returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("standardPalette", methodInfo, result); - } else { - returnValue = *((QPalette*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMotifStyle::standardPalette(); -} -QPixmap PythonQtShell_QMotifStyle::standardPixmap(QStyle::StandardPixmap standardPixmap, const QStyleOption* opt, const QWidget* widget) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "standardPixmap"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPixmap" , "QStyle::StandardPixmap" , "const QStyleOption*" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QPixmap returnValue; - void* args[4] = {NULL, (void*)&standardPixmap, (void*)&opt, (void*)&widget}; - 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("standardPixmap", methodInfo, result); - } else { - returnValue = *((QPixmap*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QPixmap result; -return result; -} -int PythonQtShell_QMotifStyle::styleHint(QStyle::StyleHint hint, const QStyleOption* opt, const QWidget* widget, QStyleHintReturn* returnData) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "styleHint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QStyle::StyleHint" , "const QStyleOption*" , "const QWidget*" , "QStyleHintReturn*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - int returnValue; - void* args[5] = {NULL, (void*)&hint, (void*)&opt, (void*)&widget, (void*)&returnData}; - 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("styleHint", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMotifStyle::styleHint(hint, opt, widget, returnData); -} -QRect PythonQtShell_QMotifStyle::subControlRect(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* widget) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "subControlRect"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QRect" , "QStyle::ComplexControl" , "const QStyleOptionComplex*" , "QStyle::SubControl" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - QRect returnValue; - void* args[5] = {NULL, (void*)&cc, (void*)&opt, (void*)&sc, (void*)&widget}; - 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("subControlRect", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMotifStyle::subControlRect(cc, opt, sc, widget); -} -QRect PythonQtShell_QMotifStyle::subElementRect(QStyle::SubElement r, const QStyleOption* opt, const QWidget* widget) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "subElementRect"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QRect" , "QStyle::SubElement" , "const QStyleOption*" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QRect returnValue; - void* args[4] = {NULL, (void*)&r, (void*)&opt, (void*)&widget}; - 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("subElementRect", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMotifStyle::subElementRect(r, opt, widget); -} -void PythonQtShell_QMotifStyle::timerEvent(QTimerEvent* event) -{ -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*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMotifStyle::timerEvent(event); -} -void PythonQtShell_QMotifStyle::unpolish(QApplication* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "unpolish"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QApplication*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMotifStyle::unpolish(arg__1); -} -void PythonQtShell_QMotifStyle::unpolish(QWidget* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "unpolish"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QMotifStyle::unpolish(arg__1); -} -QMotifStyle* PythonQtWrapper_QMotifStyle::new_QMotifStyle(bool useHighlightCols) -{ -return new PythonQtShell_QMotifStyle(useHighlightCols); } - -void PythonQtWrapper_QMotifStyle::setUseHighlightColors(QMotifStyle* theWrappedObject, bool arg__1) -{ - ( theWrappedObject->setUseHighlightColors(arg__1)); -} - -void PythonQtWrapper_QMotifStyle::unpolish(QMotifStyle* theWrappedObject, QApplication* arg__1) -{ - ( ((PythonQtPublicPromoter_QMotifStyle*)theWrappedObject)->promoted_unpolish(arg__1)); -} - -void PythonQtWrapper_QMotifStyle::drawPrimitive(QMotifStyle* theWrappedObject, QStyle::PrimitiveElement pe, const QStyleOption* opt, QPainter* p, const QWidget* w) const -{ - ( ((PythonQtPublicPromoter_QMotifStyle*)theWrappedObject)->promoted_drawPrimitive(pe, opt, p, w)); -} - -void PythonQtWrapper_QMotifStyle::timerEvent(QMotifStyle* theWrappedObject, QTimerEvent* event) -{ - ( ((PythonQtPublicPromoter_QMotifStyle*)theWrappedObject)->promoted_timerEvent(event)); -} - -void PythonQtWrapper_QMotifStyle::drawComplexControl(QMotifStyle* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QPainter* p, const QWidget* w) const -{ - ( ((PythonQtPublicPromoter_QMotifStyle*)theWrappedObject)->promoted_drawComplexControl(cc, opt, p, w)); -} - -void PythonQtWrapper_QMotifStyle::polish(QMotifStyle* theWrappedObject, QApplication* arg__1) -{ - ( ((PythonQtPublicPromoter_QMotifStyle*)theWrappedObject)->promoted_polish(arg__1)); -} - -bool PythonQtWrapper_QMotifStyle::event(QMotifStyle* theWrappedObject, QEvent* arg__1) -{ - return ( ((PythonQtPublicPromoter_QMotifStyle*)theWrappedObject)->promoted_event(arg__1)); -} - -bool PythonQtWrapper_QMotifStyle::useHighlightColors(QMotifStyle* theWrappedObject) const -{ - return ( theWrappedObject->useHighlightColors()); -} - -QSize PythonQtWrapper_QMotifStyle::sizeFromContents(QMotifStyle* theWrappedObject, QStyle::ContentsType ct, const QStyleOption* opt, const QSize& contentsSize, const QWidget* widget) const -{ - return ( ((PythonQtPublicPromoter_QMotifStyle*)theWrappedObject)->promoted_sizeFromContents(ct, opt, contentsSize, widget)); -} - -int PythonQtWrapper_QMotifStyle::styleHint(QMotifStyle* theWrappedObject, QStyle::StyleHint hint, const QStyleOption* opt, const QWidget* widget, QStyleHintReturn* returnData) const -{ - return ( ((PythonQtPublicPromoter_QMotifStyle*)theWrappedObject)->promoted_styleHint(hint, opt, widget, returnData)); -} - -int PythonQtWrapper_QMotifStyle::pixelMetric(QMotifStyle* theWrappedObject, QStyle::PixelMetric metric, const QStyleOption* option, const QWidget* widget) const -{ - return ( ((PythonQtPublicPromoter_QMotifStyle*)theWrappedObject)->promoted_pixelMetric(metric, option, widget)); -} - -void PythonQtWrapper_QMotifStyle::polish(QMotifStyle* theWrappedObject, QWidget* arg__1) -{ - ( ((PythonQtPublicPromoter_QMotifStyle*)theWrappedObject)->promoted_polish(arg__1)); -} - -QRect PythonQtWrapper_QMotifStyle::subElementRect(QMotifStyle* theWrappedObject, QStyle::SubElement r, const QStyleOption* opt, const QWidget* widget) const -{ - return ( ((PythonQtPublicPromoter_QMotifStyle*)theWrappedObject)->promoted_subElementRect(r, opt, widget)); -} - -QPalette PythonQtWrapper_QMotifStyle::standardPalette(QMotifStyle* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QMotifStyle*)theWrappedObject)->promoted_standardPalette()); -} - -void PythonQtWrapper_QMotifStyle::unpolish(QMotifStyle* theWrappedObject, QWidget* arg__1) -{ - ( ((PythonQtPublicPromoter_QMotifStyle*)theWrappedObject)->promoted_unpolish(arg__1)); -} - -bool PythonQtWrapper_QMotifStyle::eventFilter(QMotifStyle* theWrappedObject, QObject* o, QEvent* e) -{ - return ( ((PythonQtPublicPromoter_QMotifStyle*)theWrappedObject)->promoted_eventFilter(o, e)); -} - -QRect PythonQtWrapper_QMotifStyle::subControlRect(QMotifStyle* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* widget) const -{ - return ( ((PythonQtPublicPromoter_QMotifStyle*)theWrappedObject)->promoted_subControlRect(cc, opt, sc, widget)); -} - -void PythonQtWrapper_QMotifStyle::drawControl(QMotifStyle* theWrappedObject, QStyle::ControlElement element, const QStyleOption* opt, QPainter* p, const QWidget* w) const -{ - ( ((PythonQtPublicPromoter_QMotifStyle*)theWrappedObject)->promoted_drawControl(element, opt, p, w)); -} - -void PythonQtWrapper_QMotifStyle::polish(QMotifStyle* theWrappedObject, QPalette& arg__1) -{ - ( ((PythonQtPublicPromoter_QMotifStyle*)theWrappedObject)->promoted_polish(arg__1)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMotifStyle.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMotifStyle.h deleted file mode 100644 index 6324d97..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMotifStyle.h +++ /dev/null @@ -1,108 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QMOTIFSTYLE_H -#define PYTHONQTWRAPPER_QMOTIFSTYLE_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QMotifStyle : public QMotifStyle -{ -public: - PythonQtShell_QMotifStyle(bool useHighlightCols = false):QMotifStyle(useHighlightCols),_wrapper(NULL) {}; - -virtual void childEvent(QChildEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual void drawComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QPainter* p, const QWidget* w = 0) const; -virtual void drawControl(QStyle::ControlElement element, const QStyleOption* opt, QPainter* p, const QWidget* w = 0) const; -virtual void drawItemPixmap(QPainter* painter, const QRect& rect, int alignment, const QPixmap& pixmap) const; -virtual void drawItemText(QPainter* painter, const QRect& rect, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole) const; -virtual void drawPrimitive(QStyle::PrimitiveElement pe, const QStyleOption* opt, QPainter* p, const QWidget* w = 0) const; -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* o, QEvent* e); -virtual QPixmap generatedIconPixmap(QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const; -virtual QStyle::SubControl hitTestComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, const QPoint& pt, const QWidget* w) const; -virtual QRect itemPixmapRect(const QRect& r, int flags, const QPixmap& pixmap) const; -virtual int pixelMetric(QStyle::PixelMetric metric, const QStyleOption* option = 0, const QWidget* widget = 0) const; -virtual void polish(QApplication* arg__1); -virtual void polish(QPalette& arg__1); -virtual void polish(QWidget* arg__1); -virtual QSize sizeFromContents(QStyle::ContentsType ct, const QStyleOption* opt, const QSize& contentsSize, const QWidget* widget = 0) const; -virtual QPalette standardPalette() const; -virtual QPixmap standardPixmap(QStyle::StandardPixmap standardPixmap, const QStyleOption* opt, const QWidget* widget) const; -virtual int styleHint(QStyle::StyleHint hint, const QStyleOption* opt = 0, const QWidget* widget = 0, QStyleHintReturn* returnData = 0) const; -virtual QRect subControlRect(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* widget = 0) const; -virtual QRect subElementRect(QStyle::SubElement r, const QStyleOption* opt, const QWidget* widget = 0) const; -virtual void timerEvent(QTimerEvent* event); -virtual void unpolish(QApplication* arg__1); -virtual void unpolish(QWidget* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QMotifStyle : public QMotifStyle -{ public: -inline void promoted_unpolish(QApplication* arg__1) { QMotifStyle::unpolish(arg__1); } -inline void promoted_drawPrimitive(QStyle::PrimitiveElement pe, const QStyleOption* opt, QPainter* p, const QWidget* w = 0) const { QMotifStyle::drawPrimitive(pe, opt, p, w); } -inline void promoted_timerEvent(QTimerEvent* event) { QMotifStyle::timerEvent(event); } -inline void promoted_drawComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QPainter* p, const QWidget* w = 0) const { QMotifStyle::drawComplexControl(cc, opt, p, w); } -inline void promoted_polish(QApplication* arg__1) { QMotifStyle::polish(arg__1); } -inline bool promoted_event(QEvent* arg__1) { return QMotifStyle::event(arg__1); } -inline QSize promoted_sizeFromContents(QStyle::ContentsType ct, const QStyleOption* opt, const QSize& contentsSize, const QWidget* widget = 0) const { return QMotifStyle::sizeFromContents(ct, opt, contentsSize, widget); } -inline int promoted_styleHint(QStyle::StyleHint hint, const QStyleOption* opt = 0, const QWidget* widget = 0, QStyleHintReturn* returnData = 0) const { return QMotifStyle::styleHint(hint, opt, widget, returnData); } -inline int promoted_pixelMetric(QStyle::PixelMetric metric, const QStyleOption* option = 0, const QWidget* widget = 0) const { return QMotifStyle::pixelMetric(metric, option, widget); } -inline void promoted_polish(QWidget* arg__1) { QMotifStyle::polish(arg__1); } -inline QRect promoted_subElementRect(QStyle::SubElement r, const QStyleOption* opt, const QWidget* widget = 0) const { return QMotifStyle::subElementRect(r, opt, widget); } -inline QPalette promoted_standardPalette() const { return QMotifStyle::standardPalette(); } -inline void promoted_unpolish(QWidget* arg__1) { QMotifStyle::unpolish(arg__1); } -inline bool promoted_eventFilter(QObject* o, QEvent* e) { return QMotifStyle::eventFilter(o, e); } -inline QRect promoted_subControlRect(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* widget = 0) const { return QMotifStyle::subControlRect(cc, opt, sc, widget); } -inline void promoted_drawControl(QStyle::ControlElement element, const QStyleOption* opt, QPainter* p, const QWidget* w = 0) const { QMotifStyle::drawControl(element, opt, p, w); } -inline void promoted_polish(QPalette& arg__1) { QMotifStyle::polish(arg__1); } -}; - -class PythonQtWrapper_QMotifStyle : public QObject -{ Q_OBJECT -public: -public slots: -QMotifStyle* new_QMotifStyle(bool useHighlightCols = false); -void delete_QMotifStyle(QMotifStyle* obj) { delete obj; } - void setUseHighlightColors(QMotifStyle* theWrappedObject, bool arg__1); - void unpolish(QMotifStyle* theWrappedObject, QApplication* arg__1); - void drawPrimitive(QMotifStyle* theWrappedObject, QStyle::PrimitiveElement pe, const QStyleOption* opt, QPainter* p, const QWidget* w = 0) const; - void timerEvent(QMotifStyle* theWrappedObject, QTimerEvent* event); - void drawComplexControl(QMotifStyle* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QPainter* p, const QWidget* w = 0) const; - void polish(QMotifStyle* theWrappedObject, QApplication* arg__1); - bool event(QMotifStyle* theWrappedObject, QEvent* arg__1); - bool useHighlightColors(QMotifStyle* theWrappedObject) const; - QSize sizeFromContents(QMotifStyle* theWrappedObject, QStyle::ContentsType ct, const QStyleOption* opt, const QSize& contentsSize, const QWidget* widget = 0) const; - int styleHint(QMotifStyle* theWrappedObject, QStyle::StyleHint hint, const QStyleOption* opt = 0, const QWidget* widget = 0, QStyleHintReturn* returnData = 0) const; - int pixelMetric(QMotifStyle* theWrappedObject, QStyle::PixelMetric metric, const QStyleOption* option = 0, const QWidget* widget = 0) const; - void polish(QMotifStyle* theWrappedObject, QWidget* arg__1); - QRect subElementRect(QMotifStyle* theWrappedObject, QStyle::SubElement r, const QStyleOption* opt, const QWidget* widget = 0) const; - QPalette standardPalette(QMotifStyle* theWrappedObject) const; - void unpolish(QMotifStyle* theWrappedObject, QWidget* arg__1); - bool eventFilter(QMotifStyle* theWrappedObject, QObject* o, QEvent* e); - QRect subControlRect(QMotifStyle* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* widget = 0) const; - void drawControl(QMotifStyle* theWrappedObject, QStyle::ControlElement element, const QStyleOption* opt, QPainter* p, const QWidget* w = 0) const; - void polish(QMotifStyle* theWrappedObject, QPalette& arg__1); -}; - -#endif // PYTHONQTWRAPPER_QMOTIFSTYLE_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMouseEvent.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMouseEvent.cpp deleted file mode 100644 index 51d669f..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMouseEvent.cpp +++ /dev/null @@ -1,72 +0,0 @@ -#include "PythonQtWrapper_QMouseEvent.h" - -#include -#include -#include -#include -#include -#include - -QMouseEvent* PythonQtWrapper_QMouseEvent::new_QMouseEvent(QEvent::Type type, const QPoint& pos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers) -{ -return new PythonQtShell_QMouseEvent(type, pos, button, buttons, modifiers); } - -QMouseEvent* PythonQtWrapper_QMouseEvent::new_QMouseEvent(QEvent::Type type, const QPoint& pos, const QPoint& globalPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers) -{ -return new PythonQtShell_QMouseEvent(type, pos, globalPos, button, buttons, modifiers); } - -int PythonQtWrapper_QMouseEvent::globalX(QMouseEvent* theWrappedObject) const -{ - return ( theWrappedObject->globalX()); -} - -Qt::MouseButton PythonQtWrapper_QMouseEvent::button(QMouseEvent* theWrappedObject) const -{ - return ( theWrappedObject->button()); -} - -int PythonQtWrapper_QMouseEvent::globalY(QMouseEvent* theWrappedObject) const -{ - return ( theWrappedObject->globalY()); -} - -Qt::MouseButtons PythonQtWrapper_QMouseEvent::buttons(QMouseEvent* theWrappedObject) const -{ - return ( theWrappedObject->buttons()); -} - -QMouseEvent* PythonQtWrapper_QMouseEvent::static_QMouseEvent_createExtendedMouseEvent(QEvent::Type type, const QPointF& pos, const QPoint& globalPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers) -{ - return (QMouseEvent::createExtendedMouseEvent(type, pos, globalPos, button, buttons, modifiers)); -} - -const QPoint* PythonQtWrapper_QMouseEvent::pos(QMouseEvent* theWrappedObject) const -{ - return &( theWrappedObject->pos()); -} - -QPointF PythonQtWrapper_QMouseEvent::posF(QMouseEvent* theWrappedObject) const -{ - return ( theWrappedObject->posF()); -} - -int PythonQtWrapper_QMouseEvent::x(QMouseEvent* theWrappedObject) const -{ - return ( theWrappedObject->x()); -} - -bool PythonQtWrapper_QMouseEvent::hasExtendedInfo(QMouseEvent* theWrappedObject) const -{ - return ( theWrappedObject->hasExtendedInfo()); -} - -const QPoint* PythonQtWrapper_QMouseEvent::globalPos(QMouseEvent* theWrappedObject) const -{ - return &( theWrappedObject->globalPos()); -} - -int PythonQtWrapper_QMouseEvent::y(QMouseEvent* theWrappedObject) const -{ - return ( theWrappedObject->y()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMouseEvent.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMouseEvent.h deleted file mode 100644 index 4d7e04b..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMouseEvent.h +++ /dev/null @@ -1,43 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QMOUSEEVENT_H -#define PYTHONQTWRAPPER_QMOUSEEVENT_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtShell_QMouseEvent : public QMouseEvent -{ -public: - PythonQtShell_QMouseEvent(QEvent::Type type, const QPoint& pos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers):QMouseEvent(type, pos, button, buttons, modifiers),_wrapper(NULL) {}; - PythonQtShell_QMouseEvent(QEvent::Type type, const QPoint& pos, const QPoint& globalPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers):QMouseEvent(type, pos, globalPos, button, buttons, modifiers),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QMouseEvent : public QObject -{ Q_OBJECT -public: -public slots: -QMouseEvent* new_QMouseEvent(QEvent::Type type, const QPoint& pos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers); -QMouseEvent* new_QMouseEvent(QEvent::Type type, const QPoint& pos, const QPoint& globalPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers); -void delete_QMouseEvent(QMouseEvent* obj) { delete obj; } - int globalX(QMouseEvent* theWrappedObject) const; - Qt::MouseButton button(QMouseEvent* theWrappedObject) const; - int globalY(QMouseEvent* theWrappedObject) const; - Qt::MouseButtons buttons(QMouseEvent* theWrappedObject) const; - QMouseEvent* static_QMouseEvent_createExtendedMouseEvent(QEvent::Type type, const QPointF& pos, const QPoint& globalPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers); - const QPoint* pos(QMouseEvent* theWrappedObject) const; - QPointF posF(QMouseEvent* theWrappedObject) const; - int x(QMouseEvent* theWrappedObject) const; - bool hasExtendedInfo(QMouseEvent* theWrappedObject) const; - const QPoint* globalPos(QMouseEvent* theWrappedObject) const; - int y(QMouseEvent* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QMOUSEEVENT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMoveEvent.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMoveEvent.cpp deleted file mode 100644 index 0fd1c40..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMoveEvent.cpp +++ /dev/null @@ -1,22 +0,0 @@ -#include "PythonQtWrapper_QMoveEvent.h" - -#include -#include -#include -#include -#include - -QMoveEvent* PythonQtWrapper_QMoveEvent::new_QMoveEvent(const QPoint& pos, const QPoint& oldPos) -{ -return new PythonQtShell_QMoveEvent(pos, oldPos); } - -const QPoint* PythonQtWrapper_QMoveEvent::oldPos(QMoveEvent* theWrappedObject) const -{ - return &( theWrappedObject->oldPos()); -} - -const QPoint* PythonQtWrapper_QMoveEvent::pos(QMoveEvent* theWrappedObject) const -{ - return &( theWrappedObject->pos()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMoveEvent.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMoveEvent.h deleted file mode 100644 index d671beb..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMoveEvent.h +++ /dev/null @@ -1,31 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QMOVEEVENT_H -#define PYTHONQTWRAPPER_QMOVEEVENT_H - -#include -#include - -#include - -#include -#include - -class PythonQtShell_QMoveEvent : public QMoveEvent -{ -public: - PythonQtShell_QMoveEvent(const QPoint& pos, const QPoint& oldPos):QMoveEvent(pos, oldPos),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QMoveEvent : public QObject -{ Q_OBJECT -public: -public slots: -QMoveEvent* new_QMoveEvent(const QPoint& pos, const QPoint& oldPos); -void delete_QMoveEvent(QMoveEvent* obj) { delete obj; } - const QPoint* oldPos(QMoveEvent* theWrappedObject) const; - const QPoint* pos(QMoveEvent* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QMOVEEVENT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMovie.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMovie.cpp deleted file mode 100644 index 1d603c8..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMovie.cpp +++ /dev/null @@ -1,262 +0,0 @@ -#include "PythonQtWrapper_QMovie.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QMovie::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; - } -} - QMovie::childEvent(arg__1); -} -void PythonQtShell_QMovie::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; - } -} - QMovie::customEvent(arg__1); -} -bool PythonQtShell_QMovie::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMovie::event(arg__1); -} -bool PythonQtShell_QMovie::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QMovie::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QMovie::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; - } -} - QMovie::timerEvent(arg__1); -} -QMovie* PythonQtWrapper_QMovie::new_QMovie(QIODevice* device, const QByteArray& format, QObject* parent) -{ -return new PythonQtShell_QMovie(device, format, parent); } - -QMovie* PythonQtWrapper_QMovie::new_QMovie(QObject* parent) -{ -return new PythonQtShell_QMovie(parent); } - -QMovie* PythonQtWrapper_QMovie::new_QMovie(const QString& fileName, const QByteArray& format, QObject* parent) -{ -return new PythonQtShell_QMovie(fileName, format, parent); } - -void PythonQtWrapper_QMovie::setDevice(QMovie* theWrappedObject, QIODevice* device) -{ - ( theWrappedObject->setDevice(device)); -} - -QMovie::MovieState PythonQtWrapper_QMovie::state(QMovie* theWrappedObject) const -{ - return ( theWrappedObject->state()); -} - -int PythonQtWrapper_QMovie::speed(QMovie* theWrappedObject) const -{ - return ( theWrappedObject->speed()); -} - -int PythonQtWrapper_QMovie::loopCount(QMovie* theWrappedObject) const -{ - return ( theWrappedObject->loopCount()); -} - -void PythonQtWrapper_QMovie::setFileName(QMovie* theWrappedObject, const QString& fileName) -{ - ( theWrappedObject->setFileName(fileName)); -} - -QList PythonQtWrapper_QMovie::static_QMovie_supportedFormats() -{ - return (QMovie::supportedFormats()); -} - -QMovie::CacheMode PythonQtWrapper_QMovie::cacheMode(QMovie* theWrappedObject) const -{ - return ( theWrappedObject->cacheMode()); -} - -int PythonQtWrapper_QMovie::currentFrameNumber(QMovie* theWrappedObject) const -{ - return ( theWrappedObject->currentFrameNumber()); -} - -void PythonQtWrapper_QMovie::setScaledSize(QMovie* theWrappedObject, const QSize& size) -{ - ( theWrappedObject->setScaledSize(size)); -} - -void PythonQtWrapper_QMovie::setBackgroundColor(QMovie* theWrappedObject, const QColor& color) -{ - ( theWrappedObject->setBackgroundColor(color)); -} - -void PythonQtWrapper_QMovie::setFormat(QMovie* theWrappedObject, const QByteArray& format) -{ - ( theWrappedObject->setFormat(format)); -} - -int PythonQtWrapper_QMovie::nextFrameDelay(QMovie* theWrappedObject) const -{ - return ( theWrappedObject->nextFrameDelay()); -} - -QImage PythonQtWrapper_QMovie::currentImage(QMovie* theWrappedObject) const -{ - return ( theWrappedObject->currentImage()); -} - -QString PythonQtWrapper_QMovie::fileName(QMovie* theWrappedObject) const -{ - return ( theWrappedObject->fileName()); -} - -bool PythonQtWrapper_QMovie::isValid(QMovie* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -void PythonQtWrapper_QMovie::setCacheMode(QMovie* theWrappedObject, QMovie::CacheMode mode) -{ - ( theWrappedObject->setCacheMode(mode)); -} - -QSize PythonQtWrapper_QMovie::scaledSize(QMovie* theWrappedObject) -{ - return ( theWrappedObject->scaledSize()); -} - -int PythonQtWrapper_QMovie::frameCount(QMovie* theWrappedObject) const -{ - return ( theWrappedObject->frameCount()); -} - -QColor PythonQtWrapper_QMovie::backgroundColor(QMovie* theWrappedObject) const -{ - return ( theWrappedObject->backgroundColor()); -} - -QRect PythonQtWrapper_QMovie::frameRect(QMovie* theWrappedObject) const -{ - return ( theWrappedObject->frameRect()); -} - -QPixmap PythonQtWrapper_QMovie::currentPixmap(QMovie* theWrappedObject) const -{ - return ( theWrappedObject->currentPixmap()); -} - -QByteArray PythonQtWrapper_QMovie::format(QMovie* theWrappedObject) const -{ - return ( theWrappedObject->format()); -} - -QIODevice* PythonQtWrapper_QMovie::device(QMovie* theWrappedObject) const -{ - return ( theWrappedObject->device()); -} - -bool PythonQtWrapper_QMovie::jumpToFrame(QMovie* theWrappedObject, int frameNumber) -{ - return ( theWrappedObject->jumpToFrame(frameNumber)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMovie.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMovie.h deleted file mode 100644 index b1d2213..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMovie.h +++ /dev/null @@ -1,77 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QMOVIE_H -#define PYTHONQTWRAPPER_QMOVIE_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QMovie : public QMovie -{ -public: - PythonQtShell_QMovie(QIODevice* device, const QByteArray& format = QByteArray(), QObject* parent = 0):QMovie(device, format, parent),_wrapper(NULL) {}; - PythonQtShell_QMovie(QObject* parent = 0):QMovie(parent),_wrapper(NULL) {}; - PythonQtShell_QMovie(const QString& fileName, const QByteArray& format = QByteArray(), QObject* parent = 0):QMovie(fileName, format, parent),_wrapper(NULL) {}; - -virtual void childEvent(QChildEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QMovie : public QObject -{ Q_OBJECT -public: -public slots: -QMovie* new_QMovie(QIODevice* device, const QByteArray& format = QByteArray(), QObject* parent = 0); -QMovie* new_QMovie(QObject* parent = 0); -QMovie* new_QMovie(const QString& fileName, const QByteArray& format = QByteArray(), QObject* parent = 0); -void delete_QMovie(QMovie* obj) { delete obj; } - void setDevice(QMovie* theWrappedObject, QIODevice* device); - QMovie::MovieState state(QMovie* theWrappedObject) const; - int speed(QMovie* theWrappedObject) const; - int loopCount(QMovie* theWrappedObject) const; - void setFileName(QMovie* theWrappedObject, const QString& fileName); - QList static_QMovie_supportedFormats(); - QMovie::CacheMode cacheMode(QMovie* theWrappedObject) const; - int currentFrameNumber(QMovie* theWrappedObject) const; - void setScaledSize(QMovie* theWrappedObject, const QSize& size); - void setBackgroundColor(QMovie* theWrappedObject, const QColor& color); - void setFormat(QMovie* theWrappedObject, const QByteArray& format); - int nextFrameDelay(QMovie* theWrappedObject) const; - QImage currentImage(QMovie* theWrappedObject) const; - QString fileName(QMovie* theWrappedObject) const; - bool isValid(QMovie* theWrappedObject) const; - void setCacheMode(QMovie* theWrappedObject, QMovie::CacheMode mode); - QSize scaledSize(QMovie* theWrappedObject); - int frameCount(QMovie* theWrappedObject) const; - QColor backgroundColor(QMovie* theWrappedObject) const; - QRect frameRect(QMovie* theWrappedObject) const; - QPixmap currentPixmap(QMovie* theWrappedObject) const; - QByteArray format(QMovie* theWrappedObject) const; - QIODevice* device(QMovie* theWrappedObject) const; - bool jumpToFrame(QMovie* theWrappedObject, int frameNumber); -}; - -#endif // PYTHONQTWRAPPER_QMOVIE_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPageSetupDialog.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPageSetupDialog.cpp deleted file mode 100644 index 395cfb9..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPageSetupDialog.cpp +++ /dev/null @@ -1,876 +0,0 @@ -#include "PythonQtWrapper_QPageSetupDialog.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QPageSetupDialog::accept() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "accept"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPageSetupDialog::accept(); -} -void PythonQtShell_QPageSetupDialog::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QPageSetupDialog::actionEvent(arg__1); -} -void PythonQtShell_QPageSetupDialog::changeEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPageSetupDialog::changeEvent(arg__1); -} -void PythonQtShell_QPageSetupDialog::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; - } -} - QPageSetupDialog::childEvent(arg__1); -} -void PythonQtShell_QPageSetupDialog::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QPageSetupDialog::closeEvent(arg__1); -} -void PythonQtShell_QPageSetupDialog::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPageSetupDialog::contextMenuEvent(arg__1); -} -void PythonQtShell_QPageSetupDialog::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; - } -} - QPageSetupDialog::customEvent(arg__1); -} -int PythonQtShell_QPageSetupDialog::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPageSetupDialog::devType(); -} -void PythonQtShell_QPageSetupDialog::done(int arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "done"); - 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; - } -} - QPageSetupDialog::done(arg__1); -} -void PythonQtShell_QPageSetupDialog::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QPageSetupDialog::dragEnterEvent(arg__1); -} -void PythonQtShell_QPageSetupDialog::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QPageSetupDialog::dragLeaveEvent(arg__1); -} -void PythonQtShell_QPageSetupDialog::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QPageSetupDialog::dragMoveEvent(arg__1); -} -void PythonQtShell_QPageSetupDialog::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QPageSetupDialog::dropEvent(arg__1); -} -void PythonQtShell_QPageSetupDialog::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QPageSetupDialog::enterEvent(arg__1); -} -bool PythonQtShell_QPageSetupDialog::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPageSetupDialog::event(arg__1); -} -bool PythonQtShell_QPageSetupDialog::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPageSetupDialog::eventFilter(arg__1, arg__2); -} -int PythonQtShell_QPageSetupDialog::exec() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "exec"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPageSetupDialog::exec(); -} -void PythonQtShell_QPageSetupDialog::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QPageSetupDialog::focusInEvent(arg__1); -} -bool PythonQtShell_QPageSetupDialog::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPageSetupDialog::focusNextPrevChild(next); -} -void PythonQtShell_QPageSetupDialog::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QPageSetupDialog::focusOutEvent(arg__1); -} -int PythonQtShell_QPageSetupDialog::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPageSetupDialog::heightForWidth(arg__1); -} -void PythonQtShell_QPageSetupDialog::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QPageSetupDialog::hideEvent(arg__1); -} -void PythonQtShell_QPageSetupDialog::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QPageSetupDialog::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QPageSetupDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPageSetupDialog::inputMethodQuery(arg__1); -} -void PythonQtShell_QPageSetupDialog::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPageSetupDialog::keyPressEvent(arg__1); -} -void PythonQtShell_QPageSetupDialog::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPageSetupDialog::keyReleaseEvent(arg__1); -} -void PythonQtShell_QPageSetupDialog::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPageSetupDialog::languageChange(); -} -void PythonQtShell_QPageSetupDialog::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QPageSetupDialog::leaveEvent(arg__1); -} -int PythonQtShell_QPageSetupDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPageSetupDialog::metric(arg__1); -} -void PythonQtShell_QPageSetupDialog::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QPageSetupDialog::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QPageSetupDialog::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QPageSetupDialog::mouseMoveEvent(arg__1); -} -void PythonQtShell_QPageSetupDialog::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QPageSetupDialog::mousePressEvent(arg__1); -} -void PythonQtShell_QPageSetupDialog::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QPageSetupDialog::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QPageSetupDialog::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPageSetupDialog::moveEvent(arg__1); -} -QPaintEngine* PythonQtShell_QPageSetupDialog::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPageSetupDialog::paintEngine(); -} -void PythonQtShell_QPageSetupDialog::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - 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; - } -} - QPageSetupDialog::paintEvent(arg__1); -} -void PythonQtShell_QPageSetupDialog::reject() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reject"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPageSetupDialog::reject(); -} -void PythonQtShell_QPageSetupDialog::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - 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; - } -} - QPageSetupDialog::resizeEvent(arg__1); -} -void PythonQtShell_QPageSetupDialog::showEvent(QShowEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QPageSetupDialog::showEvent(arg__1); -} -void PythonQtShell_QPageSetupDialog::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QPageSetupDialog::tabletEvent(arg__1); -} -void PythonQtShell_QPageSetupDialog::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; - } -} - QPageSetupDialog::timerEvent(arg__1); -} -void PythonQtShell_QPageSetupDialog::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPageSetupDialog::wheelEvent(arg__1); -} -QPageSetupDialog* PythonQtWrapper_QPageSetupDialog::new_QPageSetupDialog(QPrinter* printer, QWidget* parent) -{ -return new PythonQtShell_QPageSetupDialog(printer, parent); } - -void PythonQtWrapper_QPageSetupDialog::setEnabledOptions(QPageSetupDialog* theWrappedObject, QPageSetupDialog::PageSetupDialogOptions options) -{ - ( theWrappedObject->setEnabledOptions(options)); -} - -QPageSetupDialog::PageSetupDialogOptions PythonQtWrapper_QPageSetupDialog::enabledOptions(QPageSetupDialog* theWrappedObject) const -{ - return ( theWrappedObject->enabledOptions()); -} - -int PythonQtWrapper_QPageSetupDialog::exec(QPageSetupDialog* theWrappedObject) -{ - return ( ((PythonQtPublicPromoter_QPageSetupDialog*)theWrappedObject)->promoted_exec()); -} - -void PythonQtWrapper_QPageSetupDialog::addEnabledOption(QPageSetupDialog* theWrappedObject, QPageSetupDialog::PageSetupDialogOption option) -{ - ( theWrappedObject->addEnabledOption(option)); -} - -bool PythonQtWrapper_QPageSetupDialog::isOptionEnabled(QPageSetupDialog* theWrappedObject, QPageSetupDialog::PageSetupDialogOption option) const -{ - return ( theWrappedObject->isOptionEnabled(option)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPageSetupDialog.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPageSetupDialog.h deleted file mode 100644 index 1c88e0f..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPageSetupDialog.h +++ /dev/null @@ -1,112 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QPAGESETUPDIALOG_H -#define PYTHONQTWRAPPER_QPAGESETUPDIALOG_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QPageSetupDialog : public QPageSetupDialog -{ -public: - PythonQtShell_QPageSetupDialog(QPrinter* printer, QWidget* parent = 0):QPageSetupDialog(printer, parent),_wrapper(NULL) {}; - -virtual void accept(); -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual int devType() const; -virtual void done(int arg__1); -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual int exec(); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* arg__1); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual void reject(); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void showEvent(QShowEvent* arg__1); -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QPageSetupDialog : public QPageSetupDialog -{ public: -inline int promoted_exec() { return QPageSetupDialog::exec(); } -}; - -class PythonQtWrapper_QPageSetupDialog : public QObject -{ Q_OBJECT -public: -Q_ENUMS(PageSetupDialogOption ) -Q_FLAGS(PageSetupDialogOptions ) -enum PageSetupDialogOption{ - None = QPageSetupDialog::None, DontUseSheet = QPageSetupDialog::DontUseSheet}; -Q_DECLARE_FLAGS(PageSetupDialogOptions, PageSetupDialogOption) -public slots: -QPageSetupDialog* new_QPageSetupDialog(QPrinter* printer, QWidget* parent = 0); -void delete_QPageSetupDialog(QPageSetupDialog* obj) { delete obj; } - void setEnabledOptions(QPageSetupDialog* theWrappedObject, QPageSetupDialog::PageSetupDialogOptions options); - QPageSetupDialog::PageSetupDialogOptions enabledOptions(QPageSetupDialog* theWrappedObject) const; - int exec(QPageSetupDialog* theWrappedObject); - void addEnabledOption(QPageSetupDialog* theWrappedObject, QPageSetupDialog::PageSetupDialogOption option); - bool isOptionEnabled(QPageSetupDialog* theWrappedObject, QPageSetupDialog::PageSetupDialogOption option) const; -}; - -#endif // PYTHONQTWRAPPER_QPAGESETUPDIALOG_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPaintDevice.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPaintDevice.cpp deleted file mode 100644 index db1cae4..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPaintDevice.cpp +++ /dev/null @@ -1,163 +0,0 @@ -#include "PythonQtWrapper_QPaintDevice.h" - -#include -#include -#include -#include -#include -#include - -int PythonQtShell_QPaintDevice::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPaintDevice::devType(); -} -int PythonQtShell_QPaintDevice::metric(QPaintDevice::PaintDeviceMetric metric) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&metric}; - 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("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPaintDevice::metric(metric); -} -QPaintEngine* PythonQtShell_QPaintDevice::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QPaintEngine* result; -return result; -} -QPaintDevice* PythonQtWrapper_QPaintDevice::new_QPaintDevice() -{ -return new PythonQtShell_QPaintDevice(); } - -int PythonQtWrapper_QPaintDevice::depth(QPaintDevice* theWrappedObject) const -{ - return ( theWrappedObject->depth()); -} - -int PythonQtWrapper_QPaintDevice::logicalDpiY(QPaintDevice* theWrappedObject) const -{ - return ( theWrappedObject->logicalDpiY()); -} - -int PythonQtWrapper_QPaintDevice::widthMM(QPaintDevice* theWrappedObject) const -{ - return ( theWrappedObject->widthMM()); -} - -int PythonQtWrapper_QPaintDevice::physicalDpiX(QPaintDevice* theWrappedObject) const -{ - return ( theWrappedObject->physicalDpiX()); -} - -int PythonQtWrapper_QPaintDevice::logicalDpiX(QPaintDevice* theWrappedObject) const -{ - return ( theWrappedObject->logicalDpiX()); -} - -int PythonQtWrapper_QPaintDevice::width(QPaintDevice* theWrappedObject) const -{ - return ( theWrappedObject->width()); -} - -int PythonQtWrapper_QPaintDevice::heightMM(QPaintDevice* theWrappedObject) const -{ - return ( theWrappedObject->heightMM()); -} - -int PythonQtWrapper_QPaintDevice::numColors(QPaintDevice* theWrappedObject) const -{ - return ( theWrappedObject->numColors()); -} - -bool PythonQtWrapper_QPaintDevice::paintingActive(QPaintDevice* theWrappedObject) const -{ - return ( theWrappedObject->paintingActive()); -} - -int PythonQtWrapper_QPaintDevice::metric(QPaintDevice* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const -{ - return ( ((PythonQtPublicPromoter_QPaintDevice*)theWrappedObject)->promoted_metric(metric)); -} - -int PythonQtWrapper_QPaintDevice::devType(QPaintDevice* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QPaintDevice*)theWrappedObject)->promoted_devType()); -} - -int PythonQtWrapper_QPaintDevice::height(QPaintDevice* theWrappedObject) const -{ - return ( theWrappedObject->height()); -} - -int PythonQtWrapper_QPaintDevice::physicalDpiY(QPaintDevice* theWrappedObject) const -{ - return ( theWrappedObject->physicalDpiY()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPaintDevice.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPaintDevice.h deleted file mode 100644 index 330fb87..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPaintDevice.h +++ /dev/null @@ -1,55 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QPAINTDEVICE_H -#define PYTHONQTWRAPPER_QPAINTDEVICE_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtShell_QPaintDevice : public QPaintDevice -{ -public: - PythonQtShell_QPaintDevice():QPaintDevice(),_wrapper(NULL) {}; - -virtual int devType() const; -virtual int metric(QPaintDevice::PaintDeviceMetric metric) const; -virtual QPaintEngine* paintEngine() const; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QPaintDevice : public QPaintDevice -{ public: -inline int promoted_metric(QPaintDevice::PaintDeviceMetric metric) const { return QPaintDevice::metric(metric); } -inline int promoted_devType() const { return QPaintDevice::devType(); } -}; - -class PythonQtWrapper_QPaintDevice : public QObject -{ Q_OBJECT -public: -Q_ENUMS(PaintDeviceMetric ) -enum PaintDeviceMetric{ - PdmWidth = QPaintDevice::PdmWidth, PdmHeight = QPaintDevice::PdmHeight, PdmWidthMM = QPaintDevice::PdmWidthMM, PdmHeightMM = QPaintDevice::PdmHeightMM, PdmNumColors = QPaintDevice::PdmNumColors, PdmDepth = QPaintDevice::PdmDepth, PdmDpiX = QPaintDevice::PdmDpiX, PdmDpiY = QPaintDevice::PdmDpiY, PdmPhysicalDpiX = QPaintDevice::PdmPhysicalDpiX, PdmPhysicalDpiY = QPaintDevice::PdmPhysicalDpiY}; -public slots: -QPaintDevice* new_QPaintDevice(); -void delete_QPaintDevice(QPaintDevice* obj) { delete obj; } - int depth(QPaintDevice* theWrappedObject) const; - int logicalDpiY(QPaintDevice* theWrappedObject) const; - int widthMM(QPaintDevice* theWrappedObject) const; - int physicalDpiX(QPaintDevice* theWrappedObject) const; - int logicalDpiX(QPaintDevice* theWrappedObject) const; - int width(QPaintDevice* theWrappedObject) const; - int heightMM(QPaintDevice* theWrappedObject) const; - int numColors(QPaintDevice* theWrappedObject) const; - bool paintingActive(QPaintDevice* theWrappedObject) const; - int metric(QPaintDevice* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const; - int devType(QPaintDevice* theWrappedObject) const; - int height(QPaintDevice* theWrappedObject) const; - int physicalDpiY(QPaintDevice* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QPAINTDEVICE_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPaintEngine.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPaintEngine.cpp deleted file mode 100644 index bb12cbc..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPaintEngine.cpp +++ /dev/null @@ -1,549 +0,0 @@ -#include "PythonQtWrapper_QPaintEngine.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -bool PythonQtShell_QPaintEngine::begin(QPaintDevice* pdev) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "begin"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QPaintDevice*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&pdev}; - 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("begin", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - bool result; -return result; -} -QPoint PythonQtShell_QPaintEngine::coordinateOffset() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "coordinateOffset"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPoint"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPoint returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("coordinateOffset", methodInfo, result); - } else { - returnValue = *((QPoint*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPaintEngine::coordinateOffset(); -} -void PythonQtShell_QPaintEngine::drawEllipse(const QRect& r) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawEllipse"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QRect&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&r}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPaintEngine::drawEllipse(r); -} -void PythonQtShell_QPaintEngine::drawEllipse(const QRectF& r) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawEllipse"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QRectF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&r}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPaintEngine::drawEllipse(r); -} -void PythonQtShell_QPaintEngine::drawImage(const QRectF& r, const QImage& pm, const QRectF& sr, Qt::ImageConversionFlags flags) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawImage"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QRectF&" , "const QImage&" , "const QRectF&" , "Qt::ImageConversionFlags"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&r, (void*)&pm, (void*)&sr, (void*)&flags}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPaintEngine::drawImage(r, pm, sr, flags); -} -void PythonQtShell_QPaintEngine::drawLines(const QLine* lines, int lineCount) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawLines"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QLine*" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&lines, (void*)&lineCount}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPaintEngine::drawLines(lines, lineCount); -} -void PythonQtShell_QPaintEngine::drawLines(const QLineF* lines, int lineCount) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawLines"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QLineF*" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&lines, (void*)&lineCount}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPaintEngine::drawLines(lines, lineCount); -} -void PythonQtShell_QPaintEngine::drawPath(const QPainterPath& path) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawPath"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QPainterPath&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&path}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPaintEngine::drawPath(path); -} -void PythonQtShell_QPaintEngine::drawPixmap(const QRectF& r, const QPixmap& pm, const QRectF& sr) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawPixmap"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QRectF&" , "const QPixmap&" , "const QRectF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&r, (void*)&pm, (void*)&sr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - -} -void PythonQtShell_QPaintEngine::drawPoints(const QPoint* points, int pointCount) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawPoints"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QPoint*" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&points, (void*)&pointCount}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPaintEngine::drawPoints(points, pointCount); -} -void PythonQtShell_QPaintEngine::drawPoints(const QPointF* points, int pointCount) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawPoints"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QPointF*" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&points, (void*)&pointCount}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPaintEngine::drawPoints(points, pointCount); -} -void PythonQtShell_QPaintEngine::drawPolygon(const QPoint* points, int pointCount, QPaintEngine::PolygonDrawMode mode) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawPolygon"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QPoint*" , "int" , "QPaintEngine::PolygonDrawMode"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&points, (void*)&pointCount, (void*)&mode}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPaintEngine::drawPolygon(points, pointCount, mode); -} -void PythonQtShell_QPaintEngine::drawPolygon(const QPointF* points, int pointCount, QPaintEngine::PolygonDrawMode mode) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawPolygon"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QPointF*" , "int" , "QPaintEngine::PolygonDrawMode"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&points, (void*)&pointCount, (void*)&mode}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPaintEngine::drawPolygon(points, pointCount, mode); -} -void PythonQtShell_QPaintEngine::drawRects(const QRect* rects, int rectCount) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawRects"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QRect*" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&rects, (void*)&rectCount}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPaintEngine::drawRects(rects, rectCount); -} -void PythonQtShell_QPaintEngine::drawRects(const QRectF* rects, int rectCount) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawRects"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QRectF*" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&rects, (void*)&rectCount}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPaintEngine::drawRects(rects, rectCount); -} -void PythonQtShell_QPaintEngine::drawTextItem(const QPointF& p, const QTextItem& textItem) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawTextItem"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QPointF&" , "const QTextItem&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&p, (void*)&textItem}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPaintEngine::drawTextItem(p, textItem); -} -void PythonQtShell_QPaintEngine::drawTiledPixmap(const QRectF& r, const QPixmap& pixmap, const QPointF& s) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawTiledPixmap"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QRectF&" , "const QPixmap&" , "const QPointF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&r, (void*)&pixmap, (void*)&s}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPaintEngine::drawTiledPixmap(r, pixmap, s); -} -bool PythonQtShell_QPaintEngine::end() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "end"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("end", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - bool result; -return result; -} -QPaintEngine::Type PythonQtShell_QPaintEngine::type() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "type"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine::Type"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine::Type returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); - } else { - returnValue = *((QPaintEngine::Type*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QPaintEngine::Type result; -return result; -} -void PythonQtShell_QPaintEngine::updateState(const QPaintEngineState& state) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateState"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QPaintEngineState&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&state}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - -} -QPaintEngine* PythonQtWrapper_QPaintEngine::new_QPaintEngine(QPaintEngine::PaintEngineFeatures features) -{ -return new PythonQtShell_QPaintEngine(features); } - -void PythonQtWrapper_QPaintEngine::drawTextItem(QPaintEngine* theWrappedObject, const QPointF& p, const QTextItem& textItem) -{ - ( ((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->promoted_drawTextItem(p, textItem)); -} - -void PythonQtWrapper_QPaintEngine::setActive(QPaintEngine* theWrappedObject, bool newState) -{ - ( theWrappedObject->setActive(newState)); -} - -void PythonQtWrapper_QPaintEngine::drawRects(QPaintEngine* theWrappedObject, const QRect* rects, int rectCount) -{ - ( ((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->promoted_drawRects(rects, rectCount)); -} - -void PythonQtWrapper_QPaintEngine::setDirty(QPaintEngine* theWrappedObject, QPaintEngine::DirtyFlags df) -{ - ( theWrappedObject->setDirty(df)); -} - -QRegion PythonQtWrapper_QPaintEngine::systemClip(QPaintEngine* theWrappedObject) const -{ - return ( theWrappedObject->systemClip()); -} - -void PythonQtWrapper_QPaintEngine::drawEllipse(QPaintEngine* theWrappedObject, const QRect& r) -{ - ( ((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->promoted_drawEllipse(r)); -} - -void PythonQtWrapper_QPaintEngine::syncState(QPaintEngine* theWrappedObject) -{ - ( theWrappedObject->syncState()); -} - -void PythonQtWrapper_QPaintEngine::drawPoints(QPaintEngine* theWrappedObject, const QPointF* points, int pointCount) -{ - ( ((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->promoted_drawPoints(points, pointCount)); -} - -bool PythonQtWrapper_QPaintEngine::hasFeature(QPaintEngine* theWrappedObject, QPaintEngine::PaintEngineFeatures feature) const -{ - return ( theWrappedObject->hasFeature(feature)); -} - -void PythonQtWrapper_QPaintEngine::drawLines(QPaintEngine* theWrappedObject, const QLineF* lines, int lineCount) -{ - ( ((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->promoted_drawLines(lines, lineCount)); -} - -bool PythonQtWrapper_QPaintEngine::testDirty(QPaintEngine* theWrappedObject, QPaintEngine::DirtyFlags df) -{ - return ( theWrappedObject->testDirty(df)); -} - -void PythonQtWrapper_QPaintEngine::drawRects(QPaintEngine* theWrappedObject, const QRectF* rects, int rectCount) -{ - ( ((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->promoted_drawRects(rects, rectCount)); -} - -QPainter* PythonQtWrapper_QPaintEngine::painter(QPaintEngine* theWrappedObject) const -{ - return ( theWrappedObject->painter()); -} - -QRect PythonQtWrapper_QPaintEngine::systemRect(QPaintEngine* theWrappedObject) const -{ - return ( theWrappedObject->systemRect()); -} - -QPoint PythonQtWrapper_QPaintEngine::coordinateOffset(QPaintEngine* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->promoted_coordinateOffset()); -} - -void PythonQtWrapper_QPaintEngine::drawEllipse(QPaintEngine* theWrappedObject, const QRectF& r) -{ - ( ((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->promoted_drawEllipse(r)); -} - -void PythonQtWrapper_QPaintEngine::drawPolygon(QPaintEngine* theWrappedObject, const QPoint* points, int pointCount, QPaintEngine::PolygonDrawMode mode) -{ - ( ((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->promoted_drawPolygon(points, pointCount, mode)); -} - -void PythonQtWrapper_QPaintEngine::drawPath(QPaintEngine* theWrappedObject, const QPainterPath& path) -{ - ( ((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->promoted_drawPath(path)); -} - -void PythonQtWrapper_QPaintEngine::drawTiledPixmap(QPaintEngine* theWrappedObject, const QRectF& r, const QPixmap& pixmap, const QPointF& s) -{ - ( ((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->promoted_drawTiledPixmap(r, pixmap, s)); -} - -void PythonQtWrapper_QPaintEngine::drawImage(QPaintEngine* theWrappedObject, const QRectF& r, const QImage& pm, const QRectF& sr, Qt::ImageConversionFlags flags) -{ - ( ((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->promoted_drawImage(r, pm, sr, flags)); -} - -void PythonQtWrapper_QPaintEngine::drawLines(QPaintEngine* theWrappedObject, const QLine* lines, int lineCount) -{ - ( ((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->promoted_drawLines(lines, lineCount)); -} - -void PythonQtWrapper_QPaintEngine::setSystemClip(QPaintEngine* theWrappedObject, const QRegion& baseClip) -{ - ( theWrappedObject->setSystemClip(baseClip)); -} - -void PythonQtWrapper_QPaintEngine::clearDirty(QPaintEngine* theWrappedObject, QPaintEngine::DirtyFlags df) -{ - ( theWrappedObject->clearDirty(df)); -} - -QPaintDevice* PythonQtWrapper_QPaintEngine::paintDevice(QPaintEngine* theWrappedObject) const -{ - return ( theWrappedObject->paintDevice()); -} - -void PythonQtWrapper_QPaintEngine::setSystemRect(QPaintEngine* theWrappedObject, const QRect& rect) -{ - ( theWrappedObject->setSystemRect(rect)); -} - -void PythonQtWrapper_QPaintEngine::drawPoints(QPaintEngine* theWrappedObject, const QPoint* points, int pointCount) -{ - ( ((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->promoted_drawPoints(points, pointCount)); -} - -void PythonQtWrapper_QPaintEngine::drawPolygon(QPaintEngine* theWrappedObject, const QPointF* points, int pointCount, QPaintEngine::PolygonDrawMode mode) -{ - ( ((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->promoted_drawPolygon(points, pointCount, mode)); -} - -bool PythonQtWrapper_QPaintEngine::isActive(QPaintEngine* theWrappedObject) const -{ - return ( theWrappedObject->isActive()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPaintEngine.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPaintEngine.h deleted file mode 100644 index d1a476a..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPaintEngine.h +++ /dev/null @@ -1,118 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QPAINTENGINE_H -#define PYTHONQTWRAPPER_QPAINTENGINE_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QPaintEngine : public QPaintEngine -{ -public: - PythonQtShell_QPaintEngine(QPaintEngine::PaintEngineFeatures features = 0):QPaintEngine(features),_wrapper(NULL) {}; - -virtual bool begin(QPaintDevice* pdev); -virtual QPoint coordinateOffset() const; -virtual void drawEllipse(const QRect& r); -virtual void drawEllipse(const QRectF& r); -virtual void drawImage(const QRectF& r, const QImage& pm, const QRectF& sr, Qt::ImageConversionFlags flags = Qt::AutoColor); -virtual void drawLines(const QLine* lines, int lineCount); -virtual void drawLines(const QLineF* lines, int lineCount); -virtual void drawPath(const QPainterPath& path); -virtual void drawPixmap(const QRectF& r, const QPixmap& pm, const QRectF& sr); -virtual void drawPoints(const QPoint* points, int pointCount); -virtual void drawPoints(const QPointF* points, int pointCount); -virtual void drawPolygon(const QPoint* points, int pointCount, QPaintEngine::PolygonDrawMode mode); -virtual void drawPolygon(const QPointF* points, int pointCount, QPaintEngine::PolygonDrawMode mode); -virtual void drawRects(const QRect* rects, int rectCount); -virtual void drawRects(const QRectF* rects, int rectCount); -virtual void drawTextItem(const QPointF& p, const QTextItem& textItem); -virtual void drawTiledPixmap(const QRectF& r, const QPixmap& pixmap, const QPointF& s); -virtual bool end(); -virtual QPaintEngine::Type type() const; -virtual void updateState(const QPaintEngineState& state); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QPaintEngine : public QPaintEngine -{ public: -inline void promoted_drawTextItem(const QPointF& p, const QTextItem& textItem) { QPaintEngine::drawTextItem(p, textItem); } -inline void promoted_drawRects(const QRect* rects, int rectCount) { QPaintEngine::drawRects(rects, rectCount); } -inline void promoted_drawEllipse(const QRect& r) { QPaintEngine::drawEllipse(r); } -inline void promoted_drawPoints(const QPointF* points, int pointCount) { QPaintEngine::drawPoints(points, pointCount); } -inline void promoted_drawLines(const QLineF* lines, int lineCount) { QPaintEngine::drawLines(lines, lineCount); } -inline void promoted_drawRects(const QRectF* rects, int rectCount) { QPaintEngine::drawRects(rects, rectCount); } -inline QPoint promoted_coordinateOffset() const { return QPaintEngine::coordinateOffset(); } -inline void promoted_drawEllipse(const QRectF& r) { QPaintEngine::drawEllipse(r); } -inline void promoted_drawPolygon(const QPoint* points, int pointCount, QPaintEngine::PolygonDrawMode mode) { QPaintEngine::drawPolygon(points, pointCount, mode); } -inline void promoted_drawPath(const QPainterPath& path) { QPaintEngine::drawPath(path); } -inline void promoted_drawTiledPixmap(const QRectF& r, const QPixmap& pixmap, const QPointF& s) { QPaintEngine::drawTiledPixmap(r, pixmap, s); } -inline void promoted_drawImage(const QRectF& r, const QImage& pm, const QRectF& sr, Qt::ImageConversionFlags flags = Qt::AutoColor) { QPaintEngine::drawImage(r, pm, sr, flags); } -inline void promoted_drawLines(const QLine* lines, int lineCount) { QPaintEngine::drawLines(lines, lineCount); } -inline void promoted_drawPoints(const QPoint* points, int pointCount) { QPaintEngine::drawPoints(points, pointCount); } -inline void promoted_drawPolygon(const QPointF* points, int pointCount, QPaintEngine::PolygonDrawMode mode) { QPaintEngine::drawPolygon(points, pointCount, mode); } -}; - -class PythonQtWrapper_QPaintEngine : public QObject -{ Q_OBJECT -public: -Q_ENUMS(PolygonDrawMode Type PaintEngineFeature DirtyFlag ) -Q_FLAGS(PaintEngineFeatures DirtyFlags ) -enum PolygonDrawMode{ - OddEvenMode = QPaintEngine::OddEvenMode, WindingMode = QPaintEngine::WindingMode, ConvexMode = QPaintEngine::ConvexMode, PolylineMode = QPaintEngine::PolylineMode}; -enum Type{ - X11 = QPaintEngine::X11, Windows = QPaintEngine::Windows, QuickDraw = QPaintEngine::QuickDraw, CoreGraphics = QPaintEngine::CoreGraphics, MacPrinter = QPaintEngine::MacPrinter, QWindowSystem = QPaintEngine::QWindowSystem, PostScript = QPaintEngine::PostScript, OpenGL = QPaintEngine::OpenGL, Picture = QPaintEngine::Picture, SVG = QPaintEngine::SVG, Raster = QPaintEngine::Raster, Direct3D = QPaintEngine::Direct3D, Pdf = QPaintEngine::Pdf, User = QPaintEngine::User, MaxUser = QPaintEngine::MaxUser}; -enum PaintEngineFeature{ - PrimitiveTransform = QPaintEngine::PrimitiveTransform, PatternTransform = QPaintEngine::PatternTransform, PixmapTransform = QPaintEngine::PixmapTransform, PatternBrush = QPaintEngine::PatternBrush, LinearGradientFill = QPaintEngine::LinearGradientFill, RadialGradientFill = QPaintEngine::RadialGradientFill, ConicalGradientFill = QPaintEngine::ConicalGradientFill, AlphaBlend = QPaintEngine::AlphaBlend, PorterDuff = QPaintEngine::PorterDuff, PainterPaths = QPaintEngine::PainterPaths, Antialiasing = QPaintEngine::Antialiasing, BrushStroke = QPaintEngine::BrushStroke, ConstantOpacity = QPaintEngine::ConstantOpacity, MaskedBrush = QPaintEngine::MaskedBrush, PerspectiveTransform = QPaintEngine::PerspectiveTransform, BlendModes = QPaintEngine::BlendModes, ObjectBoundingModeGradients = QPaintEngine::ObjectBoundingModeGradients, PaintOutsidePaintEvent = QPaintEngine::PaintOutsidePaintEvent, AllFeatures = QPaintEngine::AllFeatures}; -enum DirtyFlag{ - DirtyPen = QPaintEngine::DirtyPen, DirtyBrush = QPaintEngine::DirtyBrush, DirtyBrushOrigin = QPaintEngine::DirtyBrushOrigin, DirtyFont = QPaintEngine::DirtyFont, DirtyBackground = QPaintEngine::DirtyBackground, DirtyBackgroundMode = QPaintEngine::DirtyBackgroundMode, DirtyTransform = QPaintEngine::DirtyTransform, DirtyClipRegion = QPaintEngine::DirtyClipRegion, DirtyClipPath = QPaintEngine::DirtyClipPath, DirtyHints = QPaintEngine::DirtyHints, DirtyCompositionMode = QPaintEngine::DirtyCompositionMode, DirtyClipEnabled = QPaintEngine::DirtyClipEnabled, DirtyOpacity = QPaintEngine::DirtyOpacity, AllDirty = QPaintEngine::AllDirty}; -Q_DECLARE_FLAGS(PaintEngineFeatures, PaintEngineFeature) -Q_DECLARE_FLAGS(DirtyFlags, DirtyFlag) -public slots: -QPaintEngine* new_QPaintEngine(QPaintEngine::PaintEngineFeatures features = 0); -void delete_QPaintEngine(QPaintEngine* obj) { delete obj; } - void drawTextItem(QPaintEngine* theWrappedObject, const QPointF& p, const QTextItem& textItem); - void setActive(QPaintEngine* theWrappedObject, bool newState); - void drawRects(QPaintEngine* theWrappedObject, const QRect* rects, int rectCount); - void setDirty(QPaintEngine* theWrappedObject, QPaintEngine::DirtyFlags df); - QRegion systemClip(QPaintEngine* theWrappedObject) const; - void drawEllipse(QPaintEngine* theWrappedObject, const QRect& r); - void syncState(QPaintEngine* theWrappedObject); - void drawPoints(QPaintEngine* theWrappedObject, const QPointF* points, int pointCount); - bool hasFeature(QPaintEngine* theWrappedObject, QPaintEngine::PaintEngineFeatures feature) const; - void drawLines(QPaintEngine* theWrappedObject, const QLineF* lines, int lineCount); - bool testDirty(QPaintEngine* theWrappedObject, QPaintEngine::DirtyFlags df); - void drawRects(QPaintEngine* theWrappedObject, const QRectF* rects, int rectCount); - QPainter* painter(QPaintEngine* theWrappedObject) const; - QRect systemRect(QPaintEngine* theWrappedObject) const; - QPoint coordinateOffset(QPaintEngine* theWrappedObject) const; - void drawEllipse(QPaintEngine* theWrappedObject, const QRectF& r); - void drawPolygon(QPaintEngine* theWrappedObject, const QPoint* points, int pointCount, QPaintEngine::PolygonDrawMode mode); - void drawPath(QPaintEngine* theWrappedObject, const QPainterPath& path); - void drawTiledPixmap(QPaintEngine* theWrappedObject, const QRectF& r, const QPixmap& pixmap, const QPointF& s); - void drawImage(QPaintEngine* theWrappedObject, const QRectF& r, const QImage& pm, const QRectF& sr, Qt::ImageConversionFlags flags = Qt::AutoColor); - void drawLines(QPaintEngine* theWrappedObject, const QLine* lines, int lineCount); - void setSystemClip(QPaintEngine* theWrappedObject, const QRegion& baseClip); - void clearDirty(QPaintEngine* theWrappedObject, QPaintEngine::DirtyFlags df); - QPaintDevice* paintDevice(QPaintEngine* theWrappedObject) const; - void setSystemRect(QPaintEngine* theWrappedObject, const QRect& rect); - void drawPoints(QPaintEngine* theWrappedObject, const QPoint* points, int pointCount); - void drawPolygon(QPaintEngine* theWrappedObject, const QPointF* points, int pointCount, QPaintEngine::PolygonDrawMode mode); - bool isActive(QPaintEngine* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QPAINTENGINE_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPaintEngineState.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPaintEngineState.cpp deleted file mode 100644 index d471bc3..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPaintEngineState.cpp +++ /dev/null @@ -1,116 +0,0 @@ -#include "PythonQtWrapper_QPaintEngineState.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QPaintEngineState* PythonQtWrapper_QPaintEngineState::new_QPaintEngineState() -{ -return new PythonQtShell_QPaintEngineState(); } - -Qt::BGMode PythonQtWrapper_QPaintEngineState::backgroundMode(QPaintEngineState* theWrappedObject) const -{ - return ( theWrappedObject->backgroundMode()); -} - -QPainter::CompositionMode PythonQtWrapper_QPaintEngineState::compositionMode(QPaintEngineState* theWrappedObject) const -{ - return ( theWrappedObject->compositionMode()); -} - -QPainter::RenderHints PythonQtWrapper_QPaintEngineState::renderHints(QPaintEngineState* theWrappedObject) const -{ - return ( theWrappedObject->renderHints()); -} - -QBrush PythonQtWrapper_QPaintEngineState::brush(QPaintEngineState* theWrappedObject) const -{ - return ( theWrappedObject->brush()); -} - -QRegion PythonQtWrapper_QPaintEngineState::clipRegion(QPaintEngineState* theWrappedObject) const -{ - return ( theWrappedObject->clipRegion()); -} - -bool PythonQtWrapper_QPaintEngineState::brushNeedsResolving(QPaintEngineState* theWrappedObject) const -{ - return ( theWrappedObject->brushNeedsResolving()); -} - -QBrush PythonQtWrapper_QPaintEngineState::backgroundBrush(QPaintEngineState* theWrappedObject) const -{ - return ( theWrappedObject->backgroundBrush()); -} - -bool PythonQtWrapper_QPaintEngineState::isClipEnabled(QPaintEngineState* theWrappedObject) const -{ - return ( theWrappedObject->isClipEnabled()); -} - -QPen PythonQtWrapper_QPaintEngineState::pen(QPaintEngineState* theWrappedObject) const -{ - return ( theWrappedObject->pen()); -} - -qreal PythonQtWrapper_QPaintEngineState::opacity(QPaintEngineState* theWrappedObject) const -{ - return ( theWrappedObject->opacity()); -} - -QMatrix PythonQtWrapper_QPaintEngineState::matrix(QPaintEngineState* theWrappedObject) const -{ - return ( theWrappedObject->matrix()); -} - -QPaintEngine::DirtyFlags PythonQtWrapper_QPaintEngineState::state(QPaintEngineState* theWrappedObject) const -{ - return ( theWrappedObject->state()); -} - -QFont PythonQtWrapper_QPaintEngineState::font(QPaintEngineState* theWrappedObject) const -{ - return ( theWrappedObject->font()); -} - -QPointF PythonQtWrapper_QPaintEngineState::brushOrigin(QPaintEngineState* theWrappedObject) const -{ - return ( theWrappedObject->brushOrigin()); -} - -QPainterPath PythonQtWrapper_QPaintEngineState::clipPath(QPaintEngineState* theWrappedObject) const -{ - return ( theWrappedObject->clipPath()); -} - -Qt::ClipOperation PythonQtWrapper_QPaintEngineState::clipOperation(QPaintEngineState* theWrappedObject) const -{ - return ( theWrappedObject->clipOperation()); -} - -bool PythonQtWrapper_QPaintEngineState::penNeedsResolving(QPaintEngineState* theWrappedObject) const -{ - return ( theWrappedObject->penNeedsResolving()); -} - -QPainter* PythonQtWrapper_QPaintEngineState::painter(QPaintEngineState* theWrappedObject) const -{ - return ( theWrappedObject->painter()); -} - -QTransform PythonQtWrapper_QPaintEngineState::transform(QPaintEngineState* theWrappedObject) const -{ - return ( theWrappedObject->transform()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPaintEngineState.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPaintEngineState.h deleted file mode 100644 index fa8f53d..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPaintEngineState.h +++ /dev/null @@ -1,57 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QPAINTENGINESTATE_H -#define PYTHONQTWRAPPER_QPAINTENGINESTATE_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QPaintEngineState : public QPaintEngineState -{ -public: - PythonQtShell_QPaintEngineState():QPaintEngineState(),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QPaintEngineState : public QObject -{ Q_OBJECT -public: -public slots: -QPaintEngineState* new_QPaintEngineState(); -void delete_QPaintEngineState(QPaintEngineState* obj) { delete obj; } - Qt::BGMode backgroundMode(QPaintEngineState* theWrappedObject) const; - QPainter::CompositionMode compositionMode(QPaintEngineState* theWrappedObject) const; - QPainter::RenderHints renderHints(QPaintEngineState* theWrappedObject) const; - QBrush brush(QPaintEngineState* theWrappedObject) const; - QRegion clipRegion(QPaintEngineState* theWrappedObject) const; - bool brushNeedsResolving(QPaintEngineState* theWrappedObject) const; - QBrush backgroundBrush(QPaintEngineState* theWrappedObject) const; - bool isClipEnabled(QPaintEngineState* theWrappedObject) const; - QPen pen(QPaintEngineState* theWrappedObject) const; - qreal opacity(QPaintEngineState* theWrappedObject) const; - QMatrix matrix(QPaintEngineState* theWrappedObject) const; - QPaintEngine::DirtyFlags state(QPaintEngineState* theWrappedObject) const; - QFont font(QPaintEngineState* theWrappedObject) const; - QPointF brushOrigin(QPaintEngineState* theWrappedObject) const; - QPainterPath clipPath(QPaintEngineState* theWrappedObject) const; - Qt::ClipOperation clipOperation(QPaintEngineState* theWrappedObject) const; - bool penNeedsResolving(QPaintEngineState* theWrappedObject) const; - QPainter* painter(QPaintEngineState* theWrappedObject) const; - QTransform transform(QPaintEngineState* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QPAINTENGINESTATE_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPaintEvent.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPaintEvent.cpp deleted file mode 100644 index 5bc5aa8..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPaintEvent.cpp +++ /dev/null @@ -1,27 +0,0 @@ -#include "PythonQtWrapper_QPaintEvent.h" - -#include -#include -#include -#include -#include -#include - -QPaintEvent* PythonQtWrapper_QPaintEvent::new_QPaintEvent(const QRect& paintRect) -{ -return new PythonQtShell_QPaintEvent(paintRect); } - -QPaintEvent* PythonQtWrapper_QPaintEvent::new_QPaintEvent(const QRegion& paintRegion) -{ -return new PythonQtShell_QPaintEvent(paintRegion); } - -const QRegion* PythonQtWrapper_QPaintEvent::region(QPaintEvent* theWrappedObject) const -{ - return &( theWrappedObject->region()); -} - -const QRect* PythonQtWrapper_QPaintEvent::rect(QPaintEvent* theWrappedObject) const -{ - return &( theWrappedObject->rect()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPaintEvent.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPaintEvent.h deleted file mode 100644 index 778b962..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPaintEvent.h +++ /dev/null @@ -1,34 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QPAINTEVENT_H -#define PYTHONQTWRAPPER_QPAINTEVENT_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtShell_QPaintEvent : public QPaintEvent -{ -public: - PythonQtShell_QPaintEvent(const QRect& paintRect):QPaintEvent(paintRect),_wrapper(NULL) {}; - PythonQtShell_QPaintEvent(const QRegion& paintRegion):QPaintEvent(paintRegion),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QPaintEvent : public QObject -{ Q_OBJECT -public: -public slots: -QPaintEvent* new_QPaintEvent(const QRect& paintRect); -QPaintEvent* new_QPaintEvent(const QRegion& paintRegion); -void delete_QPaintEvent(QPaintEvent* obj) { delete obj; } - const QRegion* region(QPaintEvent* theWrappedObject) const; - const QRect* rect(QPaintEvent* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QPAINTEVENT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPainter.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPainter.cpp deleted file mode 100644 index 07b4915..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPainter.cpp +++ /dev/null @@ -1,879 +0,0 @@ -#include "PythonQtWrapper_QPainter.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QPainter* PythonQtWrapper_QPainter::new_QPainter() -{ -return new QPainter(); } - -Qt::LayoutDirection PythonQtWrapper_QPainter::layoutDirection(QPainter* theWrappedObject) const -{ - return ( theWrappedObject->layoutDirection()); -} - -QPainter::RenderHints PythonQtWrapper_QPainter::renderHints(QPainter* theWrappedObject) const -{ - return ( theWrappedObject->renderHints()); -} - -void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, int x, int y, const QPixmap& pm) -{ - ( theWrappedObject->drawPixmap(x, y, pm)); -} - -void PythonQtWrapper_QPainter::drawTiledPixmap(QPainter* theWrappedObject, int x, int y, int w, int h, const QPixmap& arg__5, int sx, int sy) -{ - ( theWrappedObject->drawTiledPixmap(x, y, w, h, arg__5, sx, sy)); -} - -void PythonQtWrapper_QPainter::setRenderHints(QPainter* theWrappedObject, QPainter::RenderHints hints, bool on) -{ - ( theWrappedObject->setRenderHints(hints, on)); -} - -bool PythonQtWrapper_QPainter::isActive(QPainter* theWrappedObject) const -{ - return ( theWrappedObject->isActive()); -} - -void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QPointF& p, const QPixmap& pm) -{ - ( theWrappedObject->drawPixmap(p, pm)); -} - -void PythonQtWrapper_QPainter::setWorldTransform(QPainter* theWrappedObject, const QTransform& matrix, bool combine) -{ - ( theWrappedObject->setWorldTransform(matrix, combine)); -} - -void PythonQtWrapper_QPainter::drawRects(QPainter* theWrappedObject, const QVector& rectangles) -{ - ( theWrappedObject->drawRects(rectangles)); -} - -void PythonQtWrapper_QPainter::drawPie(QPainter* theWrappedObject, int x, int y, int w, int h, int a, int alen) -{ - ( theWrappedObject->drawPie(x, y, w, h, a, alen)); -} - -void PythonQtWrapper_QPainter::drawTextItem(QPainter* theWrappedObject, const QPointF& p, const QTextItem& ti) -{ - ( theWrappedObject->drawTextItem(p, ti)); -} - -void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QPointF& p, const QImage& image) -{ - ( theWrappedObject->drawImage(p, image)); -} - -void PythonQtWrapper_QPainter::drawRoundedRect(QPainter* theWrappedObject, int x, int y, int w, int h, qreal xRadius, qreal yRadius, Qt::SizeMode mode) -{ - ( theWrappedObject->drawRoundedRect(x, y, w, h, xRadius, yRadius, mode)); -} - -const QTransform* PythonQtWrapper_QPainter::deviceTransform(QPainter* theWrappedObject) const -{ - return &( theWrappedObject->deviceTransform()); -} - -void PythonQtWrapper_QPainter::drawPoint(QPainter* theWrappedObject, int x, int y) -{ - ( theWrappedObject->drawPoint(x, y)); -} - -void PythonQtWrapper_QPainter::drawChord(QPainter* theWrappedObject, int x, int y, int w, int h, int a, int alen) -{ - ( theWrappedObject->drawChord(x, y, w, h, a, alen)); -} - -void PythonQtWrapper_QPainter::setPen(QPainter* theWrappedObject, Qt::PenStyle style) -{ - ( theWrappedObject->setPen(style)); -} - -qreal PythonQtWrapper_QPainter::opacity(QPainter* theWrappedObject) const -{ - return ( theWrappedObject->opacity()); -} - -void PythonQtWrapper_QPainter::drawText(QPainter* theWrappedObject, const QRectF& r, const QString& text, const QTextOption& o) -{ - ( theWrappedObject->drawText(r, text, o)); -} - -void PythonQtWrapper_QPainter::shear(QPainter* theWrappedObject, qreal sh, qreal sv) -{ - ( theWrappedObject->shear(sh, sv)); -} - -void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRect& arg__1, const QBrush& arg__2) -{ - ( theWrappedObject->fillRect(arg__1, arg__2)); -} - -void PythonQtWrapper_QPainter::drawLines(QPainter* theWrappedObject, const QVector& pointPairs) -{ - ( theWrappedObject->drawLines(pointPairs)); -} - -void PythonQtWrapper_QPainter::save(QPainter* theWrappedObject) -{ - ( theWrappedObject->save()); -} - -void PythonQtWrapper_QPainter::setTransform(QPainter* theWrappedObject, const QTransform& transform, bool combine) -{ - ( theWrappedObject->setTransform(transform, combine)); -} - -void PythonQtWrapper_QPainter::rotate(QPainter* theWrappedObject, qreal a) -{ - ( theWrappedObject->rotate(a)); -} - -QPaintDevice* PythonQtWrapper_QPainter::static_QPainter_redirected(const QPaintDevice* device, QPoint* offset) -{ - return (QPainter::redirected(device, offset)); -} - -void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QRectF& r, const QImage& image) -{ - ( theWrappedObject->drawImage(r, image)); -} - -void PythonQtWrapper_QPainter::drawPoints(QPainter* theWrappedObject, const QPolygonF& points) -{ - ( theWrappedObject->drawPoints(points)); -} - -void PythonQtWrapper_QPainter::setClipRect(QPainter* theWrappedObject, const QRectF& arg__1, Qt::ClipOperation op) -{ - ( theWrappedObject->setClipRect(arg__1, op)); -} - -void PythonQtWrapper_QPainter::translate(QPainter* theWrappedObject, const QPointF& offset) -{ - ( theWrappedObject->translate(offset)); -} - -void PythonQtWrapper_QPainter::drawChord(QPainter* theWrappedObject, const QRectF& rect, int a, int alen) -{ - ( theWrappedObject->drawChord(rect, a, alen)); -} - -void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QRectF& targetRect, const QPixmap& pixmap, const QRectF& sourceRect) -{ - ( theWrappedObject->drawPixmap(targetRect, pixmap, sourceRect)); -} - -void PythonQtWrapper_QPainter::resetTransform(QPainter* theWrappedObject) -{ - ( theWrappedObject->resetTransform()); -} - -void PythonQtWrapper_QPainter::restore(QPainter* theWrappedObject) -{ - ( theWrappedObject->restore()); -} - -void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QPointF& p, const QPixmap& pm, const QRectF& sr) -{ - ( theWrappedObject->drawPixmap(p, pm, sr)); -} - -void PythonQtWrapper_QPainter::setBackgroundMode(QPainter* theWrappedObject, Qt::BGMode mode) -{ - ( theWrappedObject->setBackgroundMode(mode)); -} - -void PythonQtWrapper_QPainter::setViewTransformEnabled(QPainter* theWrappedObject, bool enable) -{ - ( theWrappedObject->setViewTransformEnabled(enable)); -} - -const QBrush* PythonQtWrapper_QPainter::brush(QPainter* theWrappedObject) const -{ - return &( theWrappedObject->brush()); -} - -void PythonQtWrapper_QPainter::drawEllipse(QPainter* theWrappedObject, int x, int y, int w, int h) -{ - ( theWrappedObject->drawEllipse(x, y, w, h)); -} - -void PythonQtWrapper_QPainter::eraseRect(QPainter* theWrappedObject, const QRectF& arg__1) -{ - ( theWrappedObject->eraseRect(arg__1)); -} - -void PythonQtWrapper_QPainter::drawEllipse(QPainter* theWrappedObject, const QRectF& r) -{ - ( theWrappedObject->drawEllipse(r)); -} - -void PythonQtWrapper_QPainter::drawLines(QPainter* theWrappedObject, const QVector& lines) -{ - ( theWrappedObject->drawLines(lines)); -} - -bool PythonQtWrapper_QPainter::testRenderHint(QPainter* theWrappedObject, QPainter::RenderHint hint) const -{ - return ( theWrappedObject->testRenderHint(hint)); -} - -void PythonQtWrapper_QPainter::setWorldMatrixEnabled(QPainter* theWrappedObject, bool enabled) -{ - ( theWrappedObject->setWorldMatrixEnabled(enabled)); -} - -void PythonQtWrapper_QPainter::drawTiledPixmap(QPainter* theWrappedObject, const QRectF& rect, const QPixmap& pm, const QPointF& offset) -{ - ( theWrappedObject->drawTiledPixmap(rect, pm, offset)); -} - -void PythonQtWrapper_QPainter::drawPie(QPainter* theWrappedObject, const QRectF& rect, int a, int alen) -{ - ( theWrappedObject->drawPie(rect, a, alen)); -} - -const QMatrix* PythonQtWrapper_QPainter::deviceMatrix(QPainter* theWrappedObject) const -{ - return &( theWrappedObject->deviceMatrix()); -} - -void PythonQtWrapper_QPainter::setBrushOrigin(QPainter* theWrappedObject, int x, int y) -{ - ( theWrappedObject->setBrushOrigin(x, y)); -} - -void PythonQtWrapper_QPainter::drawRect(QPainter* theWrappedObject, int x1, int y1, int w, int h) -{ - ( theWrappedObject->drawRect(x1, y1, w, h)); -} - -bool PythonQtWrapper_QPainter::hasClipping(QPainter* theWrappedObject) const -{ - return ( theWrappedObject->hasClipping()); -} - -QRect PythonQtWrapper_QPainter::boundingRect(QPainter* theWrappedObject, int x, int y, int w, int h, int flags, const QString& text) -{ - return ( theWrappedObject->boundingRect(x, y, w, h, flags, text)); -} - -bool PythonQtWrapper_QPainter::worldMatrixEnabled(QPainter* theWrappedObject) const -{ - return ( theWrappedObject->worldMatrixEnabled()); -} - -QRectF PythonQtWrapper_QPainter::boundingRect(QPainter* theWrappedObject, const QRectF& rect, int flags, const QString& text) -{ - return ( theWrappedObject->boundingRect(rect, flags, text)); -} - -QRect PythonQtWrapper_QPainter::window(QPainter* theWrappedObject) const -{ - return ( theWrappedObject->window()); -} - -void PythonQtWrapper_QPainter::drawRect(QPainter* theWrappedObject, const QRect& rect) -{ - ( theWrappedObject->drawRect(rect)); -} - -void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QPoint& p, const QPixmap& pm) -{ - ( theWrappedObject->drawPixmap(p, pm)); -} - -void PythonQtWrapper_QPainter::eraseRect(QPainter* theWrappedObject, int x, int y, int w, int h) -{ - ( theWrappedObject->eraseRect(x, y, w, h)); -} - -bool PythonQtWrapper_QPainter::end(QPainter* theWrappedObject) -{ - return ( theWrappedObject->end()); -} - -void PythonQtWrapper_QPainter::drawArc(QPainter* theWrappedObject, const QRectF& rect, int a, int alen) -{ - ( theWrappedObject->drawArc(rect, a, alen)); -} - -void PythonQtWrapper_QPainter::static_QPainter_restoreRedirected(const QPaintDevice* device) -{ - (QPainter::restoreRedirected(device)); -} - -QMatrix PythonQtWrapper_QPainter::combinedMatrix(QPainter* theWrappedObject) const -{ - return ( theWrappedObject->combinedMatrix()); -} - -void PythonQtWrapper_QPainter::drawPicture(QPainter* theWrappedObject, const QPointF& p, const QPicture& picture) -{ - ( theWrappedObject->drawPicture(p, picture)); -} - -void PythonQtWrapper_QPainter::drawText(QPainter* theWrappedObject, int x, int y, int w, int h, int flags, const QString& text, QRect* br) -{ - ( theWrappedObject->drawText(x, y, w, h, flags, text, br)); -} - -void PythonQtWrapper_QPainter::drawConvexPolygon(QPainter* theWrappedObject, const QPolygonF& polygon) -{ - ( theWrappedObject->drawConvexPolygon(polygon)); -} - -void PythonQtWrapper_QPainter::setClipRect(QPainter* theWrappedObject, const QRect& arg__1, Qt::ClipOperation op) -{ - ( theWrappedObject->setClipRect(arg__1, op)); -} - -void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QPoint& p, const QImage& image) -{ - ( theWrappedObject->drawImage(p, image)); -} - -void PythonQtWrapper_QPainter::drawArc(QPainter* theWrappedObject, const QRect& arg__1, int a, int alen) -{ - ( theWrappedObject->drawArc(arg__1, a, alen)); -} - -void PythonQtWrapper_QPainter::setBrush(QPainter* theWrappedObject, Qt::BrushStyle style) -{ - ( theWrappedObject->setBrush(style)); -} - -void PythonQtWrapper_QPainter::setViewport(QPainter* theWrappedObject, const QRect& viewport) -{ - ( theWrappedObject->setViewport(viewport)); -} - -QPainter::CompositionMode PythonQtWrapper_QPainter::compositionMode(QPainter* theWrappedObject) const -{ - return ( theWrappedObject->compositionMode()); -} - -void PythonQtWrapper_QPainter::setPen(QPainter* theWrappedObject, const QPen& pen) -{ - ( theWrappedObject->setPen(pen)); -} - -bool PythonQtWrapper_QPainter::begin(QPainter* theWrappedObject, QPaintDevice* arg__1) -{ - return ( theWrappedObject->begin(arg__1)); -} - -void PythonQtWrapper_QPainter::drawEllipse(QPainter* theWrappedObject, const QPointF& center, qreal rx, qreal ry) -{ - ( theWrappedObject->drawEllipse(center, rx, ry)); -} - -void PythonQtWrapper_QPainter::drawLine(QPainter* theWrappedObject, const QPoint& p1, const QPoint& p2) -{ - ( theWrappedObject->drawLine(p1, p2)); -} - -void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QPoint& p, const QPixmap& pm, const QRect& sr) -{ - ( theWrappedObject->drawPixmap(p, pm, sr)); -} - -void PythonQtWrapper_QPainter::drawPolygon(QPainter* theWrappedObject, const QPolygonF& polygon, Qt::FillRule fillRule) -{ - ( theWrappedObject->drawPolygon(polygon, fillRule)); -} - -void PythonQtWrapper_QPainter::static_QPainter_setRedirected(const QPaintDevice* device, QPaintDevice* replacement, const QPoint& offset) -{ - (QPainter::setRedirected(device, replacement, offset)); -} - -void PythonQtWrapper_QPainter::drawRoundedRect(QPainter* theWrappedObject, const QRectF& rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode) -{ - ( theWrappedObject->drawRoundedRect(rect, xRadius, yRadius, mode)); -} - -void PythonQtWrapper_QPainter::drawTextItem(QPainter* theWrappedObject, int x, int y, const QTextItem& ti) -{ - ( theWrappedObject->drawTextItem(x, y, ti)); -} - -void PythonQtWrapper_QPainter::scale(QPainter* theWrappedObject, qreal sx, qreal sy) -{ - ( theWrappedObject->scale(sx, sy)); -} - -void PythonQtWrapper_QPainter::resetMatrix(QPainter* theWrappedObject) -{ - ( theWrappedObject->resetMatrix()); -} - -void PythonQtWrapper_QPainter::drawLines(QPainter* theWrappedObject, const QVector& pointPairs) -{ - ( theWrappedObject->drawLines(pointPairs)); -} - -QPaintDevice* PythonQtWrapper_QPainter::device(QPainter* theWrappedObject) const -{ - return ( theWrappedObject->device()); -} - -void PythonQtWrapper_QPainter::drawPath(QPainter* theWrappedObject, const QPainterPath& path) -{ - ( theWrappedObject->drawPath(path)); -} - -void PythonQtWrapper_QPainter::setViewport(QPainter* theWrappedObject, int x, int y, int w, int h) -{ - ( theWrappedObject->setViewport(x, y, w, h)); -} - -void PythonQtWrapper_QPainter::setWorldMatrix(QPainter* theWrappedObject, const QMatrix& matrix, bool combine) -{ - ( theWrappedObject->setWorldMatrix(matrix, combine)); -} - -void PythonQtWrapper_QPainter::drawConvexPolygon(QPainter* theWrappedObject, const QPolygon& polygon) -{ - ( theWrappedObject->drawConvexPolygon(polygon)); -} - -void PythonQtWrapper_QPainter::drawPicture(QPainter* theWrappedObject, int x, int y, const QPicture& picture) -{ - ( theWrappedObject->drawPicture(x, y, picture)); -} - -void PythonQtWrapper_QPainter::setClipRect(QPainter* theWrappedObject, int x, int y, int w, int h, Qt::ClipOperation op) -{ - ( theWrappedObject->setClipRect(x, y, w, h, op)); -} - -void PythonQtWrapper_QPainter::drawEllipse(QPainter* theWrappedObject, const QPoint& center, int rx, int ry) -{ - ( theWrappedObject->drawEllipse(center, rx, ry)); -} - -void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, int x, int y, int w, int h, const QBrush& arg__5) -{ - ( theWrappedObject->fillRect(x, y, w, h, arg__5)); -} - -void PythonQtWrapper_QPainter::setBrush(QPainter* theWrappedObject, const QBrush& brush) -{ - ( theWrappedObject->setBrush(brush)); -} - -void PythonQtWrapper_QPainter::drawLine(QPainter* theWrappedObject, const QLineF& line) -{ - ( theWrappedObject->drawLine(line)); -} - -void PythonQtWrapper_QPainter::setCompositionMode(QPainter* theWrappedObject, QPainter::CompositionMode mode) -{ - ( theWrappedObject->setCompositionMode(mode)); -} - -void PythonQtWrapper_QPainter::drawPolyline(QPainter* theWrappedObject, const QPolygon& polygon) -{ - ( theWrappedObject->drawPolyline(polygon)); -} - -void PythonQtWrapper_QPainter::drawText(QPainter* theWrappedObject, const QRectF& r, int flags, const QString& text, QRectF* br) -{ - ( theWrappedObject->drawText(r, flags, text, br)); -} - -const QBrush* PythonQtWrapper_QPainter::background(QPainter* theWrappedObject) const -{ - return &( theWrappedObject->background()); -} - -void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, int x, int y, int w, int h, const QPixmap& pm, int sx, int sy, int sw, int sh) -{ - ( theWrappedObject->drawPixmap(x, y, w, h, pm, sx, sy, sw, sh)); -} - -void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, int x, int y, const QPixmap& pm, int sx, int sy, int sw, int sh) -{ - ( theWrappedObject->drawPixmap(x, y, pm, sx, sy, sw, sh)); -} - -QRectF PythonQtWrapper_QPainter::boundingRect(QPainter* theWrappedObject, const QRectF& rect, const QString& text, const QTextOption& o) -{ - return ( theWrappedObject->boundingRect(rect, text, o)); -} - -QPainterPath PythonQtWrapper_QPainter::clipPath(QPainter* theWrappedObject) const -{ - return ( theWrappedObject->clipPath()); -} - -void PythonQtWrapper_QPainter::drawRoundedRect(QPainter* theWrappedObject, const QRect& rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode) -{ - ( theWrappedObject->drawRoundedRect(rect, xRadius, yRadius, mode)); -} - -void PythonQtWrapper_QPainter::setClipping(QPainter* theWrappedObject, bool enable) -{ - ( theWrappedObject->setClipping(enable)); -} - -void PythonQtWrapper_QPainter::eraseRect(QPainter* theWrappedObject, const QRect& arg__1) -{ - ( theWrappedObject->eraseRect(arg__1)); -} - -void PythonQtWrapper_QPainter::setBrushOrigin(QPainter* theWrappedObject, const QPoint& arg__1) -{ - ( theWrappedObject->setBrushOrigin(arg__1)); -} - -void PythonQtWrapper_QPainter::drawText(QPainter* theWrappedObject, int x, int y, const QString& s) -{ - ( theWrappedObject->drawText(x, y, s)); -} - -void PythonQtWrapper_QPainter::drawEllipse(QPainter* theWrappedObject, const QRect& r) -{ - ( theWrappedObject->drawEllipse(r)); -} - -void PythonQtWrapper_QPainter::setBrushOrigin(QPainter* theWrappedObject, const QPointF& arg__1) -{ - ( theWrappedObject->setBrushOrigin(arg__1)); -} - -void PythonQtWrapper_QPainter::drawRoundRect(QPainter* theWrappedObject, const QRect& r, int xround, int yround) -{ - ( theWrappedObject->drawRoundRect(r, xround, yround)); -} - -void PythonQtWrapper_QPainter::setFont(QPainter* theWrappedObject, const QFont& f) -{ - ( theWrappedObject->setFont(f)); -} - -void PythonQtWrapper_QPainter::setWindow(QPainter* theWrappedObject, const QRect& window) -{ - ( theWrappedObject->setWindow(window)); -} - -void PythonQtWrapper_QPainter::strokePath(QPainter* theWrappedObject, const QPainterPath& path, const QPen& pen) -{ - ( theWrappedObject->strokePath(path, pen)); -} - -void PythonQtWrapper_QPainter::drawLine(QPainter* theWrappedObject, const QLine& line) -{ - ( theWrappedObject->drawLine(line)); -} - -void PythonQtWrapper_QPainter::translate(QPainter* theWrappedObject, const QPoint& offset) -{ - ( theWrappedObject->translate(offset)); -} - -void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QPoint& p, const QImage& image, const QRect& sr, Qt::ImageConversionFlags flags) -{ - ( theWrappedObject->drawImage(p, image, sr, flags)); -} - -void PythonQtWrapper_QPainter::setClipPath(QPainter* theWrappedObject, const QPainterPath& path, Qt::ClipOperation op) -{ - ( theWrappedObject->setClipPath(path, op)); -} - -const QFont* PythonQtWrapper_QPainter::font(QPainter* theWrappedObject) const -{ - return &( theWrappedObject->font()); -} - -void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QRect& r, const QImage& image) -{ - ( theWrappedObject->drawImage(r, image)); -} - -void PythonQtWrapper_QPainter::drawRects(QPainter* theWrappedObject, const QVector& rectangles) -{ - ( theWrappedObject->drawRects(rectangles)); -} - -void PythonQtWrapper_QPainter::drawTextItem(QPainter* theWrappedObject, const QPoint& p, const QTextItem& ti) -{ - ( theWrappedObject->drawTextItem(p, ti)); -} - -const QTransform* PythonQtWrapper_QPainter::transform(QPainter* theWrappedObject) const -{ - return &( theWrappedObject->transform()); -} - -void PythonQtWrapper_QPainter::drawLine(QPainter* theWrappedObject, int x1, int y1, int x2, int y2) -{ - ( theWrappedObject->drawLine(x1, y1, x2, y2)); -} - -void PythonQtWrapper_QPainter::drawLines(QPainter* theWrappedObject, const QVector& lines) -{ - ( theWrappedObject->drawLines(lines)); -} - -void PythonQtWrapper_QPainter::drawTiledPixmap(QPainter* theWrappedObject, const QRect& arg__1, const QPixmap& arg__2, const QPoint& arg__3) -{ - ( theWrappedObject->drawTiledPixmap(arg__1, arg__2, arg__3)); -} - -void PythonQtWrapper_QPainter::setBackground(QPainter* theWrappedObject, const QBrush& bg) -{ - ( theWrappedObject->setBackground(bg)); -} - -Qt::BGMode PythonQtWrapper_QPainter::backgroundMode(QPainter* theWrappedObject) const -{ - return ( theWrappedObject->backgroundMode()); -} - -const QTransform* PythonQtWrapper_QPainter::worldTransform(QPainter* theWrappedObject) const -{ - return &( theWrappedObject->worldTransform()); -} - -void PythonQtWrapper_QPainter::setOpacity(QPainter* theWrappedObject, qreal opacity) -{ - ( theWrappedObject->setOpacity(opacity)); -} - -QTransform PythonQtWrapper_QPainter::combinedTransform(QPainter* theWrappedObject) const -{ - return ( theWrappedObject->combinedTransform()); -} - -void PythonQtWrapper_QPainter::drawText(QPainter* theWrappedObject, const QPoint& p, const QString& s) -{ - ( theWrappedObject->drawText(p, s)); -} - -QRegion PythonQtWrapper_QPainter::clipRegion(QPainter* theWrappedObject) const -{ - return ( theWrappedObject->clipRegion()); -} - -void PythonQtWrapper_QPainter::drawRoundRect(QPainter* theWrappedObject, int x, int y, int w, int h, int arg__5, int arg__6) -{ - ( theWrappedObject->drawRoundRect(x, y, w, h, arg__5, arg__6)); -} - -const QPen* PythonQtWrapper_QPainter::pen(QPainter* theWrappedObject) const -{ - return &( theWrappedObject->pen()); -} - -void PythonQtWrapper_QPainter::drawRoundRect(QPainter* theWrappedObject, const QRectF& r, int xround, int yround) -{ - ( theWrappedObject->drawRoundRect(r, xround, yround)); -} - -void PythonQtWrapper_QPainter::setRenderHint(QPainter* theWrappedObject, QPainter::RenderHint hint, bool on) -{ - ( theWrappedObject->setRenderHint(hint, on)); -} - -QRect PythonQtWrapper_QPainter::boundingRect(QPainter* theWrappedObject, const QRect& rect, int flags, const QString& text) -{ - return ( theWrappedObject->boundingRect(rect, flags, text)); -} - -void PythonQtWrapper_QPainter::drawPoint(QPainter* theWrappedObject, const QPointF& pt) -{ - ( theWrappedObject->drawPoint(pt)); -} - -void PythonQtWrapper_QPainter::drawChord(QPainter* theWrappedObject, const QRect& arg__1, int a, int alen) -{ - ( theWrappedObject->drawChord(arg__1, a, alen)); -} - -void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QRect& targetRect, const QImage& image, const QRect& sourceRect, Qt::ImageConversionFlags flags) -{ - ( theWrappedObject->drawImage(targetRect, image, sourceRect, flags)); -} - -void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QRect& r, const QPixmap& pm) -{ - ( theWrappedObject->drawPixmap(r, pm)); -} - -void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QRectF& targetRect, const QImage& image, const QRectF& sourceRect, Qt::ImageConversionFlags flags) -{ - ( theWrappedObject->drawImage(targetRect, image, sourceRect, flags)); -} - -void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, int x, int y, int w, int h, const QPixmap& pm) -{ - ( theWrappedObject->drawPixmap(x, y, w, h, pm)); -} - -QRect PythonQtWrapper_QPainter::viewport(QPainter* theWrappedObject) const -{ - return ( theWrappedObject->viewport()); -} - -void PythonQtWrapper_QPainter::drawPolyline(QPainter* theWrappedObject, const QPolygonF& polyline) -{ - ( theWrappedObject->drawPolyline(polyline)); -} - -void PythonQtWrapper_QPainter::setClipRegion(QPainter* theWrappedObject, const QRegion& arg__1, Qt::ClipOperation op) -{ - ( theWrappedObject->setClipRegion(arg__1, op)); -} - -void PythonQtWrapper_QPainter::setWindow(QPainter* theWrappedObject, int x, int y, int w, int h) -{ - ( theWrappedObject->setWindow(x, y, w, h)); -} - -bool PythonQtWrapper_QPainter::viewTransformEnabled(QPainter* theWrappedObject) const -{ - return ( theWrappedObject->viewTransformEnabled()); -} - -void PythonQtWrapper_QPainter::drawText(QPainter* theWrappedObject, const QPointF& p, const QString& s) -{ - ( theWrappedObject->drawText(p, s)); -} - -void PythonQtWrapper_QPainter::initFrom(QPainter* theWrappedObject, const QWidget* widget) -{ - ( theWrappedObject->initFrom(widget)); -} - -QPaintEngine* PythonQtWrapper_QPainter::paintEngine(QPainter* theWrappedObject) const -{ - return ( theWrappedObject->paintEngine()); -} - -void PythonQtWrapper_QPainter::drawPoint(QPainter* theWrappedObject, const QPoint& p) -{ - ( theWrappedObject->drawPoint(p)); -} - -void PythonQtWrapper_QPainter::drawText(QPainter* theWrappedObject, const QRect& r, int flags, const QString& text, QRect* br) -{ - ( theWrappedObject->drawText(r, flags, text, br)); -} - -void PythonQtWrapper_QPainter::drawPie(QPainter* theWrappedObject, const QRect& arg__1, int a, int alen) -{ - ( theWrappedObject->drawPie(arg__1, a, alen)); -} - -void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRectF& arg__1, const QBrush& arg__2) -{ - ( theWrappedObject->fillRect(arg__1, arg__2)); -} - -void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QRect& targetRect, const QPixmap& pixmap, const QRect& sourceRect) -{ - ( theWrappedObject->drawPixmap(targetRect, pixmap, sourceRect)); -} - -void PythonQtWrapper_QPainter::fillPath(QPainter* theWrappedObject, const QPainterPath& path, const QBrush& brush) -{ - ( theWrappedObject->fillPath(path, brush)); -} - -void PythonQtWrapper_QPainter::translate(QPainter* theWrappedObject, qreal dx, qreal dy) -{ - ( theWrappedObject->translate(dx, dy)); -} - -void PythonQtWrapper_QPainter::drawPolygon(QPainter* theWrappedObject, const QPolygon& polygon, Qt::FillRule fillRule) -{ - ( theWrappedObject->drawPolygon(polygon, fillRule)); -} - -void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QPointF& p, const QImage& image, const QRectF& sr, Qt::ImageConversionFlags flags) -{ - ( theWrappedObject->drawImage(p, image, sr, flags)); -} - -void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, int x, int y, const QImage& image, int sx, int sy, int sw, int sh, Qt::ImageConversionFlags flags) -{ - ( theWrappedObject->drawImage(x, y, image, sx, sy, sw, sh, flags)); -} - -void PythonQtWrapper_QPainter::drawLine(QPainter* theWrappedObject, const QPointF& p1, const QPointF& p2) -{ - ( theWrappedObject->drawLine(p1, p2)); -} - -void PythonQtWrapper_QPainter::drawPoints(QPainter* theWrappedObject, const QPolygon& points) -{ - ( theWrappedObject->drawPoints(points)); -} - -void PythonQtWrapper_QPainter::drawRect(QPainter* theWrappedObject, const QRectF& rect) -{ - ( theWrappedObject->drawRect(rect)); -} - -void PythonQtWrapper_QPainter::setPen(QPainter* theWrappedObject, const QColor& color) -{ - ( theWrappedObject->setPen(color)); -} - -void PythonQtWrapper_QPainter::setLayoutDirection(QPainter* theWrappedObject, Qt::LayoutDirection direction) -{ - ( theWrappedObject->setLayoutDirection(direction)); -} - -void PythonQtWrapper_QPainter::drawPicture(QPainter* theWrappedObject, const QPoint& p, const QPicture& picture) -{ - ( theWrappedObject->drawPicture(p, picture)); -} - -QPoint PythonQtWrapper_QPainter::brushOrigin(QPainter* theWrappedObject) const -{ - return ( theWrappedObject->brushOrigin()); -} - -void PythonQtWrapper_QPainter::drawArc(QPainter* theWrappedObject, int x, int y, int w, int h, int a, int alen) -{ - ( theWrappedObject->drawArc(x, y, w, h, a, alen)); -} - -const QMatrix* PythonQtWrapper_QPainter::worldMatrix(QPainter* theWrappedObject) const -{ - return &( theWrappedObject->worldMatrix()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPainter.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPainter.h deleted file mode 100644 index 1ad0044..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPainter.h +++ /dev/null @@ -1,218 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QPAINTER_H -#define PYTHONQTWRAPPER_QPAINTER_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtWrapper_QPainter : public QObject -{ Q_OBJECT -public: -Q_ENUMS(CompositionMode RenderHint ) -Q_FLAGS(RenderHints ) -enum CompositionMode{ - CompositionMode_SourceOver = QPainter::CompositionMode_SourceOver, CompositionMode_DestinationOver = QPainter::CompositionMode_DestinationOver, CompositionMode_Clear = QPainter::CompositionMode_Clear, CompositionMode_Source = QPainter::CompositionMode_Source, CompositionMode_Destination = QPainter::CompositionMode_Destination, CompositionMode_SourceIn = QPainter::CompositionMode_SourceIn, CompositionMode_DestinationIn = QPainter::CompositionMode_DestinationIn, CompositionMode_SourceOut = QPainter::CompositionMode_SourceOut, CompositionMode_DestinationOut = QPainter::CompositionMode_DestinationOut, CompositionMode_SourceAtop = QPainter::CompositionMode_SourceAtop, CompositionMode_DestinationAtop = QPainter::CompositionMode_DestinationAtop, CompositionMode_Xor = QPainter::CompositionMode_Xor, CompositionMode_Plus = QPainter::CompositionMode_Plus, CompositionMode_Multiply = QPainter::CompositionMode_Multiply, CompositionMode_Screen = QPainter::CompositionMode_Screen, CompositionMode_Overlay = QPainter::CompositionMode_Overlay, CompositionMode_Darken = QPainter::CompositionMode_Darken, CompositionMode_Lighten = QPainter::CompositionMode_Lighten, CompositionMode_ColorDodge = QPainter::CompositionMode_ColorDodge, CompositionMode_ColorBurn = QPainter::CompositionMode_ColorBurn, CompositionMode_HardLight = QPainter::CompositionMode_HardLight, CompositionMode_SoftLight = QPainter::CompositionMode_SoftLight, CompositionMode_Difference = QPainter::CompositionMode_Difference, CompositionMode_Exclusion = QPainter::CompositionMode_Exclusion}; -enum RenderHint{ - Antialiasing = QPainter::Antialiasing, TextAntialiasing = QPainter::TextAntialiasing, SmoothPixmapTransform = QPainter::SmoothPixmapTransform, HighQualityAntialiasing = QPainter::HighQualityAntialiasing, NonCosmeticDefaultPen = QPainter::NonCosmeticDefaultPen}; -Q_DECLARE_FLAGS(RenderHints, RenderHint) -public slots: -QPainter* new_QPainter(); -void delete_QPainter(QPainter* obj) { delete obj; } - Qt::LayoutDirection layoutDirection(QPainter* theWrappedObject) const; - QPainter::RenderHints renderHints(QPainter* theWrappedObject) const; - void drawPixmap(QPainter* theWrappedObject, int x, int y, const QPixmap& pm); - void drawTiledPixmap(QPainter* theWrappedObject, int x, int y, int w, int h, const QPixmap& arg__5, int sx = 0, int sy = 0); - void setRenderHints(QPainter* theWrappedObject, QPainter::RenderHints hints, bool on = true); - bool isActive(QPainter* theWrappedObject) const; - void drawPixmap(QPainter* theWrappedObject, const QPointF& p, const QPixmap& pm); - void setWorldTransform(QPainter* theWrappedObject, const QTransform& matrix, bool combine = false); - void drawRects(QPainter* theWrappedObject, const QVector& rectangles); - void drawPie(QPainter* theWrappedObject, int x, int y, int w, int h, int a, int alen); - void drawTextItem(QPainter* theWrappedObject, const QPointF& p, const QTextItem& ti); - void drawImage(QPainter* theWrappedObject, const QPointF& p, const QImage& image); - void drawRoundedRect(QPainter* theWrappedObject, int x, int y, int w, int h, qreal xRadius, qreal yRadius, Qt::SizeMode mode = Qt::AbsoluteSize); - const QTransform* deviceTransform(QPainter* theWrappedObject) const; - void drawPoint(QPainter* theWrappedObject, int x, int y); - void drawChord(QPainter* theWrappedObject, int x, int y, int w, int h, int a, int alen); - void setPen(QPainter* theWrappedObject, Qt::PenStyle style); - qreal opacity(QPainter* theWrappedObject) const; - void drawText(QPainter* theWrappedObject, const QRectF& r, const QString& text, const QTextOption& o = QTextOption()); - void shear(QPainter* theWrappedObject, qreal sh, qreal sv); - void fillRect(QPainter* theWrappedObject, const QRect& arg__1, const QBrush& arg__2); - void drawLines(QPainter* theWrappedObject, const QVector& pointPairs); - void save(QPainter* theWrappedObject); - void setTransform(QPainter* theWrappedObject, const QTransform& transform, bool combine = false); - void rotate(QPainter* theWrappedObject, qreal a); - QPaintDevice* static_QPainter_redirected(const QPaintDevice* device, QPoint* offset = 0); - void drawImage(QPainter* theWrappedObject, const QRectF& r, const QImage& image); - void drawPoints(QPainter* theWrappedObject, const QPolygonF& points); - void setClipRect(QPainter* theWrappedObject, const QRectF& arg__1, Qt::ClipOperation op = Qt::ReplaceClip); - void translate(QPainter* theWrappedObject, const QPointF& offset); - void drawChord(QPainter* theWrappedObject, const QRectF& rect, int a, int alen); - void drawPixmap(QPainter* theWrappedObject, const QRectF& targetRect, const QPixmap& pixmap, const QRectF& sourceRect); - void resetTransform(QPainter* theWrappedObject); - void restore(QPainter* theWrappedObject); - void drawPixmap(QPainter* theWrappedObject, const QPointF& p, const QPixmap& pm, const QRectF& sr); - void setBackgroundMode(QPainter* theWrappedObject, Qt::BGMode mode); - void setViewTransformEnabled(QPainter* theWrappedObject, bool enable); - const QBrush* brush(QPainter* theWrappedObject) const; - void drawEllipse(QPainter* theWrappedObject, int x, int y, int w, int h); - void eraseRect(QPainter* theWrappedObject, const QRectF& arg__1); - void drawEllipse(QPainter* theWrappedObject, const QRectF& r); - void drawLines(QPainter* theWrappedObject, const QVector& lines); - bool testRenderHint(QPainter* theWrappedObject, QPainter::RenderHint hint) const; - void setWorldMatrixEnabled(QPainter* theWrappedObject, bool enabled); - void drawTiledPixmap(QPainter* theWrappedObject, const QRectF& rect, const QPixmap& pm, const QPointF& offset = QPointF()); - void drawPie(QPainter* theWrappedObject, const QRectF& rect, int a, int alen); - const QMatrix* deviceMatrix(QPainter* theWrappedObject) const; - void setBrushOrigin(QPainter* theWrappedObject, int x, int y); - void drawRect(QPainter* theWrappedObject, int x1, int y1, int w, int h); - bool hasClipping(QPainter* theWrappedObject) const; - QRect boundingRect(QPainter* theWrappedObject, int x, int y, int w, int h, int flags, const QString& text); - bool worldMatrixEnabled(QPainter* theWrappedObject) const; - QRectF boundingRect(QPainter* theWrappedObject, const QRectF& rect, int flags, const QString& text); - QRect window(QPainter* theWrappedObject) const; - void drawRect(QPainter* theWrappedObject, const QRect& rect); - void drawPixmap(QPainter* theWrappedObject, const QPoint& p, const QPixmap& pm); - void eraseRect(QPainter* theWrappedObject, int x, int y, int w, int h); - bool end(QPainter* theWrappedObject); - void drawArc(QPainter* theWrappedObject, const QRectF& rect, int a, int alen); - void static_QPainter_restoreRedirected(const QPaintDevice* device); - QMatrix combinedMatrix(QPainter* theWrappedObject) const; - void drawPicture(QPainter* theWrappedObject, const QPointF& p, const QPicture& picture); - void drawText(QPainter* theWrappedObject, int x, int y, int w, int h, int flags, const QString& text, QRect* br = 0); - void drawConvexPolygon(QPainter* theWrappedObject, const QPolygonF& polygon); - void setClipRect(QPainter* theWrappedObject, const QRect& arg__1, Qt::ClipOperation op = Qt::ReplaceClip); - void drawImage(QPainter* theWrappedObject, const QPoint& p, const QImage& image); - void drawArc(QPainter* theWrappedObject, const QRect& arg__1, int a, int alen); - void setBrush(QPainter* theWrappedObject, Qt::BrushStyle style); - void setViewport(QPainter* theWrappedObject, const QRect& viewport); - QPainter::CompositionMode compositionMode(QPainter* theWrappedObject) const; - void setPen(QPainter* theWrappedObject, const QPen& pen); - bool begin(QPainter* theWrappedObject, QPaintDevice* arg__1); - void drawEllipse(QPainter* theWrappedObject, const QPointF& center, qreal rx, qreal ry); - void drawLine(QPainter* theWrappedObject, const QPoint& p1, const QPoint& p2); - void drawPixmap(QPainter* theWrappedObject, const QPoint& p, const QPixmap& pm, const QRect& sr); - void drawPolygon(QPainter* theWrappedObject, const QPolygonF& polygon, Qt::FillRule fillRule = Qt::OddEvenFill); - void static_QPainter_setRedirected(const QPaintDevice* device, QPaintDevice* replacement, const QPoint& offset = QPoint()); - void drawRoundedRect(QPainter* theWrappedObject, const QRectF& rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode = Qt::AbsoluteSize); - void drawTextItem(QPainter* theWrappedObject, int x, int y, const QTextItem& ti); - void scale(QPainter* theWrappedObject, qreal sx, qreal sy); - void resetMatrix(QPainter* theWrappedObject); - void drawLines(QPainter* theWrappedObject, const QVector& pointPairs); - QPaintDevice* device(QPainter* theWrappedObject) const; - void drawPath(QPainter* theWrappedObject, const QPainterPath& path); - void setViewport(QPainter* theWrappedObject, int x, int y, int w, int h); - void setWorldMatrix(QPainter* theWrappedObject, const QMatrix& matrix, bool combine = false); - void drawConvexPolygon(QPainter* theWrappedObject, const QPolygon& polygon); - void drawPicture(QPainter* theWrappedObject, int x, int y, const QPicture& picture); - void setClipRect(QPainter* theWrappedObject, int x, int y, int w, int h, Qt::ClipOperation op = Qt::ReplaceClip); - void drawEllipse(QPainter* theWrappedObject, const QPoint& center, int rx, int ry); - void fillRect(QPainter* theWrappedObject, int x, int y, int w, int h, const QBrush& arg__5); - void setBrush(QPainter* theWrappedObject, const QBrush& brush); - void drawLine(QPainter* theWrappedObject, const QLineF& line); - void setCompositionMode(QPainter* theWrappedObject, QPainter::CompositionMode mode); - void drawPolyline(QPainter* theWrappedObject, const QPolygon& polygon); - void drawText(QPainter* theWrappedObject, const QRectF& r, int flags, const QString& text, QRectF* br = 0); - const QBrush* background(QPainter* theWrappedObject) const; - void drawPixmap(QPainter* theWrappedObject, int x, int y, int w, int h, const QPixmap& pm, int sx, int sy, int sw, int sh); - void drawPixmap(QPainter* theWrappedObject, int x, int y, const QPixmap& pm, int sx, int sy, int sw, int sh); - QRectF boundingRect(QPainter* theWrappedObject, const QRectF& rect, const QString& text, const QTextOption& o = QTextOption()); - QPainterPath clipPath(QPainter* theWrappedObject) const; - void drawRoundedRect(QPainter* theWrappedObject, const QRect& rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode = Qt::AbsoluteSize); - void setClipping(QPainter* theWrappedObject, bool enable); - void eraseRect(QPainter* theWrappedObject, const QRect& arg__1); - void setBrushOrigin(QPainter* theWrappedObject, const QPoint& arg__1); - void drawText(QPainter* theWrappedObject, int x, int y, const QString& s); - void drawEllipse(QPainter* theWrappedObject, const QRect& r); - void setBrushOrigin(QPainter* theWrappedObject, const QPointF& arg__1); - void drawRoundRect(QPainter* theWrappedObject, const QRect& r, int xround = 25, int yround = 25); - void setFont(QPainter* theWrappedObject, const QFont& f); - void setWindow(QPainter* theWrappedObject, const QRect& window); - void strokePath(QPainter* theWrappedObject, const QPainterPath& path, const QPen& pen); - void drawLine(QPainter* theWrappedObject, const QLine& line); - void translate(QPainter* theWrappedObject, const QPoint& offset); - void drawImage(QPainter* theWrappedObject, const QPoint& p, const QImage& image, const QRect& sr, Qt::ImageConversionFlags flags = Qt::AutoColor); - void setClipPath(QPainter* theWrappedObject, const QPainterPath& path, Qt::ClipOperation op = Qt::ReplaceClip); - const QFont* font(QPainter* theWrappedObject) const; - void drawImage(QPainter* theWrappedObject, const QRect& r, const QImage& image); - void drawRects(QPainter* theWrappedObject, const QVector& rectangles); - void drawTextItem(QPainter* theWrappedObject, const QPoint& p, const QTextItem& ti); - const QTransform* transform(QPainter* theWrappedObject) const; - void drawLine(QPainter* theWrappedObject, int x1, int y1, int x2, int y2); - void drawLines(QPainter* theWrappedObject, const QVector& lines); - void drawTiledPixmap(QPainter* theWrappedObject, const QRect& arg__1, const QPixmap& arg__2, const QPoint& arg__3 = QPoint()); - void setBackground(QPainter* theWrappedObject, const QBrush& bg); - Qt::BGMode backgroundMode(QPainter* theWrappedObject) const; - const QTransform* worldTransform(QPainter* theWrappedObject) const; - void setOpacity(QPainter* theWrappedObject, qreal opacity); - QTransform combinedTransform(QPainter* theWrappedObject) const; - void drawText(QPainter* theWrappedObject, const QPoint& p, const QString& s); - QRegion clipRegion(QPainter* theWrappedObject) const; - void drawRoundRect(QPainter* theWrappedObject, int x, int y, int w, int h, int arg__5 = 25, int arg__6 = 25); - const QPen* pen(QPainter* theWrappedObject) const; - void drawRoundRect(QPainter* theWrappedObject, const QRectF& r, int xround = 25, int yround = 25); - void setRenderHint(QPainter* theWrappedObject, QPainter::RenderHint hint, bool on = true); - QRect boundingRect(QPainter* theWrappedObject, const QRect& rect, int flags, const QString& text); - void drawPoint(QPainter* theWrappedObject, const QPointF& pt); - void drawChord(QPainter* theWrappedObject, const QRect& arg__1, int a, int alen); - void drawImage(QPainter* theWrappedObject, const QRect& targetRect, const QImage& image, const QRect& sourceRect, Qt::ImageConversionFlags flags = Qt::AutoColor); - void drawPixmap(QPainter* theWrappedObject, const QRect& r, const QPixmap& pm); - void drawImage(QPainter* theWrappedObject, const QRectF& targetRect, const QImage& image, const QRectF& sourceRect, Qt::ImageConversionFlags flags = Qt::AutoColor); - void drawPixmap(QPainter* theWrappedObject, int x, int y, int w, int h, const QPixmap& pm); - QRect viewport(QPainter* theWrappedObject) const; - void drawPolyline(QPainter* theWrappedObject, const QPolygonF& polyline); - void setClipRegion(QPainter* theWrappedObject, const QRegion& arg__1, Qt::ClipOperation op = Qt::ReplaceClip); - void setWindow(QPainter* theWrappedObject, int x, int y, int w, int h); - bool viewTransformEnabled(QPainter* theWrappedObject) const; - void drawText(QPainter* theWrappedObject, const QPointF& p, const QString& s); - void initFrom(QPainter* theWrappedObject, const QWidget* widget); - QPaintEngine* paintEngine(QPainter* theWrappedObject) const; - void drawPoint(QPainter* theWrappedObject, const QPoint& p); - void drawText(QPainter* theWrappedObject, const QRect& r, int flags, const QString& text, QRect* br = 0); - void drawPie(QPainter* theWrappedObject, const QRect& arg__1, int a, int alen); - void fillRect(QPainter* theWrappedObject, const QRectF& arg__1, const QBrush& arg__2); - void drawPixmap(QPainter* theWrappedObject, const QRect& targetRect, const QPixmap& pixmap, const QRect& sourceRect); - void fillPath(QPainter* theWrappedObject, const QPainterPath& path, const QBrush& brush); - void translate(QPainter* theWrappedObject, qreal dx, qreal dy); - void drawPolygon(QPainter* theWrappedObject, const QPolygon& polygon, Qt::FillRule fillRule = Qt::OddEvenFill); - void drawImage(QPainter* theWrappedObject, const QPointF& p, const QImage& image, const QRectF& sr, Qt::ImageConversionFlags flags = Qt::AutoColor); - void drawImage(QPainter* theWrappedObject, int x, int y, const QImage& image, int sx = 0, int sy = 0, int sw = -1, int sh = -1, Qt::ImageConversionFlags flags = Qt::AutoColor); - void drawLine(QPainter* theWrappedObject, const QPointF& p1, const QPointF& p2); - void drawPoints(QPainter* theWrappedObject, const QPolygon& points); - void drawRect(QPainter* theWrappedObject, const QRectF& rect); - void setPen(QPainter* theWrappedObject, const QColor& color); - void setLayoutDirection(QPainter* theWrappedObject, Qt::LayoutDirection direction); - void drawPicture(QPainter* theWrappedObject, const QPoint& p, const QPicture& picture); - QPoint brushOrigin(QPainter* theWrappedObject) const; - void drawArc(QPainter* theWrappedObject, int x, int y, int w, int h, int a, int alen); - const QMatrix* worldMatrix(QPainter* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QPAINTER_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPainterPath.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPainterPath.cpp deleted file mode 100644 index 1e538c4..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPainterPath.cpp +++ /dev/null @@ -1,357 +0,0 @@ -#include "PythonQtWrapper_QPainterPath.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QPainterPath* PythonQtWrapper_QPainterPath::new_QPainterPath() -{ -return new QPainterPath(); } - -QPainterPath* PythonQtWrapper_QPainterPath::new_QPainterPath(const QPainterPath& other) -{ -return new QPainterPath(other); } - -QPainterPath* PythonQtWrapper_QPainterPath::new_QPainterPath(const QPointF& startPoint) -{ -return new QPainterPath(startPoint); } - -QPainterPath PythonQtWrapper_QPainterPath::united(QPainterPath* theWrappedObject, const QPainterPath& r) const -{ - return ( theWrappedObject->united(r)); -} - -void PythonQtWrapper_QPainterPath::writeTo(QPainterPath* theWrappedObject, QDataStream& arg__1) -{ - arg__1 << (*theWrappedObject); -} - -Qt::FillRule PythonQtWrapper_QPainterPath::fillRule(QPainterPath* theWrappedObject) const -{ - return ( theWrappedObject->fillRule()); -} - -void PythonQtWrapper_QPainterPath::addPath(QPainterPath* theWrappedObject, const QPainterPath& path) -{ - ( theWrappedObject->addPath(path)); -} - -bool PythonQtWrapper_QPainterPath::operator_equal(QPainterPath* theWrappedObject, const QPainterPath& other) const -{ - return ( (*theWrappedObject)== other); -} - -QList PythonQtWrapper_QPainterPath::toFillPolygons(QPainterPath* theWrappedObject, const QMatrix& matrix) const -{ - return ( theWrappedObject->toFillPolygons(matrix)); -} - -qreal PythonQtWrapper_QPainterPath::percentAtLength(QPainterPath* theWrappedObject, qreal t) const -{ - return ( theWrappedObject->percentAtLength(t)); -} - -QPainterPath PythonQtWrapper_QPainterPath::toReversed(QPainterPath* theWrappedObject) const -{ - return ( theWrappedObject->toReversed()); -} - -void PythonQtWrapper_QPainterPath::addText(QPainterPath* theWrappedObject, qreal x, qreal y, const QFont& f, const QString& text) -{ - ( theWrappedObject->addText(x, y, f, text)); -} - -void PythonQtWrapper_QPainterPath::closeSubpath(QPainterPath* theWrappedObject) -{ - ( theWrappedObject->closeSubpath()); -} - -bool PythonQtWrapper_QPainterPath::isEmpty(QPainterPath* theWrappedObject) const -{ - return ( theWrappedObject->isEmpty()); -} - -const QPainterPath::Element* PythonQtWrapper_QPainterPath::elementAt(QPainterPath* theWrappedObject, int i) const -{ - return &( theWrappedObject->elementAt(i)); -} - -qreal PythonQtWrapper_QPainterPath::slopeAtPercent(QPainterPath* theWrappedObject, qreal t) const -{ - return ( theWrappedObject->slopeAtPercent(t)); -} - -void PythonQtWrapper_QPainterPath::addRoundedRect(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, qreal xRadius, qreal yRadius, Qt::SizeMode mode) -{ - ( theWrappedObject->addRoundedRect(x, y, w, h, xRadius, yRadius, mode)); -} - -bool PythonQtWrapper_QPainterPath::intersects(QPainterPath* theWrappedObject, const QPainterPath& p) const -{ - return ( theWrappedObject->intersects(p)); -} - -void PythonQtWrapper_QPainterPath::setFillRule(QPainterPath* theWrappedObject, Qt::FillRule fillRule) -{ - ( theWrappedObject->setFillRule(fillRule)); -} - -QPolygonF PythonQtWrapper_QPainterPath::toFillPolygon(QPainterPath* theWrappedObject, const QMatrix& matrix) const -{ - return ( theWrappedObject->toFillPolygon(matrix)); -} - -QRectF PythonQtWrapper_QPainterPath::boundingRect(QPainterPath* theWrappedObject) const -{ - return ( theWrappedObject->boundingRect()); -} - -void PythonQtWrapper_QPainterPath::addRegion(QPainterPath* theWrappedObject, const QRegion& region) -{ - ( theWrappedObject->addRegion(region)); -} - -void PythonQtWrapper_QPainterPath::addRoundRect(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, int roundness) -{ - ( theWrappedObject->addRoundRect(x, y, w, h, roundness)); -} - -void PythonQtWrapper_QPainterPath::connectPath(QPainterPath* theWrappedObject, const QPainterPath& path) -{ - ( theWrappedObject->connectPath(path)); -} - -bool PythonQtWrapper_QPainterPath::contains(QPainterPath* theWrappedObject, const QRectF& rect) const -{ - return ( theWrappedObject->contains(rect)); -} - -void PythonQtWrapper_QPainterPath::quadTo(QPainterPath* theWrappedObject, const QPointF& ctrlPt, const QPointF& endPt) -{ - ( theWrappedObject->quadTo(ctrlPt, endPt)); -} - -QPointF PythonQtWrapper_QPainterPath::pointAtPercent(QPainterPath* theWrappedObject, qreal t) const -{ - return ( theWrappedObject->pointAtPercent(t)); -} - -void PythonQtWrapper_QPainterPath::arcMoveTo(QPainterPath* theWrappedObject, const QRectF& rect, qreal angle) -{ - ( theWrappedObject->arcMoveTo(rect, angle)); -} - -QList PythonQtWrapper_QPainterPath::toSubpathPolygons(QPainterPath* theWrappedObject, const QTransform& matrix) const -{ - return ( theWrappedObject->toSubpathPolygons(matrix)); -} - -void PythonQtWrapper_QPainterPath::arcTo(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, qreal startAngle, qreal arcLength) -{ - ( theWrappedObject->arcTo(x, y, w, h, startAngle, arcLength)); -} - -void PythonQtWrapper_QPainterPath::addRect(QPainterPath* theWrappedObject, const QRectF& rect) -{ - ( theWrappedObject->addRect(rect)); -} - -void PythonQtWrapper_QPainterPath::cubicTo(QPainterPath* theWrappedObject, const QPointF& ctrlPt1, const QPointF& ctrlPt2, const QPointF& endPt) -{ - ( theWrappedObject->cubicTo(ctrlPt1, ctrlPt2, endPt)); -} - -bool PythonQtWrapper_QPainterPath::intersects(QPainterPath* theWrappedObject, const QRectF& rect) const -{ - return ( theWrappedObject->intersects(rect)); -} - -void PythonQtWrapper_QPainterPath::addEllipse(QPainterPath* theWrappedObject, const QPointF& center, qreal rx, qreal ry) -{ - ( theWrappedObject->addEllipse(center, rx, ry)); -} - -bool PythonQtWrapper_QPainterPath::contains(QPainterPath* theWrappedObject, const QPainterPath& p) const -{ - return ( theWrappedObject->contains(p)); -} - -void PythonQtWrapper_QPainterPath::addRoundedRect(QPainterPath* theWrappedObject, const QRectF& rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode) -{ - ( theWrappedObject->addRoundedRect(rect, xRadius, yRadius, mode)); -} - -QList PythonQtWrapper_QPainterPath::toSubpathPolygons(QPainterPath* theWrappedObject, const QMatrix& matrix) const -{ - return ( theWrappedObject->toSubpathPolygons(matrix)); -} - -qreal PythonQtWrapper_QPainterPath::length(QPainterPath* theWrappedObject) const -{ - return ( theWrappedObject->length()); -} - -QRectF PythonQtWrapper_QPainterPath::controlPointRect(QPainterPath* theWrappedObject) const -{ - return ( theWrappedObject->controlPointRect()); -} - -QPainterPath PythonQtWrapper_QPainterPath::subtracted(QPainterPath* theWrappedObject, const QPainterPath& r) const -{ - return ( theWrappedObject->subtracted(r)); -} - -void PythonQtWrapper_QPainterPath::addEllipse(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h) -{ - ( theWrappedObject->addEllipse(x, y, w, h)); -} - -void PythonQtWrapper_QPainterPath::addText(QPainterPath* theWrappedObject, const QPointF& point, const QFont& f, const QString& text) -{ - ( theWrappedObject->addText(point, f, text)); -} - -QList PythonQtWrapper_QPainterPath::toFillPolygons(QPainterPath* theWrappedObject, const QTransform& matrix) const -{ - return ( theWrappedObject->toFillPolygons(matrix)); -} - -void PythonQtWrapper_QPainterPath::moveTo(QPainterPath* theWrappedObject, qreal x, qreal y) -{ - ( theWrappedObject->moveTo(x, y)); -} - -void PythonQtWrapper_QPainterPath::arcTo(QPainterPath* theWrappedObject, const QRectF& rect, qreal startAngle, qreal arcLength) -{ - ( theWrappedObject->arcTo(rect, startAngle, arcLength)); -} - -void PythonQtWrapper_QPainterPath::moveTo(QPainterPath* theWrappedObject, const QPointF& p) -{ - ( theWrappedObject->moveTo(p)); -} - -bool PythonQtWrapper_QPainterPath::contains(QPainterPath* theWrappedObject, const QPointF& pt) const -{ - return ( theWrappedObject->contains(pt)); -} - -void PythonQtWrapper_QPainterPath::addRect(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h) -{ - ( theWrappedObject->addRect(x, y, w, h)); -} - -QPainterPath PythonQtWrapper_QPainterPath::intersected(QPainterPath* theWrappedObject, const QPainterPath& r) const -{ - return ( theWrappedObject->intersected(r)); -} - -QPainterPath PythonQtWrapper_QPainterPath::simplified(QPainterPath* theWrappedObject) const -{ - return ( theWrappedObject->simplified()); -} - -void PythonQtWrapper_QPainterPath::addRoundRect(QPainterPath* theWrappedObject, const QRectF& rect, int xRnd, int yRnd) -{ - ( theWrappedObject->addRoundRect(rect, xRnd, yRnd)); -} - -int PythonQtWrapper_QPainterPath::elementCount(QPainterPath* theWrappedObject) const -{ - return ( theWrappedObject->elementCount()); -} - -void PythonQtWrapper_QPainterPath::addRoundRect(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, int xRnd, int yRnd) -{ - ( theWrappedObject->addRoundRect(x, y, w, h, xRnd, yRnd)); -} - -void PythonQtWrapper_QPainterPath::readFrom(QPainterPath* theWrappedObject, QDataStream& arg__1) -{ - arg__1 >> (*theWrappedObject); -} - -void PythonQtWrapper_QPainterPath::addPolygon(QPainterPath* theWrappedObject, const QPolygonF& polygon) -{ - ( theWrappedObject->addPolygon(polygon)); -} - -void PythonQtWrapper_QPainterPath::cubicTo(QPainterPath* theWrappedObject, qreal ctrlPt1x, qreal ctrlPt1y, qreal ctrlPt2x, qreal ctrlPt2y, qreal endPtx, qreal endPty) -{ - ( theWrappedObject->cubicTo(ctrlPt1x, ctrlPt1y, ctrlPt2x, ctrlPt2y, endPtx, endPty)); -} - -QPointF PythonQtWrapper_QPainterPath::currentPosition(QPainterPath* theWrappedObject) const -{ - return ( theWrappedObject->currentPosition()); -} - -void PythonQtWrapper_QPainterPath::addEllipse(QPainterPath* theWrappedObject, const QRectF& rect) -{ - ( theWrappedObject->addEllipse(rect)); -} - -void PythonQtWrapper_QPainterPath::setElementPositionAt(QPainterPath* theWrappedObject, int i, qreal x, qreal y) -{ - ( theWrappedObject->setElementPositionAt(i, x, y)); -} - -QPolygonF PythonQtWrapper_QPainterPath::toFillPolygon(QPainterPath* theWrappedObject, const QTransform& matrix) const -{ - return ( theWrappedObject->toFillPolygon(matrix)); -} - -void PythonQtWrapper_QPainterPath::lineTo(QPainterPath* theWrappedObject, const QPointF& p) -{ - ( theWrappedObject->lineTo(p)); -} - -void PythonQtWrapper_QPainterPath::quadTo(QPainterPath* theWrappedObject, qreal ctrlPtx, qreal ctrlPty, qreal endPtx, qreal endPty) -{ - ( theWrappedObject->quadTo(ctrlPtx, ctrlPty, endPtx, endPty)); -} - -qreal PythonQtWrapper_QPainterPath::angleAtPercent(QPainterPath* theWrappedObject, qreal t) const -{ - return ( theWrappedObject->angleAtPercent(t)); -} - -void PythonQtWrapper_QPainterPath::arcMoveTo(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, qreal angle) -{ - ( theWrappedObject->arcMoveTo(x, y, w, h, angle)); -} - -QPainterPath PythonQtWrapper_QPainterPath::subtractedInverted(QPainterPath* theWrappedObject, const QPainterPath& r) const -{ - return ( theWrappedObject->subtractedInverted(r)); -} - -void PythonQtWrapper_QPainterPath::addRoundRect(QPainterPath* theWrappedObject, const QRectF& rect, int roundness) -{ - ( theWrappedObject->addRoundRect(rect, roundness)); -} - -void PythonQtWrapper_QPainterPath::lineTo(QPainterPath* theWrappedObject, qreal x, qreal y) -{ - ( theWrappedObject->lineTo(x, y)); -} - -QString PythonQtWrapper_QPainterPath::toString(QPainterPath* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPainterPath.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPainterPath.h deleted file mode 100644 index bd0142d..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPainterPath.h +++ /dev/null @@ -1,100 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QPAINTERPATH_H -#define PYTHONQTWRAPPER_QPAINTERPATH_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtWrapper_QPainterPath : public QObject -{ Q_OBJECT -public: -Q_ENUMS(ElementType ) -enum ElementType{ - MoveToElement = QPainterPath::MoveToElement, LineToElement = QPainterPath::LineToElement, CurveToElement = QPainterPath::CurveToElement, CurveToDataElement = QPainterPath::CurveToDataElement}; -public slots: -QPainterPath* new_QPainterPath(); -QPainterPath* new_QPainterPath(const QPainterPath& other); -QPainterPath* new_QPainterPath(const QPointF& startPoint); -void delete_QPainterPath(QPainterPath* obj) { delete obj; } - QPainterPath united(QPainterPath* theWrappedObject, const QPainterPath& r) const; - void writeTo(QPainterPath* theWrappedObject, QDataStream& arg__1); - Qt::FillRule fillRule(QPainterPath* theWrappedObject) const; - void addPath(QPainterPath* theWrappedObject, const QPainterPath& path); - bool operator_equal(QPainterPath* theWrappedObject, const QPainterPath& other) const; - QList toFillPolygons(QPainterPath* theWrappedObject, const QMatrix& matrix = QMatrix()) const; - qreal percentAtLength(QPainterPath* theWrappedObject, qreal t) const; - QPainterPath toReversed(QPainterPath* theWrappedObject) const; - void addText(QPainterPath* theWrappedObject, qreal x, qreal y, const QFont& f, const QString& text); - void closeSubpath(QPainterPath* theWrappedObject); - bool isEmpty(QPainterPath* theWrappedObject) const; - const QPainterPath::Element* elementAt(QPainterPath* theWrappedObject, int i) const; - qreal slopeAtPercent(QPainterPath* theWrappedObject, qreal t) const; - void addRoundedRect(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, qreal xRadius, qreal yRadius, Qt::SizeMode mode = Qt::AbsoluteSize); - bool intersects(QPainterPath* theWrappedObject, const QPainterPath& p) const; - void setFillRule(QPainterPath* theWrappedObject, Qt::FillRule fillRule); - QPolygonF toFillPolygon(QPainterPath* theWrappedObject, const QMatrix& matrix = QMatrix()) const; - QRectF boundingRect(QPainterPath* theWrappedObject) const; - void addRegion(QPainterPath* theWrappedObject, const QRegion& region); - void addRoundRect(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, int roundness); - void connectPath(QPainterPath* theWrappedObject, const QPainterPath& path); - bool contains(QPainterPath* theWrappedObject, const QRectF& rect) const; - void quadTo(QPainterPath* theWrappedObject, const QPointF& ctrlPt, const QPointF& endPt); - QPointF pointAtPercent(QPainterPath* theWrappedObject, qreal t) const; - void arcMoveTo(QPainterPath* theWrappedObject, const QRectF& rect, qreal angle); - QList toSubpathPolygons(QPainterPath* theWrappedObject, const QTransform& matrix) const; - void arcTo(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, qreal startAngle, qreal arcLength); - void addRect(QPainterPath* theWrappedObject, const QRectF& rect); - void cubicTo(QPainterPath* theWrappedObject, const QPointF& ctrlPt1, const QPointF& ctrlPt2, const QPointF& endPt); - bool intersects(QPainterPath* theWrappedObject, const QRectF& rect) const; - void addEllipse(QPainterPath* theWrappedObject, const QPointF& center, qreal rx, qreal ry); - bool contains(QPainterPath* theWrappedObject, const QPainterPath& p) const; - void addRoundedRect(QPainterPath* theWrappedObject, const QRectF& rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode = Qt::AbsoluteSize); - QList toSubpathPolygons(QPainterPath* theWrappedObject, const QMatrix& matrix = QMatrix()) const; - qreal length(QPainterPath* theWrappedObject) const; - QRectF controlPointRect(QPainterPath* theWrappedObject) const; - QPainterPath subtracted(QPainterPath* theWrappedObject, const QPainterPath& r) const; - void addEllipse(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h); - void addText(QPainterPath* theWrappedObject, const QPointF& point, const QFont& f, const QString& text); - QList toFillPolygons(QPainterPath* theWrappedObject, const QTransform& matrix) const; - void moveTo(QPainterPath* theWrappedObject, qreal x, qreal y); - void arcTo(QPainterPath* theWrappedObject, const QRectF& rect, qreal startAngle, qreal arcLength); - void moveTo(QPainterPath* theWrappedObject, const QPointF& p); - bool contains(QPainterPath* theWrappedObject, const QPointF& pt) const; - void addRect(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h); - QPainterPath intersected(QPainterPath* theWrappedObject, const QPainterPath& r) const; - QPainterPath simplified(QPainterPath* theWrappedObject) const; - void addRoundRect(QPainterPath* theWrappedObject, const QRectF& rect, int xRnd, int yRnd); - int elementCount(QPainterPath* theWrappedObject) const; - void addRoundRect(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, int xRnd, int yRnd); - void readFrom(QPainterPath* theWrappedObject, QDataStream& arg__1); - void addPolygon(QPainterPath* theWrappedObject, const QPolygonF& polygon); - void cubicTo(QPainterPath* theWrappedObject, qreal ctrlPt1x, qreal ctrlPt1y, qreal ctrlPt2x, qreal ctrlPt2y, qreal endPtx, qreal endPty); - QPointF currentPosition(QPainterPath* theWrappedObject) const; - void addEllipse(QPainterPath* theWrappedObject, const QRectF& rect); - void setElementPositionAt(QPainterPath* theWrappedObject, int i, qreal x, qreal y); - QPolygonF toFillPolygon(QPainterPath* theWrappedObject, const QTransform& matrix) const; - void lineTo(QPainterPath* theWrappedObject, const QPointF& p); - void quadTo(QPainterPath* theWrappedObject, qreal ctrlPtx, qreal ctrlPty, qreal endPtx, qreal endPty); - qreal angleAtPercent(QPainterPath* theWrappedObject, qreal t) const; - void arcMoveTo(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, qreal angle); - QPainterPath subtractedInverted(QPainterPath* theWrappedObject, const QPainterPath& r) const; - void addRoundRect(QPainterPath* theWrappedObject, const QRectF& rect, int roundness); - void lineTo(QPainterPath* theWrappedObject, qreal x, qreal y); - QString toString(QPainterPath*); -}; - -#endif // PYTHONQTWRAPPER_QPAINTERPATH_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPainterPathStroker.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPainterPathStroker.cpp deleted file mode 100644 index 7d13a10..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPainterPathStroker.cpp +++ /dev/null @@ -1,93 +0,0 @@ -#include "PythonQtWrapper_QPainterPathStroker.h" - -#include -#include -#include -#include -#include -#include - -QPainterPathStroker* PythonQtWrapper_QPainterPathStroker::new_QPainterPathStroker() -{ -return new QPainterPathStroker(); } - -Qt::PenCapStyle PythonQtWrapper_QPainterPathStroker::capStyle(QPainterPathStroker* theWrappedObject) const -{ - return ( theWrappedObject->capStyle()); -} - -void PythonQtWrapper_QPainterPathStroker::setJoinStyle(QPainterPathStroker* theWrappedObject, Qt::PenJoinStyle style) -{ - ( theWrappedObject->setJoinStyle(style)); -} - -qreal PythonQtWrapper_QPainterPathStroker::dashOffset(QPainterPathStroker* theWrappedObject) const -{ - return ( theWrappedObject->dashOffset()); -} - -void PythonQtWrapper_QPainterPathStroker::setCurveThreshold(QPainterPathStroker* theWrappedObject, qreal threshold) -{ - ( theWrappedObject->setCurveThreshold(threshold)); -} - -void PythonQtWrapper_QPainterPathStroker::setWidth(QPainterPathStroker* theWrappedObject, qreal width) -{ - ( theWrappedObject->setWidth(width)); -} - -QVector PythonQtWrapper_QPainterPathStroker::dashPattern(QPainterPathStroker* theWrappedObject) const -{ - return ( theWrappedObject->dashPattern()); -} - -qreal PythonQtWrapper_QPainterPathStroker::miterLimit(QPainterPathStroker* theWrappedObject) const -{ - return ( theWrappedObject->miterLimit()); -} - -void PythonQtWrapper_QPainterPathStroker::setMiterLimit(QPainterPathStroker* theWrappedObject, qreal length) -{ - ( theWrappedObject->setMiterLimit(length)); -} - -qreal PythonQtWrapper_QPainterPathStroker::width(QPainterPathStroker* theWrappedObject) const -{ - return ( theWrappedObject->width()); -} - -QPainterPath PythonQtWrapper_QPainterPathStroker::createStroke(QPainterPathStroker* theWrappedObject, const QPainterPath& path) const -{ - return ( theWrappedObject->createStroke(path)); -} - -void PythonQtWrapper_QPainterPathStroker::setDashOffset(QPainterPathStroker* theWrappedObject, qreal offset) -{ - ( theWrappedObject->setDashOffset(offset)); -} - -void PythonQtWrapper_QPainterPathStroker::setCapStyle(QPainterPathStroker* theWrappedObject, Qt::PenCapStyle style) -{ - ( theWrappedObject->setCapStyle(style)); -} - -qreal PythonQtWrapper_QPainterPathStroker::curveThreshold(QPainterPathStroker* theWrappedObject) const -{ - return ( theWrappedObject->curveThreshold()); -} - -void PythonQtWrapper_QPainterPathStroker::setDashPattern(QPainterPathStroker* theWrappedObject, Qt::PenStyle arg__1) -{ - ( theWrappedObject->setDashPattern(arg__1)); -} - -void PythonQtWrapper_QPainterPathStroker::setDashPattern(QPainterPathStroker* theWrappedObject, const QVector& dashPattern) -{ - ( theWrappedObject->setDashPattern(dashPattern)); -} - -Qt::PenJoinStyle PythonQtWrapper_QPainterPathStroker::joinStyle(QPainterPathStroker* theWrappedObject) const -{ - return ( theWrappedObject->joinStyle()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPainterPathStroker.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPainterPathStroker.h deleted file mode 100644 index 5012382..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPainterPathStroker.h +++ /dev/null @@ -1,37 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QPAINTERPATHSTROKER_H -#define PYTHONQTWRAPPER_QPAINTERPATHSTROKER_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtWrapper_QPainterPathStroker : public QObject -{ Q_OBJECT -public: -public slots: -QPainterPathStroker* new_QPainterPathStroker(); -void delete_QPainterPathStroker(QPainterPathStroker* obj) { delete obj; } - Qt::PenCapStyle capStyle(QPainterPathStroker* theWrappedObject) const; - void setJoinStyle(QPainterPathStroker* theWrappedObject, Qt::PenJoinStyle style); - qreal dashOffset(QPainterPathStroker* theWrappedObject) const; - void setCurveThreshold(QPainterPathStroker* theWrappedObject, qreal threshold); - void setWidth(QPainterPathStroker* theWrappedObject, qreal width); - QVector dashPattern(QPainterPathStroker* theWrappedObject) const; - qreal miterLimit(QPainterPathStroker* theWrappedObject) const; - void setMiterLimit(QPainterPathStroker* theWrappedObject, qreal length); - qreal width(QPainterPathStroker* theWrappedObject) const; - QPainterPath createStroke(QPainterPathStroker* theWrappedObject, const QPainterPath& path) const; - void setDashOffset(QPainterPathStroker* theWrappedObject, qreal offset); - void setCapStyle(QPainterPathStroker* theWrappedObject, Qt::PenCapStyle style); - qreal curveThreshold(QPainterPathStroker* theWrappedObject) const; - void setDashPattern(QPainterPathStroker* theWrappedObject, Qt::PenStyle arg__1); - void setDashPattern(QPainterPathStroker* theWrappedObject, const QVector& dashPattern); - Qt::PenJoinStyle joinStyle(QPainterPathStroker* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QPAINTERPATHSTROKER_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPalette.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPalette.cpp deleted file mode 100644 index 6cc0fb2..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPalette.cpp +++ /dev/null @@ -1,235 +0,0 @@ -#include "PythonQtWrapper_QPalette.h" - -#include -#include -#include -#include -#include -#include -#include -#include - -QPalette* PythonQtWrapper_QPalette::new_QPalette() -{ -return new QPalette(); } - -QPalette* PythonQtWrapper_QPalette::new_QPalette(Qt::GlobalColor button) -{ -return new QPalette(button); } - -QPalette* PythonQtWrapper_QPalette::new_QPalette(const QBrush& windowText, const QBrush& button, const QBrush& light, const QBrush& dark, const QBrush& mid, const QBrush& text, const QBrush& bright_text, const QBrush& base, const QBrush& window) -{ -return new QPalette(windowText, button, light, dark, mid, text, bright_text, base, window); } - -QPalette* PythonQtWrapper_QPalette::new_QPalette(const QColor& button) -{ -return new QPalette(button); } - -QPalette* PythonQtWrapper_QPalette::new_QPalette(const QColor& button, const QColor& window) -{ -return new QPalette(button, window); } - -QPalette* PythonQtWrapper_QPalette::new_QPalette(const QPalette& palette) -{ -return new QPalette(palette); } - -const QBrush* PythonQtWrapper_QPalette::alternateBase(QPalette* theWrappedObject) const -{ - return &( theWrappedObject->alternateBase()); -} - -const QBrush* PythonQtWrapper_QPalette::window(QPalette* theWrappedObject) const -{ - return &( theWrappedObject->window()); -} - -bool PythonQtWrapper_QPalette::isCopyOf(QPalette* theWrappedObject, const QPalette& p) const -{ - return ( theWrappedObject->isCopyOf(p)); -} - -const QBrush* PythonQtWrapper_QPalette::linkVisited(QPalette* theWrappedObject) const -{ - return &( theWrappedObject->linkVisited()); -} - -const QBrush* PythonQtWrapper_QPalette::link(QPalette* theWrappedObject) const -{ - return &( theWrappedObject->link()); -} - -const QBrush* PythonQtWrapper_QPalette::windowText(QPalette* theWrappedObject) const -{ - return &( theWrappedObject->windowText()); -} - -const QBrush* PythonQtWrapper_QPalette::buttonText(QPalette* theWrappedObject) const -{ - return &( theWrappedObject->buttonText()); -} - -uint PythonQtWrapper_QPalette::resolve(QPalette* theWrappedObject) const -{ - return ( theWrappedObject->resolve()); -} - -const QBrush* PythonQtWrapper_QPalette::button(QPalette* theWrappedObject) const -{ - return &( theWrappedObject->button()); -} - -qint64 PythonQtWrapper_QPalette::cacheKey(QPalette* theWrappedObject) const -{ - return ( theWrappedObject->cacheKey()); -} - -void PythonQtWrapper_QPalette::setBrush(QPalette* theWrappedObject, QPalette::ColorGroup cg, QPalette::ColorRole cr, const QBrush& brush) -{ - ( theWrappedObject->setBrush(cg, cr, brush)); -} - -const QBrush* PythonQtWrapper_QPalette::mid(QPalette* theWrappedObject) const -{ - return &( theWrappedObject->mid()); -} - -const QBrush* PythonQtWrapper_QPalette::toolTipText(QPalette* theWrappedObject) const -{ - return &( theWrappedObject->toolTipText()); -} - -const QBrush* PythonQtWrapper_QPalette::light(QPalette* theWrappedObject) const -{ - return &( theWrappedObject->light()); -} - -bool PythonQtWrapper_QPalette::isBrushSet(QPalette* theWrappedObject, QPalette::ColorGroup cg, QPalette::ColorRole cr) const -{ - return ( theWrappedObject->isBrushSet(cg, cr)); -} - -const QColor* PythonQtWrapper_QPalette::color(QPalette* theWrappedObject, QPalette::ColorRole cr) const -{ - return &( theWrappedObject->color(cr)); -} - -void PythonQtWrapper_QPalette::setCurrentColorGroup(QPalette* theWrappedObject, QPalette::ColorGroup cg) -{ - ( theWrappedObject->setCurrentColorGroup(cg)); -} - -const QBrush* PythonQtWrapper_QPalette::text(QPalette* theWrappedObject) const -{ - return &( theWrappedObject->text()); -} - -const QColor* PythonQtWrapper_QPalette::color(QPalette* theWrappedObject, QPalette::ColorGroup cg, QPalette::ColorRole cr) const -{ - return &( theWrappedObject->color(cg, cr)); -} - -void PythonQtWrapper_QPalette::setColor(QPalette* theWrappedObject, QPalette::ColorRole cr, const QColor& color) -{ - ( theWrappedObject->setColor(cr, color)); -} - -const QBrush* PythonQtWrapper_QPalette::base(QPalette* theWrappedObject) const -{ - return &( theWrappedObject->base()); -} - -const QBrush* PythonQtWrapper_QPalette::brush(QPalette* theWrappedObject, QPalette::ColorRole cr) const -{ - return &( theWrappedObject->brush(cr)); -} - -void PythonQtWrapper_QPalette::writeTo(QPalette* theWrappedObject, QDataStream& ds) -{ - ds << (*theWrappedObject); -} - -QPalette::ColorGroup PythonQtWrapper_QPalette::currentColorGroup(QPalette* theWrappedObject) const -{ - return ( theWrappedObject->currentColorGroup()); -} - -const QBrush* PythonQtWrapper_QPalette::brush(QPalette* theWrappedObject, QPalette::ColorGroup cg, QPalette::ColorRole cr) const -{ - return &( theWrappedObject->brush(cg, cr)); -} - -void PythonQtWrapper_QPalette::resolve(QPalette* theWrappedObject, uint mask) -{ - ( theWrappedObject->resolve(mask)); -} - -bool PythonQtWrapper_QPalette::operator_equal(QPalette* theWrappedObject, const QPalette& p) const -{ - return ( (*theWrappedObject)== p); -} - -QPalette PythonQtWrapper_QPalette::resolve(QPalette* theWrappedObject, const QPalette& arg__1) const -{ - return ( theWrappedObject->resolve(arg__1)); -} - -void PythonQtWrapper_QPalette::setBrush(QPalette* theWrappedObject, QPalette::ColorRole cr, const QBrush& brush) -{ - ( theWrappedObject->setBrush(cr, brush)); -} - -const QBrush* PythonQtWrapper_QPalette::highlight(QPalette* theWrappedObject) const -{ - return &( theWrappedObject->highlight()); -} - -const QBrush* PythonQtWrapper_QPalette::highlightedText(QPalette* theWrappedObject) const -{ - return &( theWrappedObject->highlightedText()); -} - -const QBrush* PythonQtWrapper_QPalette::shadow(QPalette* theWrappedObject) const -{ - return &( theWrappedObject->shadow()); -} - -const QBrush* PythonQtWrapper_QPalette::midlight(QPalette* theWrappedObject) const -{ - return &( theWrappedObject->midlight()); -} - -void PythonQtWrapper_QPalette::setColorGroup(QPalette* theWrappedObject, QPalette::ColorGroup cr, const QBrush& windowText, const QBrush& button, const QBrush& light, const QBrush& dark, const QBrush& mid, const QBrush& text, const QBrush& bright_text, const QBrush& base, const QBrush& window) -{ - ( theWrappedObject->setColorGroup(cr, windowText, button, light, dark, mid, text, bright_text, base, window)); -} - -void PythonQtWrapper_QPalette::readFrom(QPalette* theWrappedObject, QDataStream& ds) -{ - ds >> (*theWrappedObject); -} - -const QBrush* PythonQtWrapper_QPalette::brightText(QPalette* theWrappedObject) const -{ - return &( theWrappedObject->brightText()); -} - -bool PythonQtWrapper_QPalette::isEqual(QPalette* theWrappedObject, QPalette::ColorGroup cr1, QPalette::ColorGroup cr2) const -{ - return ( theWrappedObject->isEqual(cr1, cr2)); -} - -const QBrush* PythonQtWrapper_QPalette::dark(QPalette* theWrappedObject) const -{ - return &( theWrappedObject->dark()); -} - -const QBrush* PythonQtWrapper_QPalette::toolTipBase(QPalette* theWrappedObject) const -{ - return &( theWrappedObject->toolTipBase()); -} - -void PythonQtWrapper_QPalette::setColor(QPalette* theWrappedObject, QPalette::ColorGroup cg, QPalette::ColorRole cr, const QColor& color) -{ - ( theWrappedObject->setColor(cg, cr, color)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPalette.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPalette.h deleted file mode 100644 index 1a0ab78..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPalette.h +++ /dev/null @@ -1,73 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QPALETTE_H -#define PYTHONQTWRAPPER_QPALETTE_H - -#include -#include - -#include - -#include -#include -#include -#include -#include - -class PythonQtWrapper_QPalette : public QObject -{ Q_OBJECT -public: -Q_ENUMS(ColorGroup ColorRole ) -enum ColorGroup{ - Active = QPalette::Active, Disabled = QPalette::Disabled, Inactive = QPalette::Inactive, NColorGroups = QPalette::NColorGroups, Current = QPalette::Current, All = QPalette::All, Normal = QPalette::Normal}; -enum ColorRole{ - WindowText = QPalette::WindowText, Button = QPalette::Button, Light = QPalette::Light, Midlight = QPalette::Midlight, Dark = QPalette::Dark, Mid = QPalette::Mid, Text = QPalette::Text, BrightText = QPalette::BrightText, ButtonText = QPalette::ButtonText, Base = QPalette::Base, Window = QPalette::Window, Shadow = QPalette::Shadow, Highlight = QPalette::Highlight, HighlightedText = QPalette::HighlightedText, Link = QPalette::Link, LinkVisited = QPalette::LinkVisited, AlternateBase = QPalette::AlternateBase, NoRole = QPalette::NoRole, ToolTipBase = QPalette::ToolTipBase, ToolTipText = QPalette::ToolTipText, NColorRoles = QPalette::NColorRoles, Foreground = QPalette::Foreground, Background = QPalette::Background}; -public slots: -QPalette* new_QPalette(); -QPalette* new_QPalette(Qt::GlobalColor button); -QPalette* new_QPalette(const QBrush& windowText, const QBrush& button, const QBrush& light, const QBrush& dark, const QBrush& mid, const QBrush& text, const QBrush& bright_text, const QBrush& base, const QBrush& window); -QPalette* new_QPalette(const QColor& button); -QPalette* new_QPalette(const QColor& button, const QColor& window); -QPalette* new_QPalette(const QPalette& palette); -void delete_QPalette(QPalette* obj) { delete obj; } - const QBrush* alternateBase(QPalette* theWrappedObject) const; - const QBrush* window(QPalette* theWrappedObject) const; - bool isCopyOf(QPalette* theWrappedObject, const QPalette& p) const; - const QBrush* linkVisited(QPalette* theWrappedObject) const; - const QBrush* link(QPalette* theWrappedObject) const; - const QBrush* windowText(QPalette* theWrappedObject) const; - const QBrush* buttonText(QPalette* theWrappedObject) const; - uint resolve(QPalette* theWrappedObject) const; - const QBrush* button(QPalette* theWrappedObject) const; - qint64 cacheKey(QPalette* theWrappedObject) const; - void setBrush(QPalette* theWrappedObject, QPalette::ColorGroup cg, QPalette::ColorRole cr, const QBrush& brush); - const QBrush* mid(QPalette* theWrappedObject) const; - const QBrush* toolTipText(QPalette* theWrappedObject) const; - const QBrush* light(QPalette* theWrappedObject) const; - bool isBrushSet(QPalette* theWrappedObject, QPalette::ColorGroup cg, QPalette::ColorRole cr) const; - const QColor* color(QPalette* theWrappedObject, QPalette::ColorRole cr) const; - void setCurrentColorGroup(QPalette* theWrappedObject, QPalette::ColorGroup cg); - const QBrush* text(QPalette* theWrappedObject) const; - const QColor* color(QPalette* theWrappedObject, QPalette::ColorGroup cg, QPalette::ColorRole cr) const; - void setColor(QPalette* theWrappedObject, QPalette::ColorRole cr, const QColor& color); - const QBrush* base(QPalette* theWrappedObject) const; - const QBrush* brush(QPalette* theWrappedObject, QPalette::ColorRole cr) const; - void writeTo(QPalette* theWrappedObject, QDataStream& ds); - QPalette::ColorGroup currentColorGroup(QPalette* theWrappedObject) const; - const QBrush* brush(QPalette* theWrappedObject, QPalette::ColorGroup cg, QPalette::ColorRole cr) const; - void resolve(QPalette* theWrappedObject, uint mask); - bool operator_equal(QPalette* theWrappedObject, const QPalette& p) const; - QPalette resolve(QPalette* theWrappedObject, const QPalette& arg__1) const; - void setBrush(QPalette* theWrappedObject, QPalette::ColorRole cr, const QBrush& brush); - const QBrush* highlight(QPalette* theWrappedObject) const; - const QBrush* highlightedText(QPalette* theWrappedObject) const; - const QBrush* shadow(QPalette* theWrappedObject) const; - const QBrush* midlight(QPalette* theWrappedObject) const; - void setColorGroup(QPalette* theWrappedObject, QPalette::ColorGroup cr, const QBrush& windowText, const QBrush& button, const QBrush& light, const QBrush& dark, const QBrush& mid, const QBrush& text, const QBrush& bright_text, const QBrush& base, const QBrush& window); - void readFrom(QPalette* theWrappedObject, QDataStream& ds); - const QBrush* brightText(QPalette* theWrappedObject) const; - bool isEqual(QPalette* theWrappedObject, QPalette::ColorGroup cr1, QPalette::ColorGroup cr2) const; - const QBrush* dark(QPalette* theWrappedObject) const; - const QBrush* toolTipBase(QPalette* theWrappedObject) const; - void setColor(QPalette* theWrappedObject, QPalette::ColorGroup cg, QPalette::ColorRole cr, const QColor& color); -}; - -#endif // PYTHONQTWRAPPER_QPALETTE_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPen.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPen.cpp deleted file mode 100644 index d02bff2..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPen.cpp +++ /dev/null @@ -1,170 +0,0 @@ -#include "PythonQtWrapper_QPen.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QPen* PythonQtWrapper_QPen::new_QPen() -{ -return new QPen(); } - -QPen* PythonQtWrapper_QPen::new_QPen(Qt::PenStyle arg__1) -{ -return new QPen(arg__1); } - -QPen* PythonQtWrapper_QPen::new_QPen(const QBrush& brush, qreal width, Qt::PenStyle s, Qt::PenCapStyle c, Qt::PenJoinStyle j) -{ -return new QPen(brush, width, s, c, j); } - -QPen* PythonQtWrapper_QPen::new_QPen(const QColor& color) -{ -return new QPen(color); } - -QPen* PythonQtWrapper_QPen::new_QPen(const QPen& pen) -{ -return new QPen(pen); } - -QVector PythonQtWrapper_QPen::dashPattern(QPen* theWrappedObject) const -{ - return ( theWrappedObject->dashPattern()); -} - -void PythonQtWrapper_QPen::writeTo(QPen* theWrappedObject, QDataStream& arg__1) -{ - arg__1 << (*theWrappedObject); -} - -QBrush PythonQtWrapper_QPen::brush(QPen* theWrappedObject) const -{ - return ( theWrappedObject->brush()); -} - -qreal PythonQtWrapper_QPen::miterLimit(QPen* theWrappedObject) const -{ - return ( theWrappedObject->miterLimit()); -} - -void PythonQtWrapper_QPen::setCapStyle(QPen* theWrappedObject, Qt::PenCapStyle pcs) -{ - ( theWrappedObject->setCapStyle(pcs)); -} - -void PythonQtWrapper_QPen::setJoinStyle(QPen* theWrappedObject, Qt::PenJoinStyle pcs) -{ - ( theWrappedObject->setJoinStyle(pcs)); -} - -int PythonQtWrapper_QPen::width(QPen* theWrappedObject) const -{ - return ( theWrappedObject->width()); -} - -Qt::PenCapStyle PythonQtWrapper_QPen::capStyle(QPen* theWrappedObject) const -{ - return ( theWrappedObject->capStyle()); -} - -void PythonQtWrapper_QPen::setWidthF(QPen* theWrappedObject, qreal width) -{ - ( theWrappedObject->setWidthF(width)); -} - -bool PythonQtWrapper_QPen::isCosmetic(QPen* theWrappedObject) const -{ - return ( theWrappedObject->isCosmetic()); -} - -void PythonQtWrapper_QPen::readFrom(QPen* theWrappedObject, QDataStream& arg__1) -{ - arg__1 >> (*theWrappedObject); -} - -void PythonQtWrapper_QPen::setDashPattern(QPen* theWrappedObject, const QVector& pattern) -{ - ( theWrappedObject->setDashPattern(pattern)); -} - -qreal PythonQtWrapper_QPen::widthF(QPen* theWrappedObject) const -{ - return ( theWrappedObject->widthF()); -} - -void PythonQtWrapper_QPen::setDashOffset(QPen* theWrappedObject, qreal doffset) -{ - ( theWrappedObject->setDashOffset(doffset)); -} - -bool PythonQtWrapper_QPen::operator_equal(QPen* theWrappedObject, const QPen& p) const -{ - return ( (*theWrappedObject)== p); -} - -void PythonQtWrapper_QPen::setMiterLimit(QPen* theWrappedObject, qreal limit) -{ - ( theWrappedObject->setMiterLimit(limit)); -} - -void PythonQtWrapper_QPen::setStyle(QPen* theWrappedObject, Qt::PenStyle arg__1) -{ - ( theWrappedObject->setStyle(arg__1)); -} - -QColor PythonQtWrapper_QPen::color(QPen* theWrappedObject) const -{ - return ( theWrappedObject->color()); -} - -void PythonQtWrapper_QPen::setCosmetic(QPen* theWrappedObject, bool cosmetic) -{ - ( theWrappedObject->setCosmetic(cosmetic)); -} - -void PythonQtWrapper_QPen::setBrush(QPen* theWrappedObject, const QBrush& brush) -{ - ( theWrappedObject->setBrush(brush)); -} - -qreal PythonQtWrapper_QPen::dashOffset(QPen* theWrappedObject) const -{ - return ( theWrappedObject->dashOffset()); -} - -Qt::PenStyle PythonQtWrapper_QPen::style(QPen* theWrappedObject) const -{ - return ( theWrappedObject->style()); -} - -Qt::PenJoinStyle PythonQtWrapper_QPen::joinStyle(QPen* theWrappedObject) const -{ - return ( theWrappedObject->joinStyle()); -} - -void PythonQtWrapper_QPen::setColor(QPen* theWrappedObject, const QColor& color) -{ - ( theWrappedObject->setColor(color)); -} - -bool PythonQtWrapper_QPen::isSolid(QPen* theWrappedObject) const -{ - return ( theWrappedObject->isSolid()); -} - -void PythonQtWrapper_QPen::setWidth(QPen* theWrappedObject, int width) -{ - ( theWrappedObject->setWidth(width)); -} - -QString PythonQtWrapper_QPen::toString(QPen* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPen.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPen.h deleted file mode 100644 index 9298e6b..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPen.h +++ /dev/null @@ -1,56 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QPEN_H -#define PYTHONQTWRAPPER_QPEN_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include - -class PythonQtWrapper_QPen : public QObject -{ Q_OBJECT -public: -public slots: -QPen* new_QPen(); -QPen* new_QPen(Qt::PenStyle arg__1); -QPen* new_QPen(const QBrush& brush, qreal width, Qt::PenStyle s = Qt::SolidLine, Qt::PenCapStyle c = Qt::SquareCap, Qt::PenJoinStyle j = Qt::BevelJoin); -QPen* new_QPen(const QColor& color); -QPen* new_QPen(const QPen& pen); -void delete_QPen(QPen* obj) { delete obj; } - QVector dashPattern(QPen* theWrappedObject) const; - void writeTo(QPen* theWrappedObject, QDataStream& arg__1); - QBrush brush(QPen* theWrappedObject) const; - qreal miterLimit(QPen* theWrappedObject) const; - void setCapStyle(QPen* theWrappedObject, Qt::PenCapStyle pcs); - void setJoinStyle(QPen* theWrappedObject, Qt::PenJoinStyle pcs); - int width(QPen* theWrappedObject) const; - Qt::PenCapStyle capStyle(QPen* theWrappedObject) const; - void setWidthF(QPen* theWrappedObject, qreal width); - bool isCosmetic(QPen* theWrappedObject) const; - void readFrom(QPen* theWrappedObject, QDataStream& arg__1); - void setDashPattern(QPen* theWrappedObject, const QVector& pattern); - qreal widthF(QPen* theWrappedObject) const; - void setDashOffset(QPen* theWrappedObject, qreal doffset); - bool operator_equal(QPen* theWrappedObject, const QPen& p) const; - void setMiterLimit(QPen* theWrappedObject, qreal limit); - void setStyle(QPen* theWrappedObject, Qt::PenStyle arg__1); - QColor color(QPen* theWrappedObject) const; - void setCosmetic(QPen* theWrappedObject, bool cosmetic); - void setBrush(QPen* theWrappedObject, const QBrush& brush); - qreal dashOffset(QPen* theWrappedObject) const; - Qt::PenStyle style(QPen* theWrappedObject) const; - Qt::PenJoinStyle joinStyle(QPen* theWrappedObject) const; - void setColor(QPen* theWrappedObject, const QColor& color); - bool isSolid(QPen* theWrappedObject) const; - void setWidth(QPen* theWrappedObject, int width); - QString toString(QPen*); -}; - -#endif // PYTHONQTWRAPPER_QPEN_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPicture.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPicture.cpp deleted file mode 100644 index cf85141..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPicture.cpp +++ /dev/null @@ -1,198 +0,0 @@ -#include "PythonQtWrapper_QPicture.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -int PythonQtShell_QPicture::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPicture::devType(); -} -int PythonQtShell_QPicture::metric(QPaintDevice::PaintDeviceMetric m) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&m}; - 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("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPicture::metric(m); -} -QPaintEngine* PythonQtShell_QPicture::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPicture::paintEngine(); -} -void PythonQtShell_QPicture::setData(const char* data, uint size) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const char*" , "uint"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&data, (void*)&size}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPicture::setData(data, size); -} -QPicture* PythonQtWrapper_QPicture::new_QPicture(const QPicture& arg__1) -{ -return new PythonQtShell_QPicture(arg__1); } - -QPicture* PythonQtWrapper_QPicture::new_QPicture(int formatVersion) -{ -return new PythonQtShell_QPicture(formatVersion); } - -bool PythonQtWrapper_QPicture::load(QPicture* theWrappedObject, QIODevice* dev, const char* format) -{ - return ( theWrappedObject->load(dev, format)); -} - -bool PythonQtWrapper_QPicture::save(QPicture* theWrappedObject, const QString& fileName, const char* format) -{ - return ( theWrappedObject->save(fileName, format)); -} - -int PythonQtWrapper_QPicture::metric(QPicture* theWrappedObject, QPaintDevice::PaintDeviceMetric m) const -{ - return ( ((PythonQtPublicPromoter_QPicture*)theWrappedObject)->promoted_metric(m)); -} - -const char* PythonQtWrapper_QPicture::data(QPicture* theWrappedObject) const -{ - return ( theWrappedObject->data()); -} - -int PythonQtWrapper_QPicture::devType(QPicture* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QPicture*)theWrappedObject)->promoted_devType()); -} - -uint PythonQtWrapper_QPicture::size(QPicture* theWrappedObject) const -{ - return ( theWrappedObject->size()); -} - -QRect PythonQtWrapper_QPicture::boundingRect(QPicture* theWrappedObject) const -{ - return ( theWrappedObject->boundingRect()); -} - -bool PythonQtWrapper_QPicture::load(QPicture* theWrappedObject, const QString& fileName, const char* format) -{ - return ( theWrappedObject->load(fileName, format)); -} - -void PythonQtWrapper_QPicture::writeTo(QPicture* theWrappedObject, QDataStream& arg__1) -{ - arg__1 << (*theWrappedObject); -} - -QPaintEngine* PythonQtWrapper_QPicture::paintEngine(QPicture* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QPicture*)theWrappedObject)->promoted_paintEngine()); -} - -bool PythonQtWrapper_QPicture::save(QPicture* theWrappedObject, QIODevice* dev, const char* format) -{ - return ( theWrappedObject->save(dev, format)); -} - -bool PythonQtWrapper_QPicture::isNull(QPicture* theWrappedObject) const -{ - return ( theWrappedObject->isNull()); -} - -void PythonQtWrapper_QPicture::setBoundingRect(QPicture* theWrappedObject, const QRect& r) -{ - ( theWrappedObject->setBoundingRect(r)); -} - -bool PythonQtWrapper_QPicture::play(QPicture* theWrappedObject, QPainter* p) -{ - return ( theWrappedObject->play(p)); -} - -void PythonQtWrapper_QPicture::readFrom(QPicture* theWrappedObject, QDataStream& arg__1) -{ - arg__1 >> (*theWrappedObject); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPicture.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPicture.h deleted file mode 100644 index ce34e6b..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPicture.h +++ /dev/null @@ -1,63 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QPICTURE_H -#define PYTHONQTWRAPPER_QPICTURE_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QPicture : public QPicture -{ -public: - PythonQtShell_QPicture(const QPicture& arg__1):QPicture(arg__1),_wrapper(NULL) {}; - PythonQtShell_QPicture(int formatVersion = -1):QPicture(formatVersion),_wrapper(NULL) {}; - -virtual int devType() const; -virtual int metric(QPaintDevice::PaintDeviceMetric m) const; -virtual QPaintEngine* paintEngine() const; -virtual void setData(const char* data, uint size); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QPicture : public QPicture -{ public: -inline int promoted_metric(QPaintDevice::PaintDeviceMetric m) const { return QPicture::metric(m); } -inline int promoted_devType() const { return QPicture::devType(); } -inline QPaintEngine* promoted_paintEngine() const { return QPicture::paintEngine(); } -}; - -class PythonQtWrapper_QPicture : public QObject -{ Q_OBJECT -public: -public slots: -QPicture* new_QPicture(const QPicture& arg__1); -QPicture* new_QPicture(int formatVersion = -1); -void delete_QPicture(QPicture* obj) { delete obj; } - bool load(QPicture* theWrappedObject, QIODevice* dev, const char* format = 0); - bool save(QPicture* theWrappedObject, const QString& fileName, const char* format = 0); - int metric(QPicture* theWrappedObject, QPaintDevice::PaintDeviceMetric m) const; - const char* data(QPicture* theWrappedObject) const; - int devType(QPicture* theWrappedObject) const; - uint size(QPicture* theWrappedObject) const; - QRect boundingRect(QPicture* theWrappedObject) const; - bool load(QPicture* theWrappedObject, const QString& fileName, const char* format = 0); - void writeTo(QPicture* theWrappedObject, QDataStream& arg__1); - QPaintEngine* paintEngine(QPicture* theWrappedObject) const; - bool save(QPicture* theWrappedObject, QIODevice* dev, const char* format = 0); - bool isNull(QPicture* theWrappedObject) const; - void setBoundingRect(QPicture* theWrappedObject, const QRect& r); - bool play(QPicture* theWrappedObject, QPainter* p); - void readFrom(QPicture* theWrappedObject, QDataStream& arg__1); -}; - -#endif // PYTHONQTWRAPPER_QPICTURE_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPictureFormatPlugin.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPictureFormatPlugin.cpp deleted file mode 100644 index e85911e..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPictureFormatPlugin.cpp +++ /dev/null @@ -1,248 +0,0 @@ -#include "PythonQtWrapper_QPictureFormatPlugin.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QPictureFormatPlugin::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; - } -} - QPictureFormatPlugin::childEvent(arg__1); -} -void PythonQtShell_QPictureFormatPlugin::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; - } -} - QPictureFormatPlugin::customEvent(arg__1); -} -bool PythonQtShell_QPictureFormatPlugin::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPictureFormatPlugin::event(arg__1); -} -bool PythonQtShell_QPictureFormatPlugin::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPictureFormatPlugin::eventFilter(arg__1, arg__2); -} -bool PythonQtShell_QPictureFormatPlugin::installIOHandler(const QString& format) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "installIOHandler"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&format}; - 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("installIOHandler", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - bool result; -return result; -} -QStringList PythonQtShell_QPictureFormatPlugin::keys() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keys"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QStringList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStringList returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("keys", methodInfo, result); - } else { - returnValue = *((QStringList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QStringList result; -return result; -} -bool PythonQtShell_QPictureFormatPlugin::loadPicture(const QString& format, const QString& filename, QPicture* pic) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "loadPicture"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "QPicture*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&format, (void*)&filename, (void*)&pic}; - 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("loadPicture", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPictureFormatPlugin::loadPicture(format, filename, pic); -} -bool PythonQtShell_QPictureFormatPlugin::savePicture(const QString& format, const QString& filename, const QPicture& pic) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "savePicture"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "const QPicture&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&format, (void*)&filename, (void*)&pic}; - 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("savePicture", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPictureFormatPlugin::savePicture(format, filename, pic); -} -void PythonQtShell_QPictureFormatPlugin::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; - } -} - QPictureFormatPlugin::timerEvent(arg__1); -} -QPictureFormatPlugin* PythonQtWrapper_QPictureFormatPlugin::new_QPictureFormatPlugin(QObject* parent) -{ -return new PythonQtShell_QPictureFormatPlugin(parent); } - -bool PythonQtWrapper_QPictureFormatPlugin::loadPicture(QPictureFormatPlugin* theWrappedObject, const QString& format, const QString& filename, QPicture* pic) -{ - return ( ((PythonQtPublicPromoter_QPictureFormatPlugin*)theWrappedObject)->promoted_loadPicture(format, filename, pic)); -} - -bool PythonQtWrapper_QPictureFormatPlugin::savePicture(QPictureFormatPlugin* theWrappedObject, const QString& format, const QString& filename, const QPicture& pic) -{ - return ( ((PythonQtPublicPromoter_QPictureFormatPlugin*)theWrappedObject)->promoted_savePicture(format, filename, pic)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPictureFormatPlugin.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPictureFormatPlugin.h deleted file mode 100644 index e77ec7d..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPictureFormatPlugin.h +++ /dev/null @@ -1,51 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QPICTUREFORMATPLUGIN_H -#define PYTHONQTWRAPPER_QPICTUREFORMATPLUGIN_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QPictureFormatPlugin : public QPictureFormatPlugin -{ -public: - PythonQtShell_QPictureFormatPlugin(QObject* parent = 0):QPictureFormatPlugin(parent),_wrapper(NULL) {}; - -virtual void childEvent(QChildEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual bool installIOHandler(const QString& format); -virtual QStringList keys() const; -virtual bool loadPicture(const QString& format, const QString& filename, QPicture* pic); -virtual bool savePicture(const QString& format, const QString& filename, const QPicture& pic); -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QPictureFormatPlugin : public QPictureFormatPlugin -{ public: -inline bool promoted_loadPicture(const QString& format, const QString& filename, QPicture* pic) { return QPictureFormatPlugin::loadPicture(format, filename, pic); } -inline bool promoted_savePicture(const QString& format, const QString& filename, const QPicture& pic) { return QPictureFormatPlugin::savePicture(format, filename, pic); } -}; - -class PythonQtWrapper_QPictureFormatPlugin : public QObject -{ Q_OBJECT -public: -public slots: -QPictureFormatPlugin* new_QPictureFormatPlugin(QObject* parent = 0); -void delete_QPictureFormatPlugin(QPictureFormatPlugin* obj) { delete obj; } - bool loadPicture(QPictureFormatPlugin* theWrappedObject, const QString& format, const QString& filename, QPicture* pic); - bool savePicture(QPictureFormatPlugin* theWrappedObject, const QString& format, const QString& filename, const QPicture& pic); -}; - -#endif // PYTHONQTWRAPPER_QPICTUREFORMATPLUGIN_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPictureIO.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPictureIO.cpp deleted file mode 100644 index 351bfbc..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPictureIO.cpp +++ /dev/null @@ -1,143 +0,0 @@ -#include "PythonQtWrapper_QPictureIO.h" - -#include -#include -#include -#include -#include -#include -#include -#include - -QPictureIO* PythonQtWrapper_QPictureIO::new_QPictureIO() -{ -return new QPictureIO(); } - -QPictureIO* PythonQtWrapper_QPictureIO::new_QPictureIO(QIODevice* ioDevice, const char* format) -{ -return new QPictureIO(ioDevice, format); } - -QPictureIO* PythonQtWrapper_QPictureIO::new_QPictureIO(const QString& fileName, const char* format) -{ -return new QPictureIO(fileName, format); } - -void PythonQtWrapper_QPictureIO::setPicture(QPictureIO* theWrappedObject, const QPicture& arg__1) -{ - ( theWrappedObject->setPicture(arg__1)); -} - -const char* PythonQtWrapper_QPictureIO::format(QPictureIO* theWrappedObject) const -{ - return ( theWrappedObject->format()); -} - -QByteArray PythonQtWrapper_QPictureIO::static_QPictureIO_pictureFormat(QIODevice* arg__1) -{ - return (QPictureIO::pictureFormat(arg__1)); -} - -void PythonQtWrapper_QPictureIO::setDescription(QPictureIO* theWrappedObject, const QString& arg__1) -{ - ( theWrappedObject->setDescription(arg__1)); -} - -int PythonQtWrapper_QPictureIO::status(QPictureIO* theWrappedObject) const -{ - return ( theWrappedObject->status()); -} - -QString PythonQtWrapper_QPictureIO::description(QPictureIO* theWrappedObject) const -{ - return ( theWrappedObject->description()); -} - -QList PythonQtWrapper_QPictureIO::static_QPictureIO_outputFormats() -{ - return (QPictureIO::outputFormats()); -} - -void PythonQtWrapper_QPictureIO::setGamma(QPictureIO* theWrappedObject, float arg__1) -{ - ( theWrappedObject->setGamma(arg__1)); -} - -QList PythonQtWrapper_QPictureIO::static_QPictureIO_inputFormats() -{ - return (QPictureIO::inputFormats()); -} - -const char* PythonQtWrapper_QPictureIO::parameters(QPictureIO* theWrappedObject) const -{ - return ( theWrappedObject->parameters()); -} - -int PythonQtWrapper_QPictureIO::quality(QPictureIO* theWrappedObject) const -{ - return ( theWrappedObject->quality()); -} - -void PythonQtWrapper_QPictureIO::setParameters(QPictureIO* theWrappedObject, const char* arg__1) -{ - ( theWrappedObject->setParameters(arg__1)); -} - -void PythonQtWrapper_QPictureIO::setFormat(QPictureIO* theWrappedObject, const char* arg__1) -{ - ( theWrappedObject->setFormat(arg__1)); -} - -QString PythonQtWrapper_QPictureIO::fileName(QPictureIO* theWrappedObject) const -{ - return ( theWrappedObject->fileName()); -} - -const QPicture* PythonQtWrapper_QPictureIO::picture(QPictureIO* theWrappedObject) const -{ - return &( theWrappedObject->picture()); -} - -QByteArray PythonQtWrapper_QPictureIO::static_QPictureIO_pictureFormat(const QString& fileName) -{ - return (QPictureIO::pictureFormat(fileName)); -} - -bool PythonQtWrapper_QPictureIO::read(QPictureIO* theWrappedObject) -{ - return ( theWrappedObject->read()); -} - -float PythonQtWrapper_QPictureIO::gamma(QPictureIO* theWrappedObject) const -{ - return ( theWrappedObject->gamma()); -} - -void PythonQtWrapper_QPictureIO::setFileName(QPictureIO* theWrappedObject, const QString& arg__1) -{ - ( theWrappedObject->setFileName(arg__1)); -} - -bool PythonQtWrapper_QPictureIO::write(QPictureIO* theWrappedObject) -{ - return ( theWrappedObject->write()); -} - -void PythonQtWrapper_QPictureIO::setIODevice(QPictureIO* theWrappedObject, QIODevice* arg__1) -{ - ( theWrappedObject->setIODevice(arg__1)); -} - -void PythonQtWrapper_QPictureIO::setQuality(QPictureIO* theWrappedObject, int arg__1) -{ - ( theWrappedObject->setQuality(arg__1)); -} - -QIODevice* PythonQtWrapper_QPictureIO::ioDevice(QPictureIO* theWrappedObject) const -{ - return ( theWrappedObject->ioDevice()); -} - -void PythonQtWrapper_QPictureIO::setStatus(QPictureIO* theWrappedObject, int arg__1) -{ - ( theWrappedObject->setStatus(arg__1)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPictureIO.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPictureIO.h deleted file mode 100644 index 5dbd25d..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPictureIO.h +++ /dev/null @@ -1,49 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QPICTUREIO_H -#define PYTHONQTWRAPPER_QPICTUREIO_H - -#include -#include - -#include - -#include -#include -#include -#include -#include - -class PythonQtWrapper_QPictureIO : public QObject -{ Q_OBJECT -public: -public slots: -QPictureIO* new_QPictureIO(); -QPictureIO* new_QPictureIO(QIODevice* ioDevice, const char* format); -QPictureIO* new_QPictureIO(const QString& fileName, const char* format); -void delete_QPictureIO(QPictureIO* obj) { delete obj; } - void setPicture(QPictureIO* theWrappedObject, const QPicture& arg__1); - const char* format(QPictureIO* theWrappedObject) const; - QByteArray static_QPictureIO_pictureFormat(QIODevice* arg__1); - void setDescription(QPictureIO* theWrappedObject, const QString& arg__1); - int status(QPictureIO* theWrappedObject) const; - QString description(QPictureIO* theWrappedObject) const; - QList static_QPictureIO_outputFormats(); - void setGamma(QPictureIO* theWrappedObject, float arg__1); - QList static_QPictureIO_inputFormats(); - const char* parameters(QPictureIO* theWrappedObject) const; - int quality(QPictureIO* theWrappedObject) const; - void setParameters(QPictureIO* theWrappedObject, const char* arg__1); - void setFormat(QPictureIO* theWrappedObject, const char* arg__1); - QString fileName(QPictureIO* theWrappedObject) const; - const QPicture* picture(QPictureIO* theWrappedObject) const; - QByteArray static_QPictureIO_pictureFormat(const QString& fileName); - bool read(QPictureIO* theWrappedObject); - float gamma(QPictureIO* theWrappedObject) const; - void setFileName(QPictureIO* theWrappedObject, const QString& arg__1); - bool write(QPictureIO* theWrappedObject); - void setIODevice(QPictureIO* theWrappedObject, QIODevice* arg__1); - void setQuality(QPictureIO* theWrappedObject, int arg__1); - QIODevice* ioDevice(QPictureIO* theWrappedObject) const; - void setStatus(QPictureIO* theWrappedObject, int arg__1); -}; - -#endif // PYTHONQTWRAPPER_QPICTUREIO_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPixmap.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPixmap.cpp deleted file mode 100644 index 7af40a8..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPixmap.cpp +++ /dev/null @@ -1,356 +0,0 @@ -#include "PythonQtWrapper_QPixmap.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -int PythonQtShell_QPixmap::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPixmap::devType(); -} -int PythonQtShell_QPixmap::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPixmap::metric(arg__1); -} -QPaintEngine* PythonQtShell_QPixmap::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPixmap::paintEngine(); -} -QPixmap* PythonQtWrapper_QPixmap::new_QPixmap() -{ -return new PythonQtShell_QPixmap(); } - -QPixmap* PythonQtWrapper_QPixmap::new_QPixmap(const QPixmap& arg__1) -{ -return new PythonQtShell_QPixmap(arg__1); } - -QPixmap* PythonQtWrapper_QPixmap::new_QPixmap(const QSize& arg__1) -{ -return new PythonQtShell_QPixmap(arg__1); } - -QPixmap* PythonQtWrapper_QPixmap::new_QPixmap(const QString& fileName, const char* format, Qt::ImageConversionFlags flags) -{ -return new PythonQtShell_QPixmap(fileName, format, flags); } - -QPixmap* PythonQtWrapper_QPixmap::new_QPixmap(const char** xpm) -{ -return new PythonQtShell_QPixmap(xpm); } - -QPixmap* PythonQtWrapper_QPixmap::new_QPixmap(int w, int h) -{ -return new PythonQtShell_QPixmap(w, h); } - -QSize PythonQtWrapper_QPixmap::size(QPixmap* theWrappedObject) const -{ - return ( theWrappedObject->size()); -} - -bool PythonQtWrapper_QPixmap::hasAlpha(QPixmap* theWrappedObject) const -{ - return ( theWrappedObject->hasAlpha()); -} - -qint64 PythonQtWrapper_QPixmap::cacheKey(QPixmap* theWrappedObject) const -{ - return ( theWrappedObject->cacheKey()); -} - -QPixmap PythonQtWrapper_QPixmap::transformed(QPixmap* theWrappedObject, const QTransform& arg__1, Qt::TransformationMode mode) const -{ - return ( theWrappedObject->transformed(arg__1, mode)); -} - -QMatrix PythonQtWrapper_QPixmap::static_QPixmap_trueMatrix(const QMatrix& m, int w, int h) -{ - return (QPixmap::trueMatrix(m, w, h)); -} - -QTransform PythonQtWrapper_QPixmap::static_QPixmap_trueMatrix(const QTransform& m, int w, int h) -{ - return (QPixmap::trueMatrix(m, w, h)); -} - -QImage PythonQtWrapper_QPixmap::toImage(QPixmap* theWrappedObject) const -{ - return ( theWrappedObject->toImage()); -} - -bool PythonQtWrapper_QPixmap::hasAlphaChannel(QPixmap* theWrappedObject) const -{ - return ( theWrappedObject->hasAlphaChannel()); -} - -QRect PythonQtWrapper_QPixmap::rect(QPixmap* theWrappedObject) const -{ - return ( theWrappedObject->rect()); -} - -void PythonQtWrapper_QPixmap::setMask(QPixmap* theWrappedObject, const QBitmap& arg__1) -{ - ( theWrappedObject->setMask(arg__1)); -} - -QPixmap PythonQtWrapper_QPixmap::transformed(QPixmap* theWrappedObject, const QMatrix& arg__1, Qt::TransformationMode mode) const -{ - return ( theWrappedObject->transformed(arg__1, mode)); -} - -QBitmap PythonQtWrapper_QPixmap::createMaskFromColor(QPixmap* theWrappedObject, const QColor& maskColor, Qt::MaskMode mode) const -{ - return ( theWrappedObject->createMaskFromColor(maskColor, mode)); -} - -QBitmap PythonQtWrapper_QPixmap::mask(QPixmap* theWrappedObject) const -{ - return ( theWrappedObject->mask()); -} - -bool PythonQtWrapper_QPixmap::save(QPixmap* theWrappedObject, QIODevice* device, const char* format, int quality) const -{ - return ( theWrappedObject->save(device, format, quality)); -} - -int PythonQtWrapper_QPixmap::width(QPixmap* theWrappedObject) const -{ - return ( theWrappedObject->width()); -} - -QBitmap PythonQtWrapper_QPixmap::createHeuristicMask(QPixmap* theWrappedObject, bool clipTight) const -{ - return ( theWrappedObject->createHeuristicMask(clipTight)); -} - -QPixmap PythonQtWrapper_QPixmap::scaledToHeight(QPixmap* theWrappedObject, int h, Qt::TransformationMode mode) const -{ - return ( theWrappedObject->scaledToHeight(h, mode)); -} - -void PythonQtWrapper_QPixmap::fill(QPixmap* theWrappedObject, const QColor& fillColor) -{ - ( theWrappedObject->fill(fillColor)); -} - -void PythonQtWrapper_QPixmap::fill(QPixmap* theWrappedObject, const QWidget* widget, int xofs, int yofs) -{ - ( theWrappedObject->fill(widget, xofs, yofs)); -} - -bool PythonQtWrapper_QPixmap::isQBitmap(QPixmap* theWrappedObject) const -{ - return ( theWrappedObject->isQBitmap()); -} - -QPixmap PythonQtWrapper_QPixmap::static_QPixmap_grabWidget(QWidget* widget, int x, int y, int w, int h) -{ - return (QPixmap::grabWidget(widget, x, y, w, h)); -} - -void PythonQtWrapper_QPixmap::fill(QPixmap* theWrappedObject, const QWidget* widget, const QPoint& ofs) -{ - ( theWrappedObject->fill(widget, ofs)); -} - -QPixmap PythonQtWrapper_QPixmap::static_QPixmap_grabWidget(QWidget* widget, const QRect& rect) -{ - return (QPixmap::grabWidget(widget, rect)); -} - -void PythonQtWrapper_QPixmap::writeTo(QPixmap* theWrappedObject, QDataStream& arg__1) -{ - arg__1 << (*theWrappedObject); -} - -QPaintEngine* PythonQtWrapper_QPixmap::paintEngine(QPixmap* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QPixmap*)theWrappedObject)->promoted_paintEngine()); -} - -void PythonQtWrapper_QPixmap::setAlphaChannel(QPixmap* theWrappedObject, const QPixmap& arg__1) -{ - ( theWrappedObject->setAlphaChannel(arg__1)); -} - -QPixmap PythonQtWrapper_QPixmap::copy(QPixmap* theWrappedObject, const QRect& rect) const -{ - return ( theWrappedObject->copy(rect)); -} - -QBitmap PythonQtWrapper_QPixmap::createMaskFromColor(QPixmap* theWrappedObject, const QColor& maskColor) const -{ - return ( theWrappedObject->createMaskFromColor(maskColor)); -} - -int PythonQtWrapper_QPixmap::depth(QPixmap* theWrappedObject) const -{ - return ( theWrappedObject->depth()); -} - -bool PythonQtWrapper_QPixmap::loadFromData(QPixmap* theWrappedObject, const QByteArray& data, const char* format, Qt::ImageConversionFlags flags) -{ - return ( theWrappedObject->loadFromData(data, format, flags)); -} - -QPixmap PythonQtWrapper_QPixmap::scaledToWidth(QPixmap* theWrappedObject, int w, Qt::TransformationMode mode) const -{ - return ( theWrappedObject->scaledToWidth(w, mode)); -} - -int PythonQtWrapper_QPixmap::metric(QPixmap* theWrappedObject, QPaintDevice::PaintDeviceMetric arg__1) const -{ - return ( ((PythonQtPublicPromoter_QPixmap*)theWrappedObject)->promoted_metric(arg__1)); -} - -bool PythonQtWrapper_QPixmap::load(QPixmap* theWrappedObject, const QString& fileName, const char* format, Qt::ImageConversionFlags flags) -{ - return ( theWrappedObject->load(fileName, format, flags)); -} - -bool PythonQtWrapper_QPixmap::save(QPixmap* theWrappedObject, const QString& fileName, const char* format, int quality) const -{ - return ( theWrappedObject->save(fileName, format, quality)); -} - -QPixmap PythonQtWrapper_QPixmap::static_QPixmap_grabWindow(WId arg__1, int x, int y, int w, int h) -{ - return (QPixmap::grabWindow(arg__1, x, y, w, h)); -} - -QPixmap PythonQtWrapper_QPixmap::scaled(QPixmap* theWrappedObject, int w, int h, Qt::AspectRatioMode aspectMode, Qt::TransformationMode mode) const -{ - return ( theWrappedObject->scaled(w, h, aspectMode, mode)); -} - -bool PythonQtWrapper_QPixmap::isNull(QPixmap* theWrappedObject) const -{ - return ( theWrappedObject->isNull()); -} - -QPixmap PythonQtWrapper_QPixmap::scaled(QPixmap* theWrappedObject, const QSize& s, Qt::AspectRatioMode aspectMode, Qt::TransformationMode mode) const -{ - return ( theWrappedObject->scaled(s, aspectMode, mode)); -} - -QPixmap PythonQtWrapper_QPixmap::static_QPixmap_fromImage(const QImage& image, Qt::ImageConversionFlags flags) -{ - return (QPixmap::fromImage(image, flags)); -} - -int PythonQtWrapper_QPixmap::height(QPixmap* theWrappedObject) const -{ - return ( theWrappedObject->height()); -} - -QPixmap PythonQtWrapper_QPixmap::copy(QPixmap* theWrappedObject, int x, int y, int width, int height) const -{ - return ( theWrappedObject->copy(x, y, width, height)); -} - -void PythonQtWrapper_QPixmap::readFrom(QPixmap* theWrappedObject, QDataStream& arg__1) -{ - arg__1 >> (*theWrappedObject); -} - -int PythonQtWrapper_QPixmap::devType(QPixmap* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QPixmap*)theWrappedObject)->promoted_devType()); -} - -int PythonQtWrapper_QPixmap::static_QPixmap_defaultDepth() -{ - return (QPixmap::defaultDepth()); -} - -QPixmap PythonQtWrapper_QPixmap::alphaChannel(QPixmap* theWrappedObject) const -{ - return ( theWrappedObject->alphaChannel()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPixmap.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPixmap.h deleted file mode 100644 index 67b8c51..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPixmap.h +++ /dev/null @@ -1,109 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QPIXMAP_H -#define PYTHONQTWRAPPER_QPIXMAP_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QPixmap : public QPixmap -{ -public: - PythonQtShell_QPixmap():QPixmap(),_wrapper(NULL) {}; - PythonQtShell_QPixmap(const QPixmap& arg__1):QPixmap(arg__1),_wrapper(NULL) {}; - PythonQtShell_QPixmap(const QSize& arg__1):QPixmap(arg__1),_wrapper(NULL) {}; - PythonQtShell_QPixmap(const QString& fileName, const char* format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor):QPixmap(fileName, format, flags),_wrapper(NULL) {}; - PythonQtShell_QPixmap(const char** xpm):QPixmap(xpm),_wrapper(NULL) {}; - PythonQtShell_QPixmap(int w, int h):QPixmap(w, h),_wrapper(NULL) {}; - -virtual int devType() const; -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QPaintEngine* paintEngine() const; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QPixmap : public QPixmap -{ public: -inline QPaintEngine* promoted_paintEngine() const { return QPixmap::paintEngine(); } -inline int promoted_metric(QPaintDevice::PaintDeviceMetric arg__1) const { return QPixmap::metric(arg__1); } -inline int promoted_devType() const { return QPixmap::devType(); } -}; - -class PythonQtWrapper_QPixmap : public QObject -{ Q_OBJECT -public: -public slots: -QPixmap* new_QPixmap(); -QPixmap* new_QPixmap(const QPixmap& arg__1); -QPixmap* new_QPixmap(const QSize& arg__1); -QPixmap* new_QPixmap(const QString& fileName, const char* format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); -QPixmap* new_QPixmap(const char** xpm); -QPixmap* new_QPixmap(int w, int h); -void delete_QPixmap(QPixmap* obj) { delete obj; } - QSize size(QPixmap* theWrappedObject) const; - bool hasAlpha(QPixmap* theWrappedObject) const; - qint64 cacheKey(QPixmap* theWrappedObject) const; - QPixmap transformed(QPixmap* theWrappedObject, const QTransform& arg__1, Qt::TransformationMode mode = Qt::FastTransformation) const; - QMatrix static_QPixmap_trueMatrix(const QMatrix& m, int w, int h); - QTransform static_QPixmap_trueMatrix(const QTransform& m, int w, int h); - QImage toImage(QPixmap* theWrappedObject) const; - bool hasAlphaChannel(QPixmap* theWrappedObject) const; - QRect rect(QPixmap* theWrappedObject) const; - void setMask(QPixmap* theWrappedObject, const QBitmap& arg__1); - QPixmap transformed(QPixmap* theWrappedObject, const QMatrix& arg__1, Qt::TransformationMode mode = Qt::FastTransformation) const; - QBitmap createMaskFromColor(QPixmap* theWrappedObject, const QColor& maskColor, Qt::MaskMode mode) const; - QBitmap mask(QPixmap* theWrappedObject) const; - bool save(QPixmap* theWrappedObject, QIODevice* device, const char* format = 0, int quality = -1) const; - int width(QPixmap* theWrappedObject) const; - QBitmap createHeuristicMask(QPixmap* theWrappedObject, bool clipTight = true) const; - QPixmap scaledToHeight(QPixmap* theWrappedObject, int h, Qt::TransformationMode mode = Qt::FastTransformation) const; - void fill(QPixmap* theWrappedObject, const QColor& fillColor = Qt::white); - void fill(QPixmap* theWrappedObject, const QWidget* widget, int xofs, int yofs); - bool isQBitmap(QPixmap* theWrappedObject) const; - QPixmap static_QPixmap_grabWidget(QWidget* widget, int x = 0, int y = 0, int w = -1, int h = -1); - void fill(QPixmap* theWrappedObject, const QWidget* widget, const QPoint& ofs); - QPixmap static_QPixmap_grabWidget(QWidget* widget, const QRect& rect); - void writeTo(QPixmap* theWrappedObject, QDataStream& arg__1); - QPaintEngine* paintEngine(QPixmap* theWrappedObject) const; - void setAlphaChannel(QPixmap* theWrappedObject, const QPixmap& arg__1); - QPixmap copy(QPixmap* theWrappedObject, const QRect& rect = QRect()) const; - QBitmap createMaskFromColor(QPixmap* theWrappedObject, const QColor& maskColor) const; - int depth(QPixmap* theWrappedObject) const; - bool loadFromData(QPixmap* theWrappedObject, const QByteArray& data, const char* format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); - QPixmap scaledToWidth(QPixmap* theWrappedObject, int w, Qt::TransformationMode mode = Qt::FastTransformation) const; - int metric(QPixmap* theWrappedObject, QPaintDevice::PaintDeviceMetric arg__1) const; - bool load(QPixmap* theWrappedObject, const QString& fileName, const char* format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); - bool save(QPixmap* theWrappedObject, const QString& fileName, const char* format = 0, int quality = -1) const; - QPixmap static_QPixmap_grabWindow(WId arg__1, int x = 0, int y = 0, int w = -1, int h = -1); - QPixmap scaled(QPixmap* theWrappedObject, int w, int h, Qt::AspectRatioMode aspectMode = Qt::IgnoreAspectRatio, Qt::TransformationMode mode = Qt::FastTransformation) const; - bool isNull(QPixmap* theWrappedObject) const; - QPixmap scaled(QPixmap* theWrappedObject, const QSize& s, Qt::AspectRatioMode aspectMode = Qt::IgnoreAspectRatio, Qt::TransformationMode mode = Qt::FastTransformation) const; - QPixmap static_QPixmap_fromImage(const QImage& image, Qt::ImageConversionFlags flags = Qt::AutoColor); - int height(QPixmap* theWrappedObject) const; - QPixmap copy(QPixmap* theWrappedObject, int x, int y, int width, int height) const; - void readFrom(QPixmap* theWrappedObject, QDataStream& arg__1); - int devType(QPixmap* theWrappedObject) const; - int static_QPixmap_defaultDepth(); - QPixmap alphaChannel(QPixmap* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QPIXMAP_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPixmapCache.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPixmapCache.cpp deleted file mode 100644 index 67b60a7..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPixmapCache.cpp +++ /dev/null @@ -1,42 +0,0 @@ -#include "PythonQtWrapper_QPixmapCache.h" - -#include -#include -#include -#include -#include - -QPixmapCache* PythonQtWrapper_QPixmapCache::new_QPixmapCache() -{ -return new PythonQtShell_QPixmapCache(); } - -int PythonQtWrapper_QPixmapCache::static_QPixmapCache_cacheLimit() -{ - return (QPixmapCache::cacheLimit()); -} - -bool PythonQtWrapper_QPixmapCache::static_QPixmapCache_find(const QString& key, QPixmap& arg__2) -{ - return (QPixmapCache::find(key, arg__2)); -} - -bool PythonQtWrapper_QPixmapCache::static_QPixmapCache_insert(const QString& key, const QPixmap& arg__2) -{ - return (QPixmapCache::insert(key, arg__2)); -} - -void PythonQtWrapper_QPixmapCache::static_QPixmapCache_clear() -{ - (QPixmapCache::clear()); -} - -void PythonQtWrapper_QPixmapCache::static_QPixmapCache_remove(const QString& key) -{ - (QPixmapCache::remove(key)); -} - -void PythonQtWrapper_QPixmapCache::static_QPixmapCache_setCacheLimit(int arg__1) -{ - (QPixmapCache::setCacheLimit(arg__1)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPixmapCache.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPixmapCache.h deleted file mode 100644 index 0745346..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPixmapCache.h +++ /dev/null @@ -1,35 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QPIXMAPCACHE_H -#define PYTHONQTWRAPPER_QPIXMAPCACHE_H - -#include -#include - -#include - -#include -#include - -class PythonQtShell_QPixmapCache : public QPixmapCache -{ -public: - PythonQtShell_QPixmapCache():QPixmapCache(),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QPixmapCache : public QObject -{ Q_OBJECT -public: -public slots: -QPixmapCache* new_QPixmapCache(); -void delete_QPixmapCache(QPixmapCache* obj) { delete obj; } - int static_QPixmapCache_cacheLimit(); - bool static_QPixmapCache_find(const QString& key, QPixmap& arg__2); - bool static_QPixmapCache_insert(const QString& key, const QPixmap& arg__2); - void static_QPixmapCache_clear(); - void static_QPixmapCache_remove(const QString& key); - void static_QPixmapCache_setCacheLimit(int arg__1); -}; - -#endif // PYTHONQTWRAPPER_QPIXMAPCACHE_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPlainTextDocumentLayout.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPlainTextDocumentLayout.cpp deleted file mode 100644 index 02c091a..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPlainTextDocumentLayout.cpp +++ /dev/null @@ -1,68 +0,0 @@ -#include "PythonQtWrapper_QPlainTextDocumentLayout.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QPlainTextDocumentLayout* PythonQtWrapper_QPlainTextDocumentLayout::new_QPlainTextDocumentLayout(QTextDocument* document) -{ -return new PythonQtShell_QPlainTextDocumentLayout(document); } - -void PythonQtWrapper_QPlainTextDocumentLayout::draw(QPlainTextDocumentLayout* theWrappedObject, QPainter* arg__1, const QAbstractTextDocumentLayout::PaintContext& arg__2) -{ - ( theWrappedObject->draw(arg__1, arg__2)); -} - -int PythonQtWrapper_QPlainTextDocumentLayout::pageCount(QPlainTextDocumentLayout* theWrappedObject) const -{ - return ( theWrappedObject->pageCount()); -} - -int PythonQtWrapper_QPlainTextDocumentLayout::hitTest(QPlainTextDocumentLayout* theWrappedObject, const QPointF& arg__1, Qt::HitTestAccuracy arg__2) const -{ - return ( theWrappedObject->hitTest(arg__1, arg__2)); -} - -QSizeF PythonQtWrapper_QPlainTextDocumentLayout::documentSize(QPlainTextDocumentLayout* theWrappedObject) const -{ - return ( theWrappedObject->documentSize()); -} - -QRectF PythonQtWrapper_QPlainTextDocumentLayout::frameBoundingRect(QPlainTextDocumentLayout* theWrappedObject, QTextFrame* arg__1) const -{ - return ( theWrappedObject->frameBoundingRect(arg__1)); -} - -void PythonQtWrapper_QPlainTextDocumentLayout::setCursorWidth(QPlainTextDocumentLayout* theWrappedObject, int width) -{ - ( theWrappedObject->setCursorWidth(width)); -} - -QRectF PythonQtWrapper_QPlainTextDocumentLayout::blockBoundingRect(QPlainTextDocumentLayout* theWrappedObject, const QTextBlock& block) const -{ - return ( theWrappedObject->blockBoundingRect(block)); -} - -int PythonQtWrapper_QPlainTextDocumentLayout::cursorWidth(QPlainTextDocumentLayout* theWrappedObject) const -{ - return ( theWrappedObject->cursorWidth()); -} - -void PythonQtWrapper_QPlainTextDocumentLayout::ensureBlockLayout(QPlainTextDocumentLayout* theWrappedObject, const QTextBlock& block) const -{ - ( theWrappedObject->ensureBlockLayout(block)); -} - -void PythonQtWrapper_QPlainTextDocumentLayout::requestUpdate(QPlainTextDocumentLayout* theWrappedObject) -{ - ( theWrappedObject->requestUpdate()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPlainTextDocumentLayout.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPlainTextDocumentLayout.h deleted file mode 100644 index 1bc2862..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPlainTextDocumentLayout.h +++ /dev/null @@ -1,45 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QPLAINTEXTDOCUMENTLAYOUT_H -#define PYTHONQTWRAPPER_QPLAINTEXTDOCUMENTLAYOUT_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QPlainTextDocumentLayout : public QPlainTextDocumentLayout -{ -public: - PythonQtShell_QPlainTextDocumentLayout(QTextDocument* document):QPlainTextDocumentLayout(document),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QPlainTextDocumentLayout : public QObject -{ Q_OBJECT -public: -public slots: -QPlainTextDocumentLayout* new_QPlainTextDocumentLayout(QTextDocument* document); -void delete_QPlainTextDocumentLayout(QPlainTextDocumentLayout* obj) { delete obj; } - void draw(QPlainTextDocumentLayout* theWrappedObject, QPainter* arg__1, const QAbstractTextDocumentLayout::PaintContext& arg__2); - int pageCount(QPlainTextDocumentLayout* theWrappedObject) const; - int hitTest(QPlainTextDocumentLayout* theWrappedObject, const QPointF& arg__1, Qt::HitTestAccuracy arg__2) const; - QSizeF documentSize(QPlainTextDocumentLayout* theWrappedObject) const; - QRectF frameBoundingRect(QPlainTextDocumentLayout* theWrappedObject, QTextFrame* arg__1) const; - void setCursorWidth(QPlainTextDocumentLayout* theWrappedObject, int width); - QRectF blockBoundingRect(QPlainTextDocumentLayout* theWrappedObject, const QTextBlock& block) const; - int cursorWidth(QPlainTextDocumentLayout* theWrappedObject) const; - void ensureBlockLayout(QPlainTextDocumentLayout* theWrappedObject, const QTextBlock& block) const; - void requestUpdate(QPlainTextDocumentLayout* theWrappedObject); -}; - -#endif // PYTHONQTWRAPPER_QPLAINTEXTDOCUMENTLAYOUT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPlainTextEdit.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPlainTextEdit.cpp deleted file mode 100644 index 856c8cd..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPlainTextEdit.cpp +++ /dev/null @@ -1,1302 +0,0 @@ -#include "PythonQtWrapper_QPlainTextEdit.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QPlainTextEdit::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QPlainTextEdit::actionEvent(arg__1); -} -bool PythonQtShell_QPlainTextEdit::canInsertFromMimeData(const QMimeData* source) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "canInsertFromMimeData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QMimeData*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&source}; - 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("canInsertFromMimeData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPlainTextEdit::canInsertFromMimeData(source); -} -void PythonQtShell_QPlainTextEdit::changeEvent(QEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPlainTextEdit::changeEvent(e); -} -void PythonQtShell_QPlainTextEdit::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; - } -} - QPlainTextEdit::childEvent(arg__1); -} -void PythonQtShell_QPlainTextEdit::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QPlainTextEdit::closeEvent(arg__1); -} -void PythonQtShell_QPlainTextEdit::contextMenuEvent(QContextMenuEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPlainTextEdit::contextMenuEvent(e); -} -QMimeData* PythonQtShell_QPlainTextEdit::createMimeDataFromSelection() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "createMimeDataFromSelection"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QMimeData*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QMimeData* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("createMimeDataFromSelection", methodInfo, result); - } else { - returnValue = *((QMimeData**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPlainTextEdit::createMimeDataFromSelection(); -} -void PythonQtShell_QPlainTextEdit::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; - } -} - QPlainTextEdit::customEvent(arg__1); -} -int PythonQtShell_QPlainTextEdit::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPlainTextEdit::devType(); -} -void PythonQtShell_QPlainTextEdit::dragEnterEvent(QDragEnterEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPlainTextEdit::dragEnterEvent(e); -} -void PythonQtShell_QPlainTextEdit::dragLeaveEvent(QDragLeaveEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPlainTextEdit::dragLeaveEvent(e); -} -void PythonQtShell_QPlainTextEdit::dragMoveEvent(QDragMoveEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPlainTextEdit::dragMoveEvent(e); -} -void PythonQtShell_QPlainTextEdit::dropEvent(QDropEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPlainTextEdit::dropEvent(e); -} -void PythonQtShell_QPlainTextEdit::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QPlainTextEdit::enterEvent(arg__1); -} -bool PythonQtShell_QPlainTextEdit::event(QEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPlainTextEdit::event(e); -} -bool PythonQtShell_QPlainTextEdit::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPlainTextEdit::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QPlainTextEdit::focusInEvent(QFocusEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPlainTextEdit::focusInEvent(e); -} -bool PythonQtShell_QPlainTextEdit::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPlainTextEdit::focusNextPrevChild(next); -} -void PythonQtShell_QPlainTextEdit::focusOutEvent(QFocusEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPlainTextEdit::focusOutEvent(e); -} -int PythonQtShell_QPlainTextEdit::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPlainTextEdit::heightForWidth(arg__1); -} -void PythonQtShell_QPlainTextEdit::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QPlainTextEdit::hideEvent(arg__1); -} -void PythonQtShell_QPlainTextEdit::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QPlainTextEdit::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QPlainTextEdit::inputMethodQuery(Qt::InputMethodQuery property) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&property}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPlainTextEdit::inputMethodQuery(property); -} -void PythonQtShell_QPlainTextEdit::insertFromMimeData(const QMimeData* source) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "insertFromMimeData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QMimeData*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&source}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPlainTextEdit::insertFromMimeData(source); -} -void PythonQtShell_QPlainTextEdit::keyPressEvent(QKeyEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPlainTextEdit::keyPressEvent(e); -} -void PythonQtShell_QPlainTextEdit::keyReleaseEvent(QKeyEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPlainTextEdit::keyReleaseEvent(e); -} -void PythonQtShell_QPlainTextEdit::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPlainTextEdit::languageChange(); -} -void PythonQtShell_QPlainTextEdit::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QPlainTextEdit::leaveEvent(arg__1); -} -QVariant PythonQtShell_QPlainTextEdit::loadResource(int type, const QUrl& name) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "loadResource"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "int" , "const QUrl&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&type, (void*)&name}; - 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("loadResource", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPlainTextEdit::loadResource(type, name); -} -int PythonQtShell_QPlainTextEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPlainTextEdit::metric(arg__1); -} -void PythonQtShell_QPlainTextEdit::mouseDoubleClickEvent(QMouseEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPlainTextEdit::mouseDoubleClickEvent(e); -} -void PythonQtShell_QPlainTextEdit::mouseMoveEvent(QMouseEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPlainTextEdit::mouseMoveEvent(e); -} -void PythonQtShell_QPlainTextEdit::mousePressEvent(QMouseEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPlainTextEdit::mousePressEvent(e); -} -void PythonQtShell_QPlainTextEdit::mouseReleaseEvent(QMouseEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPlainTextEdit::mouseReleaseEvent(e); -} -void PythonQtShell_QPlainTextEdit::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPlainTextEdit::moveEvent(arg__1); -} -QPaintEngine* PythonQtShell_QPlainTextEdit::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPlainTextEdit::paintEngine(); -} -void PythonQtShell_QPlainTextEdit::paintEvent(QPaintEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPlainTextEdit::paintEvent(e); -} -void PythonQtShell_QPlainTextEdit::resizeEvent(QResizeEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPlainTextEdit::resizeEvent(e); -} -void PythonQtShell_QPlainTextEdit::scrollContentsBy(int dx, int dy) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "scrollContentsBy"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&dx, (void*)&dy}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPlainTextEdit::scrollContentsBy(dx, dy); -} -void PythonQtShell_QPlainTextEdit::showEvent(QShowEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QPlainTextEdit::showEvent(arg__1); -} -void PythonQtShell_QPlainTextEdit::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QPlainTextEdit::tabletEvent(arg__1); -} -void PythonQtShell_QPlainTextEdit::timerEvent(QTimerEvent* e) -{ -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*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPlainTextEdit::timerEvent(e); -} -bool PythonQtShell_QPlainTextEdit::viewportEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "viewportEvent"); - 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("viewportEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPlainTextEdit::viewportEvent(arg__1); -} -void PythonQtShell_QPlainTextEdit::wheelEvent(QWheelEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPlainTextEdit::wheelEvent(e); -} -QPlainTextEdit* PythonQtWrapper_QPlainTextEdit::new_QPlainTextEdit(QWidget* parent) -{ -return new PythonQtShell_QPlainTextEdit(parent); } - -QPlainTextEdit* PythonQtWrapper_QPlainTextEdit::new_QPlainTextEdit(const QString& text, QWidget* parent) -{ -return new PythonQtShell_QPlainTextEdit(text, parent); } - -int PythonQtWrapper_QPlainTextEdit::blockCount(QPlainTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->blockCount()); -} - -QTextCursor PythonQtWrapper_QPlainTextEdit::cursorForPosition(QPlainTextEdit* theWrappedObject, const QPoint& pos) const -{ - return ( theWrappedObject->cursorForPosition(pos)); -} - -QTextCharFormat PythonQtWrapper_QPlainTextEdit::currentCharFormat(QPlainTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->currentCharFormat()); -} - -QMimeData* PythonQtWrapper_QPlainTextEdit::createMimeDataFromSelection(QPlainTextEdit* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_createMimeDataFromSelection()); -} - -QList PythonQtWrapper_QPlainTextEdit::extraSelections(QPlainTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->extraSelections()); -} - -bool PythonQtWrapper_QPlainTextEdit::overwriteMode(QPlainTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->overwriteMode()); -} - -void PythonQtWrapper_QPlainTextEdit::setMaximumBlockCount(QPlainTextEdit* theWrappedObject, int maximum) -{ - ( theWrappedObject->setMaximumBlockCount(maximum)); -} - -int PythonQtWrapper_QPlainTextEdit::tabStopWidth(QPlainTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->tabStopWidth()); -} - -bool PythonQtWrapper_QPlainTextEdit::focusNextPrevChild(QPlainTextEdit* theWrappedObject, bool next) -{ - return ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_focusNextPrevChild(next)); -} - -bool PythonQtWrapper_QPlainTextEdit::tabChangesFocus(QPlainTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->tabChangesFocus()); -} - -QMenu* PythonQtWrapper_QPlainTextEdit::createStandardContextMenu(QPlainTextEdit* theWrappedObject) -{ - return ( theWrappedObject->createStandardContextMenu()); -} - -void PythonQtWrapper_QPlainTextEdit::focusOutEvent(QPlainTextEdit* theWrappedObject, QFocusEvent* e) -{ - ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_focusOutEvent(e)); -} - -void PythonQtWrapper_QPlainTextEdit::setCursorWidth(QPlainTextEdit* theWrappedObject, int width) -{ - ( theWrappedObject->setCursorWidth(width)); -} - -void PythonQtWrapper_QPlainTextEdit::setBackgroundVisible(QPlainTextEdit* theWrappedObject, bool visible) -{ - ( theWrappedObject->setBackgroundVisible(visible)); -} - -void PythonQtWrapper_QPlainTextEdit::timerEvent(QPlainTextEdit* theWrappedObject, QTimerEvent* e) -{ - ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_timerEvent(e)); -} - -void PythonQtWrapper_QPlainTextEdit::mouseMoveEvent(QPlainTextEdit* theWrappedObject, QMouseEvent* e) -{ - ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_mouseMoveEvent(e)); -} - -bool PythonQtWrapper_QPlainTextEdit::centerOnScroll(QPlainTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->centerOnScroll()); -} - -void PythonQtWrapper_QPlainTextEdit::wheelEvent(QPlainTextEdit* theWrappedObject, QWheelEvent* e) -{ - ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_wheelEvent(e)); -} - -bool PythonQtWrapper_QPlainTextEdit::event(QPlainTextEdit* theWrappedObject, QEvent* e) -{ - return ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_event(e)); -} - -bool PythonQtWrapper_QPlainTextEdit::canPaste(QPlainTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->canPaste()); -} - -void PythonQtWrapper_QPlainTextEdit::setTabStopWidth(QPlainTextEdit* theWrappedObject, int width) -{ - ( theWrappedObject->setTabStopWidth(width)); -} - -void PythonQtWrapper_QPlainTextEdit::dragLeaveEvent(QPlainTextEdit* theWrappedObject, QDragLeaveEvent* e) -{ - ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_dragLeaveEvent(e)); -} - -QTextDocument* PythonQtWrapper_QPlainTextEdit::document(QPlainTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->document()); -} - -bool PythonQtWrapper_QPlainTextEdit::isReadOnly(QPlainTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->isReadOnly()); -} - -void PythonQtWrapper_QPlainTextEdit::setTabChangesFocus(QPlainTextEdit* theWrappedObject, bool b) -{ - ( theWrappedObject->setTabChangesFocus(b)); -} - -void PythonQtWrapper_QPlainTextEdit::scrollContentsBy(QPlainTextEdit* theWrappedObject, int dx, int dy) -{ - ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_scrollContentsBy(dx, dy)); -} - -void PythonQtWrapper_QPlainTextEdit::resizeEvent(QPlainTextEdit* theWrappedObject, QResizeEvent* e) -{ - ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_resizeEvent(e)); -} - -QPlainTextEdit::LineWrapMode PythonQtWrapper_QPlainTextEdit::lineWrapMode(QPlainTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->lineWrapMode()); -} - -void PythonQtWrapper_QPlainTextEdit::setDocumentTitle(QPlainTextEdit* theWrappedObject, const QString& title) -{ - ( theWrappedObject->setDocumentTitle(title)); -} - -bool PythonQtWrapper_QPlainTextEdit::backgroundVisible(QPlainTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->backgroundVisible()); -} - -void PythonQtWrapper_QPlainTextEdit::setUndoRedoEnabled(QPlainTextEdit* theWrappedObject, bool enable) -{ - ( theWrappedObject->setUndoRedoEnabled(enable)); -} - -void PythonQtWrapper_QPlainTextEdit::setDocument(QPlainTextEdit* theWrappedObject, QTextDocument* document) -{ - ( theWrappedObject->setDocument(document)); -} - -int PythonQtWrapper_QPlainTextEdit::cursorWidth(QPlainTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->cursorWidth()); -} - -void PythonQtWrapper_QPlainTextEdit::setCurrentCharFormat(QPlainTextEdit* theWrappedObject, const QTextCharFormat& format) -{ - ( theWrappedObject->setCurrentCharFormat(format)); -} - -void PythonQtWrapper_QPlainTextEdit::setOverwriteMode(QPlainTextEdit* theWrappedObject, bool overwrite) -{ - ( theWrappedObject->setOverwriteMode(overwrite)); -} - -QString PythonQtWrapper_QPlainTextEdit::documentTitle(QPlainTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->documentTitle()); -} - -int PythonQtWrapper_QPlainTextEdit::maximumBlockCount(QPlainTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->maximumBlockCount()); -} - -void PythonQtWrapper_QPlainTextEdit::insertFromMimeData(QPlainTextEdit* theWrappedObject, const QMimeData* source) -{ - ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_insertFromMimeData(source)); -} - -void PythonQtWrapper_QPlainTextEdit::setTextCursor(QPlainTextEdit* theWrappedObject, const QTextCursor& cursor) -{ - ( theWrappedObject->setTextCursor(cursor)); -} - -void PythonQtWrapper_QPlainTextEdit::mouseReleaseEvent(QPlainTextEdit* theWrappedObject, QMouseEvent* e) -{ - ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_mouseReleaseEvent(e)); -} - -void PythonQtWrapper_QPlainTextEdit::mouseDoubleClickEvent(QPlainTextEdit* theWrappedObject, QMouseEvent* e) -{ - ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_mouseDoubleClickEvent(e)); -} - -void PythonQtWrapper_QPlainTextEdit::setTextInteractionFlags(QPlainTextEdit* theWrappedObject, Qt::TextInteractionFlags flags) -{ - ( theWrappedObject->setTextInteractionFlags(flags)); -} - -void PythonQtWrapper_QPlainTextEdit::moveCursor(QPlainTextEdit* theWrappedObject, QTextCursor::MoveOperation operation, QTextCursor::MoveMode mode) -{ - ( theWrappedObject->moveCursor(operation, mode)); -} - -QRect PythonQtWrapper_QPlainTextEdit::cursorRect(QPlainTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->cursorRect()); -} - -void PythonQtWrapper_QPlainTextEdit::mousePressEvent(QPlainTextEdit* theWrappedObject, QMouseEvent* e) -{ - ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_mousePressEvent(e)); -} - -void PythonQtWrapper_QPlainTextEdit::setExtraSelections(QPlainTextEdit* theWrappedObject, const QList& selections) -{ - ( theWrappedObject->setExtraSelections(selections)); -} - -void PythonQtWrapper_QPlainTextEdit::ensureCursorVisible(QPlainTextEdit* theWrappedObject) -{ - ( theWrappedObject->ensureCursorVisible()); -} - -void PythonQtWrapper_QPlainTextEdit::keyPressEvent(QPlainTextEdit* theWrappedObject, QKeyEvent* e) -{ - ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_keyPressEvent(e)); -} - -void PythonQtWrapper_QPlainTextEdit::setCenterOnScroll(QPlainTextEdit* theWrappedObject, bool enabled) -{ - ( theWrappedObject->setCenterOnScroll(enabled)); -} - -QString PythonQtWrapper_QPlainTextEdit::toPlainText(QPlainTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->toPlainText()); -} - -void PythonQtWrapper_QPlainTextEdit::inputMethodEvent(QPlainTextEdit* theWrappedObject, QInputMethodEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_inputMethodEvent(arg__1)); -} - -QRect PythonQtWrapper_QPlainTextEdit::cursorRect(QPlainTextEdit* theWrappedObject, const QTextCursor& cursor) const -{ - return ( theWrappedObject->cursorRect(cursor)); -} - -QVariant PythonQtWrapper_QPlainTextEdit::inputMethodQuery(QPlainTextEdit* theWrappedObject, Qt::InputMethodQuery property) const -{ - return ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_inputMethodQuery(property)); -} - -void PythonQtWrapper_QPlainTextEdit::keyReleaseEvent(QPlainTextEdit* theWrappedObject, QKeyEvent* e) -{ - ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_keyReleaseEvent(e)); -} - -QTextCursor PythonQtWrapper_QPlainTextEdit::textCursor(QPlainTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->textCursor()); -} - -void PythonQtWrapper_QPlainTextEdit::contextMenuEvent(QPlainTextEdit* theWrappedObject, QContextMenuEvent* e) -{ - ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_contextMenuEvent(e)); -} - -bool PythonQtWrapper_QPlainTextEdit::isUndoRedoEnabled(QPlainTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->isUndoRedoEnabled()); -} - -void PythonQtWrapper_QPlainTextEdit::print(QPlainTextEdit* theWrappedObject, QPrinter* printer) const -{ - ( theWrappedObject->print(printer)); -} - -void PythonQtWrapper_QPlainTextEdit::changeEvent(QPlainTextEdit* theWrappedObject, QEvent* e) -{ - ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_changeEvent(e)); -} - -bool PythonQtWrapper_QPlainTextEdit::canInsertFromMimeData(QPlainTextEdit* theWrappedObject, const QMimeData* source) const -{ - return ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_canInsertFromMimeData(source)); -} - -void PythonQtWrapper_QPlainTextEdit::dragEnterEvent(QPlainTextEdit* theWrappedObject, QDragEnterEvent* e) -{ - ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_dragEnterEvent(e)); -} - -bool PythonQtWrapper_QPlainTextEdit::find(QPlainTextEdit* theWrappedObject, const QString& exp, QTextDocument::FindFlags options) -{ - return ( theWrappedObject->find(exp, options)); -} - -QTextOption::WrapMode PythonQtWrapper_QPlainTextEdit::wordWrapMode(QPlainTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->wordWrapMode()); -} - -void PythonQtWrapper_QPlainTextEdit::showEvent(QPlainTextEdit* theWrappedObject, QShowEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_showEvent(arg__1)); -} - -QVariant PythonQtWrapper_QPlainTextEdit::loadResource(QPlainTextEdit* theWrappedObject, int type, const QUrl& name) -{ - return ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_loadResource(type, name)); -} - -void PythonQtWrapper_QPlainTextEdit::paintEvent(QPlainTextEdit* theWrappedObject, QPaintEvent* e) -{ - ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_paintEvent(e)); -} - -void PythonQtWrapper_QPlainTextEdit::setLineWrapMode(QPlainTextEdit* theWrappedObject, QPlainTextEdit::LineWrapMode mode) -{ - ( theWrappedObject->setLineWrapMode(mode)); -} - -void PythonQtWrapper_QPlainTextEdit::setReadOnly(QPlainTextEdit* theWrappedObject, bool ro) -{ - ( theWrappedObject->setReadOnly(ro)); -} - -void PythonQtWrapper_QPlainTextEdit::dropEvent(QPlainTextEdit* theWrappedObject, QDropEvent* e) -{ - ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_dropEvent(e)); -} - -void PythonQtWrapper_QPlainTextEdit::setWordWrapMode(QPlainTextEdit* theWrappedObject, QTextOption::WrapMode policy) -{ - ( theWrappedObject->setWordWrapMode(policy)); -} - -void PythonQtWrapper_QPlainTextEdit::focusInEvent(QPlainTextEdit* theWrappedObject, QFocusEvent* e) -{ - ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_focusInEvent(e)); -} - -void PythonQtWrapper_QPlainTextEdit::mergeCurrentCharFormat(QPlainTextEdit* theWrappedObject, const QTextCharFormat& modifier) -{ - ( theWrappedObject->mergeCurrentCharFormat(modifier)); -} - -void PythonQtWrapper_QPlainTextEdit::dragMoveEvent(QPlainTextEdit* theWrappedObject, QDragMoveEvent* e) -{ - ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_dragMoveEvent(e)); -} - -Qt::TextInteractionFlags PythonQtWrapper_QPlainTextEdit::textInteractionFlags(QPlainTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->textInteractionFlags()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPlainTextEdit.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPlainTextEdit.h deleted file mode 100644 index 8281d86..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPlainTextEdit.h +++ /dev/null @@ -1,217 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QPLAINTEXTEDIT_H -#define PYTHONQTWRAPPER_QPLAINTEXTEDIT_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QPlainTextEdit : public QPlainTextEdit -{ -public: - PythonQtShell_QPlainTextEdit(QWidget* parent = 0):QPlainTextEdit(parent),_wrapper(NULL) {}; - PythonQtShell_QPlainTextEdit(const QString& text, QWidget* parent = 0):QPlainTextEdit(text, parent),_wrapper(NULL) {}; - -virtual void actionEvent(QActionEvent* arg__1); -virtual bool canInsertFromMimeData(const QMimeData* source) const; -virtual void changeEvent(QEvent* e); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* e); -virtual QMimeData* createMimeDataFromSelection() const; -virtual void customEvent(QEvent* arg__1); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* e); -virtual void dragLeaveEvent(QDragLeaveEvent* e); -virtual void dragMoveEvent(QDragMoveEvent* e); -virtual void dropEvent(QDropEvent* e); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* e); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* e); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery property) const; -virtual void insertFromMimeData(const QMimeData* source); -virtual void keyPressEvent(QKeyEvent* e); -virtual void keyReleaseEvent(QKeyEvent* e); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual QVariant loadResource(int type, const QUrl& name); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual void mouseDoubleClickEvent(QMouseEvent* e); -virtual void mouseMoveEvent(QMouseEvent* e); -virtual void mousePressEvent(QMouseEvent* e); -virtual void mouseReleaseEvent(QMouseEvent* e); -virtual void moveEvent(QMoveEvent* arg__1); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* e); -virtual void resizeEvent(QResizeEvent* e); -virtual void scrollContentsBy(int dx, int dy); -virtual void showEvent(QShowEvent* arg__1); -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* e); -virtual bool viewportEvent(QEvent* arg__1); -virtual void wheelEvent(QWheelEvent* e); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QPlainTextEdit : public QPlainTextEdit -{ public: -inline QMimeData* promoted_createMimeDataFromSelection() const { return QPlainTextEdit::createMimeDataFromSelection(); } -inline bool promoted_focusNextPrevChild(bool next) { return QPlainTextEdit::focusNextPrevChild(next); } -inline void promoted_focusOutEvent(QFocusEvent* e) { QPlainTextEdit::focusOutEvent(e); } -inline void promoted_timerEvent(QTimerEvent* e) { QPlainTextEdit::timerEvent(e); } -inline void promoted_mouseMoveEvent(QMouseEvent* e) { QPlainTextEdit::mouseMoveEvent(e); } -inline void promoted_wheelEvent(QWheelEvent* e) { QPlainTextEdit::wheelEvent(e); } -inline bool promoted_event(QEvent* e) { return QPlainTextEdit::event(e); } -inline void promoted_dragLeaveEvent(QDragLeaveEvent* e) { QPlainTextEdit::dragLeaveEvent(e); } -inline void promoted_scrollContentsBy(int dx, int dy) { QPlainTextEdit::scrollContentsBy(dx, dy); } -inline void promoted_resizeEvent(QResizeEvent* e) { QPlainTextEdit::resizeEvent(e); } -inline void promoted_insertFromMimeData(const QMimeData* source) { QPlainTextEdit::insertFromMimeData(source); } -inline void promoted_mouseReleaseEvent(QMouseEvent* e) { QPlainTextEdit::mouseReleaseEvent(e); } -inline void promoted_mouseDoubleClickEvent(QMouseEvent* e) { QPlainTextEdit::mouseDoubleClickEvent(e); } -inline void promoted_mousePressEvent(QMouseEvent* e) { QPlainTextEdit::mousePressEvent(e); } -inline void promoted_keyPressEvent(QKeyEvent* e) { QPlainTextEdit::keyPressEvent(e); } -inline void promoted_inputMethodEvent(QInputMethodEvent* arg__1) { QPlainTextEdit::inputMethodEvent(arg__1); } -inline QVariant promoted_inputMethodQuery(Qt::InputMethodQuery property) const { return QPlainTextEdit::inputMethodQuery(property); } -inline void promoted_keyReleaseEvent(QKeyEvent* e) { QPlainTextEdit::keyReleaseEvent(e); } -inline void promoted_contextMenuEvent(QContextMenuEvent* e) { QPlainTextEdit::contextMenuEvent(e); } -inline void promoted_changeEvent(QEvent* e) { QPlainTextEdit::changeEvent(e); } -inline bool promoted_canInsertFromMimeData(const QMimeData* source) const { return QPlainTextEdit::canInsertFromMimeData(source); } -inline void promoted_dragEnterEvent(QDragEnterEvent* e) { QPlainTextEdit::dragEnterEvent(e); } -inline void promoted_showEvent(QShowEvent* arg__1) { QPlainTextEdit::showEvent(arg__1); } -inline QVariant promoted_loadResource(int type, const QUrl& name) { return QPlainTextEdit::loadResource(type, name); } -inline void promoted_paintEvent(QPaintEvent* e) { QPlainTextEdit::paintEvent(e); } -inline void promoted_dropEvent(QDropEvent* e) { QPlainTextEdit::dropEvent(e); } -inline void promoted_focusInEvent(QFocusEvent* e) { QPlainTextEdit::focusInEvent(e); } -inline void promoted_dragMoveEvent(QDragMoveEvent* e) { QPlainTextEdit::dragMoveEvent(e); } -}; - -class PythonQtWrapper_QPlainTextEdit : public QObject -{ Q_OBJECT -public: -public slots: -QPlainTextEdit* new_QPlainTextEdit(QWidget* parent = 0); -QPlainTextEdit* new_QPlainTextEdit(const QString& text, QWidget* parent = 0); -void delete_QPlainTextEdit(QPlainTextEdit* obj) { delete obj; } - int blockCount(QPlainTextEdit* theWrappedObject) const; - QTextCursor cursorForPosition(QPlainTextEdit* theWrappedObject, const QPoint& pos) const; - QTextCharFormat currentCharFormat(QPlainTextEdit* theWrappedObject) const; - QMimeData* createMimeDataFromSelection(QPlainTextEdit* theWrappedObject) const; - QList extraSelections(QPlainTextEdit* theWrappedObject) const; - bool overwriteMode(QPlainTextEdit* theWrappedObject) const; - void setMaximumBlockCount(QPlainTextEdit* theWrappedObject, int maximum); - int tabStopWidth(QPlainTextEdit* theWrappedObject) const; - bool focusNextPrevChild(QPlainTextEdit* theWrappedObject, bool next); - bool tabChangesFocus(QPlainTextEdit* theWrappedObject) const; - QMenu* createStandardContextMenu(QPlainTextEdit* theWrappedObject); - void focusOutEvent(QPlainTextEdit* theWrappedObject, QFocusEvent* e); - void setCursorWidth(QPlainTextEdit* theWrappedObject, int width); - void setBackgroundVisible(QPlainTextEdit* theWrappedObject, bool visible); - void timerEvent(QPlainTextEdit* theWrappedObject, QTimerEvent* e); - void mouseMoveEvent(QPlainTextEdit* theWrappedObject, QMouseEvent* e); - bool centerOnScroll(QPlainTextEdit* theWrappedObject) const; - void wheelEvent(QPlainTextEdit* theWrappedObject, QWheelEvent* e); - bool event(QPlainTextEdit* theWrappedObject, QEvent* e); - bool canPaste(QPlainTextEdit* theWrappedObject) const; - void setTabStopWidth(QPlainTextEdit* theWrappedObject, int width); - void dragLeaveEvent(QPlainTextEdit* theWrappedObject, QDragLeaveEvent* e); - QTextDocument* document(QPlainTextEdit* theWrappedObject) const; - bool isReadOnly(QPlainTextEdit* theWrappedObject) const; - void setTabChangesFocus(QPlainTextEdit* theWrappedObject, bool b); - void scrollContentsBy(QPlainTextEdit* theWrappedObject, int dx, int dy); - void resizeEvent(QPlainTextEdit* theWrappedObject, QResizeEvent* e); - QPlainTextEdit::LineWrapMode lineWrapMode(QPlainTextEdit* theWrappedObject) const; - void setDocumentTitle(QPlainTextEdit* theWrappedObject, const QString& title); - bool backgroundVisible(QPlainTextEdit* theWrappedObject) const; - void setUndoRedoEnabled(QPlainTextEdit* theWrappedObject, bool enable); - void setDocument(QPlainTextEdit* theWrappedObject, QTextDocument* document); - int cursorWidth(QPlainTextEdit* theWrappedObject) const; - void setCurrentCharFormat(QPlainTextEdit* theWrappedObject, const QTextCharFormat& format); - void setOverwriteMode(QPlainTextEdit* theWrappedObject, bool overwrite); - QString documentTitle(QPlainTextEdit* theWrappedObject) const; - int maximumBlockCount(QPlainTextEdit* theWrappedObject) const; - void insertFromMimeData(QPlainTextEdit* theWrappedObject, const QMimeData* source); - void setTextCursor(QPlainTextEdit* theWrappedObject, const QTextCursor& cursor); - void mouseReleaseEvent(QPlainTextEdit* theWrappedObject, QMouseEvent* e); - void mouseDoubleClickEvent(QPlainTextEdit* theWrappedObject, QMouseEvent* e); - void setTextInteractionFlags(QPlainTextEdit* theWrappedObject, Qt::TextInteractionFlags flags); - void moveCursor(QPlainTextEdit* theWrappedObject, QTextCursor::MoveOperation operation, QTextCursor::MoveMode mode = QTextCursor::MoveAnchor); - QRect cursorRect(QPlainTextEdit* theWrappedObject) const; - void mousePressEvent(QPlainTextEdit* theWrappedObject, QMouseEvent* e); - void setExtraSelections(QPlainTextEdit* theWrappedObject, const QList& selections); - void ensureCursorVisible(QPlainTextEdit* theWrappedObject); - void keyPressEvent(QPlainTextEdit* theWrappedObject, QKeyEvent* e); - void setCenterOnScroll(QPlainTextEdit* theWrappedObject, bool enabled); - QString toPlainText(QPlainTextEdit* theWrappedObject) const; - void inputMethodEvent(QPlainTextEdit* theWrappedObject, QInputMethodEvent* arg__1); - QRect cursorRect(QPlainTextEdit* theWrappedObject, const QTextCursor& cursor) const; - QVariant inputMethodQuery(QPlainTextEdit* theWrappedObject, Qt::InputMethodQuery property) const; - void keyReleaseEvent(QPlainTextEdit* theWrappedObject, QKeyEvent* e); - QTextCursor textCursor(QPlainTextEdit* theWrappedObject) const; - void contextMenuEvent(QPlainTextEdit* theWrappedObject, QContextMenuEvent* e); - bool isUndoRedoEnabled(QPlainTextEdit* theWrappedObject) const; - void print(QPlainTextEdit* theWrappedObject, QPrinter* printer) const; - void changeEvent(QPlainTextEdit* theWrappedObject, QEvent* e); - bool canInsertFromMimeData(QPlainTextEdit* theWrappedObject, const QMimeData* source) const; - void dragEnterEvent(QPlainTextEdit* theWrappedObject, QDragEnterEvent* e); - bool find(QPlainTextEdit* theWrappedObject, const QString& exp, QTextDocument::FindFlags options = 0); - QTextOption::WrapMode wordWrapMode(QPlainTextEdit* theWrappedObject) const; - void showEvent(QPlainTextEdit* theWrappedObject, QShowEvent* arg__1); - QVariant loadResource(QPlainTextEdit* theWrappedObject, int type, const QUrl& name); - void paintEvent(QPlainTextEdit* theWrappedObject, QPaintEvent* e); - void setLineWrapMode(QPlainTextEdit* theWrappedObject, QPlainTextEdit::LineWrapMode mode); - void setReadOnly(QPlainTextEdit* theWrappedObject, bool ro); - void dropEvent(QPlainTextEdit* theWrappedObject, QDropEvent* e); - void setWordWrapMode(QPlainTextEdit* theWrappedObject, QTextOption::WrapMode policy); - void focusInEvent(QPlainTextEdit* theWrappedObject, QFocusEvent* e); - void mergeCurrentCharFormat(QPlainTextEdit* theWrappedObject, const QTextCharFormat& modifier); - void dragMoveEvent(QPlainTextEdit* theWrappedObject, QDragMoveEvent* e); - Qt::TextInteractionFlags textInteractionFlags(QPlainTextEdit* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QPLAINTEXTEDIT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPlastiqueStyle.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPlastiqueStyle.cpp deleted file mode 100644 index 3ddb2dd..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPlastiqueStyle.cpp +++ /dev/null @@ -1,669 +0,0 @@ -#include "PythonQtWrapper_QPlastiqueStyle.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QPlastiqueStyle::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; - } -} - QPlastiqueStyle::childEvent(arg__1); -} -void PythonQtShell_QPlastiqueStyle::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; - } -} - QPlastiqueStyle::customEvent(arg__1); -} -void PythonQtShell_QPlastiqueStyle::drawComplexControl(QStyle::ComplexControl control, const QStyleOptionComplex* option, QPainter* painter, const QWidget* widget) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawComplexControl"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QStyle::ComplexControl" , "const QStyleOptionComplex*" , "QPainter*" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&control, (void*)&option, (void*)&painter, (void*)&widget}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPlastiqueStyle::drawComplexControl(control, option, painter, widget); -} -void PythonQtShell_QPlastiqueStyle::drawControl(QStyle::ControlElement element, const QStyleOption* option, QPainter* painter, const QWidget* widget) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawControl"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QStyle::ControlElement" , "const QStyleOption*" , "QPainter*" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&element, (void*)&option, (void*)&painter, (void*)&widget}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPlastiqueStyle::drawControl(element, option, painter, widget); -} -void PythonQtShell_QPlastiqueStyle::drawItemPixmap(QPainter* painter, const QRect& rect, int alignment, const QPixmap& pixmap) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawItemPixmap"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "int" , "const QPixmap&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&painter, (void*)&rect, (void*)&alignment, (void*)&pixmap}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPlastiqueStyle::drawItemPixmap(painter, rect, alignment, pixmap); -} -void PythonQtShell_QPlastiqueStyle::drawItemText(QPainter* painter, const QRect& rect, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawItemText"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "int" , "const QPalette&" , "bool" , "const QString&" , "QPalette::ColorRole"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(8, argumentList); - void* args[8] = {NULL, (void*)&painter, (void*)&rect, (void*)&flags, (void*)&pal, (void*)&enabled, (void*)&text, (void*)&textRole}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPlastiqueStyle::drawItemText(painter, rect, flags, pal, enabled, text, textRole); -} -void PythonQtShell_QPlastiqueStyle::drawPrimitive(QStyle::PrimitiveElement element, const QStyleOption* option, QPainter* painter, const QWidget* widget) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawPrimitive"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QStyle::PrimitiveElement" , "const QStyleOption*" , "QPainter*" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&element, (void*)&option, (void*)&painter, (void*)&widget}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPlastiqueStyle::drawPrimitive(element, option, painter, widget); -} -bool PythonQtShell_QPlastiqueStyle::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPlastiqueStyle::event(arg__1); -} -bool PythonQtShell_QPlastiqueStyle::eventFilter(QObject* watched, QEvent* event) -{ -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*)&watched, (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("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPlastiqueStyle::eventFilter(watched, event); -} -QPixmap PythonQtShell_QPlastiqueStyle::generatedIconPixmap(QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "generatedIconPixmap"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPixmap" , "QIcon::Mode" , "const QPixmap&" , "const QStyleOption*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QPixmap returnValue; - void* args[4] = {NULL, (void*)&iconMode, (void*)&pixmap, (void*)&opt}; - 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("generatedIconPixmap", methodInfo, result); - } else { - returnValue = *((QPixmap*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPlastiqueStyle::generatedIconPixmap(iconMode, pixmap, opt); -} -QStyle::SubControl PythonQtShell_QPlastiqueStyle::hitTestComplexControl(QStyle::ComplexControl control, const QStyleOptionComplex* option, const QPoint& pos, const QWidget* widget) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hitTestComplexControl"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QStyle::SubControl" , "QStyle::ComplexControl" , "const QStyleOptionComplex*" , "const QPoint&" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - QStyle::SubControl returnValue; - void* args[5] = {NULL, (void*)&control, (void*)&option, (void*)&pos, (void*)&widget}; - 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("hitTestComplexControl", methodInfo, result); - } else { - returnValue = *((QStyle::SubControl*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPlastiqueStyle::hitTestComplexControl(control, option, pos, widget); -} -QRect PythonQtShell_QPlastiqueStyle::itemPixmapRect(const QRect& r, int flags, const QPixmap& pixmap) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemPixmapRect"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QRect" , "const QRect&" , "int" , "const QPixmap&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QRect returnValue; - void* args[4] = {NULL, (void*)&r, (void*)&flags, (void*)&pixmap}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemPixmapRect", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPlastiqueStyle::itemPixmapRect(r, flags, pixmap); -} -int PythonQtShell_QPlastiqueStyle::pixelMetric(QStyle::PixelMetric metric, const QStyleOption* option, const QWidget* widget) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "pixelMetric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QStyle::PixelMetric" , "const QStyleOption*" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - int returnValue; - void* args[4] = {NULL, (void*)&metric, (void*)&option, (void*)&widget}; - 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("pixelMetric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPlastiqueStyle::pixelMetric(metric, option, widget); -} -void PythonQtShell_QPlastiqueStyle::polish(QApplication* app) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "polish"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QApplication*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&app}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPlastiqueStyle::polish(app); -} -void PythonQtShell_QPlastiqueStyle::polish(QPalette& pal) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "polish"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPalette&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&pal}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPlastiqueStyle::polish(pal); -} -void PythonQtShell_QPlastiqueStyle::polish(QWidget* widget) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "polish"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&widget}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPlastiqueStyle::polish(widget); -} -QSize PythonQtShell_QPlastiqueStyle::sizeFromContents(QStyle::ContentsType type, const QStyleOption* option, const QSize& size, const QWidget* widget) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeFromContents"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize" , "QStyle::ContentsType" , "const QStyleOption*" , "const QSize&" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - QSize returnValue; - void* args[5] = {NULL, (void*)&type, (void*)&option, (void*)&size, (void*)&widget}; - 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("sizeFromContents", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPlastiqueStyle::sizeFromContents(type, option, size, widget); -} -QPalette PythonQtShell_QPlastiqueStyle::standardPalette() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "standardPalette"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPalette"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPalette returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("standardPalette", methodInfo, result); - } else { - returnValue = *((QPalette*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPlastiqueStyle::standardPalette(); -} -QPixmap PythonQtShell_QPlastiqueStyle::standardPixmap(QStyle::StandardPixmap standardPixmap, const QStyleOption* opt, const QWidget* widget) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "standardPixmap"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPixmap" , "QStyle::StandardPixmap" , "const QStyleOption*" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QPixmap returnValue; - void* args[4] = {NULL, (void*)&standardPixmap, (void*)&opt, (void*)&widget}; - 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("standardPixmap", methodInfo, result); - } else { - returnValue = *((QPixmap*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QPixmap result; -return result; -} -int PythonQtShell_QPlastiqueStyle::styleHint(QStyle::StyleHint hint, const QStyleOption* option, const QWidget* widget, QStyleHintReturn* returnData) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "styleHint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QStyle::StyleHint" , "const QStyleOption*" , "const QWidget*" , "QStyleHintReturn*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - int returnValue; - void* args[5] = {NULL, (void*)&hint, (void*)&option, (void*)&widget, (void*)&returnData}; - 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("styleHint", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPlastiqueStyle::styleHint(hint, option, widget, returnData); -} -QRect PythonQtShell_QPlastiqueStyle::subControlRect(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* widget) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "subControlRect"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QRect" , "QStyle::ComplexControl" , "const QStyleOptionComplex*" , "QStyle::SubControl" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - QRect returnValue; - void* args[5] = {NULL, (void*)&cc, (void*)&opt, (void*)&sc, (void*)&widget}; - 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("subControlRect", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPlastiqueStyle::subControlRect(cc, opt, sc, widget); -} -QRect PythonQtShell_QPlastiqueStyle::subElementRect(QStyle::SubElement element, const QStyleOption* option, const QWidget* widget) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "subElementRect"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QRect" , "QStyle::SubElement" , "const QStyleOption*" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QRect returnValue; - void* args[4] = {NULL, (void*)&element, (void*)&option, (void*)&widget}; - 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("subElementRect", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPlastiqueStyle::subElementRect(element, option, widget); -} -void PythonQtShell_QPlastiqueStyle::timerEvent(QTimerEvent* event) -{ -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*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPlastiqueStyle::timerEvent(event); -} -void PythonQtShell_QPlastiqueStyle::unpolish(QApplication* app) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "unpolish"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QApplication*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&app}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPlastiqueStyle::unpolish(app); -} -void PythonQtShell_QPlastiqueStyle::unpolish(QWidget* widget) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "unpolish"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&widget}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPlastiqueStyle::unpolish(widget); -} -QPlastiqueStyle* PythonQtWrapper_QPlastiqueStyle::new_QPlastiqueStyle() -{ -return new PythonQtShell_QPlastiqueStyle(); } - -void PythonQtWrapper_QPlastiqueStyle::unpolish(QPlastiqueStyle* theWrappedObject, QWidget* widget) -{ - ( ((PythonQtPublicPromoter_QPlastiqueStyle*)theWrappedObject)->promoted_unpolish(widget)); -} - -int PythonQtWrapper_QPlastiqueStyle::styleHint(QPlastiqueStyle* theWrappedObject, QStyle::StyleHint hint, const QStyleOption* option, const QWidget* widget, QStyleHintReturn* returnData) const -{ - return ( ((PythonQtPublicPromoter_QPlastiqueStyle*)theWrappedObject)->promoted_styleHint(hint, option, widget, returnData)); -} - -QRect PythonQtWrapper_QPlastiqueStyle::subElementRect(QPlastiqueStyle* theWrappedObject, QStyle::SubElement element, const QStyleOption* option, const QWidget* widget) const -{ - return ( ((PythonQtPublicPromoter_QPlastiqueStyle*)theWrappedObject)->promoted_subElementRect(element, option, widget)); -} - -void PythonQtWrapper_QPlastiqueStyle::polish(QPlastiqueStyle* theWrappedObject, QPalette& pal) -{ - ( ((PythonQtPublicPromoter_QPlastiqueStyle*)theWrappedObject)->promoted_polish(pal)); -} - -QPalette PythonQtWrapper_QPlastiqueStyle::standardPalette(QPlastiqueStyle* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QPlastiqueStyle*)theWrappedObject)->promoted_standardPalette()); -} - -void PythonQtWrapper_QPlastiqueStyle::timerEvent(QPlastiqueStyle* theWrappedObject, QTimerEvent* event) -{ - ( ((PythonQtPublicPromoter_QPlastiqueStyle*)theWrappedObject)->promoted_timerEvent(event)); -} - -void PythonQtWrapper_QPlastiqueStyle::drawComplexControl(QPlastiqueStyle* theWrappedObject, QStyle::ComplexControl control, const QStyleOptionComplex* option, QPainter* painter, const QWidget* widget) const -{ - ( ((PythonQtPublicPromoter_QPlastiqueStyle*)theWrappedObject)->promoted_drawComplexControl(control, option, painter, widget)); -} - -void PythonQtWrapper_QPlastiqueStyle::drawPrimitive(QPlastiqueStyle* theWrappedObject, QStyle::PrimitiveElement element, const QStyleOption* option, QPainter* painter, const QWidget* widget) const -{ - ( ((PythonQtPublicPromoter_QPlastiqueStyle*)theWrappedObject)->promoted_drawPrimitive(element, option, painter, widget)); -} - -int PythonQtWrapper_QPlastiqueStyle::pixelMetric(QPlastiqueStyle* theWrappedObject, QStyle::PixelMetric metric, const QStyleOption* option, const QWidget* widget) const -{ - return ( ((PythonQtPublicPromoter_QPlastiqueStyle*)theWrappedObject)->promoted_pixelMetric(metric, option, widget)); -} - -bool PythonQtWrapper_QPlastiqueStyle::eventFilter(QPlastiqueStyle* theWrappedObject, QObject* watched, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QPlastiqueStyle*)theWrappedObject)->promoted_eventFilter(watched, event)); -} - -void PythonQtWrapper_QPlastiqueStyle::polish(QPlastiqueStyle* theWrappedObject, QApplication* app) -{ - ( ((PythonQtPublicPromoter_QPlastiqueStyle*)theWrappedObject)->promoted_polish(app)); -} - -QStyle::SubControl PythonQtWrapper_QPlastiqueStyle::hitTestComplexControl(QPlastiqueStyle* theWrappedObject, QStyle::ComplexControl control, const QStyleOptionComplex* option, const QPoint& pos, const QWidget* widget) const -{ - return ( ((PythonQtPublicPromoter_QPlastiqueStyle*)theWrappedObject)->promoted_hitTestComplexControl(control, option, pos, widget)); -} - -void PythonQtWrapper_QPlastiqueStyle::unpolish(QPlastiqueStyle* theWrappedObject, QApplication* app) -{ - ( ((PythonQtPublicPromoter_QPlastiqueStyle*)theWrappedObject)->promoted_unpolish(app)); -} - -QSize PythonQtWrapper_QPlastiqueStyle::sizeFromContents(QPlastiqueStyle* theWrappedObject, QStyle::ContentsType type, const QStyleOption* option, const QSize& size, const QWidget* widget) const -{ - return ( ((PythonQtPublicPromoter_QPlastiqueStyle*)theWrappedObject)->promoted_sizeFromContents(type, option, size, widget)); -} - -void PythonQtWrapper_QPlastiqueStyle::polish(QPlastiqueStyle* theWrappedObject, QWidget* widget) -{ - ( ((PythonQtPublicPromoter_QPlastiqueStyle*)theWrappedObject)->promoted_polish(widget)); -} - -void PythonQtWrapper_QPlastiqueStyle::drawControl(QPlastiqueStyle* theWrappedObject, QStyle::ControlElement element, const QStyleOption* option, QPainter* painter, const QWidget* widget) const -{ - ( ((PythonQtPublicPromoter_QPlastiqueStyle*)theWrappedObject)->promoted_drawControl(element, option, painter, widget)); -} - -QRect PythonQtWrapper_QPlastiqueStyle::subControlRect(QPlastiqueStyle* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* widget) const -{ - return ( ((PythonQtPublicPromoter_QPlastiqueStyle*)theWrappedObject)->promoted_subControlRect(cc, opt, sc, widget)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPlastiqueStyle.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPlastiqueStyle.h deleted file mode 100644 index 942cbff..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPlastiqueStyle.h +++ /dev/null @@ -1,106 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QPLASTIQUESTYLE_H -#define PYTHONQTWRAPPER_QPLASTIQUESTYLE_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QPlastiqueStyle : public QPlastiqueStyle -{ -public: - PythonQtShell_QPlastiqueStyle():QPlastiqueStyle(),_wrapper(NULL) {}; - -virtual void childEvent(QChildEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual void drawComplexControl(QStyle::ComplexControl control, const QStyleOptionComplex* option, QPainter* painter, const QWidget* widget) const; -virtual void drawControl(QStyle::ControlElement element, const QStyleOption* option, QPainter* painter, const QWidget* widget) const; -virtual void drawItemPixmap(QPainter* painter, const QRect& rect, int alignment, const QPixmap& pixmap) const; -virtual void drawItemText(QPainter* painter, const QRect& rect, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole) const; -virtual void drawPrimitive(QStyle::PrimitiveElement element, const QStyleOption* option, QPainter* painter, const QWidget* widget = 0) const; -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual QPixmap generatedIconPixmap(QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const; -virtual QStyle::SubControl hitTestComplexControl(QStyle::ComplexControl control, const QStyleOptionComplex* option, const QPoint& pos, const QWidget* widget = 0) const; -virtual QRect itemPixmapRect(const QRect& r, int flags, const QPixmap& pixmap) const; -virtual int pixelMetric(QStyle::PixelMetric metric, const QStyleOption* option = 0, const QWidget* widget = 0) const; -virtual void polish(QApplication* app); -virtual void polish(QPalette& pal); -virtual void polish(QWidget* widget); -virtual QSize sizeFromContents(QStyle::ContentsType type, const QStyleOption* option, const QSize& size, const QWidget* widget) const; -virtual QPalette standardPalette() const; -virtual QPixmap standardPixmap(QStyle::StandardPixmap standardPixmap, const QStyleOption* opt, const QWidget* widget) const; -virtual int styleHint(QStyle::StyleHint hint, const QStyleOption* option = 0, const QWidget* widget = 0, QStyleHintReturn* returnData = 0) const; -virtual QRect subControlRect(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* widget) const; -virtual QRect subElementRect(QStyle::SubElement element, const QStyleOption* option, const QWidget* widget) const; -virtual void timerEvent(QTimerEvent* event); -virtual void unpolish(QApplication* app); -virtual void unpolish(QWidget* widget); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QPlastiqueStyle : public QPlastiqueStyle -{ public: -inline void promoted_unpolish(QWidget* widget) { QPlastiqueStyle::unpolish(widget); } -inline int promoted_styleHint(QStyle::StyleHint hint, const QStyleOption* option = 0, const QWidget* widget = 0, QStyleHintReturn* returnData = 0) const { return QPlastiqueStyle::styleHint(hint, option, widget, returnData); } -inline QRect promoted_subElementRect(QStyle::SubElement element, const QStyleOption* option, const QWidget* widget) const { return QPlastiqueStyle::subElementRect(element, option, widget); } -inline void promoted_polish(QPalette& pal) { QPlastiqueStyle::polish(pal); } -inline QPalette promoted_standardPalette() const { return QPlastiqueStyle::standardPalette(); } -inline void promoted_timerEvent(QTimerEvent* event) { QPlastiqueStyle::timerEvent(event); } -inline void promoted_drawComplexControl(QStyle::ComplexControl control, const QStyleOptionComplex* option, QPainter* painter, const QWidget* widget) const { QPlastiqueStyle::drawComplexControl(control, option, painter, widget); } -inline void promoted_drawPrimitive(QStyle::PrimitiveElement element, const QStyleOption* option, QPainter* painter, const QWidget* widget = 0) const { QPlastiqueStyle::drawPrimitive(element, option, painter, widget); } -inline int promoted_pixelMetric(QStyle::PixelMetric metric, const QStyleOption* option = 0, const QWidget* widget = 0) const { return QPlastiqueStyle::pixelMetric(metric, option, widget); } -inline bool promoted_eventFilter(QObject* watched, QEvent* event) { return QPlastiqueStyle::eventFilter(watched, event); } -inline void promoted_polish(QApplication* app) { QPlastiqueStyle::polish(app); } -inline QStyle::SubControl promoted_hitTestComplexControl(QStyle::ComplexControl control, const QStyleOptionComplex* option, const QPoint& pos, const QWidget* widget = 0) const { return QPlastiqueStyle::hitTestComplexControl(control, option, pos, widget); } -inline void promoted_unpolish(QApplication* app) { QPlastiqueStyle::unpolish(app); } -inline QSize promoted_sizeFromContents(QStyle::ContentsType type, const QStyleOption* option, const QSize& size, const QWidget* widget) const { return QPlastiqueStyle::sizeFromContents(type, option, size, widget); } -inline void promoted_polish(QWidget* widget) { QPlastiqueStyle::polish(widget); } -inline void promoted_drawControl(QStyle::ControlElement element, const QStyleOption* option, QPainter* painter, const QWidget* widget) const { QPlastiqueStyle::drawControl(element, option, painter, widget); } -inline QRect promoted_subControlRect(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* widget) const { return QPlastiqueStyle::subControlRect(cc, opt, sc, widget); } -}; - -class PythonQtWrapper_QPlastiqueStyle : public QObject -{ Q_OBJECT -public: -public slots: -QPlastiqueStyle* new_QPlastiqueStyle(); -void delete_QPlastiqueStyle(QPlastiqueStyle* obj) { delete obj; } - void unpolish(QPlastiqueStyle* theWrappedObject, QWidget* widget); - int styleHint(QPlastiqueStyle* theWrappedObject, QStyle::StyleHint hint, const QStyleOption* option = 0, const QWidget* widget = 0, QStyleHintReturn* returnData = 0) const; - QRect subElementRect(QPlastiqueStyle* theWrappedObject, QStyle::SubElement element, const QStyleOption* option, const QWidget* widget) const; - void polish(QPlastiqueStyle* theWrappedObject, QPalette& pal); - QPalette standardPalette(QPlastiqueStyle* theWrappedObject) const; - void timerEvent(QPlastiqueStyle* theWrappedObject, QTimerEvent* event); - void drawComplexControl(QPlastiqueStyle* theWrappedObject, QStyle::ComplexControl control, const QStyleOptionComplex* option, QPainter* painter, const QWidget* widget) const; - void drawPrimitive(QPlastiqueStyle* theWrappedObject, QStyle::PrimitiveElement element, const QStyleOption* option, QPainter* painter, const QWidget* widget = 0) const; - int pixelMetric(QPlastiqueStyle* theWrappedObject, QStyle::PixelMetric metric, const QStyleOption* option = 0, const QWidget* widget = 0) const; - bool eventFilter(QPlastiqueStyle* theWrappedObject, QObject* watched, QEvent* event); - void polish(QPlastiqueStyle* theWrappedObject, QApplication* app); - QStyle::SubControl hitTestComplexControl(QPlastiqueStyle* theWrappedObject, QStyle::ComplexControl control, const QStyleOptionComplex* option, const QPoint& pos, const QWidget* widget = 0) const; - void unpolish(QPlastiqueStyle* theWrappedObject, QApplication* app); - QSize sizeFromContents(QPlastiqueStyle* theWrappedObject, QStyle::ContentsType type, const QStyleOption* option, const QSize& size, const QWidget* widget) const; - void polish(QPlastiqueStyle* theWrappedObject, QWidget* widget); - void drawControl(QPlastiqueStyle* theWrappedObject, QStyle::ControlElement element, const QStyleOption* option, QPainter* painter, const QWidget* widget) const; - QRect subControlRect(QPlastiqueStyle* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* widget) const; -}; - -#endif // PYTHONQTWRAPPER_QPLASTIQUESTYLE_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPolygon.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPolygon.cpp deleted file mode 100644 index 1402e44..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPolygon.cpp +++ /dev/null @@ -1,250 +0,0 @@ -#include "PythonQtWrapper_QPolygon.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QPolygon* PythonQtWrapper_QPolygon::new_QPolygon() -{ -return new QPolygon(); } - -QPolygon* PythonQtWrapper_QPolygon::new_QPolygon(const QPolygon& a) -{ -return new QPolygon(a); } - -QPolygon* PythonQtWrapper_QPolygon::new_QPolygon(const QRect& r, bool closed) -{ -return new QPolygon(r, closed); } - -QPolygon* PythonQtWrapper_QPolygon::new_QPolygon(const QVector& v) -{ -return new QPolygon(v); } - -QPolygon* PythonQtWrapper_QPolygon::new_QPolygon(int size) -{ -return new QPolygon(size); } - -void PythonQtWrapper_QPolygon::writeTo(QPolygon* theWrappedObject, QDataStream& stream) -{ - stream << (*theWrappedObject); -} - -QVector* PythonQtWrapper_QPolygon::fill(QPolygon* theWrappedObject, const QPoint& t, int size) -{ - return &( theWrappedObject->fill(t, size)); -} - -QPolygon PythonQtWrapper_QPolygon::subtracted(QPolygon* theWrappedObject, const QPolygon& r) const -{ - return ( theWrappedObject->subtracted(r)); -} - -int PythonQtWrapper_QPolygon::count(QPolygon* theWrappedObject, const QPoint& t) const -{ - return ( theWrappedObject->count(t)); -} - -void PythonQtWrapper_QPolygon::squeeze(QPolygon* theWrappedObject) -{ - ( theWrappedObject->squeeze()); -} - -void PythonQtWrapper_QPolygon::pop_back(QPolygon* theWrappedObject) -{ - ( theWrappedObject->pop_back()); -} - -void PythonQtWrapper_QPolygon::reserve(QPolygon* theWrappedObject, int size) -{ - ( theWrappedObject->reserve(size)); -} - -const QPoint* PythonQtWrapper_QPolygon::first(QPolygon* theWrappedObject) const -{ - return &( theWrappedObject->first()); -} - -QRect PythonQtWrapper_QPolygon::boundingRect(QPolygon* theWrappedObject) const -{ - return ( theWrappedObject->boundingRect()); -} - -QList PythonQtWrapper_QPolygon::toList(QPolygon* theWrappedObject) const -{ - return ( theWrappedObject->toList()); -} - -void PythonQtWrapper_QPolygon::replace(QPolygon* theWrappedObject, int i, const QPoint& t) -{ - ( theWrappedObject->replace(i, t)); -} - -bool PythonQtWrapper_QPolygon::contains(QPolygon* theWrappedObject, const QPoint& t) const -{ - return ( theWrappedObject->contains(t)); -} - -bool PythonQtWrapper_QPolygon::empty(QPolygon* theWrappedObject) const -{ - return ( theWrappedObject->empty()); -} - -void PythonQtWrapper_QPolygon::append(QPolygon* theWrappedObject, const QPoint& t) -{ - ( theWrappedObject->append(t)); -} - -void PythonQtWrapper_QPolygon::remove(QPolygon* theWrappedObject, int i, int n) -{ - ( theWrappedObject->remove(i, n)); -} - -void PythonQtWrapper_QPolygon::pop_front(QPolygon* theWrappedObject) -{ - ( theWrappedObject->pop_front()); -} - -int PythonQtWrapper_QPolygon::indexOf(QPolygon* theWrappedObject, const QPoint& t, int from) const -{ - return ( theWrappedObject->indexOf(t, from)); -} - -QPoint PythonQtWrapper_QPolygon::value(QPolygon* theWrappedObject, int i) const -{ - return ( theWrappedObject->value(i)); -} - -void PythonQtWrapper_QPolygon::clear(QPolygon* theWrappedObject) -{ - ( theWrappedObject->clear()); -} - -int PythonQtWrapper_QPolygon::size(QPolygon* theWrappedObject) const -{ - return ( theWrappedObject->size()); -} - -QPoint PythonQtWrapper_QPolygon::value(QPolygon* theWrappedObject, int i, const QPoint& defaultValue) const -{ - return ( theWrappedObject->value(i, defaultValue)); -} - -void PythonQtWrapper_QPolygon::translate(QPolygon* theWrappedObject, int dx, int dy) -{ - ( theWrappedObject->translate(dx, dy)); -} - -void PythonQtWrapper_QPolygon::translate(QPolygon* theWrappedObject, const QPoint& offset) -{ - ( theWrappedObject->translate(offset)); -} - -int PythonQtWrapper_QPolygon::lastIndexOf(QPolygon* theWrappedObject, const QPoint& t, int from) const -{ - return ( theWrappedObject->lastIndexOf(t, from)); -} - -QPolygon PythonQtWrapper_QPolygon::united(QPolygon* theWrappedObject, const QPolygon& r) const -{ - return ( theWrappedObject->united(r)); -} - -void PythonQtWrapper_QPolygon::resize(QPolygon* theWrappedObject, int size) -{ - ( theWrappedObject->resize(size)); -} - -void PythonQtWrapper_QPolygon::setSharable(QPolygon* theWrappedObject, bool sharable) -{ - ( theWrappedObject->setSharable(sharable)); -} - -const QPoint* PythonQtWrapper_QPolygon::at(QPolygon* theWrappedObject, int i) const -{ - return &( theWrappedObject->at(i)); -} - -int PythonQtWrapper_QPolygon::count(QPolygon* theWrappedObject) const -{ - return ( theWrappedObject->count()); -} - -void PythonQtWrapper_QPolygon::prepend(QPolygon* theWrappedObject, const QPoint& t) -{ - ( theWrappedObject->prepend(t)); -} - -bool PythonQtWrapper_QPolygon::operator_equal(QPolygon* theWrappedObject, const QVector& v) const -{ - return ( (*theWrappedObject)== v); -} - -QVector PythonQtWrapper_QPolygon::static_QPolygon_fromList(const QList& list) -{ - return (QPolygon::fromList(list)); -} - -bool PythonQtWrapper_QPolygon::isEmpty(QPolygon* theWrappedObject) const -{ - return ( theWrappedObject->isEmpty()); -} - -void PythonQtWrapper_QPolygon::push_back(QPolygon* theWrappedObject, const QPoint& t) -{ - ( theWrappedObject->push_back(t)); -} - -void PythonQtWrapper_QPolygon::push_front(QPolygon* theWrappedObject, const QPoint& t) -{ - ( theWrappedObject->push_front(t)); -} - -int PythonQtWrapper_QPolygon::capacity(QPolygon* theWrappedObject) const -{ - return ( theWrappedObject->capacity()); -} - -const QPoint* PythonQtWrapper_QPolygon::last(QPolygon* theWrappedObject) const -{ - return &( theWrappedObject->last()); -} - -QPolygon PythonQtWrapper_QPolygon::intersected(QPolygon* theWrappedObject, const QPolygon& r) const -{ - return ( theWrappedObject->intersected(r)); -} - -bool PythonQtWrapper_QPolygon::containsPoint(QPolygon* theWrappedObject, const QPoint& pt, Qt::FillRule fillRule) const -{ - return ( theWrappedObject->containsPoint(pt, fillRule)); -} - -void PythonQtWrapper_QPolygon::remove(QPolygon* theWrappedObject, int i) -{ - ( theWrappedObject->remove(i)); -} - -QVector PythonQtWrapper_QPolygon::mid(QPolygon* theWrappedObject, int pos, int length) const -{ - return ( theWrappedObject->mid(pos, length)); -} - -void PythonQtWrapper_QPolygon::readFrom(QPolygon* theWrappedObject, QDataStream& stream) -{ - stream >> (*theWrappedObject); -} - -QString PythonQtWrapper_QPolygon::toString(QPolygon* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPolygon.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPolygon.h deleted file mode 100644 index 34e3e7c..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPolygon.h +++ /dev/null @@ -1,72 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QPOLYGON_H -#define PYTHONQTWRAPPER_QPOLYGON_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include - -class PythonQtWrapper_QPolygon : public QObject -{ Q_OBJECT -public: -public slots: -QPolygon* new_QPolygon(); -QPolygon* new_QPolygon(const QPolygon& a); -QPolygon* new_QPolygon(const QRect& r, bool closed = false); -QPolygon* new_QPolygon(const QVector& v); -QPolygon* new_QPolygon(int size); -void delete_QPolygon(QPolygon* obj) { delete obj; } - void writeTo(QPolygon* theWrappedObject, QDataStream& stream); - QVector* fill(QPolygon* theWrappedObject, const QPoint& t, int size); - QPolygon subtracted(QPolygon* theWrappedObject, const QPolygon& r) const; - int count(QPolygon* theWrappedObject, const QPoint& t) const; - void squeeze(QPolygon* theWrappedObject); - void pop_back(QPolygon* theWrappedObject); - void reserve(QPolygon* theWrappedObject, int size); - const QPoint* first(QPolygon* theWrappedObject) const; - QRect boundingRect(QPolygon* theWrappedObject) const; - QList toList(QPolygon* theWrappedObject) const; - void replace(QPolygon* theWrappedObject, int i, const QPoint& t); - bool contains(QPolygon* theWrappedObject, const QPoint& t) const; - bool empty(QPolygon* theWrappedObject) const; - void append(QPolygon* theWrappedObject, const QPoint& t); - void remove(QPolygon* theWrappedObject, int i, int n); - void pop_front(QPolygon* theWrappedObject); - int indexOf(QPolygon* theWrappedObject, const QPoint& t, int from) const; - QPoint value(QPolygon* theWrappedObject, int i) const; - void clear(QPolygon* theWrappedObject); - int size(QPolygon* theWrappedObject) const; - QPoint value(QPolygon* theWrappedObject, int i, const QPoint& defaultValue) const; - void translate(QPolygon* theWrappedObject, int dx, int dy); - void translate(QPolygon* theWrappedObject, const QPoint& offset); - int lastIndexOf(QPolygon* theWrappedObject, const QPoint& t, int from) const; - QPolygon united(QPolygon* theWrappedObject, const QPolygon& r) const; - void resize(QPolygon* theWrappedObject, int size); - void setSharable(QPolygon* theWrappedObject, bool sharable); - const QPoint* at(QPolygon* theWrappedObject, int i) const; - int count(QPolygon* theWrappedObject) const; - void prepend(QPolygon* theWrappedObject, const QPoint& t); - bool operator_equal(QPolygon* theWrappedObject, const QVector& v) const; - QVector static_QPolygon_fromList(const QList& list); - bool isEmpty(QPolygon* theWrappedObject) const; - void push_back(QPolygon* theWrappedObject, const QPoint& t); - void push_front(QPolygon* theWrappedObject, const QPoint& t); - int capacity(QPolygon* theWrappedObject) const; - const QPoint* last(QPolygon* theWrappedObject) const; - QPolygon intersected(QPolygon* theWrappedObject, const QPolygon& r) const; - bool containsPoint(QPolygon* theWrappedObject, const QPoint& pt, Qt::FillRule fillRule) const; - void remove(QPolygon* theWrappedObject, int i); - QVector mid(QPolygon* theWrappedObject, int pos, int length) const; - void readFrom(QPolygon* theWrappedObject, QDataStream& stream); - QString toString(QPolygon*); -}; - -#endif // PYTHONQTWRAPPER_QPOLYGON_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPolygonF.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPolygonF.cpp deleted file mode 100644 index 96237b0..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPolygonF.cpp +++ /dev/null @@ -1,264 +0,0 @@ -#include "PythonQtWrapper_QPolygonF.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QPolygonF* PythonQtWrapper_QPolygonF::new_QPolygonF() -{ -return new QPolygonF(); } - -QPolygonF* PythonQtWrapper_QPolygonF::new_QPolygonF(const QPolygon& a) -{ -return new QPolygonF(a); } - -QPolygonF* PythonQtWrapper_QPolygonF::new_QPolygonF(const QPolygonF& a) -{ -return new QPolygonF(a); } - -QPolygonF* PythonQtWrapper_QPolygonF::new_QPolygonF(const QRectF& r) -{ -return new QPolygonF(r); } - -QPolygonF* PythonQtWrapper_QPolygonF::new_QPolygonF(const QVector& v) -{ -return new QPolygonF(v); } - -QPolygonF* PythonQtWrapper_QPolygonF::new_QPolygonF(int size) -{ -return new QPolygonF(size); } - -int PythonQtWrapper_QPolygonF::indexOf(QPolygonF* theWrappedObject, const QPointF& t, int from) const -{ - return ( theWrappedObject->indexOf(t, from)); -} - -const QPointF* PythonQtWrapper_QPolygonF::first(QPolygonF* theWrappedObject) const -{ - return &( theWrappedObject->first()); -} - -bool PythonQtWrapper_QPolygonF::operator_equal(QPolygonF* theWrappedObject, const QVector& v) const -{ - return ( (*theWrappedObject)== v); -} - -void PythonQtWrapper_QPolygonF::remove(QPolygonF* theWrappedObject, int i) -{ - ( theWrappedObject->remove(i)); -} - -bool PythonQtWrapper_QPolygonF::contains(QPolygonF* theWrappedObject, const QPointF& t) const -{ - return ( theWrappedObject->contains(t)); -} - -void PythonQtWrapper_QPolygonF::translate(QPolygonF* theWrappedObject, const QPointF& offset) -{ - ( theWrappedObject->translate(offset)); -} - -void PythonQtWrapper_QPolygonF::translate(QPolygonF* theWrappedObject, qreal dx, qreal dy) -{ - ( theWrappedObject->translate(dx, dy)); -} - -QPolygonF PythonQtWrapper_QPolygonF::united(QPolygonF* theWrappedObject, const QPolygonF& r) const -{ - return ( theWrappedObject->united(r)); -} - -QRectF PythonQtWrapper_QPolygonF::boundingRect(QPolygonF* theWrappedObject) const -{ - return ( theWrappedObject->boundingRect()); -} - -void PythonQtWrapper_QPolygonF::clear(QPolygonF* theWrappedObject) -{ - ( theWrappedObject->clear()); -} - -int PythonQtWrapper_QPolygonF::lastIndexOf(QPolygonF* theWrappedObject, const QPointF& t, int from) const -{ - return ( theWrappedObject->lastIndexOf(t, from)); -} - -int PythonQtWrapper_QPolygonF::size(QPolygonF* theWrappedObject) const -{ - return ( theWrappedObject->size()); -} - -void PythonQtWrapper_QPolygonF::append(QPolygonF* theWrappedObject, const QPointF& t) -{ - ( theWrappedObject->append(t)); -} - -int PythonQtWrapper_QPolygonF::capacity(QPolygonF* theWrappedObject) const -{ - return ( theWrappedObject->capacity()); -} - -QVector PythonQtWrapper_QPolygonF::mid(QPolygonF* theWrappedObject, int pos, int length) const -{ - return ( theWrappedObject->mid(pos, length)); -} - -bool PythonQtWrapper_QPolygonF::containsPoint(QPolygonF* theWrappedObject, const QPointF& pt, Qt::FillRule fillRule) const -{ - return ( theWrappedObject->containsPoint(pt, fillRule)); -} - -QVector* PythonQtWrapper_QPolygonF::fill(QPolygonF* theWrappedObject, const QPointF& t, int size) -{ - return &( theWrappedObject->fill(t, size)); -} - -QPolygonF PythonQtWrapper_QPolygonF::intersected(QPolygonF* theWrappedObject, const QPolygonF& r) const -{ - return ( theWrappedObject->intersected(r)); -} - -void PythonQtWrapper_QPolygonF::writeTo(QPolygonF* theWrappedObject, QDataStream& stream) -{ - stream << (*theWrappedObject); -} - -void PythonQtWrapper_QPolygonF::setSharable(QPolygonF* theWrappedObject, bool sharable) -{ - ( theWrappedObject->setSharable(sharable)); -} - -void PythonQtWrapper_QPolygonF::resize(QPolygonF* theWrappedObject, int size) -{ - ( theWrappedObject->resize(size)); -} - -QPointF PythonQtWrapper_QPolygonF::value(QPolygonF* theWrappedObject, int i, const QPointF& defaultValue) const -{ - return ( theWrappedObject->value(i, defaultValue)); -} - -void PythonQtWrapper_QPolygonF::reserve(QPolygonF* theWrappedObject, int size) -{ - ( theWrappedObject->reserve(size)); -} - -void PythonQtWrapper_QPolygonF::squeeze(QPolygonF* theWrappedObject) -{ - ( theWrappedObject->squeeze()); -} - -void PythonQtWrapper_QPolygonF::pop_back(QPolygonF* theWrappedObject) -{ - ( theWrappedObject->pop_back()); -} - -void PythonQtWrapper_QPolygonF::replace(QPolygonF* theWrappedObject, int i, const QPointF& t) -{ - ( theWrappedObject->replace(i, t)); -} - -void PythonQtWrapper_QPolygonF::push_back(QPolygonF* theWrappedObject, const QPointF& t) -{ - ( theWrappedObject->push_back(t)); -} - -QVector PythonQtWrapper_QPolygonF::static_QPolygonF_fromList(const QList& list) -{ - return (QPolygonF::fromList(list)); -} - -void PythonQtWrapper_QPolygonF::remove(QPolygonF* theWrappedObject, int i, int n) -{ - ( theWrappedObject->remove(i, n)); -} - -void PythonQtWrapper_QPolygonF::readFrom(QPolygonF* theWrappedObject, QDataStream& stream) -{ - stream >> (*theWrappedObject); -} - -void PythonQtWrapper_QPolygonF::push_front(QPolygonF* theWrappedObject, const QPointF& t) -{ - ( theWrappedObject->push_front(t)); -} - -bool PythonQtWrapper_QPolygonF::isClosed(QPolygonF* theWrappedObject) const -{ - return ( theWrappedObject->isClosed()); -} - -QList PythonQtWrapper_QPolygonF::toList(QPolygonF* theWrappedObject) const -{ - return ( theWrappedObject->toList()); -} - -QPointF PythonQtWrapper_QPolygonF::value(QPolygonF* theWrappedObject, int i) const -{ - return ( theWrappedObject->value(i)); -} - -QPolygonF PythonQtWrapper_QPolygonF::subtracted(QPolygonF* theWrappedObject, const QPolygonF& r) const -{ - return ( theWrappedObject->subtracted(r)); -} - -QPolygon PythonQtWrapper_QPolygonF::toPolygon(QPolygonF* theWrappedObject) const -{ - return ( theWrappedObject->toPolygon()); -} - -const QPointF* PythonQtWrapper_QPolygonF::at(QPolygonF* theWrappedObject, int i) const -{ - return &( theWrappedObject->at(i)); -} - -bool PythonQtWrapper_QPolygonF::empty(QPolygonF* theWrappedObject) const -{ - return ( theWrappedObject->empty()); -} - -int PythonQtWrapper_QPolygonF::count(QPolygonF* theWrappedObject, const QPointF& t) const -{ - return ( theWrappedObject->count(t)); -} - -void PythonQtWrapper_QPolygonF::pop_front(QPolygonF* theWrappedObject) -{ - ( theWrappedObject->pop_front()); -} - -int PythonQtWrapper_QPolygonF::count(QPolygonF* theWrappedObject) const -{ - return ( theWrappedObject->count()); -} - -bool PythonQtWrapper_QPolygonF::isEmpty(QPolygonF* theWrappedObject) const -{ - return ( theWrappedObject->isEmpty()); -} - -const QPointF* PythonQtWrapper_QPolygonF::last(QPolygonF* theWrappedObject) const -{ - return &( theWrappedObject->last()); -} - -void PythonQtWrapper_QPolygonF::prepend(QPolygonF* theWrappedObject, const QPointF& t) -{ - ( theWrappedObject->prepend(t)); -} - -QString PythonQtWrapper_QPolygonF::toString(QPolygonF* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPolygonF.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPolygonF.h deleted file mode 100644 index 5aa7802..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPolygonF.h +++ /dev/null @@ -1,75 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QPOLYGONF_H -#define PYTHONQTWRAPPER_QPOLYGONF_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include - -class PythonQtWrapper_QPolygonF : public QObject -{ Q_OBJECT -public: -public slots: -QPolygonF* new_QPolygonF(); -QPolygonF* new_QPolygonF(const QPolygon& a); -QPolygonF* new_QPolygonF(const QPolygonF& a); -QPolygonF* new_QPolygonF(const QRectF& r); -QPolygonF* new_QPolygonF(const QVector& v); -QPolygonF* new_QPolygonF(int size); -void delete_QPolygonF(QPolygonF* obj) { delete obj; } - int indexOf(QPolygonF* theWrappedObject, const QPointF& t, int from) const; - const QPointF* first(QPolygonF* theWrappedObject) const; - bool operator_equal(QPolygonF* theWrappedObject, const QVector& v) const; - void remove(QPolygonF* theWrappedObject, int i); - bool contains(QPolygonF* theWrappedObject, const QPointF& t) const; - void translate(QPolygonF* theWrappedObject, const QPointF& offset); - void translate(QPolygonF* theWrappedObject, qreal dx, qreal dy); - QPolygonF united(QPolygonF* theWrappedObject, const QPolygonF& r) const; - QRectF boundingRect(QPolygonF* theWrappedObject) const; - void clear(QPolygonF* theWrappedObject); - int lastIndexOf(QPolygonF* theWrappedObject, const QPointF& t, int from) const; - int size(QPolygonF* theWrappedObject) const; - void append(QPolygonF* theWrappedObject, const QPointF& t); - int capacity(QPolygonF* theWrappedObject) const; - QVector mid(QPolygonF* theWrappedObject, int pos, int length) const; - bool containsPoint(QPolygonF* theWrappedObject, const QPointF& pt, Qt::FillRule fillRule) const; - QVector* fill(QPolygonF* theWrappedObject, const QPointF& t, int size); - QPolygonF intersected(QPolygonF* theWrappedObject, const QPolygonF& r) const; - void writeTo(QPolygonF* theWrappedObject, QDataStream& stream); - void setSharable(QPolygonF* theWrappedObject, bool sharable); - void resize(QPolygonF* theWrappedObject, int size); - QPointF value(QPolygonF* theWrappedObject, int i, const QPointF& defaultValue) const; - void reserve(QPolygonF* theWrappedObject, int size); - void squeeze(QPolygonF* theWrappedObject); - void pop_back(QPolygonF* theWrappedObject); - void replace(QPolygonF* theWrappedObject, int i, const QPointF& t); - void push_back(QPolygonF* theWrappedObject, const QPointF& t); - QVector static_QPolygonF_fromList(const QList& list); - void remove(QPolygonF* theWrappedObject, int i, int n); - void readFrom(QPolygonF* theWrappedObject, QDataStream& stream); - void push_front(QPolygonF* theWrappedObject, const QPointF& t); - bool isClosed(QPolygonF* theWrappedObject) const; - QList toList(QPolygonF* theWrappedObject) const; - QPointF value(QPolygonF* theWrappedObject, int i) const; - QPolygonF subtracted(QPolygonF* theWrappedObject, const QPolygonF& r) const; - QPolygon toPolygon(QPolygonF* theWrappedObject) const; - const QPointF* at(QPolygonF* theWrappedObject, int i) const; - bool empty(QPolygonF* theWrappedObject) const; - int count(QPolygonF* theWrappedObject, const QPointF& t) const; - void pop_front(QPolygonF* theWrappedObject); - int count(QPolygonF* theWrappedObject) const; - bool isEmpty(QPolygonF* theWrappedObject) const; - const QPointF* last(QPolygonF* theWrappedObject) const; - void prepend(QPolygonF* theWrappedObject, const QPointF& t); - QString toString(QPolygonF*); -}; - -#endif // PYTHONQTWRAPPER_QPOLYGONF_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPrintDialog.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPrintDialog.cpp deleted file mode 100644 index 81fb539..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPrintDialog.cpp +++ /dev/null @@ -1,856 +0,0 @@ -#include "PythonQtWrapper_QPrintDialog.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QPrintDialog::accept() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "accept"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPrintDialog::accept(); -} -void PythonQtShell_QPrintDialog::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QPrintDialog::actionEvent(arg__1); -} -void PythonQtShell_QPrintDialog::changeEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPrintDialog::changeEvent(arg__1); -} -void PythonQtShell_QPrintDialog::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; - } -} - QPrintDialog::childEvent(arg__1); -} -void PythonQtShell_QPrintDialog::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QPrintDialog::closeEvent(arg__1); -} -void PythonQtShell_QPrintDialog::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPrintDialog::contextMenuEvent(arg__1); -} -void PythonQtShell_QPrintDialog::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; - } -} - QPrintDialog::customEvent(arg__1); -} -int PythonQtShell_QPrintDialog::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPrintDialog::devType(); -} -void PythonQtShell_QPrintDialog::done(int arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "done"); - 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; - } -} - QPrintDialog::done(arg__1); -} -void PythonQtShell_QPrintDialog::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QPrintDialog::dragEnterEvent(arg__1); -} -void PythonQtShell_QPrintDialog::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QPrintDialog::dragLeaveEvent(arg__1); -} -void PythonQtShell_QPrintDialog::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QPrintDialog::dragMoveEvent(arg__1); -} -void PythonQtShell_QPrintDialog::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QPrintDialog::dropEvent(arg__1); -} -void PythonQtShell_QPrintDialog::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QPrintDialog::enterEvent(arg__1); -} -bool PythonQtShell_QPrintDialog::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPrintDialog::event(arg__1); -} -bool PythonQtShell_QPrintDialog::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPrintDialog::eventFilter(arg__1, arg__2); -} -int PythonQtShell_QPrintDialog::exec() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "exec"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPrintDialog::exec(); -} -void PythonQtShell_QPrintDialog::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QPrintDialog::focusInEvent(arg__1); -} -bool PythonQtShell_QPrintDialog::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPrintDialog::focusNextPrevChild(next); -} -void PythonQtShell_QPrintDialog::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QPrintDialog::focusOutEvent(arg__1); -} -int PythonQtShell_QPrintDialog::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPrintDialog::heightForWidth(arg__1); -} -void PythonQtShell_QPrintDialog::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QPrintDialog::hideEvent(arg__1); -} -void PythonQtShell_QPrintDialog::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QPrintDialog::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QPrintDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPrintDialog::inputMethodQuery(arg__1); -} -void PythonQtShell_QPrintDialog::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPrintDialog::keyPressEvent(arg__1); -} -void PythonQtShell_QPrintDialog::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPrintDialog::keyReleaseEvent(arg__1); -} -void PythonQtShell_QPrintDialog::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPrintDialog::languageChange(); -} -void PythonQtShell_QPrintDialog::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QPrintDialog::leaveEvent(arg__1); -} -int PythonQtShell_QPrintDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPrintDialog::metric(arg__1); -} -void PythonQtShell_QPrintDialog::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QPrintDialog::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QPrintDialog::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QPrintDialog::mouseMoveEvent(arg__1); -} -void PythonQtShell_QPrintDialog::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QPrintDialog::mousePressEvent(arg__1); -} -void PythonQtShell_QPrintDialog::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QPrintDialog::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QPrintDialog::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPrintDialog::moveEvent(arg__1); -} -QPaintEngine* PythonQtShell_QPrintDialog::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPrintDialog::paintEngine(); -} -void PythonQtShell_QPrintDialog::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - 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; - } -} - QPrintDialog::paintEvent(arg__1); -} -void PythonQtShell_QPrintDialog::reject() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reject"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPrintDialog::reject(); -} -void PythonQtShell_QPrintDialog::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - 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; - } -} - QPrintDialog::resizeEvent(arg__1); -} -void PythonQtShell_QPrintDialog::showEvent(QShowEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QPrintDialog::showEvent(arg__1); -} -void PythonQtShell_QPrintDialog::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QPrintDialog::tabletEvent(arg__1); -} -void PythonQtShell_QPrintDialog::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; - } -} - QPrintDialog::timerEvent(arg__1); -} -void PythonQtShell_QPrintDialog::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPrintDialog::wheelEvent(arg__1); -} -QPrintDialog* PythonQtWrapper_QPrintDialog::new_QPrintDialog(QPrinter* printer, QWidget* parent) -{ -return new PythonQtShell_QPrintDialog(printer, parent); } - -int PythonQtWrapper_QPrintDialog::exec(QPrintDialog* theWrappedObject) -{ - return ( ((PythonQtPublicPromoter_QPrintDialog*)theWrappedObject)->promoted_exec()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPrintDialog.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPrintDialog.h deleted file mode 100644 index 31fd468..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPrintDialog.h +++ /dev/null @@ -1,103 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QPRINTDIALOG_H -#define PYTHONQTWRAPPER_QPRINTDIALOG_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QPrintDialog : public QPrintDialog -{ -public: - PythonQtShell_QPrintDialog(QPrinter* printer, QWidget* parent = 0):QPrintDialog(printer, parent),_wrapper(NULL) {}; - -virtual void accept(); -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual int devType() const; -virtual void done(int arg__1); -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual int exec(); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* arg__1); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual void reject(); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void showEvent(QShowEvent* arg__1); -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QPrintDialog : public QPrintDialog -{ public: -inline int promoted_exec() { return QPrintDialog::exec(); } -}; - -class PythonQtWrapper_QPrintDialog : public QObject -{ Q_OBJECT -public: -public slots: -QPrintDialog* new_QPrintDialog(QPrinter* printer, QWidget* parent = 0); -void delete_QPrintDialog(QPrintDialog* obj) { delete obj; } - int exec(QPrintDialog* theWrappedObject); -}; - -#endif // PYTHONQTWRAPPER_QPRINTDIALOG_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPrintEngine.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPrintEngine.cpp deleted file mode 100644 index 5e57a49..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPrintEngine.cpp +++ /dev/null @@ -1,173 +0,0 @@ -#include "PythonQtWrapper_QPrintEngine.h" - -#include -#include -#include -#include - -bool PythonQtShell_QPrintEngine::abort() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "abort"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("abort", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - bool result; -return result; -} -int PythonQtShell_QPrintEngine::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - int result; -return result; -} -bool PythonQtShell_QPrintEngine::newPage() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "newPage"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("newPage", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - bool result; -return result; -} -QPrinter::PrinterState PythonQtShell_QPrintEngine::printerState() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "printerState"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPrinter::PrinterState"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPrinter::PrinterState returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("printerState", methodInfo, result); - } else { - returnValue = *((QPrinter::PrinterState*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QPrinter::PrinterState result; -return result; -} -QVariant PythonQtShell_QPrintEngine::property(QPrintEngine::PrintEnginePropertyKey key) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "property"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "QPrintEngine::PrintEnginePropertyKey"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&key}; - 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("property", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QVariant result; -return result; -} -void PythonQtShell_QPrintEngine::setProperty(QPrintEngine::PrintEnginePropertyKey key, const QVariant& value) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setProperty"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPrintEngine::PrintEnginePropertyKey" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&key, (void*)&value}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - -} -QPrintEngine* PythonQtWrapper_QPrintEngine::new_QPrintEngine() -{ -return new PythonQtShell_QPrintEngine(); } - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPrintEngine.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPrintEngine.h deleted file mode 100644 index 14fdf8e..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPrintEngine.h +++ /dev/null @@ -1,37 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QPRINTENGINE_H -#define PYTHONQTWRAPPER_QPRINTENGINE_H - -#include -#include - -#include - -#include - -class PythonQtShell_QPrintEngine : public QPrintEngine -{ -public: - PythonQtShell_QPrintEngine():QPrintEngine(),_wrapper(NULL) {}; - -virtual bool abort(); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual bool newPage(); -virtual QPrinter::PrinterState printerState() const; -virtual QVariant property(QPrintEngine::PrintEnginePropertyKey key) const; -virtual void setProperty(QPrintEngine::PrintEnginePropertyKey key, const QVariant& value); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QPrintEngine : public QObject -{ Q_OBJECT -public: -Q_ENUMS(PrintEnginePropertyKey ) -enum PrintEnginePropertyKey{ - PPK_CollateCopies = QPrintEngine::PPK_CollateCopies, PPK_ColorMode = QPrintEngine::PPK_ColorMode, PPK_Creator = QPrintEngine::PPK_Creator, PPK_DocumentName = QPrintEngine::PPK_DocumentName, PPK_FullPage = QPrintEngine::PPK_FullPage, PPK_NumberOfCopies = QPrintEngine::PPK_NumberOfCopies, PPK_Orientation = QPrintEngine::PPK_Orientation, PPK_OutputFileName = QPrintEngine::PPK_OutputFileName, PPK_PageOrder = QPrintEngine::PPK_PageOrder, PPK_PageRect = QPrintEngine::PPK_PageRect, PPK_PageSize = QPrintEngine::PPK_PageSize, PPK_PaperRect = QPrintEngine::PPK_PaperRect, PPK_PaperSource = QPrintEngine::PPK_PaperSource, PPK_PrinterName = QPrintEngine::PPK_PrinterName, PPK_PrinterProgram = QPrintEngine::PPK_PrinterProgram, PPK_Resolution = QPrintEngine::PPK_Resolution, PPK_SelectionOption = QPrintEngine::PPK_SelectionOption, PPK_SupportedResolutions = QPrintEngine::PPK_SupportedResolutions, PPK_WindowsPageSize = QPrintEngine::PPK_WindowsPageSize, PPK_FontEmbedding = QPrintEngine::PPK_FontEmbedding, PPK_SuppressSystemPrintStatus = QPrintEngine::PPK_SuppressSystemPrintStatus, PPK_Duplex = QPrintEngine::PPK_Duplex, PPK_PaperSources = QPrintEngine::PPK_PaperSources, PPK_CustomPaperSize = QPrintEngine::PPK_CustomPaperSize, PPK_PageMargins = QPrintEngine::PPK_PageMargins, PPK_PaperSize = QPrintEngine::PPK_PaperSize, PPK_CustomBase = QPrintEngine::PPK_CustomBase}; -public slots: -QPrintEngine* new_QPrintEngine(); -void delete_QPrintEngine(QPrintEngine* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QPRINTENGINE_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPrintPreviewDialog.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPrintPreviewDialog.cpp deleted file mode 100644 index b6c75f3..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPrintPreviewDialog.cpp +++ /dev/null @@ -1,827 +0,0 @@ -#include "PythonQtWrapper_QPrintPreviewDialog.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QPrintPreviewDialog::accept() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "accept"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPrintPreviewDialog::accept(); -} -void PythonQtShell_QPrintPreviewDialog::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QPrintPreviewDialog::actionEvent(arg__1); -} -void PythonQtShell_QPrintPreviewDialog::changeEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPrintPreviewDialog::changeEvent(arg__1); -} -void PythonQtShell_QPrintPreviewDialog::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; - } -} - QPrintPreviewDialog::childEvent(arg__1); -} -void PythonQtShell_QPrintPreviewDialog::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QPrintPreviewDialog::closeEvent(arg__1); -} -void PythonQtShell_QPrintPreviewDialog::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPrintPreviewDialog::contextMenuEvent(arg__1); -} -void PythonQtShell_QPrintPreviewDialog::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; - } -} - QPrintPreviewDialog::customEvent(arg__1); -} -int PythonQtShell_QPrintPreviewDialog::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPrintPreviewDialog::devType(); -} -void PythonQtShell_QPrintPreviewDialog::done(int arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "done"); - 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; - } -} - QPrintPreviewDialog::done(arg__1); -} -void PythonQtShell_QPrintPreviewDialog::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QPrintPreviewDialog::dragEnterEvent(arg__1); -} -void PythonQtShell_QPrintPreviewDialog::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QPrintPreviewDialog::dragLeaveEvent(arg__1); -} -void PythonQtShell_QPrintPreviewDialog::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QPrintPreviewDialog::dragMoveEvent(arg__1); -} -void PythonQtShell_QPrintPreviewDialog::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QPrintPreviewDialog::dropEvent(arg__1); -} -void PythonQtShell_QPrintPreviewDialog::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QPrintPreviewDialog::enterEvent(arg__1); -} -bool PythonQtShell_QPrintPreviewDialog::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPrintPreviewDialog::event(arg__1); -} -bool PythonQtShell_QPrintPreviewDialog::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPrintPreviewDialog::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QPrintPreviewDialog::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QPrintPreviewDialog::focusInEvent(arg__1); -} -bool PythonQtShell_QPrintPreviewDialog::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPrintPreviewDialog::focusNextPrevChild(next); -} -void PythonQtShell_QPrintPreviewDialog::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QPrintPreviewDialog::focusOutEvent(arg__1); -} -int PythonQtShell_QPrintPreviewDialog::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPrintPreviewDialog::heightForWidth(arg__1); -} -void PythonQtShell_QPrintPreviewDialog::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QPrintPreviewDialog::hideEvent(arg__1); -} -void PythonQtShell_QPrintPreviewDialog::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QPrintPreviewDialog::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QPrintPreviewDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPrintPreviewDialog::inputMethodQuery(arg__1); -} -void PythonQtShell_QPrintPreviewDialog::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPrintPreviewDialog::keyPressEvent(arg__1); -} -void PythonQtShell_QPrintPreviewDialog::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPrintPreviewDialog::keyReleaseEvent(arg__1); -} -void PythonQtShell_QPrintPreviewDialog::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPrintPreviewDialog::languageChange(); -} -void PythonQtShell_QPrintPreviewDialog::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QPrintPreviewDialog::leaveEvent(arg__1); -} -int PythonQtShell_QPrintPreviewDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPrintPreviewDialog::metric(arg__1); -} -void PythonQtShell_QPrintPreviewDialog::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QPrintPreviewDialog::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QPrintPreviewDialog::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QPrintPreviewDialog::mouseMoveEvent(arg__1); -} -void PythonQtShell_QPrintPreviewDialog::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QPrintPreviewDialog::mousePressEvent(arg__1); -} -void PythonQtShell_QPrintPreviewDialog::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QPrintPreviewDialog::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QPrintPreviewDialog::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPrintPreviewDialog::moveEvent(arg__1); -} -QPaintEngine* PythonQtShell_QPrintPreviewDialog::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPrintPreviewDialog::paintEngine(); -} -void PythonQtShell_QPrintPreviewDialog::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - 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; - } -} - QPrintPreviewDialog::paintEvent(arg__1); -} -void PythonQtShell_QPrintPreviewDialog::reject() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reject"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPrintPreviewDialog::reject(); -} -void PythonQtShell_QPrintPreviewDialog::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - 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; - } -} - QPrintPreviewDialog::resizeEvent(arg__1); -} -void PythonQtShell_QPrintPreviewDialog::showEvent(QShowEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QPrintPreviewDialog::showEvent(arg__1); -} -void PythonQtShell_QPrintPreviewDialog::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QPrintPreviewDialog::tabletEvent(arg__1); -} -void PythonQtShell_QPrintPreviewDialog::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; - } -} - QPrintPreviewDialog::timerEvent(arg__1); -} -void PythonQtShell_QPrintPreviewDialog::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPrintPreviewDialog::wheelEvent(arg__1); -} -QPrintPreviewDialog* PythonQtWrapper_QPrintPreviewDialog::new_QPrintPreviewDialog(QPrinter* printer, QWidget* parent, Qt::WindowFlags flags) -{ -return new PythonQtShell_QPrintPreviewDialog(printer, parent, flags); } - -QPrintPreviewDialog* PythonQtWrapper_QPrintPreviewDialog::new_QPrintPreviewDialog(QWidget* parent, Qt::WindowFlags flags) -{ -return new PythonQtShell_QPrintPreviewDialog(parent, flags); } - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPrintPreviewDialog.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPrintPreviewDialog.h deleted file mode 100644 index 7c7b4c5..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPrintPreviewDialog.h +++ /dev/null @@ -1,98 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QPRINTPREVIEWDIALOG_H -#define PYTHONQTWRAPPER_QPRINTPREVIEWDIALOG_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QPrintPreviewDialog : public QPrintPreviewDialog -{ -public: - PythonQtShell_QPrintPreviewDialog(QPrinter* printer, QWidget* parent = 0, Qt::WindowFlags flags = 0):QPrintPreviewDialog(printer, parent, flags),_wrapper(NULL) {}; - PythonQtShell_QPrintPreviewDialog(QWidget* parent = 0, Qt::WindowFlags flags = 0):QPrintPreviewDialog(parent, flags),_wrapper(NULL) {}; - -virtual void accept(); -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual int devType() const; -virtual void done(int arg__1); -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* arg__1); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual void reject(); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void showEvent(QShowEvent* arg__1); -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QPrintPreviewDialog : public QObject -{ Q_OBJECT -public: -public slots: -QPrintPreviewDialog* new_QPrintPreviewDialog(QPrinter* printer, QWidget* parent = 0, Qt::WindowFlags flags = 0); -QPrintPreviewDialog* new_QPrintPreviewDialog(QWidget* parent = 0, Qt::WindowFlags flags = 0); -void delete_QPrintPreviewDialog(QPrintPreviewDialog* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QPRINTPREVIEWDIALOG_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPrintPreviewWidget.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPrintPreviewWidget.cpp deleted file mode 100644 index cfc059f..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPrintPreviewWidget.cpp +++ /dev/null @@ -1,866 +0,0 @@ -#include "PythonQtWrapper_QPrintPreviewWidget.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QPrintPreviewWidget::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QPrintPreviewWidget::actionEvent(arg__1); -} -void PythonQtShell_QPrintPreviewWidget::changeEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPrintPreviewWidget::changeEvent(arg__1); -} -void PythonQtShell_QPrintPreviewWidget::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; - } -} - QPrintPreviewWidget::childEvent(arg__1); -} -void PythonQtShell_QPrintPreviewWidget::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QPrintPreviewWidget::closeEvent(arg__1); -} -void PythonQtShell_QPrintPreviewWidget::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPrintPreviewWidget::contextMenuEvent(arg__1); -} -void PythonQtShell_QPrintPreviewWidget::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; - } -} - QPrintPreviewWidget::customEvent(arg__1); -} -int PythonQtShell_QPrintPreviewWidget::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPrintPreviewWidget::devType(); -} -void PythonQtShell_QPrintPreviewWidget::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QPrintPreviewWidget::dragEnterEvent(arg__1); -} -void PythonQtShell_QPrintPreviewWidget::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QPrintPreviewWidget::dragLeaveEvent(arg__1); -} -void PythonQtShell_QPrintPreviewWidget::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QPrintPreviewWidget::dragMoveEvent(arg__1); -} -void PythonQtShell_QPrintPreviewWidget::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QPrintPreviewWidget::dropEvent(arg__1); -} -void PythonQtShell_QPrintPreviewWidget::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QPrintPreviewWidget::enterEvent(arg__1); -} -bool PythonQtShell_QPrintPreviewWidget::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPrintPreviewWidget::event(arg__1); -} -bool PythonQtShell_QPrintPreviewWidget::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPrintPreviewWidget::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QPrintPreviewWidget::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QPrintPreviewWidget::focusInEvent(arg__1); -} -bool PythonQtShell_QPrintPreviewWidget::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPrintPreviewWidget::focusNextPrevChild(next); -} -void PythonQtShell_QPrintPreviewWidget::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QPrintPreviewWidget::focusOutEvent(arg__1); -} -int PythonQtShell_QPrintPreviewWidget::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPrintPreviewWidget::heightForWidth(arg__1); -} -void PythonQtShell_QPrintPreviewWidget::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QPrintPreviewWidget::hideEvent(arg__1); -} -void PythonQtShell_QPrintPreviewWidget::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QPrintPreviewWidget::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QPrintPreviewWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPrintPreviewWidget::inputMethodQuery(arg__1); -} -void PythonQtShell_QPrintPreviewWidget::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPrintPreviewWidget::keyPressEvent(arg__1); -} -void PythonQtShell_QPrintPreviewWidget::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPrintPreviewWidget::keyReleaseEvent(arg__1); -} -void PythonQtShell_QPrintPreviewWidget::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPrintPreviewWidget::languageChange(); -} -void PythonQtShell_QPrintPreviewWidget::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QPrintPreviewWidget::leaveEvent(arg__1); -} -int PythonQtShell_QPrintPreviewWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPrintPreviewWidget::metric(arg__1); -} -QSize PythonQtShell_QPrintPreviewWidget::minimumSizeHint() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPrintPreviewWidget::minimumSizeHint(); -} -void PythonQtShell_QPrintPreviewWidget::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QPrintPreviewWidget::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QPrintPreviewWidget::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QPrintPreviewWidget::mouseMoveEvent(arg__1); -} -void PythonQtShell_QPrintPreviewWidget::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QPrintPreviewWidget::mousePressEvent(arg__1); -} -void PythonQtShell_QPrintPreviewWidget::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QPrintPreviewWidget::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QPrintPreviewWidget::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPrintPreviewWidget::moveEvent(arg__1); -} -QPaintEngine* PythonQtShell_QPrintPreviewWidget::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPrintPreviewWidget::paintEngine(); -} -void PythonQtShell_QPrintPreviewWidget::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - 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; - } -} - QPrintPreviewWidget::paintEvent(arg__1); -} -void PythonQtShell_QPrintPreviewWidget::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - 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; - } -} - QPrintPreviewWidget::resizeEvent(arg__1); -} -void PythonQtShell_QPrintPreviewWidget::showEvent(QShowEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QPrintPreviewWidget::showEvent(arg__1); -} -QSize PythonQtShell_QPrintPreviewWidget::sizeHint() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getSizeHint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPrintPreviewWidget::sizeHint(); -} -void PythonQtShell_QPrintPreviewWidget::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QPrintPreviewWidget::tabletEvent(arg__1); -} -void PythonQtShell_QPrintPreviewWidget::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; - } -} - QPrintPreviewWidget::timerEvent(arg__1); -} -void PythonQtShell_QPrintPreviewWidget::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPrintPreviewWidget::wheelEvent(arg__1); -} -QPrintPreviewWidget* PythonQtWrapper_QPrintPreviewWidget::new_QPrintPreviewWidget(QPrinter* printer, QWidget* parent, Qt::WindowFlags flags) -{ -return new PythonQtShell_QPrintPreviewWidget(printer, parent, flags); } - -QPrintPreviewWidget* PythonQtWrapper_QPrintPreviewWidget::new_QPrintPreviewWidget(QWidget* parent, Qt::WindowFlags flags) -{ -return new PythonQtShell_QPrintPreviewWidget(parent, flags); } - -int PythonQtWrapper_QPrintPreviewWidget::currentPage(QPrintPreviewWidget* theWrappedObject) const -{ - return ( theWrappedObject->currentPage()); -} - -QPrintPreviewWidget::ViewMode PythonQtWrapper_QPrintPreviewWidget::viewMode(QPrintPreviewWidget* theWrappedObject) const -{ - return ( theWrappedObject->viewMode()); -} - -qreal PythonQtWrapper_QPrintPreviewWidget::zoomFactor(QPrintPreviewWidget* theWrappedObject) const -{ - return ( theWrappedObject->zoomFactor()); -} - -QPrintPreviewWidget::ZoomMode PythonQtWrapper_QPrintPreviewWidget::zoomMode(QPrintPreviewWidget* theWrappedObject) const -{ - return ( theWrappedObject->zoomMode()); -} - -int PythonQtWrapper_QPrintPreviewWidget::numPages(QPrintPreviewWidget* theWrappedObject) const -{ - return ( theWrappedObject->numPages()); -} - -void PythonQtWrapper_QPrintPreviewWidget::setVisible(QPrintPreviewWidget* theWrappedObject, bool visible) -{ - ( theWrappedObject->setVisible(visible)); -} - -QPrinter::Orientation PythonQtWrapper_QPrintPreviewWidget::orientation(QPrintPreviewWidget* theWrappedObject) const -{ - return ( theWrappedObject->orientation()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPrintPreviewWidget.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPrintPreviewWidget.h deleted file mode 100644 index 57a30cf..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPrintPreviewWidget.h +++ /dev/null @@ -1,108 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QPRINTPREVIEWWIDGET_H -#define PYTHONQTWRAPPER_QPRINTPREVIEWWIDGET_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QPrintPreviewWidget : public QPrintPreviewWidget -{ -public: - PythonQtShell_QPrintPreviewWidget(QPrinter* printer, QWidget* parent = 0, Qt::WindowFlags flags = 0):QPrintPreviewWidget(printer, parent, flags),_wrapper(NULL) {}; - PythonQtShell_QPrintPreviewWidget(QWidget* parent = 0, Qt::WindowFlags flags = 0):QPrintPreviewWidget(parent, flags),_wrapper(NULL) {}; - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* arg__1); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QPrintPreviewWidget : public QObject -{ Q_OBJECT -public: -Q_ENUMS(ZoomMode ViewMode ) -enum ZoomMode{ - CustomZoom = QPrintPreviewWidget::CustomZoom, FitToWidth = QPrintPreviewWidget::FitToWidth, FitInView = QPrintPreviewWidget::FitInView}; -enum ViewMode{ - SinglePageView = QPrintPreviewWidget::SinglePageView, FacingPagesView = QPrintPreviewWidget::FacingPagesView, AllPagesView = QPrintPreviewWidget::AllPagesView}; -public slots: -QPrintPreviewWidget* new_QPrintPreviewWidget(QPrinter* printer, QWidget* parent = 0, Qt::WindowFlags flags = 0); -QPrintPreviewWidget* new_QPrintPreviewWidget(QWidget* parent = 0, Qt::WindowFlags flags = 0); -void delete_QPrintPreviewWidget(QPrintPreviewWidget* obj) { delete obj; } - int currentPage(QPrintPreviewWidget* theWrappedObject) const; - QPrintPreviewWidget::ViewMode viewMode(QPrintPreviewWidget* theWrappedObject) const; - qreal zoomFactor(QPrintPreviewWidget* theWrappedObject) const; - QPrintPreviewWidget::ZoomMode zoomMode(QPrintPreviewWidget* theWrappedObject) const; - int numPages(QPrintPreviewWidget* theWrappedObject) const; - void setVisible(QPrintPreviewWidget* theWrappedObject, bool visible); - QPrinter::Orientation orientation(QPrintPreviewWidget* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QPRINTPREVIEWWIDGET_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPrinter.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPrinter.cpp deleted file mode 100644 index b646593..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPrinter.cpp +++ /dev/null @@ -1,407 +0,0 @@ -#include "PythonQtWrapper_QPrinter.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -int PythonQtShell_QPrinter::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPrinter::devType(); -} -int PythonQtShell_QPrinter::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPrinter::metric(arg__1); -} -QPaintEngine* PythonQtShell_QPrinter::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPrinter::paintEngine(); -} -QPrinter* PythonQtWrapper_QPrinter::new_QPrinter(QPrinter::PrinterMode mode) -{ -return new PythonQtShell_QPrinter(mode); } - -QPrinter* PythonQtWrapper_QPrinter::new_QPrinter(const QPrinterInfo& printer, QPrinter::PrinterMode mode) -{ -return new PythonQtShell_QPrinter(printer, mode); } - -int PythonQtWrapper_QPrinter::devType(QPrinter* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QPrinter*)theWrappedObject)->promoted_devType()); -} - -QPrinter::OutputFormat PythonQtWrapper_QPrinter::outputFormat(QPrinter* theWrappedObject) const -{ - return ( theWrappedObject->outputFormat()); -} - -int PythonQtWrapper_QPrinter::fromPage(QPrinter* theWrappedObject) const -{ - return ( theWrappedObject->fromPage()); -} - -QPrinter::PageSize PythonQtWrapper_QPrinter::pageSize(QPrinter* theWrappedObject) const -{ - return ( theWrappedObject->pageSize()); -} - -bool PythonQtWrapper_QPrinter::fontEmbeddingEnabled(QPrinter* theWrappedObject) const -{ - return ( theWrappedObject->fontEmbeddingEnabled()); -} - -int PythonQtWrapper_QPrinter::toPage(QPrinter* theWrappedObject) const -{ - return ( theWrappedObject->toPage()); -} - -QString PythonQtWrapper_QPrinter::creator(QPrinter* theWrappedObject) const -{ - return ( theWrappedObject->creator()); -} - -void PythonQtWrapper_QPrinter::setPrintProgram(QPrinter* theWrappedObject, const QString& arg__1) -{ - ( theWrappedObject->setPrintProgram(arg__1)); -} - -QString PythonQtWrapper_QPrinter::outputFileName(QPrinter* theWrappedObject) const -{ - return ( theWrappedObject->outputFileName()); -} - -QPrinter::PageOrder PythonQtWrapper_QPrinter::pageOrder(QPrinter* theWrappedObject) const -{ - return ( theWrappedObject->pageOrder()); -} - -QString PythonQtWrapper_QPrinter::printerName(QPrinter* theWrappedObject) const -{ - return ( theWrappedObject->printerName()); -} - -QPrinter::PageSize PythonQtWrapper_QPrinter::paperSize(QPrinter* theWrappedObject) const -{ - return ( theWrappedObject->paperSize()); -} - -QPrinter::PrinterState PythonQtWrapper_QPrinter::printerState(QPrinter* theWrappedObject) const -{ - return ( theWrappedObject->printerState()); -} - -void PythonQtWrapper_QPrinter::setPageOrder(QPrinter* theWrappedObject, QPrinter::PageOrder arg__1) -{ - ( theWrappedObject->setPageOrder(arg__1)); -} - -void PythonQtWrapper_QPrinter::setPrinterName(QPrinter* theWrappedObject, const QString& arg__1) -{ - ( theWrappedObject->setPrinterName(arg__1)); -} - -bool PythonQtWrapper_QPrinter::abort(QPrinter* theWrappedObject) -{ - return ( theWrappedObject->abort()); -} - -void PythonQtWrapper_QPrinter::setDoubleSidedPrinting(QPrinter* theWrappedObject, bool enable) -{ - ( theWrappedObject->setDoubleSidedPrinting(enable)); -} - -QSizeF PythonQtWrapper_QPrinter::paperSize(QPrinter* theWrappedObject, QPrinter::Unit unit) const -{ - return ( theWrappedObject->paperSize(unit)); -} - -void PythonQtWrapper_QPrinter::setOutputFileName(QPrinter* theWrappedObject, const QString& arg__1) -{ - ( theWrappedObject->setOutputFileName(arg__1)); -} - -bool PythonQtWrapper_QPrinter::doubleSidedPrinting(QPrinter* theWrappedObject) const -{ - return ( theWrappedObject->doubleSidedPrinting()); -} - -int PythonQtWrapper_QPrinter::numCopies(QPrinter* theWrappedObject) const -{ - return ( theWrappedObject->numCopies()); -} - -QRect PythonQtWrapper_QPrinter::paperRect(QPrinter* theWrappedObject) const -{ - return ( theWrappedObject->paperRect()); -} - -QPrinter::ColorMode PythonQtWrapper_QPrinter::colorMode(QPrinter* theWrappedObject) const -{ - return ( theWrappedObject->colorMode()); -} - -void PythonQtWrapper_QPrinter::getPageMargins(QPrinter* theWrappedObject, qreal* left, qreal* top, qreal* right, qreal* bottom, QPrinter::Unit unit) const -{ - ( theWrappedObject->getPageMargins(left, top, right, bottom, unit)); -} - -void PythonQtWrapper_QPrinter::setDocName(QPrinter* theWrappedObject, const QString& arg__1) -{ - ( theWrappedObject->setDocName(arg__1)); -} - -void PythonQtWrapper_QPrinter::setDuplex(QPrinter* theWrappedObject, QPrinter::DuplexMode duplex) -{ - ( theWrappedObject->setDuplex(duplex)); -} - -void PythonQtWrapper_QPrinter::setPageMargins(QPrinter* theWrappedObject, qreal left, qreal top, qreal right, qreal bottom, QPrinter::Unit unit) -{ - ( theWrappedObject->setPageMargins(left, top, right, bottom, unit)); -} - -void PythonQtWrapper_QPrinter::setPaperSize(QPrinter* theWrappedObject, const QSizeF& paperSize, QPrinter::Unit unit) -{ - ( theWrappedObject->setPaperSize(paperSize, unit)); -} - -QPrintEngine* PythonQtWrapper_QPrinter::printEngine(QPrinter* theWrappedObject) const -{ - return ( theWrappedObject->printEngine()); -} - -void PythonQtWrapper_QPrinter::setPaperSize(QPrinter* theWrappedObject, QPrinter::PageSize arg__1) -{ - ( theWrappedObject->setPaperSize(arg__1)); -} - -void PythonQtWrapper_QPrinter::setFontEmbeddingEnabled(QPrinter* theWrappedObject, bool enable) -{ - ( theWrappedObject->setFontEmbeddingEnabled(enable)); -} - -QString PythonQtWrapper_QPrinter::docName(QPrinter* theWrappedObject) const -{ - return ( theWrappedObject->docName()); -} - -int PythonQtWrapper_QPrinter::metric(QPrinter* theWrappedObject, QPaintDevice::PaintDeviceMetric arg__1) const -{ - return ( ((PythonQtPublicPromoter_QPrinter*)theWrappedObject)->promoted_metric(arg__1)); -} - -void PythonQtWrapper_QPrinter::setFromTo(QPrinter* theWrappedObject, int fromPage, int toPage) -{ - ( theWrappedObject->setFromTo(fromPage, toPage)); -} - -void PythonQtWrapper_QPrinter::setOrientation(QPrinter* theWrappedObject, QPrinter::Orientation arg__1) -{ - ( theWrappedObject->setOrientation(arg__1)); -} - -void PythonQtWrapper_QPrinter::setNumCopies(QPrinter* theWrappedObject, int arg__1) -{ - ( theWrappedObject->setNumCopies(arg__1)); -} - -void PythonQtWrapper_QPrinter::setPaperSource(QPrinter* theWrappedObject, QPrinter::PaperSource arg__1) -{ - ( theWrappedObject->setPaperSource(arg__1)); -} - -QPrinter::Orientation PythonQtWrapper_QPrinter::orientation(QPrinter* theWrappedObject) const -{ - return ( theWrappedObject->orientation()); -} - -void PythonQtWrapper_QPrinter::setPrintRange(QPrinter* theWrappedObject, QPrinter::PrintRange range) -{ - ( theWrappedObject->setPrintRange(range)); -} - -void PythonQtWrapper_QPrinter::setFullPage(QPrinter* theWrappedObject, bool arg__1) -{ - ( theWrappedObject->setFullPage(arg__1)); -} - -QList PythonQtWrapper_QPrinter::supportedResolutions(QPrinter* theWrappedObject) const -{ - return ( theWrappedObject->supportedResolutions()); -} - -QRectF PythonQtWrapper_QPrinter::pageRect(QPrinter* theWrappedObject, QPrinter::Unit arg__1) const -{ - return ( theWrappedObject->pageRect(arg__1)); -} - -bool PythonQtWrapper_QPrinter::fullPage(QPrinter* theWrappedObject) const -{ - return ( theWrappedObject->fullPage()); -} - -QRectF PythonQtWrapper_QPrinter::paperRect(QPrinter* theWrappedObject, QPrinter::Unit arg__1) const -{ - return ( theWrappedObject->paperRect(arg__1)); -} - -QPrinter::PaperSource PythonQtWrapper_QPrinter::paperSource(QPrinter* theWrappedObject) const -{ - return ( theWrappedObject->paperSource()); -} - -void PythonQtWrapper_QPrinter::setCollateCopies(QPrinter* theWrappedObject, bool collate) -{ - ( theWrappedObject->setCollateCopies(collate)); -} - -void PythonQtWrapper_QPrinter::setPageSize(QPrinter* theWrappedObject, QPrinter::PageSize arg__1) -{ - ( theWrappedObject->setPageSize(arg__1)); -} - -bool PythonQtWrapper_QPrinter::collateCopies(QPrinter* theWrappedObject) const -{ - return ( theWrappedObject->collateCopies()); -} - -bool PythonQtWrapper_QPrinter::newPage(QPrinter* theWrappedObject) -{ - return ( theWrappedObject->newPage()); -} - -QPrinter::DuplexMode PythonQtWrapper_QPrinter::duplex(QPrinter* theWrappedObject) const -{ - return ( theWrappedObject->duplex()); -} - -void PythonQtWrapper_QPrinter::setColorMode(QPrinter* theWrappedObject, QPrinter::ColorMode arg__1) -{ - ( theWrappedObject->setColorMode(arg__1)); -} - -QPaintEngine* PythonQtWrapper_QPrinter::paintEngine(QPrinter* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QPrinter*)theWrappedObject)->promoted_paintEngine()); -} - -int PythonQtWrapper_QPrinter::resolution(QPrinter* theWrappedObject) const -{ - return ( theWrappedObject->resolution()); -} - -bool PythonQtWrapper_QPrinter::isValid(QPrinter* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -void PythonQtWrapper_QPrinter::setCreator(QPrinter* theWrappedObject, const QString& arg__1) -{ - ( theWrappedObject->setCreator(arg__1)); -} - -void PythonQtWrapper_QPrinter::setResolution(QPrinter* theWrappedObject, int arg__1) -{ - ( theWrappedObject->setResolution(arg__1)); -} - -QString PythonQtWrapper_QPrinter::printProgram(QPrinter* theWrappedObject) const -{ - return ( theWrappedObject->printProgram()); -} - -void PythonQtWrapper_QPrinter::setOutputFormat(QPrinter* theWrappedObject, QPrinter::OutputFormat format) -{ - ( theWrappedObject->setOutputFormat(format)); -} - -QRect PythonQtWrapper_QPrinter::pageRect(QPrinter* theWrappedObject) const -{ - return ( theWrappedObject->pageRect()); -} - -QPrinter::PrintRange PythonQtWrapper_QPrinter::printRange(QPrinter* theWrappedObject) const -{ - return ( theWrappedObject->printRange()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPrinter.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPrinter.h deleted file mode 100644 index 56facd8..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPrinter.h +++ /dev/null @@ -1,131 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QPRINTER_H -#define PYTHONQTWRAPPER_QPRINTER_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QPrinter : public QPrinter -{ -public: - PythonQtShell_QPrinter(QPrinter::PrinterMode mode = QPrinter::ScreenResolution):QPrinter(mode),_wrapper(NULL) {}; - PythonQtShell_QPrinter(const QPrinterInfo& printer, QPrinter::PrinterMode mode = QPrinter::ScreenResolution):QPrinter(printer, mode),_wrapper(NULL) {}; - -virtual int devType() const; -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QPaintEngine* paintEngine() const; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QPrinter : public QPrinter -{ public: -inline int promoted_devType() const { return QPrinter::devType(); } -inline int promoted_metric(QPaintDevice::PaintDeviceMetric arg__1) const { return QPrinter::metric(arg__1); } -inline QPaintEngine* promoted_paintEngine() const { return QPrinter::paintEngine(); } -}; - -class PythonQtWrapper_QPrinter : public QObject -{ Q_OBJECT -public: -Q_ENUMS(OutputFormat DuplexMode PrintRange Unit PrinterMode Orientation PrinterState ColorMode PaperSource PageOrder PageSize ) -enum OutputFormat{ - NativeFormat = QPrinter::NativeFormat, PdfFormat = QPrinter::PdfFormat, PostScriptFormat = QPrinter::PostScriptFormat}; -enum DuplexMode{ - DuplexNone = QPrinter::DuplexNone, DuplexAuto = QPrinter::DuplexAuto, DuplexLongSide = QPrinter::DuplexLongSide, DuplexShortSide = QPrinter::DuplexShortSide}; -enum PrintRange{ - AllPages = QPrinter::AllPages, Selection = QPrinter::Selection, PageRange = QPrinter::PageRange}; -enum Unit{ - Millimeter = QPrinter::Millimeter, Point = QPrinter::Point, Inch = QPrinter::Inch, Pica = QPrinter::Pica, Didot = QPrinter::Didot, Cicero = QPrinter::Cicero, DevicePixel = QPrinter::DevicePixel}; -enum PrinterMode{ - ScreenResolution = QPrinter::ScreenResolution, PrinterResolution = QPrinter::PrinterResolution, HighResolution = QPrinter::HighResolution}; -enum Orientation{ - Portrait = QPrinter::Portrait, Landscape = QPrinter::Landscape}; -enum PrinterState{ - Idle = QPrinter::Idle, Active = QPrinter::Active, Aborted = QPrinter::Aborted, Error = QPrinter::Error}; -enum ColorMode{ - GrayScale = QPrinter::GrayScale, Color = QPrinter::Color}; -enum PaperSource{ - OnlyOne = QPrinter::OnlyOne, Lower = QPrinter::Lower, Middle = QPrinter::Middle, Manual = QPrinter::Manual, Envelope = QPrinter::Envelope, EnvelopeManual = QPrinter::EnvelopeManual, Auto = QPrinter::Auto, Tractor = QPrinter::Tractor, SmallFormat = QPrinter::SmallFormat, LargeFormat = QPrinter::LargeFormat, LargeCapacity = QPrinter::LargeCapacity, Cassette = QPrinter::Cassette, FormSource = QPrinter::FormSource, MaxPageSource = QPrinter::MaxPageSource}; -enum PageOrder{ - FirstPageFirst = QPrinter::FirstPageFirst, LastPageFirst = QPrinter::LastPageFirst}; -enum PageSize{ - A4 = QPrinter::A4, B5 = QPrinter::B5, Letter = QPrinter::Letter, Legal = QPrinter::Legal, Executive = QPrinter::Executive, A0 = QPrinter::A0, A1 = QPrinter::A1, A2 = QPrinter::A2, A3 = QPrinter::A3, A5 = QPrinter::A5, A6 = QPrinter::A6, A7 = QPrinter::A7, A8 = QPrinter::A8, A9 = QPrinter::A9, B0 = QPrinter::B0, B1 = QPrinter::B1, B10 = QPrinter::B10, B2 = QPrinter::B2, B3 = QPrinter::B3, B4 = QPrinter::B4, B6 = QPrinter::B6, B7 = QPrinter::B7, B8 = QPrinter::B8, B9 = QPrinter::B9, C5E = QPrinter::C5E, Comm10E = QPrinter::Comm10E, DLE = QPrinter::DLE, Folio = QPrinter::Folio, Ledger = QPrinter::Ledger, Tabloid = QPrinter::Tabloid, Custom = QPrinter::Custom, NPageSize = QPrinter::NPageSize, NPaperSize = QPrinter::NPaperSize}; -public slots: -QPrinter* new_QPrinter(QPrinter::PrinterMode mode = QPrinter::ScreenResolution); -QPrinter* new_QPrinter(const QPrinterInfo& printer, QPrinter::PrinterMode mode = QPrinter::ScreenResolution); -void delete_QPrinter(QPrinter* obj) { delete obj; } - int devType(QPrinter* theWrappedObject) const; - QPrinter::OutputFormat outputFormat(QPrinter* theWrappedObject) const; - int fromPage(QPrinter* theWrappedObject) const; - QPrinter::PageSize pageSize(QPrinter* theWrappedObject) const; - bool fontEmbeddingEnabled(QPrinter* theWrappedObject) const; - int toPage(QPrinter* theWrappedObject) const; - QString creator(QPrinter* theWrappedObject) const; - void setPrintProgram(QPrinter* theWrappedObject, const QString& arg__1); - QString outputFileName(QPrinter* theWrappedObject) const; - QPrinter::PageOrder pageOrder(QPrinter* theWrappedObject) const; - QString printerName(QPrinter* theWrappedObject) const; - QPrinter::PageSize paperSize(QPrinter* theWrappedObject) const; - QPrinter::PrinterState printerState(QPrinter* theWrappedObject) const; - void setPageOrder(QPrinter* theWrappedObject, QPrinter::PageOrder arg__1); - void setPrinterName(QPrinter* theWrappedObject, const QString& arg__1); - bool abort(QPrinter* theWrappedObject); - void setDoubleSidedPrinting(QPrinter* theWrappedObject, bool enable); - QSizeF paperSize(QPrinter* theWrappedObject, QPrinter::Unit unit) const; - void setOutputFileName(QPrinter* theWrappedObject, const QString& arg__1); - bool doubleSidedPrinting(QPrinter* theWrappedObject) const; - int numCopies(QPrinter* theWrappedObject) const; - QRect paperRect(QPrinter* theWrappedObject) const; - QPrinter::ColorMode colorMode(QPrinter* theWrappedObject) const; - void getPageMargins(QPrinter* theWrappedObject, qreal* left, qreal* top, qreal* right, qreal* bottom, QPrinter::Unit unit) const; - void setDocName(QPrinter* theWrappedObject, const QString& arg__1); - void setDuplex(QPrinter* theWrappedObject, QPrinter::DuplexMode duplex); - void setPageMargins(QPrinter* theWrappedObject, qreal left, qreal top, qreal right, qreal bottom, QPrinter::Unit unit); - void setPaperSize(QPrinter* theWrappedObject, const QSizeF& paperSize, QPrinter::Unit unit); - QPrintEngine* printEngine(QPrinter* theWrappedObject) const; - void setPaperSize(QPrinter* theWrappedObject, QPrinter::PageSize arg__1); - void setFontEmbeddingEnabled(QPrinter* theWrappedObject, bool enable); - QString docName(QPrinter* theWrappedObject) const; - int metric(QPrinter* theWrappedObject, QPaintDevice::PaintDeviceMetric arg__1) const; - void setFromTo(QPrinter* theWrappedObject, int fromPage, int toPage); - void setOrientation(QPrinter* theWrappedObject, QPrinter::Orientation arg__1); - void setNumCopies(QPrinter* theWrappedObject, int arg__1); - void setPaperSource(QPrinter* theWrappedObject, QPrinter::PaperSource arg__1); - QPrinter::Orientation orientation(QPrinter* theWrappedObject) const; - void setPrintRange(QPrinter* theWrappedObject, QPrinter::PrintRange range); - void setFullPage(QPrinter* theWrappedObject, bool arg__1); - QList supportedResolutions(QPrinter* theWrappedObject) const; - QRectF pageRect(QPrinter* theWrappedObject, QPrinter::Unit arg__1) const; - bool fullPage(QPrinter* theWrappedObject) const; - QRectF paperRect(QPrinter* theWrappedObject, QPrinter::Unit arg__1) const; - QPrinter::PaperSource paperSource(QPrinter* theWrappedObject) const; - void setCollateCopies(QPrinter* theWrappedObject, bool collate); - void setPageSize(QPrinter* theWrappedObject, QPrinter::PageSize arg__1); - bool collateCopies(QPrinter* theWrappedObject) const; - bool newPage(QPrinter* theWrappedObject); - QPrinter::DuplexMode duplex(QPrinter* theWrappedObject) const; - void setColorMode(QPrinter* theWrappedObject, QPrinter::ColorMode arg__1); - QPaintEngine* paintEngine(QPrinter* theWrappedObject) const; - int resolution(QPrinter* theWrappedObject) const; - bool isValid(QPrinter* theWrappedObject) const; - void setCreator(QPrinter* theWrappedObject, const QString& arg__1); - void setResolution(QPrinter* theWrappedObject, int arg__1); - QString printProgram(QPrinter* theWrappedObject) const; - void setOutputFormat(QPrinter* theWrappedObject, QPrinter::OutputFormat format); - QRect pageRect(QPrinter* theWrappedObject) const; - QPrinter::PrintRange printRange(QPrinter* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QPRINTER_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QProgressBar.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QProgressBar.cpp deleted file mode 100644 index ff75727..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QProgressBar.cpp +++ /dev/null @@ -1,895 +0,0 @@ -#include "PythonQtWrapper_QProgressBar.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QProgressBar::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QProgressBar::actionEvent(arg__1); -} -void PythonQtShell_QProgressBar::changeEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QProgressBar::changeEvent(arg__1); -} -void PythonQtShell_QProgressBar::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; - } -} - QProgressBar::childEvent(arg__1); -} -void PythonQtShell_QProgressBar::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QProgressBar::closeEvent(arg__1); -} -void PythonQtShell_QProgressBar::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QProgressBar::contextMenuEvent(arg__1); -} -void PythonQtShell_QProgressBar::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; - } -} - QProgressBar::customEvent(arg__1); -} -int PythonQtShell_QProgressBar::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QProgressBar::devType(); -} -void PythonQtShell_QProgressBar::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QProgressBar::dragEnterEvent(arg__1); -} -void PythonQtShell_QProgressBar::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QProgressBar::dragLeaveEvent(arg__1); -} -void PythonQtShell_QProgressBar::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QProgressBar::dragMoveEvent(arg__1); -} -void PythonQtShell_QProgressBar::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QProgressBar::dropEvent(arg__1); -} -void PythonQtShell_QProgressBar::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QProgressBar::enterEvent(arg__1); -} -bool PythonQtShell_QProgressBar::event(QEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QProgressBar::event(e); -} -bool PythonQtShell_QProgressBar::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QProgressBar::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QProgressBar::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QProgressBar::focusInEvent(arg__1); -} -bool PythonQtShell_QProgressBar::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QProgressBar::focusNextPrevChild(next); -} -void PythonQtShell_QProgressBar::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QProgressBar::focusOutEvent(arg__1); -} -int PythonQtShell_QProgressBar::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QProgressBar::heightForWidth(arg__1); -} -void PythonQtShell_QProgressBar::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QProgressBar::hideEvent(arg__1); -} -void PythonQtShell_QProgressBar::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QProgressBar::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QProgressBar::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QProgressBar::inputMethodQuery(arg__1); -} -void PythonQtShell_QProgressBar::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QProgressBar::keyPressEvent(arg__1); -} -void PythonQtShell_QProgressBar::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QProgressBar::keyReleaseEvent(arg__1); -} -void PythonQtShell_QProgressBar::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QProgressBar::languageChange(); -} -void PythonQtShell_QProgressBar::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QProgressBar::leaveEvent(arg__1); -} -int PythonQtShell_QProgressBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QProgressBar::metric(arg__1); -} -void PythonQtShell_QProgressBar::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QProgressBar::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QProgressBar::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QProgressBar::mouseMoveEvent(arg__1); -} -void PythonQtShell_QProgressBar::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QProgressBar::mousePressEvent(arg__1); -} -void PythonQtShell_QProgressBar::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QProgressBar::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QProgressBar::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QProgressBar::moveEvent(arg__1); -} -QPaintEngine* PythonQtShell_QProgressBar::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QProgressBar::paintEngine(); -} -void PythonQtShell_QProgressBar::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - 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; - } -} - QProgressBar::paintEvent(arg__1); -} -void PythonQtShell_QProgressBar::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - 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; - } -} - QProgressBar::resizeEvent(arg__1); -} -void PythonQtShell_QProgressBar::showEvent(QShowEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QProgressBar::showEvent(arg__1); -} -void PythonQtShell_QProgressBar::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QProgressBar::tabletEvent(arg__1); -} -QString PythonQtShell_QProgressBar::text() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "text"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QString"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QString returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("text", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QProgressBar::text(); -} -void PythonQtShell_QProgressBar::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; - } -} - QProgressBar::timerEvent(arg__1); -} -void PythonQtShell_QProgressBar::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QProgressBar::wheelEvent(arg__1); -} -QProgressBar* PythonQtWrapper_QProgressBar::new_QProgressBar(QWidget* parent) -{ -return new PythonQtShell_QProgressBar(parent); } - -void PythonQtWrapper_QProgressBar::setAlignment(QProgressBar* theWrappedObject, Qt::Alignment alignment) -{ - ( theWrappedObject->setAlignment(alignment)); -} - -int PythonQtWrapper_QProgressBar::value(QProgressBar* theWrappedObject) const -{ - return ( theWrappedObject->value()); -} - -int PythonQtWrapper_QProgressBar::minimum(QProgressBar* theWrappedObject) const -{ - return ( theWrappedObject->minimum()); -} - -Qt::Alignment PythonQtWrapper_QProgressBar::alignment(QProgressBar* theWrappedObject) const -{ - return ( theWrappedObject->alignment()); -} - -QString PythonQtWrapper_QProgressBar::format(QProgressBar* theWrappedObject) const -{ - return ( theWrappedObject->format()); -} - -bool PythonQtWrapper_QProgressBar::invertedAppearance(QProgressBar* theWrappedObject) -{ - return ( theWrappedObject->invertedAppearance()); -} - -QProgressBar::Direction PythonQtWrapper_QProgressBar::textDirection(QProgressBar* theWrappedObject) -{ - return ( theWrappedObject->textDirection()); -} - -void PythonQtWrapper_QProgressBar::setFormat(QProgressBar* theWrappedObject, const QString& format) -{ - ( theWrappedObject->setFormat(format)); -} - -QSize PythonQtWrapper_QProgressBar::minimumSizeHint(QProgressBar* theWrappedObject) const -{ - return ( theWrappedObject->minimumSizeHint()); -} - -void PythonQtWrapper_QProgressBar::paintEvent(QProgressBar* theWrappedObject, QPaintEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QProgressBar*)theWrappedObject)->promoted_paintEvent(arg__1)); -} - -QSize PythonQtWrapper_QProgressBar::sizeHint(QProgressBar* theWrappedObject) const -{ - return ( theWrappedObject->sizeHint()); -} - -Qt::Orientation PythonQtWrapper_QProgressBar::orientation(QProgressBar* theWrappedObject) const -{ - return ( theWrappedObject->orientation()); -} - -void PythonQtWrapper_QProgressBar::setInvertedAppearance(QProgressBar* theWrappedObject, bool invert) -{ - ( theWrappedObject->setInvertedAppearance(invert)); -} - -int PythonQtWrapper_QProgressBar::maximum(QProgressBar* theWrappedObject) const -{ - return ( theWrappedObject->maximum()); -} - -void PythonQtWrapper_QProgressBar::setTextDirection(QProgressBar* theWrappedObject, QProgressBar::Direction textDirection) -{ - ( theWrappedObject->setTextDirection(textDirection)); -} - -void PythonQtWrapper_QProgressBar::setTextVisible(QProgressBar* theWrappedObject, bool visible) -{ - ( theWrappedObject->setTextVisible(visible)); -} - -QString PythonQtWrapper_QProgressBar::text(QProgressBar* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QProgressBar*)theWrappedObject)->promoted_text()); -} - -bool PythonQtWrapper_QProgressBar::isTextVisible(QProgressBar* theWrappedObject) const -{ - return ( theWrappedObject->isTextVisible()); -} - -bool PythonQtWrapper_QProgressBar::event(QProgressBar* theWrappedObject, QEvent* e) -{ - return ( ((PythonQtPublicPromoter_QProgressBar*)theWrappedObject)->promoted_event(e)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QProgressBar.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QProgressBar.h deleted file mode 100644 index 38f5f86..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QProgressBar.h +++ /dev/null @@ -1,120 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QPROGRESSBAR_H -#define PYTHONQTWRAPPER_QPROGRESSBAR_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QProgressBar : public QProgressBar -{ -public: - PythonQtShell_QProgressBar(QWidget* parent = 0):QProgressBar(parent),_wrapper(NULL) {}; - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* arg__1); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void showEvent(QShowEvent* arg__1); -virtual void tabletEvent(QTabletEvent* arg__1); -virtual QString text() const; -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QProgressBar : public QProgressBar -{ public: -inline void promoted_paintEvent(QPaintEvent* arg__1) { QProgressBar::paintEvent(arg__1); } -inline QString promoted_text() const { return QProgressBar::text(); } -inline bool promoted_event(QEvent* e) { return QProgressBar::event(e); } -}; - -class PythonQtWrapper_QProgressBar : public QObject -{ Q_OBJECT -public: -public slots: -QProgressBar* new_QProgressBar(QWidget* parent = 0); -void delete_QProgressBar(QProgressBar* obj) { delete obj; } - void setAlignment(QProgressBar* theWrappedObject, Qt::Alignment alignment); - int value(QProgressBar* theWrappedObject) const; - int minimum(QProgressBar* theWrappedObject) const; - Qt::Alignment alignment(QProgressBar* theWrappedObject) const; - QString format(QProgressBar* theWrappedObject) const; - bool invertedAppearance(QProgressBar* theWrappedObject); - QProgressBar::Direction textDirection(QProgressBar* theWrappedObject); - void setFormat(QProgressBar* theWrappedObject, const QString& format); - QSize minimumSizeHint(QProgressBar* theWrappedObject) const; - void paintEvent(QProgressBar* theWrappedObject, QPaintEvent* arg__1); - QSize sizeHint(QProgressBar* theWrappedObject) const; - Qt::Orientation orientation(QProgressBar* theWrappedObject) const; - void setInvertedAppearance(QProgressBar* theWrappedObject, bool invert); - int maximum(QProgressBar* theWrappedObject) const; - void setTextDirection(QProgressBar* theWrappedObject, QProgressBar::Direction textDirection); - void setTextVisible(QProgressBar* theWrappedObject, bool visible); - QString text(QProgressBar* theWrappedObject) const; - bool isTextVisible(QProgressBar* theWrappedObject) const; - bool event(QProgressBar* theWrappedObject, QEvent* e); -}; - -#endif // PYTHONQTWRAPPER_QPROGRESSBAR_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QProgressDialog.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QProgressDialog.cpp deleted file mode 100644 index 4f789e3..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QProgressDialog.cpp +++ /dev/null @@ -1,919 +0,0 @@ -#include "PythonQtWrapper_QProgressDialog.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QProgressDialog::accept() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "accept"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QProgressDialog::accept(); -} -void PythonQtShell_QProgressDialog::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QProgressDialog::actionEvent(arg__1); -} -void PythonQtShell_QProgressDialog::changeEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QProgressDialog::changeEvent(arg__1); -} -void PythonQtShell_QProgressDialog::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; - } -} - QProgressDialog::childEvent(arg__1); -} -void PythonQtShell_QProgressDialog::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QProgressDialog::closeEvent(arg__1); -} -void PythonQtShell_QProgressDialog::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QProgressDialog::contextMenuEvent(arg__1); -} -void PythonQtShell_QProgressDialog::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; - } -} - QProgressDialog::customEvent(arg__1); -} -int PythonQtShell_QProgressDialog::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QProgressDialog::devType(); -} -void PythonQtShell_QProgressDialog::done(int arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "done"); - 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; - } -} - QProgressDialog::done(arg__1); -} -void PythonQtShell_QProgressDialog::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QProgressDialog::dragEnterEvent(arg__1); -} -void PythonQtShell_QProgressDialog::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QProgressDialog::dragLeaveEvent(arg__1); -} -void PythonQtShell_QProgressDialog::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QProgressDialog::dragMoveEvent(arg__1); -} -void PythonQtShell_QProgressDialog::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QProgressDialog::dropEvent(arg__1); -} -void PythonQtShell_QProgressDialog::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QProgressDialog::enterEvent(arg__1); -} -bool PythonQtShell_QProgressDialog::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QProgressDialog::event(arg__1); -} -bool PythonQtShell_QProgressDialog::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QProgressDialog::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QProgressDialog::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QProgressDialog::focusInEvent(arg__1); -} -bool PythonQtShell_QProgressDialog::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QProgressDialog::focusNextPrevChild(next); -} -void PythonQtShell_QProgressDialog::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QProgressDialog::focusOutEvent(arg__1); -} -int PythonQtShell_QProgressDialog::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QProgressDialog::heightForWidth(arg__1); -} -void PythonQtShell_QProgressDialog::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QProgressDialog::hideEvent(arg__1); -} -void PythonQtShell_QProgressDialog::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QProgressDialog::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QProgressDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QProgressDialog::inputMethodQuery(arg__1); -} -void PythonQtShell_QProgressDialog::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QProgressDialog::keyPressEvent(arg__1); -} -void PythonQtShell_QProgressDialog::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QProgressDialog::keyReleaseEvent(arg__1); -} -void PythonQtShell_QProgressDialog::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QProgressDialog::languageChange(); -} -void PythonQtShell_QProgressDialog::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QProgressDialog::leaveEvent(arg__1); -} -int PythonQtShell_QProgressDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QProgressDialog::metric(arg__1); -} -void PythonQtShell_QProgressDialog::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QProgressDialog::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QProgressDialog::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QProgressDialog::mouseMoveEvent(arg__1); -} -void PythonQtShell_QProgressDialog::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QProgressDialog::mousePressEvent(arg__1); -} -void PythonQtShell_QProgressDialog::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QProgressDialog::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QProgressDialog::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QProgressDialog::moveEvent(arg__1); -} -QPaintEngine* PythonQtShell_QProgressDialog::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QProgressDialog::paintEngine(); -} -void PythonQtShell_QProgressDialog::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - 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; - } -} - QProgressDialog::paintEvent(arg__1); -} -void PythonQtShell_QProgressDialog::reject() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reject"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QProgressDialog::reject(); -} -void PythonQtShell_QProgressDialog::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - 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; - } -} - QProgressDialog::resizeEvent(arg__1); -} -void PythonQtShell_QProgressDialog::showEvent(QShowEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QProgressDialog::showEvent(e); -} -void PythonQtShell_QProgressDialog::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QProgressDialog::tabletEvent(arg__1); -} -void PythonQtShell_QProgressDialog::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; - } -} - QProgressDialog::timerEvent(arg__1); -} -void PythonQtShell_QProgressDialog::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QProgressDialog::wheelEvent(arg__1); -} -QProgressDialog* PythonQtWrapper_QProgressDialog::new_QProgressDialog(QWidget* parent, Qt::WindowFlags f) -{ -return new PythonQtShell_QProgressDialog(parent, f); } - -QProgressDialog* PythonQtWrapper_QProgressDialog::new_QProgressDialog(const QString& labelText, const QString& cancelButtonText, int minimum, int maximum, QWidget* parent, Qt::WindowFlags f) -{ -return new PythonQtShell_QProgressDialog(labelText, cancelButtonText, minimum, maximum, parent, f); } - -bool PythonQtWrapper_QProgressDialog::wasCanceled(QProgressDialog* theWrappedObject) const -{ - return ( theWrappedObject->wasCanceled()); -} - -void PythonQtWrapper_QProgressDialog::setBar(QProgressDialog* theWrappedObject, QProgressBar* bar) -{ - ( theWrappedObject->setBar(bar)); -} - -int PythonQtWrapper_QProgressDialog::value(QProgressDialog* theWrappedObject) const -{ - return ( theWrappedObject->value()); -} - -bool PythonQtWrapper_QProgressDialog::autoClose(QProgressDialog* theWrappedObject) const -{ - return ( theWrappedObject->autoClose()); -} - -int PythonQtWrapper_QProgressDialog::minimumDuration(QProgressDialog* theWrappedObject) const -{ - return ( theWrappedObject->minimumDuration()); -} - -void PythonQtWrapper_QProgressDialog::setAutoReset(QProgressDialog* theWrappedObject, bool b) -{ - ( theWrappedObject->setAutoReset(b)); -} - -void PythonQtWrapper_QProgressDialog::setAutoClose(QProgressDialog* theWrappedObject, bool b) -{ - ( theWrappedObject->setAutoClose(b)); -} - -QString PythonQtWrapper_QProgressDialog::labelText(QProgressDialog* theWrappedObject) const -{ - return ( theWrappedObject->labelText()); -} - -void PythonQtWrapper_QProgressDialog::changeEvent(QProgressDialog* theWrappedObject, QEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QProgressDialog*)theWrappedObject)->promoted_changeEvent(arg__1)); -} - -void PythonQtWrapper_QProgressDialog::resizeEvent(QProgressDialog* theWrappedObject, QResizeEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QProgressDialog*)theWrappedObject)->promoted_resizeEvent(arg__1)); -} - -int PythonQtWrapper_QProgressDialog::minimum(QProgressDialog* theWrappedObject) const -{ - return ( theWrappedObject->minimum()); -} - -void PythonQtWrapper_QProgressDialog::setLabel(QProgressDialog* theWrappedObject, QLabel* label) -{ - ( theWrappedObject->setLabel(label)); -} - -QSize PythonQtWrapper_QProgressDialog::sizeHint(QProgressDialog* theWrappedObject) const -{ - return ( theWrappedObject->sizeHint()); -} - -bool PythonQtWrapper_QProgressDialog::autoReset(QProgressDialog* theWrappedObject) const -{ - return ( theWrappedObject->autoReset()); -} - -void PythonQtWrapper_QProgressDialog::showEvent(QProgressDialog* theWrappedObject, QShowEvent* e) -{ - ( ((PythonQtPublicPromoter_QProgressDialog*)theWrappedObject)->promoted_showEvent(e)); -} - -int PythonQtWrapper_QProgressDialog::maximum(QProgressDialog* theWrappedObject) const -{ - return ( theWrappedObject->maximum()); -} - -void PythonQtWrapper_QProgressDialog::setCancelButton(QProgressDialog* theWrappedObject, QPushButton* button) -{ - ( theWrappedObject->setCancelButton(button)); -} - -void PythonQtWrapper_QProgressDialog::closeEvent(QProgressDialog* theWrappedObject, QCloseEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QProgressDialog*)theWrappedObject)->promoted_closeEvent(arg__1)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QProgressDialog.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QProgressDialog.h deleted file mode 100644 index 9f6768a..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QProgressDialog.h +++ /dev/null @@ -1,126 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QPROGRESSDIALOG_H -#define PYTHONQTWRAPPER_QPROGRESSDIALOG_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QProgressDialog : public QProgressDialog -{ -public: - PythonQtShell_QProgressDialog(QWidget* parent = 0, Qt::WindowFlags f = 0):QProgressDialog(parent, f),_wrapper(NULL) {}; - PythonQtShell_QProgressDialog(const QString& labelText, const QString& cancelButtonText, int minimum, int maximum, QWidget* parent = 0, Qt::WindowFlags f = 0):QProgressDialog(labelText, cancelButtonText, minimum, maximum, parent, f),_wrapper(NULL) {}; - -virtual void accept(); -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual int devType() const; -virtual void done(int arg__1); -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* arg__1); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual void reject(); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void showEvent(QShowEvent* e); -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QProgressDialog : public QProgressDialog -{ public: -inline void promoted_changeEvent(QEvent* arg__1) { QProgressDialog::changeEvent(arg__1); } -inline void promoted_resizeEvent(QResizeEvent* arg__1) { QProgressDialog::resizeEvent(arg__1); } -inline void promoted_showEvent(QShowEvent* e) { QProgressDialog::showEvent(e); } -inline void promoted_closeEvent(QCloseEvent* arg__1) { QProgressDialog::closeEvent(arg__1); } -}; - -class PythonQtWrapper_QProgressDialog : public QObject -{ Q_OBJECT -public: -public slots: -QProgressDialog* new_QProgressDialog(QWidget* parent = 0, Qt::WindowFlags f = 0); -QProgressDialog* new_QProgressDialog(const QString& labelText, const QString& cancelButtonText, int minimum, int maximum, QWidget* parent = 0, Qt::WindowFlags f = 0); -void delete_QProgressDialog(QProgressDialog* obj) { delete obj; } - bool wasCanceled(QProgressDialog* theWrappedObject) const; - void setBar(QProgressDialog* theWrappedObject, QProgressBar* bar); - int value(QProgressDialog* theWrappedObject) const; - bool autoClose(QProgressDialog* theWrappedObject) const; - int minimumDuration(QProgressDialog* theWrappedObject) const; - void setAutoReset(QProgressDialog* theWrappedObject, bool b); - void setAutoClose(QProgressDialog* theWrappedObject, bool b); - QString labelText(QProgressDialog* theWrappedObject) const; - void changeEvent(QProgressDialog* theWrappedObject, QEvent* arg__1); - void resizeEvent(QProgressDialog* theWrappedObject, QResizeEvent* arg__1); - int minimum(QProgressDialog* theWrappedObject) const; - void setLabel(QProgressDialog* theWrappedObject, QLabel* label); - QSize sizeHint(QProgressDialog* theWrappedObject) const; - bool autoReset(QProgressDialog* theWrappedObject) const; - void showEvent(QProgressDialog* theWrappedObject, QShowEvent* e); - int maximum(QProgressDialog* theWrappedObject) const; - void setCancelButton(QProgressDialog* theWrappedObject, QPushButton* button); - void closeEvent(QProgressDialog* theWrappedObject, QCloseEvent* arg__1); -}; - -#endif // PYTHONQTWRAPPER_QPROGRESSDIALOG_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPushButton.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPushButton.cpp deleted file mode 100644 index 8419315..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPushButton.cpp +++ /dev/null @@ -1,919 +0,0 @@ -#include "PythonQtWrapper_QPushButton.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QPushButton::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QPushButton::actionEvent(arg__1); -} -void PythonQtShell_QPushButton::changeEvent(QEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPushButton::changeEvent(e); -} -void PythonQtShell_QPushButton::checkStateSet() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "checkStateSet"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPushButton::checkStateSet(); -} -void PythonQtShell_QPushButton::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; - } -} - QPushButton::childEvent(arg__1); -} -void PythonQtShell_QPushButton::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QPushButton::closeEvent(arg__1); -} -void PythonQtShell_QPushButton::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPushButton::contextMenuEvent(arg__1); -} -void PythonQtShell_QPushButton::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; - } -} - QPushButton::customEvent(arg__1); -} -int PythonQtShell_QPushButton::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPushButton::devType(); -} -void PythonQtShell_QPushButton::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QPushButton::dragEnterEvent(arg__1); -} -void PythonQtShell_QPushButton::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QPushButton::dragLeaveEvent(arg__1); -} -void PythonQtShell_QPushButton::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QPushButton::dragMoveEvent(arg__1); -} -void PythonQtShell_QPushButton::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QPushButton::dropEvent(arg__1); -} -void PythonQtShell_QPushButton::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QPushButton::enterEvent(arg__1); -} -bool PythonQtShell_QPushButton::event(QEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPushButton::event(e); -} -bool PythonQtShell_QPushButton::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPushButton::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QPushButton::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QPushButton::focusInEvent(arg__1); -} -bool PythonQtShell_QPushButton::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPushButton::focusNextPrevChild(next); -} -void PythonQtShell_QPushButton::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QPushButton::focusOutEvent(arg__1); -} -int PythonQtShell_QPushButton::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPushButton::heightForWidth(arg__1); -} -void PythonQtShell_QPushButton::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QPushButton::hideEvent(arg__1); -} -bool PythonQtShell_QPushButton::hitButton(const QPoint& pos) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hitButton"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QPoint&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&pos}; - 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("hitButton", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPushButton::hitButton(pos); -} -void PythonQtShell_QPushButton::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QPushButton::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QPushButton::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPushButton::inputMethodQuery(arg__1); -} -void PythonQtShell_QPushButton::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPushButton::keyPressEvent(arg__1); -} -void PythonQtShell_QPushButton::keyReleaseEvent(QKeyEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPushButton::keyReleaseEvent(e); -} -void PythonQtShell_QPushButton::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPushButton::languageChange(); -} -void PythonQtShell_QPushButton::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QPushButton::leaveEvent(arg__1); -} -int PythonQtShell_QPushButton::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPushButton::metric(arg__1); -} -void PythonQtShell_QPushButton::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QPushButton::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QPushButton::mouseMoveEvent(QMouseEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPushButton::mouseMoveEvent(e); -} -void PythonQtShell_QPushButton::mousePressEvent(QMouseEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPushButton::mousePressEvent(e); -} -void PythonQtShell_QPushButton::mouseReleaseEvent(QMouseEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPushButton::mouseReleaseEvent(e); -} -void PythonQtShell_QPushButton::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPushButton::moveEvent(arg__1); -} -void PythonQtShell_QPushButton::nextCheckState() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "nextCheckState"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPushButton::nextCheckState(); -} -QPaintEngine* PythonQtShell_QPushButton::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QPushButton::paintEngine(); -} -void PythonQtShell_QPushButton::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - 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; - } -} - QPushButton::paintEvent(arg__1); -} -void PythonQtShell_QPushButton::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - 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; - } -} - QPushButton::resizeEvent(arg__1); -} -void PythonQtShell_QPushButton::showEvent(QShowEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QPushButton::showEvent(arg__1); -} -void PythonQtShell_QPushButton::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QPushButton::tabletEvent(arg__1); -} -void PythonQtShell_QPushButton::timerEvent(QTimerEvent* e) -{ -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*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPushButton::timerEvent(e); -} -void PythonQtShell_QPushButton::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QPushButton::wheelEvent(arg__1); -} -QPushButton* PythonQtWrapper_QPushButton::new_QPushButton(QWidget* parent) -{ -return new PythonQtShell_QPushButton(parent); } - -QPushButton* PythonQtWrapper_QPushButton::new_QPushButton(const QIcon& icon, const QString& text, QWidget* parent) -{ -return new PythonQtShell_QPushButton(icon, text, parent); } - -QPushButton* PythonQtWrapper_QPushButton::new_QPushButton(const QString& text, QWidget* parent) -{ -return new PythonQtShell_QPushButton(text, parent); } - -void PythonQtWrapper_QPushButton::setDefault(QPushButton* theWrappedObject, bool arg__1) -{ - ( theWrappedObject->setDefault(arg__1)); -} - -void PythonQtWrapper_QPushButton::focusOutEvent(QPushButton* theWrappedObject, QFocusEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QPushButton*)theWrappedObject)->promoted_focusOutEvent(arg__1)); -} - -bool PythonQtWrapper_QPushButton::isFlat(QPushButton* theWrappedObject) const -{ - return ( theWrappedObject->isFlat()); -} - -QSize PythonQtWrapper_QPushButton::minimumSizeHint(QPushButton* theWrappedObject) const -{ - return ( theWrappedObject->minimumSizeHint()); -} - -bool PythonQtWrapper_QPushButton::autoDefault(QPushButton* theWrappedObject) const -{ - return ( theWrappedObject->autoDefault()); -} - -void PythonQtWrapper_QPushButton::setAutoDefault(QPushButton* theWrappedObject, bool arg__1) -{ - ( theWrappedObject->setAutoDefault(arg__1)); -} - -void PythonQtWrapper_QPushButton::keyPressEvent(QPushButton* theWrappedObject, QKeyEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QPushButton*)theWrappedObject)->promoted_keyPressEvent(arg__1)); -} - -void PythonQtWrapper_QPushButton::paintEvent(QPushButton* theWrappedObject, QPaintEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QPushButton*)theWrappedObject)->promoted_paintEvent(arg__1)); -} - -QSize PythonQtWrapper_QPushButton::sizeHint(QPushButton* theWrappedObject) const -{ - return ( theWrappedObject->sizeHint()); -} - -bool PythonQtWrapper_QPushButton::event(QPushButton* theWrappedObject, QEvent* e) -{ - return ( ((PythonQtPublicPromoter_QPushButton*)theWrappedObject)->promoted_event(e)); -} - -void PythonQtWrapper_QPushButton::focusInEvent(QPushButton* theWrappedObject, QFocusEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QPushButton*)theWrappedObject)->promoted_focusInEvent(arg__1)); -} - -bool PythonQtWrapper_QPushButton::isDefault(QPushButton* theWrappedObject) const -{ - return ( theWrappedObject->isDefault()); -} - -void PythonQtWrapper_QPushButton::setFlat(QPushButton* theWrappedObject, bool arg__1) -{ - ( theWrappedObject->setFlat(arg__1)); -} - -QMenu* PythonQtWrapper_QPushButton::menu(QPushButton* theWrappedObject) const -{ - return ( theWrappedObject->menu()); -} - -void PythonQtWrapper_QPushButton::setMenu(QPushButton* theWrappedObject, QMenu* menu) -{ - ( theWrappedObject->setMenu(menu)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPushButton.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPushButton.h deleted file mode 100644 index 3778140..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPushButton.h +++ /dev/null @@ -1,126 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QPUSHBUTTON_H -#define PYTHONQTWRAPPER_QPUSHBUTTON_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QPushButton : public QPushButton -{ -public: - PythonQtShell_QPushButton(QWidget* parent = 0):QPushButton(parent),_wrapper(NULL) {}; - PythonQtShell_QPushButton(const QIcon& icon, const QString& text, QWidget* parent = 0):QPushButton(icon, text, parent),_wrapper(NULL) {}; - PythonQtShell_QPushButton(const QString& text, QWidget* parent = 0):QPushButton(text, parent),_wrapper(NULL) {}; - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* e); -virtual void checkStateSet(); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual bool hitButton(const QPoint& pos) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* e); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* e); -virtual void mousePressEvent(QMouseEvent* e); -virtual void mouseReleaseEvent(QMouseEvent* e); -virtual void moveEvent(QMoveEvent* arg__1); -virtual void nextCheckState(); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void showEvent(QShowEvent* arg__1); -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* e); -virtual void wheelEvent(QWheelEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QPushButton : public QPushButton -{ public: -inline void promoted_focusOutEvent(QFocusEvent* arg__1) { QPushButton::focusOutEvent(arg__1); } -inline void promoted_keyPressEvent(QKeyEvent* arg__1) { QPushButton::keyPressEvent(arg__1); } -inline void promoted_paintEvent(QPaintEvent* arg__1) { QPushButton::paintEvent(arg__1); } -inline bool promoted_event(QEvent* e) { return QPushButton::event(e); } -inline void promoted_focusInEvent(QFocusEvent* arg__1) { QPushButton::focusInEvent(arg__1); } -}; - -class PythonQtWrapper_QPushButton : public QObject -{ Q_OBJECT -public: -public slots: -QPushButton* new_QPushButton(QWidget* parent = 0); -QPushButton* new_QPushButton(const QIcon& icon, const QString& text, QWidget* parent = 0); -QPushButton* new_QPushButton(const QString& text, QWidget* parent = 0); -void delete_QPushButton(QPushButton* obj) { delete obj; } - void setDefault(QPushButton* theWrappedObject, bool arg__1); - void focusOutEvent(QPushButton* theWrappedObject, QFocusEvent* arg__1); - bool isFlat(QPushButton* theWrappedObject) const; - QSize minimumSizeHint(QPushButton* theWrappedObject) const; - bool autoDefault(QPushButton* theWrappedObject) const; - void setAutoDefault(QPushButton* theWrappedObject, bool arg__1); - void keyPressEvent(QPushButton* theWrappedObject, QKeyEvent* arg__1); - void paintEvent(QPushButton* theWrappedObject, QPaintEvent* arg__1); - QSize sizeHint(QPushButton* theWrappedObject) const; - bool event(QPushButton* theWrappedObject, QEvent* e); - void focusInEvent(QPushButton* theWrappedObject, QFocusEvent* arg__1); - bool isDefault(QPushButton* theWrappedObject) const; - void setFlat(QPushButton* theWrappedObject, bool arg__1); - QMenu* menu(QPushButton* theWrappedObject) const; - void setMenu(QPushButton* theWrappedObject, QMenu* menu); -}; - -#endif // PYTHONQTWRAPPER_QPUSHBUTTON_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QRadialGradient.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QRadialGradient.cpp deleted file mode 100644 index 7700d06..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QRadialGradient.cpp +++ /dev/null @@ -1,72 +0,0 @@ -#include "PythonQtWrapper_QRadialGradient.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QRadialGradient* PythonQtWrapper_QRadialGradient::new_QRadialGradient() -{ -return new QRadialGradient(); } - -QRadialGradient* PythonQtWrapper_QRadialGradient::new_QRadialGradient(const QPointF& center, qreal radius) -{ -return new QRadialGradient(center, radius); } - -QRadialGradient* PythonQtWrapper_QRadialGradient::new_QRadialGradient(const QPointF& center, qreal radius, const QPointF& focalPoint) -{ -return new QRadialGradient(center, radius, focalPoint); } - -QRadialGradient* PythonQtWrapper_QRadialGradient::new_QRadialGradient(qreal cx, qreal cy, qreal radius) -{ -return new QRadialGradient(cx, cy, radius); } - -QRadialGradient* PythonQtWrapper_QRadialGradient::new_QRadialGradient(qreal cx, qreal cy, qreal radius, qreal fx, qreal fy) -{ -return new QRadialGradient(cx, cy, radius, fx, fy); } - -void PythonQtWrapper_QRadialGradient::setCenter(QRadialGradient* theWrappedObject, const QPointF& center) -{ - ( theWrappedObject->setCenter(center)); -} - -qreal PythonQtWrapper_QRadialGradient::radius(QRadialGradient* theWrappedObject) const -{ - return ( theWrappedObject->radius()); -} - -void PythonQtWrapper_QRadialGradient::setFocalPoint(QRadialGradient* theWrappedObject, qreal x, qreal y) -{ - ( theWrappedObject->setFocalPoint(x, y)); -} - -void PythonQtWrapper_QRadialGradient::setCenter(QRadialGradient* theWrappedObject, qreal x, qreal y) -{ - ( theWrappedObject->setCenter(x, y)); -} - -void PythonQtWrapper_QRadialGradient::setFocalPoint(QRadialGradient* theWrappedObject, const QPointF& focalPoint) -{ - ( theWrappedObject->setFocalPoint(focalPoint)); -} - -void PythonQtWrapper_QRadialGradient::setRadius(QRadialGradient* theWrappedObject, qreal radius) -{ - ( theWrappedObject->setRadius(radius)); -} - -QPointF PythonQtWrapper_QRadialGradient::center(QRadialGradient* theWrappedObject) const -{ - return ( theWrappedObject->center()); -} - -QPointF PythonQtWrapper_QRadialGradient::focalPoint(QRadialGradient* theWrappedObject) const -{ - return ( theWrappedObject->focalPoint()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QRadialGradient.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QRadialGradient.h deleted file mode 100644 index 1240255..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QRadialGradient.h +++ /dev/null @@ -1,40 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QRADIALGRADIENT_H -#define PYTHONQTWRAPPER_QRADIALGRADIENT_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include - -class PythonQtWrapper_QRadialGradient : public QObject -{ Q_OBJECT -public: -public slots: -QRadialGradient* new_QRadialGradient(); -QRadialGradient* new_QRadialGradient(const QPointF& center, qreal radius); -QRadialGradient* new_QRadialGradient(const QPointF& center, qreal radius, const QPointF& focalPoint); -QRadialGradient* new_QRadialGradient(qreal cx, qreal cy, qreal radius); -QRadialGradient* new_QRadialGradient(qreal cx, qreal cy, qreal radius, qreal fx, qreal fy); -QRadialGradient* new_QRadialGradient(const QRadialGradient& other) { -QRadialGradient* a = new QRadialGradient(); -*((QRadialGradient*)a) = other; -return a; } -void delete_QRadialGradient(QRadialGradient* obj) { delete obj; } - void setCenter(QRadialGradient* theWrappedObject, const QPointF& center); - qreal radius(QRadialGradient* theWrappedObject) const; - void setFocalPoint(QRadialGradient* theWrappedObject, qreal x, qreal y); - void setCenter(QRadialGradient* theWrappedObject, qreal x, qreal y); - void setFocalPoint(QRadialGradient* theWrappedObject, const QPointF& focalPoint); - void setRadius(QRadialGradient* theWrappedObject, qreal radius); - QPointF center(QRadialGradient* theWrappedObject) const; - QPointF focalPoint(QRadialGradient* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QRADIALGRADIENT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QRadioButton.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QRadioButton.cpp deleted file mode 100644 index f143fcf..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QRadioButton.cpp +++ /dev/null @@ -1,892 +0,0 @@ -#include "PythonQtWrapper_QRadioButton.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QRadioButton::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QRadioButton::actionEvent(arg__1); -} -void PythonQtShell_QRadioButton::changeEvent(QEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QRadioButton::changeEvent(e); -} -void PythonQtShell_QRadioButton::checkStateSet() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "checkStateSet"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QRadioButton::checkStateSet(); -} -void PythonQtShell_QRadioButton::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; - } -} - QRadioButton::childEvent(arg__1); -} -void PythonQtShell_QRadioButton::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QRadioButton::closeEvent(arg__1); -} -void PythonQtShell_QRadioButton::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QRadioButton::contextMenuEvent(arg__1); -} -void PythonQtShell_QRadioButton::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; - } -} - QRadioButton::customEvent(arg__1); -} -int PythonQtShell_QRadioButton::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QRadioButton::devType(); -} -void PythonQtShell_QRadioButton::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QRadioButton::dragEnterEvent(arg__1); -} -void PythonQtShell_QRadioButton::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QRadioButton::dragLeaveEvent(arg__1); -} -void PythonQtShell_QRadioButton::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QRadioButton::dragMoveEvent(arg__1); -} -void PythonQtShell_QRadioButton::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QRadioButton::dropEvent(arg__1); -} -void PythonQtShell_QRadioButton::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QRadioButton::enterEvent(arg__1); -} -bool PythonQtShell_QRadioButton::event(QEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QRadioButton::event(e); -} -bool PythonQtShell_QRadioButton::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QRadioButton::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QRadioButton::focusInEvent(QFocusEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QRadioButton::focusInEvent(e); -} -bool PythonQtShell_QRadioButton::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QRadioButton::focusNextPrevChild(next); -} -void PythonQtShell_QRadioButton::focusOutEvent(QFocusEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QRadioButton::focusOutEvent(e); -} -int PythonQtShell_QRadioButton::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QRadioButton::heightForWidth(arg__1); -} -void PythonQtShell_QRadioButton::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QRadioButton::hideEvent(arg__1); -} -bool PythonQtShell_QRadioButton::hitButton(const QPoint& arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hitButton"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QPoint&"}; - 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("hitButton", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QRadioButton::hitButton(arg__1); -} -void PythonQtShell_QRadioButton::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QRadioButton::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QRadioButton::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QRadioButton::inputMethodQuery(arg__1); -} -void PythonQtShell_QRadioButton::keyPressEvent(QKeyEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QRadioButton::keyPressEvent(e); -} -void PythonQtShell_QRadioButton::keyReleaseEvent(QKeyEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QRadioButton::keyReleaseEvent(e); -} -void PythonQtShell_QRadioButton::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QRadioButton::languageChange(); -} -void PythonQtShell_QRadioButton::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QRadioButton::leaveEvent(arg__1); -} -int PythonQtShell_QRadioButton::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QRadioButton::metric(arg__1); -} -QSize PythonQtShell_QRadioButton::minimumSizeHint() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QRadioButton::minimumSizeHint(); -} -void PythonQtShell_QRadioButton::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QRadioButton::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QRadioButton::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QRadioButton::mouseMoveEvent(arg__1); -} -void PythonQtShell_QRadioButton::mousePressEvent(QMouseEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QRadioButton::mousePressEvent(e); -} -void PythonQtShell_QRadioButton::mouseReleaseEvent(QMouseEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QRadioButton::mouseReleaseEvent(e); -} -void PythonQtShell_QRadioButton::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QRadioButton::moveEvent(arg__1); -} -void PythonQtShell_QRadioButton::nextCheckState() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "nextCheckState"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QRadioButton::nextCheckState(); -} -QPaintEngine* PythonQtShell_QRadioButton::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QRadioButton::paintEngine(); -} -void PythonQtShell_QRadioButton::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - 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; - } -} - QRadioButton::paintEvent(arg__1); -} -void PythonQtShell_QRadioButton::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - 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; - } -} - QRadioButton::resizeEvent(arg__1); -} -void PythonQtShell_QRadioButton::showEvent(QShowEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QRadioButton::showEvent(arg__1); -} -void PythonQtShell_QRadioButton::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QRadioButton::tabletEvent(arg__1); -} -void PythonQtShell_QRadioButton::timerEvent(QTimerEvent* e) -{ -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*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QRadioButton::timerEvent(e); -} -void PythonQtShell_QRadioButton::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QRadioButton::wheelEvent(arg__1); -} -QRadioButton* PythonQtWrapper_QRadioButton::new_QRadioButton(QWidget* parent) -{ -return new PythonQtShell_QRadioButton(parent); } - -QRadioButton* PythonQtWrapper_QRadioButton::new_QRadioButton(const QString& text, QWidget* parent) -{ -return new PythonQtShell_QRadioButton(text, parent); } - -QSize PythonQtWrapper_QRadioButton::sizeHint(QRadioButton* theWrappedObject) const -{ - return ( theWrappedObject->sizeHint()); -} - -bool PythonQtWrapper_QRadioButton::event(QRadioButton* theWrappedObject, QEvent* e) -{ - return ( ((PythonQtPublicPromoter_QRadioButton*)theWrappedObject)->promoted_event(e)); -} - -void PythonQtWrapper_QRadioButton::mouseMoveEvent(QRadioButton* theWrappedObject, QMouseEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QRadioButton*)theWrappedObject)->promoted_mouseMoveEvent(arg__1)); -} - -void PythonQtWrapper_QRadioButton::paintEvent(QRadioButton* theWrappedObject, QPaintEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QRadioButton*)theWrappedObject)->promoted_paintEvent(arg__1)); -} - -bool PythonQtWrapper_QRadioButton::hitButton(QRadioButton* theWrappedObject, const QPoint& arg__1) const -{ - return ( ((PythonQtPublicPromoter_QRadioButton*)theWrappedObject)->promoted_hitButton(arg__1)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QRadioButton.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QRadioButton.h deleted file mode 100644 index b6fa6aa..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QRadioButton.h +++ /dev/null @@ -1,113 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QRADIOBUTTON_H -#define PYTHONQTWRAPPER_QRADIOBUTTON_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QRadioButton : public QRadioButton -{ -public: - PythonQtShell_QRadioButton(QWidget* parent = 0):QRadioButton(parent),_wrapper(NULL) {}; - PythonQtShell_QRadioButton(const QString& text, QWidget* parent = 0):QRadioButton(text, parent),_wrapper(NULL) {}; - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* e); -virtual void checkStateSet(); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* e); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* e); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual bool hitButton(const QPoint& arg__1) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* e); -virtual void keyReleaseEvent(QKeyEvent* e); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* e); -virtual void mouseReleaseEvent(QMouseEvent* e); -virtual void moveEvent(QMoveEvent* arg__1); -virtual void nextCheckState(); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void showEvent(QShowEvent* arg__1); -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* e); -virtual void wheelEvent(QWheelEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QRadioButton : public QRadioButton -{ public: -inline bool promoted_event(QEvent* e) { return QRadioButton::event(e); } -inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { QRadioButton::mouseMoveEvent(arg__1); } -inline void promoted_paintEvent(QPaintEvent* arg__1) { QRadioButton::paintEvent(arg__1); } -inline bool promoted_hitButton(const QPoint& arg__1) const { return QRadioButton::hitButton(arg__1); } -}; - -class PythonQtWrapper_QRadioButton : public QObject -{ Q_OBJECT -public: -public slots: -QRadioButton* new_QRadioButton(QWidget* parent = 0); -QRadioButton* new_QRadioButton(const QString& text, QWidget* parent = 0); -void delete_QRadioButton(QRadioButton* obj) { delete obj; } - QSize sizeHint(QRadioButton* theWrappedObject) const; - bool event(QRadioButton* theWrappedObject, QEvent* e); - void mouseMoveEvent(QRadioButton* theWrappedObject, QMouseEvent* arg__1); - void paintEvent(QRadioButton* theWrappedObject, QPaintEvent* arg__1); - bool hitButton(QRadioButton* theWrappedObject, const QPoint& arg__1) const; -}; - -#endif // PYTHONQTWRAPPER_QRADIOBUTTON_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QReadWriteLock.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QReadWriteLock.cpp deleted file mode 100644 index 1f38152..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QReadWriteLock.cpp +++ /dev/null @@ -1,51 +0,0 @@ -#include "PythonQtWrapper_QReadWriteLock.h" - -#include -#include -#include -#include -#include - -QReadWriteLock* PythonQtWrapper_QReadWriteLock::new_QReadWriteLock() -{ -return new QReadWriteLock(); } - -QReadWriteLock* PythonQtWrapper_QReadWriteLock::new_QReadWriteLock(QReadWriteLock::RecursionMode recursionMode) -{ -return new QReadWriteLock(recursionMode); } - -void PythonQtWrapper_QReadWriteLock::lockForWrite(QReadWriteLock* theWrappedObject) -{ - ( theWrappedObject->lockForWrite()); -} - -bool PythonQtWrapper_QReadWriteLock::tryLockForRead(QReadWriteLock* theWrappedObject) -{ - return ( theWrappedObject->tryLockForRead()); -} - -void PythonQtWrapper_QReadWriteLock::unlock(QReadWriteLock* theWrappedObject) -{ - ( theWrappedObject->unlock()); -} - -bool PythonQtWrapper_QReadWriteLock::tryLockForRead(QReadWriteLock* theWrappedObject, int timeout) -{ - return ( theWrappedObject->tryLockForRead(timeout)); -} - -bool PythonQtWrapper_QReadWriteLock::tryLockForWrite(QReadWriteLock* theWrappedObject) -{ - return ( theWrappedObject->tryLockForWrite()); -} - -void PythonQtWrapper_QReadWriteLock::lockForRead(QReadWriteLock* theWrappedObject) -{ - ( theWrappedObject->lockForRead()); -} - -bool PythonQtWrapper_QReadWriteLock::tryLockForWrite(QReadWriteLock* theWrappedObject, int timeout) -{ - return ( theWrappedObject->tryLockForWrite(timeout)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QReadWriteLock.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QReadWriteLock.h deleted file mode 100644 index 4f4601a..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QReadWriteLock.h +++ /dev/null @@ -1,31 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QREADWRITELOCK_H -#define PYTHONQTWRAPPER_QREADWRITELOCK_H - -#include -#include - -#include - -#include -#include - -class PythonQtWrapper_QReadWriteLock : public QObject -{ Q_OBJECT -public: -Q_ENUMS(RecursionMode ) -enum RecursionMode{ - NonRecursive = QReadWriteLock::NonRecursive, Recursive = QReadWriteLock::Recursive}; -public slots: -QReadWriteLock* new_QReadWriteLock(); -QReadWriteLock* new_QReadWriteLock(QReadWriteLock::RecursionMode recursionMode); -void delete_QReadWriteLock(QReadWriteLock* obj) { delete obj; } - void lockForWrite(QReadWriteLock* theWrappedObject); - bool tryLockForRead(QReadWriteLock* theWrappedObject); - void unlock(QReadWriteLock* theWrappedObject); - bool tryLockForRead(QReadWriteLock* theWrappedObject, int timeout); - bool tryLockForWrite(QReadWriteLock* theWrappedObject); - void lockForRead(QReadWriteLock* theWrappedObject); - bool tryLockForWrite(QReadWriteLock* theWrappedObject, int timeout); -}; - -#endif // PYTHONQTWRAPPER_QREADWRITELOCK_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QRegExpValidator.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QRegExpValidator.cpp deleted file mode 100644 index c66ce74..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QRegExpValidator.cpp +++ /dev/null @@ -1,189 +0,0 @@ -#include "PythonQtWrapper_QRegExpValidator.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QRegExpValidator::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; - } -} - QRegExpValidator::childEvent(arg__1); -} -void PythonQtShell_QRegExpValidator::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; - } -} - QRegExpValidator::customEvent(arg__1); -} -bool PythonQtShell_QRegExpValidator::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QRegExpValidator::event(arg__1); -} -bool PythonQtShell_QRegExpValidator::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QRegExpValidator::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QRegExpValidator::fixup(QString& arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "fixup"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QString&"}; - 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; - } -} - QRegExpValidator::fixup(arg__1); -} -void PythonQtShell_QRegExpValidator::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; - } -} - QRegExpValidator::timerEvent(arg__1); -} -QValidator::State PythonQtShell_QRegExpValidator::validate(QString& input, int& pos) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "validate"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QValidator::State returnValue; - void* args[3] = {NULL, (void*)&input, (void*)&pos}; - 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("validate", methodInfo, result); - } else { - returnValue = *((QValidator::State*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QRegExpValidator::validate(input, pos); -} -QRegExpValidator* PythonQtWrapper_QRegExpValidator::new_QRegExpValidator(QObject* parent) -{ -return new PythonQtShell_QRegExpValidator(parent); } - -QRegExpValidator* PythonQtWrapper_QRegExpValidator::new_QRegExpValidator(const QRegExp& rx, QObject* parent) -{ -return new PythonQtShell_QRegExpValidator(rx, parent); } - -const QRegExp* PythonQtWrapper_QRegExpValidator::regExp(QRegExpValidator* theWrappedObject) const -{ - return &( theWrappedObject->regExp()); -} - -QValidator::State PythonQtWrapper_QRegExpValidator::validate(QRegExpValidator* theWrappedObject, QString& input, int& pos) const -{ - return ( ((PythonQtPublicPromoter_QRegExpValidator*)theWrappedObject)->promoted_validate(input, pos)); -} - -void PythonQtWrapper_QRegExpValidator::setRegExp(QRegExpValidator* theWrappedObject, const QRegExp& rx) -{ - ( theWrappedObject->setRegExp(rx)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QRegExpValidator.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QRegExpValidator.h deleted file mode 100644 index c847c7e..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QRegExpValidator.h +++ /dev/null @@ -1,52 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QREGEXPVALIDATOR_H -#define PYTHONQTWRAPPER_QREGEXPVALIDATOR_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QRegExpValidator : public QRegExpValidator -{ -public: - PythonQtShell_QRegExpValidator(QObject* parent):QRegExpValidator(parent),_wrapper(NULL) {}; - PythonQtShell_QRegExpValidator(const QRegExp& rx, QObject* parent):QRegExpValidator(rx, parent),_wrapper(NULL) {}; - -virtual void childEvent(QChildEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void fixup(QString& arg__1) const; -virtual void timerEvent(QTimerEvent* arg__1); -virtual QValidator::State validate(QString& input, int& pos) const; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QRegExpValidator : public QRegExpValidator -{ public: -inline QValidator::State promoted_validate(QString& input, int& pos) const { return QRegExpValidator::validate(input, pos); } -}; - -class PythonQtWrapper_QRegExpValidator : public QObject -{ Q_OBJECT -public: -public slots: -QRegExpValidator* new_QRegExpValidator(QObject* parent); -QRegExpValidator* new_QRegExpValidator(const QRegExp& rx, QObject* parent); -void delete_QRegExpValidator(QRegExpValidator* obj) { delete obj; } - const QRegExp* regExp(QRegExpValidator* theWrappedObject) const; - QValidator::State validate(QRegExpValidator* theWrappedObject, QString& input, int& pos) const; - void setRegExp(QRegExpValidator* theWrappedObject, const QRegExp& rx); -}; - -#endif // PYTHONQTWRAPPER_QREGEXPVALIDATOR_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QRegion.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QRegion.cpp deleted file mode 100644 index ce57148..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QRegion.cpp +++ /dev/null @@ -1,176 +0,0 @@ -#include "PythonQtWrapper_QRegion.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QRegion* PythonQtWrapper_QRegion::new_QRegion() -{ -return new QRegion(); } - -QRegion* PythonQtWrapper_QRegion::new_QRegion(const QBitmap& bitmap) -{ -return new QRegion(bitmap); } - -QRegion* PythonQtWrapper_QRegion::new_QRegion(const QPolygon& pa, Qt::FillRule fillRule) -{ -return new QRegion(pa, fillRule); } - -QRegion* PythonQtWrapper_QRegion::new_QRegion(const QRect& r, QRegion::RegionType t) -{ -return new QRegion(r, t); } - -QRegion* PythonQtWrapper_QRegion::new_QRegion(const QRegion& region) -{ -return new QRegion(region); } - -QRegion* PythonQtWrapper_QRegion::new_QRegion(int x, int y, int w, int h, QRegion::RegionType t) -{ -return new QRegion(x, y, w, h, t); } - -bool PythonQtWrapper_QRegion::contains(QRegion* theWrappedObject, const QRect& r) const -{ - return ( theWrappedObject->contains(r)); -} - -QRegion PythonQtWrapper_QRegion::intersected(QRegion* theWrappedObject, const QRegion& r) const -{ - return ( theWrappedObject->intersected(r)); -} - -const QRegion PythonQtWrapper_QRegion::operator_and(QRegion* theWrappedObject, const QRect& r) const -{ - return ( (*theWrappedObject)& r); -} - -QRegion PythonQtWrapper_QRegion::unite(QRegion* theWrappedObject, const QRect& r) const -{ - return ( theWrappedObject->unite(r)); -} - -bool PythonQtWrapper_QRegion::isEmpty(QRegion* theWrappedObject) const -{ - return ( theWrappedObject->isEmpty()); -} - -void PythonQtWrapper_QRegion::translate(QRegion* theWrappedObject, int dx, int dy) -{ - ( theWrappedObject->translate(dx, dy)); -} - -QRegion PythonQtWrapper_QRegion::subtracted(QRegion* theWrappedObject, const QRegion& r) const -{ - return ( theWrappedObject->subtracted(r)); -} - -QRegion PythonQtWrapper_QRegion::intersect(QRegion* theWrappedObject, const QRect& r) const -{ - return ( theWrappedObject->intersect(r)); -} - -void PythonQtWrapper_QRegion::translate(QRegion* theWrappedObject, const QPoint& p) -{ - ( theWrappedObject->translate(p)); -} - -bool PythonQtWrapper_QRegion::intersects(QRegion* theWrappedObject, const QRect& r) const -{ - return ( theWrappedObject->intersects(r)); -} - -QRegion PythonQtWrapper_QRegion::translated(QRegion* theWrappedObject, int dx, int dy) const -{ - return ( theWrappedObject->translated(dx, dy)); -} - -bool PythonQtWrapper_QRegion::intersects(QRegion* theWrappedObject, const QRegion& r) const -{ - return ( theWrappedObject->intersects(r)); -} - -void PythonQtWrapper_QRegion::setRects(QRegion* theWrappedObject, const QRect* rect, int num) -{ - ( theWrappedObject->setRects(rect, num)); -} - -QRegion PythonQtWrapper_QRegion::united(QRegion* theWrappedObject, const QRect& r) const -{ - return ( theWrappedObject->united(r)); -} - -QRegion PythonQtWrapper_QRegion::united(QRegion* theWrappedObject, const QRegion& r) const -{ - return ( theWrappedObject->united(r)); -} - -int PythonQtWrapper_QRegion::numRects(QRegion* theWrappedObject) const -{ - return ( theWrappedObject->numRects()); -} - -QRegion PythonQtWrapper_QRegion::translated(QRegion* theWrappedObject, const QPoint& p) const -{ - return ( theWrappedObject->translated(p)); -} - -QRect PythonQtWrapper_QRegion::boundingRect(QRegion* theWrappedObject) const -{ - return ( theWrappedObject->boundingRect()); -} - -const QRegion PythonQtWrapper_QRegion::operator_add(QRegion* theWrappedObject, const QRect& r) const -{ - return ( (*theWrappedObject)+ r); -} - -void PythonQtWrapper_QRegion::writeTo(QRegion* theWrappedObject, QDataStream& arg__1) -{ - arg__1 << (*theWrappedObject); -} - -QVector PythonQtWrapper_QRegion::rects(QRegion* theWrappedObject) const -{ - return ( theWrappedObject->rects()); -} - -bool PythonQtWrapper_QRegion::contains(QRegion* theWrappedObject, const QPoint& p) const -{ - return ( theWrappedObject->contains(p)); -} - -void PythonQtWrapper_QRegion::readFrom(QRegion* theWrappedObject, QDataStream& arg__1) -{ - arg__1 >> (*theWrappedObject); -} - -bool PythonQtWrapper_QRegion::operator_equal(QRegion* theWrappedObject, const QRegion& r) const -{ - return ( (*theWrappedObject)== r); -} - -QRegion PythonQtWrapper_QRegion::intersected(QRegion* theWrappedObject, const QRect& r) const -{ - return ( theWrappedObject->intersected(r)); -} - -QRegion PythonQtWrapper_QRegion::xored(QRegion* theWrappedObject, const QRegion& r) const -{ - return ( theWrappedObject->xored(r)); -} - -QString PythonQtWrapper_QRegion::toString(QRegion* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QRegion.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QRegion.h deleted file mode 100644 index d0374ea..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QRegion.h +++ /dev/null @@ -1,62 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QREGION_H -#define PYTHONQTWRAPPER_QREGION_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtWrapper_QRegion : public QObject -{ Q_OBJECT -public: -Q_ENUMS(RegionType ) -enum RegionType{ - Rectangle = QRegion::Rectangle, Ellipse = QRegion::Ellipse}; -public slots: -QRegion* new_QRegion(); -QRegion* new_QRegion(const QBitmap& bitmap); -QRegion* new_QRegion(const QPolygon& pa, Qt::FillRule fillRule = Qt::OddEvenFill); -QRegion* new_QRegion(const QRect& r, QRegion::RegionType t = QRegion::Rectangle); -QRegion* new_QRegion(const QRegion& region); -QRegion* new_QRegion(int x, int y, int w, int h, QRegion::RegionType t = QRegion::Rectangle); -void delete_QRegion(QRegion* obj) { delete obj; } - bool contains(QRegion* theWrappedObject, const QRect& r) const; - QRegion intersected(QRegion* theWrappedObject, const QRegion& r) const; - const QRegion operator_and(QRegion* theWrappedObject, const QRect& r) const; - QRegion unite(QRegion* theWrappedObject, const QRect& r) const; - bool isEmpty(QRegion* theWrappedObject) const; - void translate(QRegion* theWrappedObject, int dx, int dy); - QRegion subtracted(QRegion* theWrappedObject, const QRegion& r) const; - QRegion intersect(QRegion* theWrappedObject, const QRect& r) const; - void translate(QRegion* theWrappedObject, const QPoint& p); - bool intersects(QRegion* theWrappedObject, const QRect& r) const; - QRegion translated(QRegion* theWrappedObject, int dx, int dy) const; - bool intersects(QRegion* theWrappedObject, const QRegion& r) const; - void setRects(QRegion* theWrappedObject, const QRect* rect, int num); - QRegion united(QRegion* theWrappedObject, const QRect& r) const; - QRegion united(QRegion* theWrappedObject, const QRegion& r) const; - int numRects(QRegion* theWrappedObject) const; - QRegion translated(QRegion* theWrappedObject, const QPoint& p) const; - QRect boundingRect(QRegion* theWrappedObject) const; - const QRegion operator_add(QRegion* theWrappedObject, const QRect& r) const; - void writeTo(QRegion* theWrappedObject, QDataStream& arg__1); - QVector rects(QRegion* theWrappedObject) const; - bool contains(QRegion* theWrappedObject, const QPoint& p) const; - void readFrom(QRegion* theWrappedObject, QDataStream& arg__1); - bool operator_equal(QRegion* theWrappedObject, const QRegion& r) const; - QRegion intersected(QRegion* theWrappedObject, const QRect& r) const; - QRegion xored(QRegion* theWrappedObject, const QRegion& r) const; - QString toString(QRegion*); -}; - -#endif // PYTHONQTWRAPPER_QREGION_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QResizeEvent.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QResizeEvent.cpp deleted file mode 100644 index bc89df2..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QResizeEvent.cpp +++ /dev/null @@ -1,22 +0,0 @@ -#include "PythonQtWrapper_QResizeEvent.h" - -#include -#include -#include -#include -#include - -QResizeEvent* PythonQtWrapper_QResizeEvent::new_QResizeEvent(const QSize& size, const QSize& oldSize) -{ -return new PythonQtShell_QResizeEvent(size, oldSize); } - -const QSize* PythonQtWrapper_QResizeEvent::size(QResizeEvent* theWrappedObject) const -{ - return &( theWrappedObject->size()); -} - -const QSize* PythonQtWrapper_QResizeEvent::oldSize(QResizeEvent* theWrappedObject) const -{ - return &( theWrappedObject->oldSize()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QResizeEvent.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QResizeEvent.h deleted file mode 100644 index c444297..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QResizeEvent.h +++ /dev/null @@ -1,31 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QRESIZEEVENT_H -#define PYTHONQTWRAPPER_QRESIZEEVENT_H - -#include -#include - -#include - -#include -#include - -class PythonQtShell_QResizeEvent : public QResizeEvent -{ -public: - PythonQtShell_QResizeEvent(const QSize& size, const QSize& oldSize):QResizeEvent(size, oldSize),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QResizeEvent : public QObject -{ Q_OBJECT -public: -public slots: -QResizeEvent* new_QResizeEvent(const QSize& size, const QSize& oldSize); -void delete_QResizeEvent(QResizeEvent* obj) { delete obj; } - const QSize* size(QResizeEvent* theWrappedObject) const; - const QSize* oldSize(QResizeEvent* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QRESIZEEVENT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QRubberBand.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QRubberBand.cpp deleted file mode 100644 index ccbd4b6..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QRubberBand.cpp +++ /dev/null @@ -1,892 +0,0 @@ -#include "PythonQtWrapper_QRubberBand.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QRubberBand::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QRubberBand::actionEvent(arg__1); -} -void PythonQtShell_QRubberBand::changeEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QRubberBand::changeEvent(arg__1); -} -void PythonQtShell_QRubberBand::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; - } -} - QRubberBand::childEvent(arg__1); -} -void PythonQtShell_QRubberBand::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QRubberBand::closeEvent(arg__1); -} -void PythonQtShell_QRubberBand::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QRubberBand::contextMenuEvent(arg__1); -} -void PythonQtShell_QRubberBand::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; - } -} - QRubberBand::customEvent(arg__1); -} -int PythonQtShell_QRubberBand::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QRubberBand::devType(); -} -void PythonQtShell_QRubberBand::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QRubberBand::dragEnterEvent(arg__1); -} -void PythonQtShell_QRubberBand::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QRubberBand::dragLeaveEvent(arg__1); -} -void PythonQtShell_QRubberBand::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QRubberBand::dragMoveEvent(arg__1); -} -void PythonQtShell_QRubberBand::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QRubberBand::dropEvent(arg__1); -} -void PythonQtShell_QRubberBand::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QRubberBand::enterEvent(arg__1); -} -bool PythonQtShell_QRubberBand::event(QEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QRubberBand::event(e); -} -bool PythonQtShell_QRubberBand::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QRubberBand::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QRubberBand::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QRubberBand::focusInEvent(arg__1); -} -bool PythonQtShell_QRubberBand::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QRubberBand::focusNextPrevChild(next); -} -void PythonQtShell_QRubberBand::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QRubberBand::focusOutEvent(arg__1); -} -int PythonQtShell_QRubberBand::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QRubberBand::heightForWidth(arg__1); -} -void PythonQtShell_QRubberBand::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QRubberBand::hideEvent(arg__1); -} -void PythonQtShell_QRubberBand::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QRubberBand::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QRubberBand::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QRubberBand::inputMethodQuery(arg__1); -} -void PythonQtShell_QRubberBand::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QRubberBand::keyPressEvent(arg__1); -} -void PythonQtShell_QRubberBand::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QRubberBand::keyReleaseEvent(arg__1); -} -void PythonQtShell_QRubberBand::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QRubberBand::languageChange(); -} -void PythonQtShell_QRubberBand::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QRubberBand::leaveEvent(arg__1); -} -int PythonQtShell_QRubberBand::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QRubberBand::metric(arg__1); -} -QSize PythonQtShell_QRubberBand::minimumSizeHint() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QRubberBand::minimumSizeHint(); -} -void PythonQtShell_QRubberBand::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QRubberBand::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QRubberBand::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QRubberBand::mouseMoveEvent(arg__1); -} -void PythonQtShell_QRubberBand::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QRubberBand::mousePressEvent(arg__1); -} -void PythonQtShell_QRubberBand::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QRubberBand::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QRubberBand::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QRubberBand::moveEvent(arg__1); -} -QPaintEngine* PythonQtShell_QRubberBand::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QRubberBand::paintEngine(); -} -void PythonQtShell_QRubberBand::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - 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; - } -} - QRubberBand::paintEvent(arg__1); -} -void PythonQtShell_QRubberBand::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - 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; - } -} - QRubberBand::resizeEvent(arg__1); -} -void PythonQtShell_QRubberBand::showEvent(QShowEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QRubberBand::showEvent(arg__1); -} -QSize PythonQtShell_QRubberBand::sizeHint() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getSizeHint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QRubberBand::sizeHint(); -} -void PythonQtShell_QRubberBand::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QRubberBand::tabletEvent(arg__1); -} -void PythonQtShell_QRubberBand::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; - } -} - QRubberBand::timerEvent(arg__1); -} -void PythonQtShell_QRubberBand::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QRubberBand::wheelEvent(arg__1); -} -QRubberBand* PythonQtWrapper_QRubberBand::new_QRubberBand(QRubberBand::Shape arg__1, QWidget* arg__2) -{ -return new PythonQtShell_QRubberBand(arg__1, arg__2); } - -void PythonQtWrapper_QRubberBand::setGeometry(QRubberBand* theWrappedObject, const QRect& r) -{ - ( theWrappedObject->setGeometry(r)); -} - -void PythonQtWrapper_QRubberBand::move(QRubberBand* theWrappedObject, const QPoint& p) -{ - ( theWrappedObject->move(p)); -} - -void PythonQtWrapper_QRubberBand::resize(QRubberBand* theWrappedObject, const QSize& s) -{ - ( theWrappedObject->resize(s)); -} - -void PythonQtWrapper_QRubberBand::resizeEvent(QRubberBand* theWrappedObject, QResizeEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QRubberBand*)theWrappedObject)->promoted_resizeEvent(arg__1)); -} - -QRubberBand::Shape PythonQtWrapper_QRubberBand::shape(QRubberBand* theWrappedObject) const -{ - return ( theWrappedObject->shape()); -} - -void PythonQtWrapper_QRubberBand::setGeometry(QRubberBand* theWrappedObject, int x, int y, int w, int h) -{ - ( theWrappedObject->setGeometry(x, y, w, h)); -} - -void PythonQtWrapper_QRubberBand::resize(QRubberBand* theWrappedObject, int w, int h) -{ - ( theWrappedObject->resize(w, h)); -} - -void PythonQtWrapper_QRubberBand::paintEvent(QRubberBand* theWrappedObject, QPaintEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QRubberBand*)theWrappedObject)->promoted_paintEvent(arg__1)); -} - -void PythonQtWrapper_QRubberBand::move(QRubberBand* theWrappedObject, int x, int y) -{ - ( theWrappedObject->move(x, y)); -} - -bool PythonQtWrapper_QRubberBand::event(QRubberBand* theWrappedObject, QEvent* e) -{ - return ( ((PythonQtPublicPromoter_QRubberBand*)theWrappedObject)->promoted_event(e)); -} - -void PythonQtWrapper_QRubberBand::changeEvent(QRubberBand* theWrappedObject, QEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QRubberBand*)theWrappedObject)->promoted_changeEvent(arg__1)); -} - -void PythonQtWrapper_QRubberBand::showEvent(QRubberBand* theWrappedObject, QShowEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QRubberBand*)theWrappedObject)->promoted_showEvent(arg__1)); -} - -void PythonQtWrapper_QRubberBand::moveEvent(QRubberBand* theWrappedObject, QMoveEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QRubberBand*)theWrappedObject)->promoted_moveEvent(arg__1)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QRubberBand.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QRubberBand.h deleted file mode 100644 index 718c9d7..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QRubberBand.h +++ /dev/null @@ -1,120 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QRUBBERBAND_H -#define PYTHONQTWRAPPER_QRUBBERBAND_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QRubberBand : public QRubberBand -{ -public: - PythonQtShell_QRubberBand(QRubberBand::Shape arg__1, QWidget* arg__2 = 0):QRubberBand(arg__1, arg__2),_wrapper(NULL) {}; - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* arg__1); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QRubberBand : public QRubberBand -{ public: -inline void promoted_resizeEvent(QResizeEvent* arg__1) { QRubberBand::resizeEvent(arg__1); } -inline void promoted_paintEvent(QPaintEvent* arg__1) { QRubberBand::paintEvent(arg__1); } -inline bool promoted_event(QEvent* e) { return QRubberBand::event(e); } -inline void promoted_changeEvent(QEvent* arg__1) { QRubberBand::changeEvent(arg__1); } -inline void promoted_showEvent(QShowEvent* arg__1) { QRubberBand::showEvent(arg__1); } -inline void promoted_moveEvent(QMoveEvent* arg__1) { QRubberBand::moveEvent(arg__1); } -}; - -class PythonQtWrapper_QRubberBand : public QObject -{ Q_OBJECT -public: -Q_ENUMS(Shape ) -enum Shape{ - Line = QRubberBand::Line, Rectangle = QRubberBand::Rectangle}; -public slots: -QRubberBand* new_QRubberBand(QRubberBand::Shape arg__1, QWidget* arg__2 = 0); -void delete_QRubberBand(QRubberBand* obj) { delete obj; } - void setGeometry(QRubberBand* theWrappedObject, const QRect& r); - void move(QRubberBand* theWrappedObject, const QPoint& p); - void resize(QRubberBand* theWrappedObject, const QSize& s); - void resizeEvent(QRubberBand* theWrappedObject, QResizeEvent* arg__1); - QRubberBand::Shape shape(QRubberBand* theWrappedObject) const; - void setGeometry(QRubberBand* theWrappedObject, int x, int y, int w, int h); - void resize(QRubberBand* theWrappedObject, int w, int h); - void paintEvent(QRubberBand* theWrappedObject, QPaintEvent* arg__1); - void move(QRubberBand* theWrappedObject, int x, int y); - bool event(QRubberBand* theWrappedObject, QEvent* e); - void changeEvent(QRubberBand* theWrappedObject, QEvent* arg__1); - void showEvent(QRubberBand* theWrappedObject, QShowEvent* arg__1); - void moveEvent(QRubberBand* theWrappedObject, QMoveEvent* arg__1); -}; - -#endif // PYTHONQTWRAPPER_QRUBBERBAND_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QScrollArea.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QScrollArea.cpp deleted file mode 100644 index cc538b4..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QScrollArea.cpp +++ /dev/null @@ -1,892 +0,0 @@ -#include "PythonQtWrapper_QScrollArea.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QScrollArea::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QScrollArea::actionEvent(arg__1); -} -void PythonQtShell_QScrollArea::changeEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QScrollArea::changeEvent(arg__1); -} -void PythonQtShell_QScrollArea::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; - } -} - QScrollArea::childEvent(arg__1); -} -void PythonQtShell_QScrollArea::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QScrollArea::closeEvent(arg__1); -} -void PythonQtShell_QScrollArea::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QScrollArea::contextMenuEvent(arg__1); -} -void PythonQtShell_QScrollArea::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; - } -} - QScrollArea::customEvent(arg__1); -} -int PythonQtShell_QScrollArea::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QScrollArea::devType(); -} -void PythonQtShell_QScrollArea::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QScrollArea::dragEnterEvent(arg__1); -} -void PythonQtShell_QScrollArea::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QScrollArea::dragLeaveEvent(arg__1); -} -void PythonQtShell_QScrollArea::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QScrollArea::dragMoveEvent(arg__1); -} -void PythonQtShell_QScrollArea::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QScrollArea::dropEvent(arg__1); -} -void PythonQtShell_QScrollArea::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QScrollArea::enterEvent(arg__1); -} -bool PythonQtShell_QScrollArea::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QScrollArea::event(arg__1); -} -bool PythonQtShell_QScrollArea::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QScrollArea::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QScrollArea::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QScrollArea::focusInEvent(arg__1); -} -bool PythonQtShell_QScrollArea::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QScrollArea::focusNextPrevChild(next); -} -void PythonQtShell_QScrollArea::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QScrollArea::focusOutEvent(arg__1); -} -int PythonQtShell_QScrollArea::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QScrollArea::heightForWidth(arg__1); -} -void PythonQtShell_QScrollArea::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QScrollArea::hideEvent(arg__1); -} -void PythonQtShell_QScrollArea::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QScrollArea::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QScrollArea::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QScrollArea::inputMethodQuery(arg__1); -} -void PythonQtShell_QScrollArea::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QScrollArea::keyPressEvent(arg__1); -} -void PythonQtShell_QScrollArea::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QScrollArea::keyReleaseEvent(arg__1); -} -void PythonQtShell_QScrollArea::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QScrollArea::languageChange(); -} -void PythonQtShell_QScrollArea::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QScrollArea::leaveEvent(arg__1); -} -int PythonQtShell_QScrollArea::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QScrollArea::metric(arg__1); -} -void PythonQtShell_QScrollArea::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QScrollArea::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QScrollArea::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QScrollArea::mouseMoveEvent(arg__1); -} -void PythonQtShell_QScrollArea::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QScrollArea::mousePressEvent(arg__1); -} -void PythonQtShell_QScrollArea::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QScrollArea::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QScrollArea::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QScrollArea::moveEvent(arg__1); -} -QPaintEngine* PythonQtShell_QScrollArea::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QScrollArea::paintEngine(); -} -void PythonQtShell_QScrollArea::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - 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; - } -} - QScrollArea::paintEvent(arg__1); -} -void PythonQtShell_QScrollArea::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - 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; - } -} - QScrollArea::resizeEvent(arg__1); -} -void PythonQtShell_QScrollArea::scrollContentsBy(int dx, int dy) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "scrollContentsBy"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&dx, (void*)&dy}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QScrollArea::scrollContentsBy(dx, dy); -} -void PythonQtShell_QScrollArea::showEvent(QShowEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QScrollArea::showEvent(arg__1); -} -void PythonQtShell_QScrollArea::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QScrollArea::tabletEvent(arg__1); -} -void PythonQtShell_QScrollArea::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; - } -} - QScrollArea::timerEvent(arg__1); -} -bool PythonQtShell_QScrollArea::viewportEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "viewportEvent"); - 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("viewportEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QScrollArea::viewportEvent(arg__1); -} -void PythonQtShell_QScrollArea::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QScrollArea::wheelEvent(arg__1); -} -QScrollArea* PythonQtWrapper_QScrollArea::new_QScrollArea(QWidget* parent) -{ -return new PythonQtShell_QScrollArea(parent); } - -QWidget* PythonQtWrapper_QScrollArea::widget(QScrollArea* theWrappedObject) const -{ - return ( theWrappedObject->widget()); -} - -void PythonQtWrapper_QScrollArea::ensureVisible(QScrollArea* theWrappedObject, int x, int y, int xmargin, int ymargin) -{ - ( theWrappedObject->ensureVisible(x, y, xmargin, ymargin)); -} - -QSize PythonQtWrapper_QScrollArea::sizeHint(QScrollArea* theWrappedObject) const -{ - return ( theWrappedObject->sizeHint()); -} - -Qt::Alignment PythonQtWrapper_QScrollArea::alignment(QScrollArea* theWrappedObject) const -{ - return ( theWrappedObject->alignment()); -} - -bool PythonQtWrapper_QScrollArea::focusNextPrevChild(QScrollArea* theWrappedObject, bool next) -{ - return ( ((PythonQtPublicPromoter_QScrollArea*)theWrappedObject)->promoted_focusNextPrevChild(next)); -} - -void PythonQtWrapper_QScrollArea::setWidgetResizable(QScrollArea* theWrappedObject, bool resizable) -{ - ( theWrappedObject->setWidgetResizable(resizable)); -} - -QWidget* PythonQtWrapper_QScrollArea::takeWidget(QScrollArea* theWrappedObject) -{ - return ( theWrappedObject->takeWidget()); -} - -bool PythonQtWrapper_QScrollArea::eventFilter(QScrollArea* theWrappedObject, QObject* arg__1, QEvent* arg__2) -{ - return ( ((PythonQtPublicPromoter_QScrollArea*)theWrappedObject)->promoted_eventFilter(arg__1, arg__2)); -} - -void PythonQtWrapper_QScrollArea::resizeEvent(QScrollArea* theWrappedObject, QResizeEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QScrollArea*)theWrappedObject)->promoted_resizeEvent(arg__1)); -} - -bool PythonQtWrapper_QScrollArea::event(QScrollArea* theWrappedObject, QEvent* arg__1) -{ - return ( ((PythonQtPublicPromoter_QScrollArea*)theWrappedObject)->promoted_event(arg__1)); -} - -void PythonQtWrapper_QScrollArea::scrollContentsBy(QScrollArea* theWrappedObject, int dx, int dy) -{ - ( ((PythonQtPublicPromoter_QScrollArea*)theWrappedObject)->promoted_scrollContentsBy(dx, dy)); -} - -void PythonQtWrapper_QScrollArea::setWidget(QScrollArea* theWrappedObject, QWidget* widget) -{ - ( theWrappedObject->setWidget(widget)); -} - -void PythonQtWrapper_QScrollArea::setAlignment(QScrollArea* theWrappedObject, Qt::Alignment arg__1) -{ - ( theWrappedObject->setAlignment(arg__1)); -} - -void PythonQtWrapper_QScrollArea::ensureWidgetVisible(QScrollArea* theWrappedObject, QWidget* childWidget, int xmargin, int ymargin) -{ - ( theWrappedObject->ensureWidgetVisible(childWidget, xmargin, ymargin)); -} - -bool PythonQtWrapper_QScrollArea::widgetResizable(QScrollArea* theWrappedObject) const -{ - return ( theWrappedObject->widgetResizable()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QScrollArea.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QScrollArea.h deleted file mode 100644 index 6060f67..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QScrollArea.h +++ /dev/null @@ -1,119 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSCROLLAREA_H -#define PYTHONQTWRAPPER_QSCROLLAREA_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QScrollArea : public QScrollArea -{ -public: - PythonQtShell_QScrollArea(QWidget* parent = 0):QScrollArea(parent),_wrapper(NULL) {}; - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* arg__1); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void scrollContentsBy(int dx, int dy); -virtual void showEvent(QShowEvent* arg__1); -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* arg__1); -virtual bool viewportEvent(QEvent* arg__1); -virtual void wheelEvent(QWheelEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QScrollArea : public QScrollArea -{ public: -inline bool promoted_focusNextPrevChild(bool next) { return QScrollArea::focusNextPrevChild(next); } -inline bool promoted_eventFilter(QObject* arg__1, QEvent* arg__2) { return QScrollArea::eventFilter(arg__1, arg__2); } -inline void promoted_resizeEvent(QResizeEvent* arg__1) { QScrollArea::resizeEvent(arg__1); } -inline bool promoted_event(QEvent* arg__1) { return QScrollArea::event(arg__1); } -inline void promoted_scrollContentsBy(int dx, int dy) { QScrollArea::scrollContentsBy(dx, dy); } -}; - -class PythonQtWrapper_QScrollArea : public QObject -{ Q_OBJECT -public: -public slots: -QScrollArea* new_QScrollArea(QWidget* parent = 0); -void delete_QScrollArea(QScrollArea* obj) { delete obj; } - QWidget* widget(QScrollArea* theWrappedObject) const; - void ensureVisible(QScrollArea* theWrappedObject, int x, int y, int xmargin = 50, int ymargin = 50); - QSize sizeHint(QScrollArea* theWrappedObject) const; - Qt::Alignment alignment(QScrollArea* theWrappedObject) const; - bool focusNextPrevChild(QScrollArea* theWrappedObject, bool next); - void setWidgetResizable(QScrollArea* theWrappedObject, bool resizable); - QWidget* takeWidget(QScrollArea* theWrappedObject); - bool eventFilter(QScrollArea* theWrappedObject, QObject* arg__1, QEvent* arg__2); - void resizeEvent(QScrollArea* theWrappedObject, QResizeEvent* arg__1); - bool event(QScrollArea* theWrappedObject, QEvent* arg__1); - void scrollContentsBy(QScrollArea* theWrappedObject, int dx, int dy); - void setWidget(QScrollArea* theWrappedObject, QWidget* widget); - void setAlignment(QScrollArea* theWrappedObject, Qt::Alignment arg__1); - void ensureWidgetVisible(QScrollArea* theWrappedObject, QWidget* childWidget, int xmargin = 50, int ymargin = 50); - bool widgetResizable(QScrollArea* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QSCROLLAREA_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QScrollBar.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QScrollBar.cpp deleted file mode 100644 index 32440c2..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QScrollBar.cpp +++ /dev/null @@ -1,844 +0,0 @@ -#include "PythonQtWrapper_QScrollBar.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QScrollBar::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QScrollBar::actionEvent(arg__1); -} -void PythonQtShell_QScrollBar::changeEvent(QEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QScrollBar::changeEvent(e); -} -void PythonQtShell_QScrollBar::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; - } -} - QScrollBar::childEvent(arg__1); -} -void PythonQtShell_QScrollBar::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QScrollBar::closeEvent(arg__1); -} -void PythonQtShell_QScrollBar::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QScrollBar::contextMenuEvent(arg__1); -} -void PythonQtShell_QScrollBar::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; - } -} - QScrollBar::customEvent(arg__1); -} -int PythonQtShell_QScrollBar::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QScrollBar::devType(); -} -void PythonQtShell_QScrollBar::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QScrollBar::dragEnterEvent(arg__1); -} -void PythonQtShell_QScrollBar::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QScrollBar::dragLeaveEvent(arg__1); -} -void PythonQtShell_QScrollBar::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QScrollBar::dragMoveEvent(arg__1); -} -void PythonQtShell_QScrollBar::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QScrollBar::dropEvent(arg__1); -} -void PythonQtShell_QScrollBar::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QScrollBar::enterEvent(arg__1); -} -bool PythonQtShell_QScrollBar::event(QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QScrollBar::event(event); -} -bool PythonQtShell_QScrollBar::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QScrollBar::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QScrollBar::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QScrollBar::focusInEvent(arg__1); -} -bool PythonQtShell_QScrollBar::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QScrollBar::focusNextPrevChild(next); -} -void PythonQtShell_QScrollBar::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QScrollBar::focusOutEvent(arg__1); -} -int PythonQtShell_QScrollBar::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QScrollBar::heightForWidth(arg__1); -} -void PythonQtShell_QScrollBar::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QScrollBar::hideEvent(arg__1); -} -void PythonQtShell_QScrollBar::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QScrollBar::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QScrollBar::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QScrollBar::inputMethodQuery(arg__1); -} -void PythonQtShell_QScrollBar::keyPressEvent(QKeyEvent* ev) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QScrollBar::keyPressEvent(ev); -} -void PythonQtShell_QScrollBar::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QScrollBar::keyReleaseEvent(arg__1); -} -void PythonQtShell_QScrollBar::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QScrollBar::languageChange(); -} -void PythonQtShell_QScrollBar::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QScrollBar::leaveEvent(arg__1); -} -int PythonQtShell_QScrollBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QScrollBar::metric(arg__1); -} -QSize PythonQtShell_QScrollBar::minimumSizeHint() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QScrollBar::minimumSizeHint(); -} -void PythonQtShell_QScrollBar::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QScrollBar::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QScrollBar::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QScrollBar::mouseMoveEvent(arg__1); -} -void PythonQtShell_QScrollBar::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QScrollBar::mousePressEvent(arg__1); -} -void PythonQtShell_QScrollBar::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QScrollBar::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QScrollBar::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QScrollBar::moveEvent(arg__1); -} -QPaintEngine* PythonQtShell_QScrollBar::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QScrollBar::paintEngine(); -} -void PythonQtShell_QScrollBar::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - 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; - } -} - QScrollBar::paintEvent(arg__1); -} -void PythonQtShell_QScrollBar::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - 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; - } -} - QScrollBar::resizeEvent(arg__1); -} -void PythonQtShell_QScrollBar::showEvent(QShowEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QScrollBar::showEvent(arg__1); -} -void PythonQtShell_QScrollBar::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QScrollBar::tabletEvent(arg__1); -} -void PythonQtShell_QScrollBar::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; - } -} - QScrollBar::timerEvent(arg__1); -} -void PythonQtShell_QScrollBar::wheelEvent(QWheelEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QScrollBar::wheelEvent(e); -} -QScrollBar* PythonQtWrapper_QScrollBar::new_QScrollBar(QWidget* parent) -{ -return new PythonQtShell_QScrollBar(parent); } - -QScrollBar* PythonQtWrapper_QScrollBar::new_QScrollBar(Qt::Orientation arg__1, QWidget* parent) -{ -return new PythonQtShell_QScrollBar(arg__1, parent); } - -QSize PythonQtWrapper_QScrollBar::sizeHint(QScrollBar* theWrappedObject) const -{ - return ( theWrappedObject->sizeHint()); -} - -void PythonQtWrapper_QScrollBar::hideEvent(QScrollBar* theWrappedObject, QHideEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->promoted_hideEvent(arg__1)); -} - -void PythonQtWrapper_QScrollBar::mouseReleaseEvent(QScrollBar* theWrappedObject, QMouseEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->promoted_mouseReleaseEvent(arg__1)); -} - -void PythonQtWrapper_QScrollBar::contextMenuEvent(QScrollBar* theWrappedObject, QContextMenuEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->promoted_contextMenuEvent(arg__1)); -} - -void PythonQtWrapper_QScrollBar::mouseMoveEvent(QScrollBar* theWrappedObject, QMouseEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->promoted_mouseMoveEvent(arg__1)); -} - -bool PythonQtWrapper_QScrollBar::event(QScrollBar* theWrappedObject, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->promoted_event(event)); -} - -void PythonQtWrapper_QScrollBar::paintEvent(QScrollBar* theWrappedObject, QPaintEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->promoted_paintEvent(arg__1)); -} - -void PythonQtWrapper_QScrollBar::mousePressEvent(QScrollBar* theWrappedObject, QMouseEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->promoted_mousePressEvent(arg__1)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QScrollBar.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QScrollBar.h deleted file mode 100644 index fa729a4..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QScrollBar.h +++ /dev/null @@ -1,115 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSCROLLBAR_H -#define PYTHONQTWRAPPER_QSCROLLBAR_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QScrollBar : public QScrollBar -{ -public: - PythonQtShell_QScrollBar(QWidget* parent = 0):QScrollBar(parent),_wrapper(NULL) {}; - PythonQtShell_QScrollBar(Qt::Orientation arg__1, QWidget* parent = 0):QScrollBar(arg__1, parent),_wrapper(NULL) {}; - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* e); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* ev); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* arg__1); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void showEvent(QShowEvent* arg__1); -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* e); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QScrollBar : public QScrollBar -{ public: -inline void promoted_hideEvent(QHideEvent* arg__1) { QScrollBar::hideEvent(arg__1); } -inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { QScrollBar::mouseReleaseEvent(arg__1); } -inline void promoted_contextMenuEvent(QContextMenuEvent* arg__1) { QScrollBar::contextMenuEvent(arg__1); } -inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { QScrollBar::mouseMoveEvent(arg__1); } -inline bool promoted_event(QEvent* event) { return QScrollBar::event(event); } -inline void promoted_paintEvent(QPaintEvent* arg__1) { QScrollBar::paintEvent(arg__1); } -inline void promoted_mousePressEvent(QMouseEvent* arg__1) { QScrollBar::mousePressEvent(arg__1); } -}; - -class PythonQtWrapper_QScrollBar : public QObject -{ Q_OBJECT -public: -public slots: -QScrollBar* new_QScrollBar(QWidget* parent = 0); -QScrollBar* new_QScrollBar(Qt::Orientation arg__1, QWidget* parent = 0); -void delete_QScrollBar(QScrollBar* obj) { delete obj; } - QSize sizeHint(QScrollBar* theWrappedObject) const; - void hideEvent(QScrollBar* theWrappedObject, QHideEvent* arg__1); - void mouseReleaseEvent(QScrollBar* theWrappedObject, QMouseEvent* arg__1); - void contextMenuEvent(QScrollBar* theWrappedObject, QContextMenuEvent* arg__1); - void mouseMoveEvent(QScrollBar* theWrappedObject, QMouseEvent* arg__1); - bool event(QScrollBar* theWrappedObject, QEvent* event); - void paintEvent(QScrollBar* theWrappedObject, QPaintEvent* arg__1); - void mousePressEvent(QScrollBar* theWrappedObject, QMouseEvent* arg__1); -}; - -#endif // PYTHONQTWRAPPER_QSCROLLBAR_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSessionManager.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSessionManager.cpp deleted file mode 100644 index 0e57e76..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSessionManager.cpp +++ /dev/null @@ -1,92 +0,0 @@ -#include "PythonQtWrapper_QSessionManager.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QStringList PythonQtWrapper_QSessionManager::discardCommand(QSessionManager* theWrappedObject) const -{ - return ( theWrappedObject->discardCommand()); -} - -void PythonQtWrapper_QSessionManager::setDiscardCommand(QSessionManager* theWrappedObject, const QStringList& arg__1) -{ - ( theWrappedObject->setDiscardCommand(arg__1)); -} - -void PythonQtWrapper_QSessionManager::requestPhase2(QSessionManager* theWrappedObject) -{ - ( theWrappedObject->requestPhase2()); -} - -void PythonQtWrapper_QSessionManager::release(QSessionManager* theWrappedObject) -{ - ( theWrappedObject->release()); -} - -QString PythonQtWrapper_QSessionManager::sessionId(QSessionManager* theWrappedObject) const -{ - return ( theWrappedObject->sessionId()); -} - -void PythonQtWrapper_QSessionManager::setManagerProperty(QSessionManager* theWrappedObject, const QString& name, const QString& value) -{ - ( theWrappedObject->setManagerProperty(name, value)); -} - -void PythonQtWrapper_QSessionManager::setRestartCommand(QSessionManager* theWrappedObject, const QStringList& arg__1) -{ - ( theWrappedObject->setRestartCommand(arg__1)); -} - -void PythonQtWrapper_QSessionManager::cancel(QSessionManager* theWrappedObject) -{ - ( theWrappedObject->cancel()); -} - -QString PythonQtWrapper_QSessionManager::sessionKey(QSessionManager* theWrappedObject) const -{ - return ( theWrappedObject->sessionKey()); -} - -bool PythonQtWrapper_QSessionManager::isPhase2(QSessionManager* theWrappedObject) const -{ - return ( theWrappedObject->isPhase2()); -} - -QSessionManager::RestartHint PythonQtWrapper_QSessionManager::restartHint(QSessionManager* theWrappedObject) const -{ - return ( theWrappedObject->restartHint()); -} - -bool PythonQtWrapper_QSessionManager::allowsErrorInteraction(QSessionManager* theWrappedObject) -{ - return ( theWrappedObject->allowsErrorInteraction()); -} - -void PythonQtWrapper_QSessionManager::setManagerProperty(QSessionManager* theWrappedObject, const QString& name, const QStringList& value) -{ - ( theWrappedObject->setManagerProperty(name, value)); -} - -void PythonQtWrapper_QSessionManager::setRestartHint(QSessionManager* theWrappedObject, QSessionManager::RestartHint arg__1) -{ - ( theWrappedObject->setRestartHint(arg__1)); -} - -QStringList PythonQtWrapper_QSessionManager::restartCommand(QSessionManager* theWrappedObject) const -{ - return ( theWrappedObject->restartCommand()); -} - -bool PythonQtWrapper_QSessionManager::allowsInteraction(QSessionManager* theWrappedObject) -{ - return ( theWrappedObject->allowsInteraction()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSessionManager.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSessionManager.h deleted file mode 100644 index 91b7b66..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSessionManager.h +++ /dev/null @@ -1,41 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSESSIONMANAGER_H -#define PYTHONQTWRAPPER_QSESSIONMANAGER_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include - -class PythonQtWrapper_QSessionManager : public QObject -{ Q_OBJECT -public: -Q_ENUMS(RestartHint ) -enum RestartHint{ - RestartIfRunning = QSessionManager::RestartIfRunning, RestartAnyway = QSessionManager::RestartAnyway, RestartImmediately = QSessionManager::RestartImmediately, RestartNever = QSessionManager::RestartNever}; -public slots: - QStringList discardCommand(QSessionManager* theWrappedObject) const; - void setDiscardCommand(QSessionManager* theWrappedObject, const QStringList& arg__1); - void requestPhase2(QSessionManager* theWrappedObject); - void release(QSessionManager* theWrappedObject); - QString sessionId(QSessionManager* theWrappedObject) const; - void setManagerProperty(QSessionManager* theWrappedObject, const QString& name, const QString& value); - void setRestartCommand(QSessionManager* theWrappedObject, const QStringList& arg__1); - void cancel(QSessionManager* theWrappedObject); - QString sessionKey(QSessionManager* theWrappedObject) const; - bool isPhase2(QSessionManager* theWrappedObject) const; - QSessionManager::RestartHint restartHint(QSessionManager* theWrappedObject) const; - bool allowsErrorInteraction(QSessionManager* theWrappedObject); - void setManagerProperty(QSessionManager* theWrappedObject, const QString& name, const QStringList& value); - void setRestartHint(QSessionManager* theWrappedObject, QSessionManager::RestartHint arg__1); - QStringList restartCommand(QSessionManager* theWrappedObject) const; - bool allowsInteraction(QSessionManager* theWrappedObject); -}; - -#endif // PYTHONQTWRAPPER_QSESSIONMANAGER_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QShortcut.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QShortcut.cpp deleted file mode 100644 index d939563..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QShortcut.cpp +++ /dev/null @@ -1,193 +0,0 @@ -#include "PythonQtWrapper_QShortcut.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QShortcut::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; - } -} - QShortcut::childEvent(arg__1); -} -void PythonQtShell_QShortcut::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; - } -} - QShortcut::customEvent(arg__1); -} -bool PythonQtShell_QShortcut::event(QEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QShortcut::event(e); -} -bool PythonQtShell_QShortcut::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QShortcut::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QShortcut::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; - } -} - QShortcut::timerEvent(arg__1); -} -QShortcut* PythonQtWrapper_QShortcut::new_QShortcut(QWidget* parent) -{ -return new PythonQtShell_QShortcut(parent); } - -QShortcut* PythonQtWrapper_QShortcut::new_QShortcut(const QKeySequence& key, QWidget* parent, const char* member, const char* ambiguousMember, Qt::ShortcutContext context) -{ -return new PythonQtShell_QShortcut(key, parent, member, ambiguousMember, context); } - -bool PythonQtWrapper_QShortcut::autoRepeat(QShortcut* theWrappedObject) const -{ - return ( theWrappedObject->autoRepeat()); -} - -Qt::ShortcutContext PythonQtWrapper_QShortcut::context(QShortcut* theWrappedObject) -{ - return ( theWrappedObject->context()); -} - -bool PythonQtWrapper_QShortcut::event(QShortcut* theWrappedObject, QEvent* e) -{ - return ( ((PythonQtPublicPromoter_QShortcut*)theWrappedObject)->promoted_event(e)); -} - -QKeySequence PythonQtWrapper_QShortcut::key(QShortcut* theWrappedObject) const -{ - return ( theWrappedObject->key()); -} - -void PythonQtWrapper_QShortcut::setAutoRepeat(QShortcut* theWrappedObject, bool on) -{ - ( theWrappedObject->setAutoRepeat(on)); -} - -void PythonQtWrapper_QShortcut::setKey(QShortcut* theWrappedObject, const QKeySequence& key) -{ - ( theWrappedObject->setKey(key)); -} - -int PythonQtWrapper_QShortcut::id(QShortcut* theWrappedObject) const -{ - return ( theWrappedObject->id()); -} - -QString PythonQtWrapper_QShortcut::whatsThis(QShortcut* theWrappedObject) const -{ - return ( theWrappedObject->whatsThis()); -} - -bool PythonQtWrapper_QShortcut::isEnabled(QShortcut* theWrappedObject) const -{ - return ( theWrappedObject->isEnabled()); -} - -QWidget* PythonQtWrapper_QShortcut::parentWidget(QShortcut* theWrappedObject) const -{ - return ( theWrappedObject->parentWidget()); -} - -void PythonQtWrapper_QShortcut::setContext(QShortcut* theWrappedObject, Qt::ShortcutContext context) -{ - ( theWrappedObject->setContext(context)); -} - -void PythonQtWrapper_QShortcut::setEnabled(QShortcut* theWrappedObject, bool enable) -{ - ( theWrappedObject->setEnabled(enable)); -} - -void PythonQtWrapper_QShortcut::setWhatsThis(QShortcut* theWrappedObject, const QString& text) -{ - ( theWrappedObject->setWhatsThis(text)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QShortcut.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QShortcut.h deleted file mode 100644 index e2710f6..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QShortcut.h +++ /dev/null @@ -1,59 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSHORTCUT_H -#define PYTHONQTWRAPPER_QSHORTCUT_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QShortcut : public QShortcut -{ -public: - PythonQtShell_QShortcut(QWidget* parent):QShortcut(parent),_wrapper(NULL) {}; - PythonQtShell_QShortcut(const QKeySequence& key, QWidget* parent, const char* member = 0, const char* ambiguousMember = 0, Qt::ShortcutContext context = Qt::WindowShortcut):QShortcut(key, parent, member, ambiguousMember, context),_wrapper(NULL) {}; - -virtual void childEvent(QChildEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QShortcut : public QShortcut -{ public: -inline bool promoted_event(QEvent* e) { return QShortcut::event(e); } -}; - -class PythonQtWrapper_QShortcut : public QObject -{ Q_OBJECT -public: -public slots: -QShortcut* new_QShortcut(QWidget* parent); -QShortcut* new_QShortcut(const QKeySequence& key, QWidget* parent, const char* member = 0, const char* ambiguousMember = 0, Qt::ShortcutContext context = Qt::WindowShortcut); -void delete_QShortcut(QShortcut* obj) { delete obj; } - bool autoRepeat(QShortcut* theWrappedObject) const; - Qt::ShortcutContext context(QShortcut* theWrappedObject); - bool event(QShortcut* theWrappedObject, QEvent* e); - QKeySequence key(QShortcut* theWrappedObject) const; - void setAutoRepeat(QShortcut* theWrappedObject, bool on); - void setKey(QShortcut* theWrappedObject, const QKeySequence& key); - int id(QShortcut* theWrappedObject) const; - QString whatsThis(QShortcut* theWrappedObject) const; - bool isEnabled(QShortcut* theWrappedObject) const; - QWidget* parentWidget(QShortcut* theWrappedObject) const; - void setContext(QShortcut* theWrappedObject, Qt::ShortcutContext context); - void setEnabled(QShortcut* theWrappedObject, bool enable); - void setWhatsThis(QShortcut* theWrappedObject, const QString& text); -}; - -#endif // PYTHONQTWRAPPER_QSHORTCUT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QShortcutEvent.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QShortcutEvent.cpp deleted file mode 100644 index 2578231..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QShortcutEvent.cpp +++ /dev/null @@ -1,27 +0,0 @@ -#include "PythonQtWrapper_QShortcutEvent.h" - -#include -#include -#include -#include -#include - -QShortcutEvent* PythonQtWrapper_QShortcutEvent::new_QShortcutEvent(const QKeySequence& key, int id, bool ambiguous) -{ -return new PythonQtShell_QShortcutEvent(key, id, ambiguous); } - -bool PythonQtWrapper_QShortcutEvent::isAmbiguous(QShortcutEvent* theWrappedObject) const -{ - return ( theWrappedObject->isAmbiguous()); -} - -const QKeySequence* PythonQtWrapper_QShortcutEvent::key(QShortcutEvent* theWrappedObject) const -{ - return &( theWrappedObject->key()); -} - -int PythonQtWrapper_QShortcutEvent::shortcutId(QShortcutEvent* theWrappedObject) const -{ - return ( theWrappedObject->shortcutId()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QShortcutEvent.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QShortcutEvent.h deleted file mode 100644 index c9416f5..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QShortcutEvent.h +++ /dev/null @@ -1,32 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSHORTCUTEVENT_H -#define PYTHONQTWRAPPER_QSHORTCUTEVENT_H - -#include -#include - -#include - -#include -#include - -class PythonQtShell_QShortcutEvent : public QShortcutEvent -{ -public: - PythonQtShell_QShortcutEvent(const QKeySequence& key, int id, bool ambiguous = false):QShortcutEvent(key, id, ambiguous),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QShortcutEvent : public QObject -{ Q_OBJECT -public: -public slots: -QShortcutEvent* new_QShortcutEvent(const QKeySequence& key, int id, bool ambiguous = false); -void delete_QShortcutEvent(QShortcutEvent* obj) { delete obj; } - bool isAmbiguous(QShortcutEvent* theWrappedObject) const; - const QKeySequence* key(QShortcutEvent* theWrappedObject) const; - int shortcutId(QShortcutEvent* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QSHORTCUTEVENT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QShowEvent.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QShowEvent.cpp deleted file mode 100644 index 00eb161..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QShowEvent.cpp +++ /dev/null @@ -1,11 +0,0 @@ -#include "PythonQtWrapper_QShowEvent.h" - -#include -#include -#include -#include - -QShowEvent* PythonQtWrapper_QShowEvent::new_QShowEvent() -{ -return new QShowEvent(); } - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QShowEvent.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QShowEvent.h deleted file mode 100644 index b02d07f..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QShowEvent.h +++ /dev/null @@ -1,19 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSHOWEVENT_H -#define PYTHONQTWRAPPER_QSHOWEVENT_H - -#include -#include - -#include - -#include - -class PythonQtWrapper_QShowEvent : public QObject -{ Q_OBJECT -public: -public slots: -QShowEvent* new_QShowEvent(); -void delete_QShowEvent(QShowEvent* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QSHOWEVENT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSizeGrip.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSizeGrip.cpp deleted file mode 100644 index 024f2d4..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSizeGrip.cpp +++ /dev/null @@ -1,854 +0,0 @@ -#include "PythonQtWrapper_QSizeGrip.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QSizeGrip::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QSizeGrip::actionEvent(arg__1); -} -void PythonQtShell_QSizeGrip::changeEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSizeGrip::changeEvent(arg__1); -} -void PythonQtShell_QSizeGrip::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; - } -} - QSizeGrip::childEvent(arg__1); -} -void PythonQtShell_QSizeGrip::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QSizeGrip::closeEvent(arg__1); -} -void PythonQtShell_QSizeGrip::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSizeGrip::contextMenuEvent(arg__1); -} -void PythonQtShell_QSizeGrip::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; - } -} - QSizeGrip::customEvent(arg__1); -} -int PythonQtShell_QSizeGrip::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSizeGrip::devType(); -} -void PythonQtShell_QSizeGrip::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QSizeGrip::dragEnterEvent(arg__1); -} -void PythonQtShell_QSizeGrip::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QSizeGrip::dragLeaveEvent(arg__1); -} -void PythonQtShell_QSizeGrip::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QSizeGrip::dragMoveEvent(arg__1); -} -void PythonQtShell_QSizeGrip::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QSizeGrip::dropEvent(arg__1); -} -void PythonQtShell_QSizeGrip::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QSizeGrip::enterEvent(arg__1); -} -bool PythonQtShell_QSizeGrip::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSizeGrip::event(arg__1); -} -bool PythonQtShell_QSizeGrip::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSizeGrip::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QSizeGrip::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QSizeGrip::focusInEvent(arg__1); -} -bool PythonQtShell_QSizeGrip::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSizeGrip::focusNextPrevChild(next); -} -void PythonQtShell_QSizeGrip::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QSizeGrip::focusOutEvent(arg__1); -} -int PythonQtShell_QSizeGrip::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSizeGrip::heightForWidth(arg__1); -} -void PythonQtShell_QSizeGrip::hideEvent(QHideEvent* hideEvent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&hideEvent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSizeGrip::hideEvent(hideEvent); -} -void PythonQtShell_QSizeGrip::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QSizeGrip::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QSizeGrip::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSizeGrip::inputMethodQuery(arg__1); -} -void PythonQtShell_QSizeGrip::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSizeGrip::keyPressEvent(arg__1); -} -void PythonQtShell_QSizeGrip::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSizeGrip::keyReleaseEvent(arg__1); -} -void PythonQtShell_QSizeGrip::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSizeGrip::languageChange(); -} -void PythonQtShell_QSizeGrip::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QSizeGrip::leaveEvent(arg__1); -} -int PythonQtShell_QSizeGrip::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSizeGrip::metric(arg__1); -} -QSize PythonQtShell_QSizeGrip::minimumSizeHint() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSizeGrip::minimumSizeHint(); -} -void PythonQtShell_QSizeGrip::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QSizeGrip::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QSizeGrip::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QSizeGrip::mouseMoveEvent(arg__1); -} -void PythonQtShell_QSizeGrip::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QSizeGrip::mousePressEvent(arg__1); -} -void PythonQtShell_QSizeGrip::mouseReleaseEvent(QMouseEvent* mouseEvent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&mouseEvent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSizeGrip::mouseReleaseEvent(mouseEvent); -} -void PythonQtShell_QSizeGrip::moveEvent(QMoveEvent* moveEvent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&moveEvent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSizeGrip::moveEvent(moveEvent); -} -QPaintEngine* PythonQtShell_QSizeGrip::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSizeGrip::paintEngine(); -} -void PythonQtShell_QSizeGrip::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - 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; - } -} - QSizeGrip::paintEvent(arg__1); -} -void PythonQtShell_QSizeGrip::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - 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; - } -} - QSizeGrip::resizeEvent(arg__1); -} -void PythonQtShell_QSizeGrip::showEvent(QShowEvent* showEvent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&showEvent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSizeGrip::showEvent(showEvent); -} -void PythonQtShell_QSizeGrip::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QSizeGrip::tabletEvent(arg__1); -} -void PythonQtShell_QSizeGrip::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; - } -} - QSizeGrip::timerEvent(arg__1); -} -void PythonQtShell_QSizeGrip::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSizeGrip::wheelEvent(arg__1); -} -QSizeGrip* PythonQtWrapper_QSizeGrip::new_QSizeGrip(QWidget* parent) -{ -return new PythonQtShell_QSizeGrip(parent); } - -QSize PythonQtWrapper_QSizeGrip::sizeHint(QSizeGrip* theWrappedObject) const -{ - return ( theWrappedObject->sizeHint()); -} - -bool PythonQtWrapper_QSizeGrip::eventFilter(QSizeGrip* theWrappedObject, QObject* arg__1, QEvent* arg__2) -{ - return ( ((PythonQtPublicPromoter_QSizeGrip*)theWrappedObject)->promoted_eventFilter(arg__1, arg__2)); -} - -void PythonQtWrapper_QSizeGrip::paintEvent(QSizeGrip* theWrappedObject, QPaintEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QSizeGrip*)theWrappedObject)->promoted_paintEvent(arg__1)); -} - -void PythonQtWrapper_QSizeGrip::mousePressEvent(QSizeGrip* theWrappedObject, QMouseEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QSizeGrip*)theWrappedObject)->promoted_mousePressEvent(arg__1)); -} - -void PythonQtWrapper_QSizeGrip::showEvent(QSizeGrip* theWrappedObject, QShowEvent* showEvent) -{ - ( ((PythonQtPublicPromoter_QSizeGrip*)theWrappedObject)->promoted_showEvent(showEvent)); -} - -bool PythonQtWrapper_QSizeGrip::event(QSizeGrip* theWrappedObject, QEvent* arg__1) -{ - return ( ((PythonQtPublicPromoter_QSizeGrip*)theWrappedObject)->promoted_event(arg__1)); -} - -void PythonQtWrapper_QSizeGrip::moveEvent(QSizeGrip* theWrappedObject, QMoveEvent* moveEvent) -{ - ( ((PythonQtPublicPromoter_QSizeGrip*)theWrappedObject)->promoted_moveEvent(moveEvent)); -} - -void PythonQtWrapper_QSizeGrip::setVisible(QSizeGrip* theWrappedObject, bool arg__1) -{ - ( theWrappedObject->setVisible(arg__1)); -} - -void PythonQtWrapper_QSizeGrip::hideEvent(QSizeGrip* theWrappedObject, QHideEvent* hideEvent) -{ - ( ((PythonQtPublicPromoter_QSizeGrip*)theWrappedObject)->promoted_hideEvent(hideEvent)); -} - -void PythonQtWrapper_QSizeGrip::mouseMoveEvent(QSizeGrip* theWrappedObject, QMouseEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QSizeGrip*)theWrappedObject)->promoted_mouseMoveEvent(arg__1)); -} - -void PythonQtWrapper_QSizeGrip::mouseReleaseEvent(QSizeGrip* theWrappedObject, QMouseEvent* mouseEvent) -{ - ( ((PythonQtPublicPromoter_QSizeGrip*)theWrappedObject)->promoted_mouseReleaseEvent(mouseEvent)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSizeGrip.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSizeGrip.h deleted file mode 100644 index 8d07852..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSizeGrip.h +++ /dev/null @@ -1,117 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSIZEGRIP_H -#define PYTHONQTWRAPPER_QSIZEGRIP_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QSizeGrip : public QSizeGrip -{ -public: - PythonQtShell_QSizeGrip(QWidget* parent):QSizeGrip(parent),_wrapper(NULL) {}; - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* hideEvent); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* mouseEvent); -virtual void moveEvent(QMoveEvent* moveEvent); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void showEvent(QShowEvent* showEvent); -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QSizeGrip : public QSizeGrip -{ public: -inline bool promoted_eventFilter(QObject* arg__1, QEvent* arg__2) { return QSizeGrip::eventFilter(arg__1, arg__2); } -inline void promoted_paintEvent(QPaintEvent* arg__1) { QSizeGrip::paintEvent(arg__1); } -inline void promoted_mousePressEvent(QMouseEvent* arg__1) { QSizeGrip::mousePressEvent(arg__1); } -inline void promoted_showEvent(QShowEvent* showEvent) { QSizeGrip::showEvent(showEvent); } -inline bool promoted_event(QEvent* arg__1) { return QSizeGrip::event(arg__1); } -inline void promoted_moveEvent(QMoveEvent* moveEvent) { QSizeGrip::moveEvent(moveEvent); } -inline void promoted_hideEvent(QHideEvent* hideEvent) { QSizeGrip::hideEvent(hideEvent); } -inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { QSizeGrip::mouseMoveEvent(arg__1); } -inline void promoted_mouseReleaseEvent(QMouseEvent* mouseEvent) { QSizeGrip::mouseReleaseEvent(mouseEvent); } -}; - -class PythonQtWrapper_QSizeGrip : public QObject -{ Q_OBJECT -public: -public slots: -QSizeGrip* new_QSizeGrip(QWidget* parent); -void delete_QSizeGrip(QSizeGrip* obj) { delete obj; } - QSize sizeHint(QSizeGrip* theWrappedObject) const; - bool eventFilter(QSizeGrip* theWrappedObject, QObject* arg__1, QEvent* arg__2); - void paintEvent(QSizeGrip* theWrappedObject, QPaintEvent* arg__1); - void mousePressEvent(QSizeGrip* theWrappedObject, QMouseEvent* arg__1); - void showEvent(QSizeGrip* theWrappedObject, QShowEvent* showEvent); - bool event(QSizeGrip* theWrappedObject, QEvent* arg__1); - void moveEvent(QSizeGrip* theWrappedObject, QMoveEvent* moveEvent); - void setVisible(QSizeGrip* theWrappedObject, bool arg__1); - void hideEvent(QSizeGrip* theWrappedObject, QHideEvent* hideEvent); - void mouseMoveEvent(QSizeGrip* theWrappedObject, QMouseEvent* arg__1); - void mouseReleaseEvent(QSizeGrip* theWrappedObject, QMouseEvent* mouseEvent); -}; - -#endif // PYTHONQTWRAPPER_QSIZEGRIP_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSizePolicy.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSizePolicy.cpp deleted file mode 100644 index 1ef3c8b..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSizePolicy.cpp +++ /dev/null @@ -1,106 +0,0 @@ -#include "PythonQtWrapper_QSizePolicy.h" - -#include -#include -#include -#include -#include -#include - -QSizePolicy* PythonQtWrapper_QSizePolicy::new_QSizePolicy() -{ -return new QSizePolicy(); } - -QSizePolicy* PythonQtWrapper_QSizePolicy::new_QSizePolicy(QSizePolicy::Policy horizontal, QSizePolicy::Policy vertical) -{ -return new QSizePolicy(horizontal, vertical); } - -QSizePolicy* PythonQtWrapper_QSizePolicy::new_QSizePolicy(QSizePolicy::Policy horizontal, QSizePolicy::Policy vertical, QSizePolicy::ControlType type) -{ -return new QSizePolicy(horizontal, vertical, type); } - -QSizePolicy::ControlType PythonQtWrapper_QSizePolicy::controlType(QSizePolicy* theWrappedObject) const -{ - return ( theWrappedObject->controlType()); -} - -void PythonQtWrapper_QSizePolicy::setHorizontalPolicy(QSizePolicy* theWrappedObject, QSizePolicy::Policy d) -{ - ( theWrappedObject->setHorizontalPolicy(d)); -} - -int PythonQtWrapper_QSizePolicy::verticalStretch(QSizePolicy* theWrappedObject) const -{ - return ( theWrappedObject->verticalStretch()); -} - -int PythonQtWrapper_QSizePolicy::horizontalStretch(QSizePolicy* theWrappedObject) const -{ - return ( theWrappedObject->horizontalStretch()); -} - -bool PythonQtWrapper_QSizePolicy::operator_equal(QSizePolicy* theWrappedObject, const QSizePolicy& s) const -{ - return ( (*theWrappedObject)== s); -} - -void PythonQtWrapper_QSizePolicy::setHorizontalStretch(QSizePolicy* theWrappedObject, uchar stretchFactor) -{ - ( theWrappedObject->setHorizontalStretch(stretchFactor)); -} - -void PythonQtWrapper_QSizePolicy::setHeightForWidth(QSizePolicy* theWrappedObject, bool b) -{ - ( theWrappedObject->setHeightForWidth(b)); -} - -void PythonQtWrapper_QSizePolicy::writeTo(QSizePolicy* theWrappedObject, QDataStream& arg__1) -{ - arg__1 << (*theWrappedObject); -} - -void PythonQtWrapper_QSizePolicy::setVerticalStretch(QSizePolicy* theWrappedObject, uchar stretchFactor) -{ - ( theWrappedObject->setVerticalStretch(stretchFactor)); -} - -void PythonQtWrapper_QSizePolicy::transpose(QSizePolicy* theWrappedObject) -{ - ( theWrappedObject->transpose()); -} - -Qt::Orientations PythonQtWrapper_QSizePolicy::expandingDirections(QSizePolicy* theWrappedObject) const -{ - return ( theWrappedObject->expandingDirections()); -} - -QSizePolicy::Policy PythonQtWrapper_QSizePolicy::verticalPolicy(QSizePolicy* theWrappedObject) const -{ - return ( theWrappedObject->verticalPolicy()); -} - -bool PythonQtWrapper_QSizePolicy::hasHeightForWidth(QSizePolicy* theWrappedObject) const -{ - return ( theWrappedObject->hasHeightForWidth()); -} - -QSizePolicy::Policy PythonQtWrapper_QSizePolicy::horizontalPolicy(QSizePolicy* theWrappedObject) const -{ - return ( theWrappedObject->horizontalPolicy()); -} - -void PythonQtWrapper_QSizePolicy::setControlType(QSizePolicy* theWrappedObject, QSizePolicy::ControlType type) -{ - ( theWrappedObject->setControlType(type)); -} - -void PythonQtWrapper_QSizePolicy::setVerticalPolicy(QSizePolicy* theWrappedObject, QSizePolicy::Policy d) -{ - ( theWrappedObject->setVerticalPolicy(d)); -} - -void PythonQtWrapper_QSizePolicy::readFrom(QSizePolicy* theWrappedObject, QDataStream& arg__1) -{ - arg__1 >> (*theWrappedObject); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSizePolicy.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSizePolicy.h deleted file mode 100644 index d0729dd..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSizePolicy.h +++ /dev/null @@ -1,53 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSIZEPOLICY_H -#define PYTHONQTWRAPPER_QSIZEPOLICY_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtWrapper_QSizePolicy : public QObject -{ Q_OBJECT -public: -Q_ENUMS(ControlType PolicyFlag Policy ) -Q_FLAGS(ControlTypes ) -enum ControlType{ - DefaultType = QSizePolicy::DefaultType, ButtonBox = QSizePolicy::ButtonBox, CheckBox = QSizePolicy::CheckBox, ComboBox = QSizePolicy::ComboBox, Frame = QSizePolicy::Frame, GroupBox = QSizePolicy::GroupBox, Label = QSizePolicy::Label, Line = QSizePolicy::Line, LineEdit = QSizePolicy::LineEdit, PushButton = QSizePolicy::PushButton, RadioButton = QSizePolicy::RadioButton, Slider = QSizePolicy::Slider, SpinBox = QSizePolicy::SpinBox, TabWidget = QSizePolicy::TabWidget, ToolButton = QSizePolicy::ToolButton}; -enum PolicyFlag{ - GrowFlag = QSizePolicy::GrowFlag, ExpandFlag = QSizePolicy::ExpandFlag, ShrinkFlag = QSizePolicy::ShrinkFlag, IgnoreFlag = QSizePolicy::IgnoreFlag}; -enum Policy{ - Fixed = QSizePolicy::Fixed, Minimum = QSizePolicy::Minimum, Maximum = QSizePolicy::Maximum, Preferred = QSizePolicy::Preferred, MinimumExpanding = QSizePolicy::MinimumExpanding, Expanding = QSizePolicy::Expanding, Ignored = QSizePolicy::Ignored}; -Q_DECLARE_FLAGS(ControlTypes, ControlType) -public slots: -QSizePolicy* new_QSizePolicy(); -QSizePolicy* new_QSizePolicy(QSizePolicy::Policy horizontal, QSizePolicy::Policy vertical); -QSizePolicy* new_QSizePolicy(QSizePolicy::Policy horizontal, QSizePolicy::Policy vertical, QSizePolicy::ControlType type); -QSizePolicy* new_QSizePolicy(const QSizePolicy& other) { -QSizePolicy* a = new QSizePolicy(); -*((QSizePolicy*)a) = other; -return a; } -void delete_QSizePolicy(QSizePolicy* obj) { delete obj; } - QSizePolicy::ControlType controlType(QSizePolicy* theWrappedObject) const; - void setHorizontalPolicy(QSizePolicy* theWrappedObject, QSizePolicy::Policy d); - int verticalStretch(QSizePolicy* theWrappedObject) const; - int horizontalStretch(QSizePolicy* theWrappedObject) const; - bool operator_equal(QSizePolicy* theWrappedObject, const QSizePolicy& s) const; - void setHorizontalStretch(QSizePolicy* theWrappedObject, uchar stretchFactor); - void setHeightForWidth(QSizePolicy* theWrappedObject, bool b); - void writeTo(QSizePolicy* theWrappedObject, QDataStream& arg__1); - void setVerticalStretch(QSizePolicy* theWrappedObject, uchar stretchFactor); - void transpose(QSizePolicy* theWrappedObject); - Qt::Orientations expandingDirections(QSizePolicy* theWrappedObject) const; - QSizePolicy::Policy verticalPolicy(QSizePolicy* theWrappedObject) const; - bool hasHeightForWidth(QSizePolicy* theWrappedObject) const; - QSizePolicy::Policy horizontalPolicy(QSizePolicy* theWrappedObject) const; - void setControlType(QSizePolicy* theWrappedObject, QSizePolicy::ControlType type); - void setVerticalPolicy(QSizePolicy* theWrappedObject, QSizePolicy::Policy d); - void readFrom(QSizePolicy* theWrappedObject, QDataStream& arg__1); -}; - -#endif // PYTHONQTWRAPPER_QSIZEPOLICY_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSlider.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSlider.cpp deleted file mode 100644 index 6ae4b36..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSlider.cpp +++ /dev/null @@ -1,831 +0,0 @@ -#include "PythonQtWrapper_QSlider.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QSlider::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QSlider::actionEvent(arg__1); -} -void PythonQtShell_QSlider::changeEvent(QEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSlider::changeEvent(e); -} -void PythonQtShell_QSlider::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; - } -} - QSlider::childEvent(arg__1); -} -void PythonQtShell_QSlider::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QSlider::closeEvent(arg__1); -} -void PythonQtShell_QSlider::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSlider::contextMenuEvent(arg__1); -} -void PythonQtShell_QSlider::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; - } -} - QSlider::customEvent(arg__1); -} -int PythonQtShell_QSlider::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSlider::devType(); -} -void PythonQtShell_QSlider::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QSlider::dragEnterEvent(arg__1); -} -void PythonQtShell_QSlider::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QSlider::dragLeaveEvent(arg__1); -} -void PythonQtShell_QSlider::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QSlider::dragMoveEvent(arg__1); -} -void PythonQtShell_QSlider::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QSlider::dropEvent(arg__1); -} -void PythonQtShell_QSlider::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QSlider::enterEvent(arg__1); -} -bool PythonQtShell_QSlider::event(QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSlider::event(event); -} -bool PythonQtShell_QSlider::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSlider::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QSlider::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QSlider::focusInEvent(arg__1); -} -bool PythonQtShell_QSlider::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSlider::focusNextPrevChild(next); -} -void PythonQtShell_QSlider::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QSlider::focusOutEvent(arg__1); -} -int PythonQtShell_QSlider::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSlider::heightForWidth(arg__1); -} -void PythonQtShell_QSlider::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QSlider::hideEvent(arg__1); -} -void PythonQtShell_QSlider::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QSlider::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QSlider::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSlider::inputMethodQuery(arg__1); -} -void PythonQtShell_QSlider::keyPressEvent(QKeyEvent* ev) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSlider::keyPressEvent(ev); -} -void PythonQtShell_QSlider::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSlider::keyReleaseEvent(arg__1); -} -void PythonQtShell_QSlider::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSlider::languageChange(); -} -void PythonQtShell_QSlider::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QSlider::leaveEvent(arg__1); -} -int PythonQtShell_QSlider::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSlider::metric(arg__1); -} -void PythonQtShell_QSlider::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QSlider::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QSlider::mouseMoveEvent(QMouseEvent* ev) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSlider::mouseMoveEvent(ev); -} -void PythonQtShell_QSlider::mousePressEvent(QMouseEvent* ev) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSlider::mousePressEvent(ev); -} -void PythonQtShell_QSlider::mouseReleaseEvent(QMouseEvent* ev) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSlider::mouseReleaseEvent(ev); -} -void PythonQtShell_QSlider::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSlider::moveEvent(arg__1); -} -QPaintEngine* PythonQtShell_QSlider::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSlider::paintEngine(); -} -void PythonQtShell_QSlider::paintEvent(QPaintEvent* ev) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSlider::paintEvent(ev); -} -void PythonQtShell_QSlider::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - 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; - } -} - QSlider::resizeEvent(arg__1); -} -void PythonQtShell_QSlider::showEvent(QShowEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QSlider::showEvent(arg__1); -} -void PythonQtShell_QSlider::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QSlider::tabletEvent(arg__1); -} -void PythonQtShell_QSlider::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; - } -} - QSlider::timerEvent(arg__1); -} -void PythonQtShell_QSlider::wheelEvent(QWheelEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSlider::wheelEvent(e); -} -QSlider* PythonQtWrapper_QSlider::new_QSlider(QWidget* parent) -{ -return new PythonQtShell_QSlider(parent); } - -QSlider* PythonQtWrapper_QSlider::new_QSlider(Qt::Orientation orientation, QWidget* parent) -{ -return new PythonQtShell_QSlider(orientation, parent); } - -void PythonQtWrapper_QSlider::mousePressEvent(QSlider* theWrappedObject, QMouseEvent* ev) -{ - ( ((PythonQtPublicPromoter_QSlider*)theWrappedObject)->promoted_mousePressEvent(ev)); -} - -QSlider::TickPosition PythonQtWrapper_QSlider::tickPosition(QSlider* theWrappedObject) const -{ - return ( theWrappedObject->tickPosition()); -} - -bool PythonQtWrapper_QSlider::event(QSlider* theWrappedObject, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QSlider*)theWrappedObject)->promoted_event(event)); -} - -QSize PythonQtWrapper_QSlider::minimumSizeHint(QSlider* theWrappedObject) const -{ - return ( theWrappedObject->minimumSizeHint()); -} - -void PythonQtWrapper_QSlider::setTickInterval(QSlider* theWrappedObject, int ti) -{ - ( theWrappedObject->setTickInterval(ti)); -} - -void PythonQtWrapper_QSlider::paintEvent(QSlider* theWrappedObject, QPaintEvent* ev) -{ - ( ((PythonQtPublicPromoter_QSlider*)theWrappedObject)->promoted_paintEvent(ev)); -} - -void PythonQtWrapper_QSlider::setTickPosition(QSlider* theWrappedObject, QSlider::TickPosition position) -{ - ( theWrappedObject->setTickPosition(position)); -} - -int PythonQtWrapper_QSlider::tickInterval(QSlider* theWrappedObject) const -{ - return ( theWrappedObject->tickInterval()); -} - -void PythonQtWrapper_QSlider::mouseMoveEvent(QSlider* theWrappedObject, QMouseEvent* ev) -{ - ( ((PythonQtPublicPromoter_QSlider*)theWrappedObject)->promoted_mouseMoveEvent(ev)); -} - -QSize PythonQtWrapper_QSlider::sizeHint(QSlider* theWrappedObject) const -{ - return ( theWrappedObject->sizeHint()); -} - -void PythonQtWrapper_QSlider::mouseReleaseEvent(QSlider* theWrappedObject, QMouseEvent* ev) -{ - ( ((PythonQtPublicPromoter_QSlider*)theWrappedObject)->promoted_mouseReleaseEvent(ev)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSlider.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSlider.h deleted file mode 100644 index 372b41c..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSlider.h +++ /dev/null @@ -1,115 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSLIDER_H -#define PYTHONQTWRAPPER_QSLIDER_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QSlider : public QSlider -{ -public: - PythonQtShell_QSlider(QWidget* parent = 0):QSlider(parent),_wrapper(NULL) {}; - PythonQtShell_QSlider(Qt::Orientation orientation, QWidget* parent = 0):QSlider(orientation, parent),_wrapper(NULL) {}; - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* e); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* ev); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* ev); -virtual void mousePressEvent(QMouseEvent* ev); -virtual void mouseReleaseEvent(QMouseEvent* ev); -virtual void moveEvent(QMoveEvent* arg__1); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* ev); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void showEvent(QShowEvent* arg__1); -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* e); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QSlider : public QSlider -{ public: -inline void promoted_mousePressEvent(QMouseEvent* ev) { QSlider::mousePressEvent(ev); } -inline bool promoted_event(QEvent* event) { return QSlider::event(event); } -inline void promoted_paintEvent(QPaintEvent* ev) { QSlider::paintEvent(ev); } -inline void promoted_mouseMoveEvent(QMouseEvent* ev) { QSlider::mouseMoveEvent(ev); } -inline void promoted_mouseReleaseEvent(QMouseEvent* ev) { QSlider::mouseReleaseEvent(ev); } -}; - -class PythonQtWrapper_QSlider : public QObject -{ Q_OBJECT -public: -public slots: -QSlider* new_QSlider(QWidget* parent = 0); -QSlider* new_QSlider(Qt::Orientation orientation, QWidget* parent = 0); -void delete_QSlider(QSlider* obj) { delete obj; } - void mousePressEvent(QSlider* theWrappedObject, QMouseEvent* ev); - QSlider::TickPosition tickPosition(QSlider* theWrappedObject) const; - bool event(QSlider* theWrappedObject, QEvent* event); - QSize minimumSizeHint(QSlider* theWrappedObject) const; - void setTickInterval(QSlider* theWrappedObject, int ti); - void paintEvent(QSlider* theWrappedObject, QPaintEvent* ev); - void setTickPosition(QSlider* theWrappedObject, QSlider::TickPosition position); - int tickInterval(QSlider* theWrappedObject) const; - void mouseMoveEvent(QSlider* theWrappedObject, QMouseEvent* ev); - QSize sizeHint(QSlider* theWrappedObject) const; - void mouseReleaseEvent(QSlider* theWrappedObject, QMouseEvent* ev); -}; - -#endif // PYTHONQTWRAPPER_QSLIDER_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSound.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSound.cpp deleted file mode 100644 index 9d2e246..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSound.cpp +++ /dev/null @@ -1,157 +0,0 @@ -#include "PythonQtWrapper_QSound.h" - -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QSound::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; - } -} - QSound::childEvent(arg__1); -} -void PythonQtShell_QSound::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; - } -} - QSound::customEvent(arg__1); -} -bool PythonQtShell_QSound::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSound::event(arg__1); -} -bool PythonQtShell_QSound::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSound::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QSound::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; - } -} - QSound::timerEvent(arg__1); -} -QSound* PythonQtWrapper_QSound::new_QSound(const QString& filename, QObject* parent) -{ -return new PythonQtShell_QSound(filename, parent); } - -bool PythonQtWrapper_QSound::static_QSound_isAvailable() -{ - return (QSound::isAvailable()); -} - -bool PythonQtWrapper_QSound::isFinished(QSound* theWrappedObject) const -{ - return ( theWrappedObject->isFinished()); -} - -int PythonQtWrapper_QSound::loopsRemaining(QSound* theWrappedObject) const -{ - return ( theWrappedObject->loopsRemaining()); -} - -void PythonQtWrapper_QSound::static_QSound_play(const QString& filename) -{ - (QSound::play(filename)); -} - -int PythonQtWrapper_QSound::loops(QSound* theWrappedObject) const -{ - return ( theWrappedObject->loops()); -} - -void PythonQtWrapper_QSound::setLoops(QSound* theWrappedObject, int arg__1) -{ - ( theWrappedObject->setLoops(arg__1)); -} - -QString PythonQtWrapper_QSound::fileName(QSound* theWrappedObject) const -{ - return ( theWrappedObject->fileName()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSound.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSound.h deleted file mode 100644 index 1058648..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSound.h +++ /dev/null @@ -1,44 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSOUND_H -#define PYTHONQTWRAPPER_QSOUND_H - -#include -#include - -#include - -#include -#include -#include -#include -#include - -class PythonQtShell_QSound : public QSound -{ -public: - PythonQtShell_QSound(const QString& filename, QObject* parent = 0):QSound(filename, parent),_wrapper(NULL) {}; - -virtual void childEvent(QChildEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QSound : public QObject -{ Q_OBJECT -public: -public slots: -QSound* new_QSound(const QString& filename, QObject* parent = 0); -void delete_QSound(QSound* obj) { delete obj; } - bool static_QSound_isAvailable(); - bool isFinished(QSound* theWrappedObject) const; - int loopsRemaining(QSound* theWrappedObject) const; - void static_QSound_play(const QString& filename); - int loops(QSound* theWrappedObject) const; - void setLoops(QSound* theWrappedObject, int arg__1); - QString fileName(QSound* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QSOUND_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSpacerItem.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSpacerItem.cpp deleted file mode 100644 index 6508500..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSpacerItem.cpp +++ /dev/null @@ -1,431 +0,0 @@ -#include "PythonQtWrapper_QSpacerItem.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -Qt::Orientations PythonQtShell_QSpacerItem::expandingDirections() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "expandingDirections"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"Qt::Orientations"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::Orientations returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); - } else { - returnValue = *((Qt::Orientations*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSpacerItem::expandingDirections(); -} -QRect PythonQtShell_QSpacerItem::geometry() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "geometry"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QRect"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRect returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSpacerItem::geometry(); -} -bool PythonQtShell_QSpacerItem::hasHeightForWidth() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hasHeightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSpacerItem::hasHeightForWidth(); -} -int PythonQtShell_QSpacerItem::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSpacerItem::heightForWidth(arg__1); -} -void PythonQtShell_QSpacerItem::invalidate() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "invalidate"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSpacerItem::invalidate(); -} -bool PythonQtShell_QSpacerItem::isEmpty() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isEmpty"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSpacerItem::isEmpty(); -} -QLayout* PythonQtShell_QSpacerItem::layout() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "layout"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QLayout*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QLayout* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("layout", methodInfo, result); - } else { - returnValue = *((QLayout**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSpacerItem::layout(); -} -QSize PythonQtShell_QSpacerItem::maximumSize() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "maximumSize"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSpacerItem::maximumSize(); -} -int PythonQtShell_QSpacerItem::minimumHeightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "minimumHeightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - 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("minimumHeightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSpacerItem::minimumHeightForWidth(arg__1); -} -QSize PythonQtShell_QSpacerItem::minimumSize() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "minimumSize"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSpacerItem::minimumSize(); -} -void PythonQtShell_QSpacerItem::setGeometry(const QRect& arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setGeometry"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QRect&"}; - 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; - } -} - QSpacerItem::setGeometry(arg__1); -} -QSize PythonQtShell_QSpacerItem::sizeHint() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeHint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSpacerItem::sizeHint(); -} -QSpacerItem* PythonQtShell_QSpacerItem::spacerItem() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "spacerItem"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSpacerItem*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSpacerItem* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("spacerItem", methodInfo, result); - } else { - returnValue = *((QSpacerItem**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSpacerItem::spacerItem(); -} -QWidget* PythonQtShell_QSpacerItem::widget() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "widget"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QWidget* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("widget", methodInfo, result); - } else { - returnValue = *((QWidget**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSpacerItem::widget(); -} -QSpacerItem* PythonQtWrapper_QSpacerItem::new_QSpacerItem(int w, int h, QSizePolicy::Policy hData, QSizePolicy::Policy vData) -{ -return new PythonQtShell_QSpacerItem(w, h, hData, vData); } - -QRect PythonQtWrapper_QSpacerItem::geometry(QSpacerItem* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QSpacerItem*)theWrappedObject)->promoted_geometry()); -} - -void PythonQtWrapper_QSpacerItem::setGeometry(QSpacerItem* theWrappedObject, const QRect& arg__1) -{ - ( ((PythonQtPublicPromoter_QSpacerItem*)theWrappedObject)->promoted_setGeometry(arg__1)); -} - -Qt::Orientations PythonQtWrapper_QSpacerItem::expandingDirections(QSpacerItem* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QSpacerItem*)theWrappedObject)->promoted_expandingDirections()); -} - -void PythonQtWrapper_QSpacerItem::changeSize(QSpacerItem* theWrappedObject, int w, int h, QSizePolicy::Policy hData, QSizePolicy::Policy vData) -{ - ( theWrappedObject->changeSize(w, h, hData, vData)); -} - -QSize PythonQtWrapper_QSpacerItem::sizeHint(QSpacerItem* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QSpacerItem*)theWrappedObject)->promoted_sizeHint()); -} - -QSize PythonQtWrapper_QSpacerItem::maximumSize(QSpacerItem* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QSpacerItem*)theWrappedObject)->promoted_maximumSize()); -} - -bool PythonQtWrapper_QSpacerItem::isEmpty(QSpacerItem* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QSpacerItem*)theWrappedObject)->promoted_isEmpty()); -} - -QSize PythonQtWrapper_QSpacerItem::minimumSize(QSpacerItem* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QSpacerItem*)theWrappedObject)->promoted_minimumSize()); -} - -QSpacerItem* PythonQtWrapper_QSpacerItem::spacerItem(QSpacerItem* theWrappedObject) -{ - return ( ((PythonQtPublicPromoter_QSpacerItem*)theWrappedObject)->promoted_spacerItem()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSpacerItem.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSpacerItem.h deleted file mode 100644 index 10d0909..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSpacerItem.h +++ /dev/null @@ -1,68 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSPACERITEM_H -#define PYTHONQTWRAPPER_QSPACERITEM_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QSpacerItem : public QSpacerItem -{ -public: - PythonQtShell_QSpacerItem(int w, int h, QSizePolicy::Policy hData = QSizePolicy::Minimum, QSizePolicy::Policy vData = QSizePolicy::Minimum):QSpacerItem(w, h, hData, vData),_wrapper(NULL) {}; - -virtual Qt::Orientations expandingDirections() const; -virtual QRect geometry() const; -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void invalidate(); -virtual bool isEmpty() const; -virtual QLayout* layout(); -virtual QSize maximumSize() const; -virtual int minimumHeightForWidth(int arg__1) const; -virtual QSize minimumSize() const; -virtual void setGeometry(const QRect& arg__1); -virtual QSize sizeHint() const; -virtual QSpacerItem* spacerItem(); -virtual QWidget* widget(); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QSpacerItem : public QSpacerItem -{ public: -inline QRect promoted_geometry() const { return QSpacerItem::geometry(); } -inline void promoted_setGeometry(const QRect& arg__1) { QSpacerItem::setGeometry(arg__1); } -inline Qt::Orientations promoted_expandingDirections() const { return QSpacerItem::expandingDirections(); } -inline QSize promoted_sizeHint() const { return QSpacerItem::sizeHint(); } -inline QSize promoted_maximumSize() const { return QSpacerItem::maximumSize(); } -inline bool promoted_isEmpty() const { return QSpacerItem::isEmpty(); } -inline QSize promoted_minimumSize() const { return QSpacerItem::minimumSize(); } -inline QSpacerItem* promoted_spacerItem() { return QSpacerItem::spacerItem(); } -}; - -class PythonQtWrapper_QSpacerItem : public QObject -{ Q_OBJECT -public: -public slots: -QSpacerItem* new_QSpacerItem(int w, int h, QSizePolicy::Policy hData = QSizePolicy::Minimum, QSizePolicy::Policy vData = QSizePolicy::Minimum); -void delete_QSpacerItem(QSpacerItem* obj) { delete obj; } - QRect geometry(QSpacerItem* theWrappedObject) const; - void setGeometry(QSpacerItem* theWrappedObject, const QRect& arg__1); - Qt::Orientations expandingDirections(QSpacerItem* theWrappedObject) const; - void changeSize(QSpacerItem* theWrappedObject, int w, int h, QSizePolicy::Policy hData = QSizePolicy::Minimum, QSizePolicy::Policy vData = QSizePolicy::Minimum); - QSize sizeHint(QSpacerItem* theWrappedObject) const; - QSize maximumSize(QSpacerItem* theWrappedObject) const; - bool isEmpty(QSpacerItem* theWrappedObject) const; - QSize minimumSize(QSpacerItem* theWrappedObject) const; - QSpacerItem* spacerItem(QSpacerItem* theWrappedObject); -}; - -#endif // PYTHONQTWRAPPER_QSPACERITEM_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSpinBox.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSpinBox.cpp deleted file mode 100644 index b287e28..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSpinBox.cpp +++ /dev/null @@ -1,1026 +0,0 @@ -#include "PythonQtWrapper_QSpinBox.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QSpinBox::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QSpinBox::actionEvent(arg__1); -} -void PythonQtShell_QSpinBox::changeEvent(QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSpinBox::changeEvent(event); -} -void PythonQtShell_QSpinBox::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; - } -} - QSpinBox::childEvent(arg__1); -} -void PythonQtShell_QSpinBox::clear() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "clear"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSpinBox::clear(); -} -void PythonQtShell_QSpinBox::closeEvent(QCloseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QSpinBox::closeEvent(event); -} -void PythonQtShell_QSpinBox::contextMenuEvent(QContextMenuEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - 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; - } -} - QSpinBox::contextMenuEvent(event); -} -void PythonQtShell_QSpinBox::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; - } -} - QSpinBox::customEvent(arg__1); -} -int PythonQtShell_QSpinBox::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSpinBox::devType(); -} -void PythonQtShell_QSpinBox::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QSpinBox::dragEnterEvent(arg__1); -} -void PythonQtShell_QSpinBox::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QSpinBox::dragLeaveEvent(arg__1); -} -void PythonQtShell_QSpinBox::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QSpinBox::dragMoveEvent(arg__1); -} -void PythonQtShell_QSpinBox::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QSpinBox::dropEvent(arg__1); -} -void PythonQtShell_QSpinBox::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QSpinBox::enterEvent(arg__1); -} -bool PythonQtShell_QSpinBox::event(QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSpinBox::event(event); -} -bool PythonQtShell_QSpinBox::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSpinBox::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QSpinBox::fixup(QString& str) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "fixup"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&str}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSpinBox::fixup(str); -} -void PythonQtShell_QSpinBox::focusInEvent(QFocusEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QSpinBox::focusInEvent(event); -} -bool PythonQtShell_QSpinBox::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSpinBox::focusNextPrevChild(next); -} -void PythonQtShell_QSpinBox::focusOutEvent(QFocusEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QSpinBox::focusOutEvent(event); -} -int PythonQtShell_QSpinBox::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSpinBox::heightForWidth(arg__1); -} -void PythonQtShell_QSpinBox::hideEvent(QHideEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QSpinBox::hideEvent(event); -} -void PythonQtShell_QSpinBox::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QSpinBox::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QSpinBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSpinBox::inputMethodQuery(arg__1); -} -void PythonQtShell_QSpinBox::keyPressEvent(QKeyEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSpinBox::keyPressEvent(event); -} -void PythonQtShell_QSpinBox::keyReleaseEvent(QKeyEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSpinBox::keyReleaseEvent(event); -} -void PythonQtShell_QSpinBox::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSpinBox::languageChange(); -} -void PythonQtShell_QSpinBox::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QSpinBox::leaveEvent(arg__1); -} -int PythonQtShell_QSpinBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSpinBox::metric(arg__1); -} -void PythonQtShell_QSpinBox::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QSpinBox::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QSpinBox::mouseMoveEvent(QMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QSpinBox::mouseMoveEvent(event); -} -void PythonQtShell_QSpinBox::mousePressEvent(QMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QSpinBox::mousePressEvent(event); -} -void PythonQtShell_QSpinBox::mouseReleaseEvent(QMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QSpinBox::mouseReleaseEvent(event); -} -void PythonQtShell_QSpinBox::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSpinBox::moveEvent(arg__1); -} -QPaintEngine* PythonQtShell_QSpinBox::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSpinBox::paintEngine(); -} -void PythonQtShell_QSpinBox::paintEvent(QPaintEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - 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; - } -} - QSpinBox::paintEvent(event); -} -void PythonQtShell_QSpinBox::resizeEvent(QResizeEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - 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; - } -} - QSpinBox::resizeEvent(event); -} -void PythonQtShell_QSpinBox::showEvent(QShowEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QSpinBox::showEvent(event); -} -void PythonQtShell_QSpinBox::stepBy(int steps) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "stepBy"); - 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*)&steps}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSpinBox::stepBy(steps); -} -QAbstractSpinBox::StepEnabled PythonQtShell_QSpinBox::stepEnabled() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "stepEnabled"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QAbstractSpinBox::StepEnabled"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QAbstractSpinBox::StepEnabled returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("stepEnabled", methodInfo, result); - } else { - returnValue = *((QAbstractSpinBox::StepEnabled*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSpinBox::stepEnabled(); -} -void PythonQtShell_QSpinBox::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QSpinBox::tabletEvent(arg__1); -} -QString PythonQtShell_QSpinBox::textFromValue(int val) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "textFromValue"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QString" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QString returnValue; - void* args[2] = {NULL, (void*)&val}; - 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("textFromValue", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSpinBox::textFromValue(val); -} -void PythonQtShell_QSpinBox::timerEvent(QTimerEvent* event) -{ -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*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSpinBox::timerEvent(event); -} -QValidator::State PythonQtShell_QSpinBox::validate(QString& input, int& pos) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "validate"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QValidator::State returnValue; - void* args[3] = {NULL, (void*)&input, (void*)&pos}; - 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("validate", methodInfo, result); - } else { - returnValue = *((QValidator::State*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSpinBox::validate(input, pos); -} -int PythonQtShell_QSpinBox::valueFromText(const QString& text) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "valueFromText"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&text}; - 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("valueFromText", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSpinBox::valueFromText(text); -} -void PythonQtShell_QSpinBox::wheelEvent(QWheelEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSpinBox::wheelEvent(event); -} -QSpinBox* PythonQtWrapper_QSpinBox::new_QSpinBox(QWidget* parent) -{ -return new PythonQtShell_QSpinBox(parent); } - -int PythonQtWrapper_QSpinBox::minimum(QSpinBox* theWrappedObject) const -{ - return ( theWrappedObject->minimum()); -} - -void PythonQtWrapper_QSpinBox::setMaximum(QSpinBox* theWrappedObject, int max) -{ - ( theWrappedObject->setMaximum(max)); -} - -QString PythonQtWrapper_QSpinBox::textFromValue(QSpinBox* theWrappedObject, int val) const -{ - return ( ((PythonQtPublicPromoter_QSpinBox*)theWrappedObject)->promoted_textFromValue(val)); -} - -void PythonQtWrapper_QSpinBox::setMinimum(QSpinBox* theWrappedObject, int min) -{ - ( theWrappedObject->setMinimum(min)); -} - -void PythonQtWrapper_QSpinBox::fixup(QSpinBox* theWrappedObject, QString& str) const -{ - ( ((PythonQtPublicPromoter_QSpinBox*)theWrappedObject)->promoted_fixup(str)); -} - -int PythonQtWrapper_QSpinBox::valueFromText(QSpinBox* theWrappedObject, const QString& text) const -{ - return ( ((PythonQtPublicPromoter_QSpinBox*)theWrappedObject)->promoted_valueFromText(text)); -} - -int PythonQtWrapper_QSpinBox::value(QSpinBox* theWrappedObject) const -{ - return ( theWrappedObject->value()); -} - -int PythonQtWrapper_QSpinBox::maximum(QSpinBox* theWrappedObject) const -{ - return ( theWrappedObject->maximum()); -} - -QString PythonQtWrapper_QSpinBox::cleanText(QSpinBox* theWrappedObject) const -{ - return ( theWrappedObject->cleanText()); -} - -void PythonQtWrapper_QSpinBox::setSingleStep(QSpinBox* theWrappedObject, int val) -{ - ( theWrappedObject->setSingleStep(val)); -} - -QString PythonQtWrapper_QSpinBox::prefix(QSpinBox* theWrappedObject) const -{ - return ( theWrappedObject->prefix()); -} - -void PythonQtWrapper_QSpinBox::setSuffix(QSpinBox* theWrappedObject, const QString& suffix) -{ - ( theWrappedObject->setSuffix(suffix)); -} - -QString PythonQtWrapper_QSpinBox::suffix(QSpinBox* theWrappedObject) const -{ - return ( theWrappedObject->suffix()); -} - -void PythonQtWrapper_QSpinBox::setRange(QSpinBox* theWrappedObject, int min, int max) -{ - ( theWrappedObject->setRange(min, max)); -} - -bool PythonQtWrapper_QSpinBox::event(QSpinBox* theWrappedObject, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QSpinBox*)theWrappedObject)->promoted_event(event)); -} - -QValidator::State PythonQtWrapper_QSpinBox::validate(QSpinBox* theWrappedObject, QString& input, int& pos) const -{ - return ( ((PythonQtPublicPromoter_QSpinBox*)theWrappedObject)->promoted_validate(input, pos)); -} - -void PythonQtWrapper_QSpinBox::setPrefix(QSpinBox* theWrappedObject, const QString& prefix) -{ - ( theWrappedObject->setPrefix(prefix)); -} - -int PythonQtWrapper_QSpinBox::singleStep(QSpinBox* theWrappedObject) const -{ - return ( theWrappedObject->singleStep()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSpinBox.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSpinBox.h deleted file mode 100644 index 7a41151..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSpinBox.h +++ /dev/null @@ -1,128 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSPINBOX_H -#define PYTHONQTWRAPPER_QSPINBOX_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QSpinBox : public QSpinBox -{ -public: - PythonQtShell_QSpinBox(QWidget* parent = 0):QSpinBox(parent),_wrapper(NULL) {}; - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* event); -virtual void childEvent(QChildEvent* arg__1); -virtual void clear(); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual void customEvent(QEvent* arg__1); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void fixup(QString& str) const; -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* arg__1); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual void resizeEvent(QResizeEvent* event); -virtual void showEvent(QShowEvent* event); -virtual void stepBy(int steps); -virtual QAbstractSpinBox::StepEnabled stepEnabled() const; -virtual void tabletEvent(QTabletEvent* arg__1); -virtual QString textFromValue(int val) const; -virtual void timerEvent(QTimerEvent* event); -virtual QValidator::State validate(QString& input, int& pos) const; -virtual int valueFromText(const QString& text) const; -virtual void wheelEvent(QWheelEvent* event); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QSpinBox : public QSpinBox -{ public: -inline QString promoted_textFromValue(int val) const { return QSpinBox::textFromValue(val); } -inline void promoted_fixup(QString& str) const { QSpinBox::fixup(str); } -inline int promoted_valueFromText(const QString& text) const { return QSpinBox::valueFromText(text); } -inline bool promoted_event(QEvent* event) { return QSpinBox::event(event); } -inline QValidator::State promoted_validate(QString& input, int& pos) const { return QSpinBox::validate(input, pos); } -}; - -class PythonQtWrapper_QSpinBox : public QObject -{ Q_OBJECT -public: -public slots: -QSpinBox* new_QSpinBox(QWidget* parent = 0); -void delete_QSpinBox(QSpinBox* obj) { delete obj; } - int minimum(QSpinBox* theWrappedObject) const; - void setMaximum(QSpinBox* theWrappedObject, int max); - QString textFromValue(QSpinBox* theWrappedObject, int val) const; - void setMinimum(QSpinBox* theWrappedObject, int min); - void fixup(QSpinBox* theWrappedObject, QString& str) const; - int valueFromText(QSpinBox* theWrappedObject, const QString& text) const; - int value(QSpinBox* theWrappedObject) const; - int maximum(QSpinBox* theWrappedObject) const; - QString cleanText(QSpinBox* theWrappedObject) const; - void setSingleStep(QSpinBox* theWrappedObject, int val); - QString prefix(QSpinBox* theWrappedObject) const; - void setSuffix(QSpinBox* theWrappedObject, const QString& suffix); - QString suffix(QSpinBox* theWrappedObject) const; - void setRange(QSpinBox* theWrappedObject, int min, int max); - bool event(QSpinBox* theWrappedObject, QEvent* event); - QValidator::State validate(QSpinBox* theWrappedObject, QString& input, int& pos) const; - void setPrefix(QSpinBox* theWrappedObject, const QString& prefix); - int singleStep(QSpinBox* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QSPINBOX_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSplashScreen.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSplashScreen.cpp deleted file mode 100644 index da8e98b..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSplashScreen.cpp +++ /dev/null @@ -1,880 +0,0 @@ -#include "PythonQtWrapper_QSplashScreen.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QSplashScreen::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QSplashScreen::actionEvent(arg__1); -} -void PythonQtShell_QSplashScreen::changeEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSplashScreen::changeEvent(arg__1); -} -void PythonQtShell_QSplashScreen::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; - } -} - QSplashScreen::childEvent(arg__1); -} -void PythonQtShell_QSplashScreen::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QSplashScreen::closeEvent(arg__1); -} -void PythonQtShell_QSplashScreen::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSplashScreen::contextMenuEvent(arg__1); -} -void PythonQtShell_QSplashScreen::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; - } -} - QSplashScreen::customEvent(arg__1); -} -int PythonQtShell_QSplashScreen::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSplashScreen::devType(); -} -void PythonQtShell_QSplashScreen::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QSplashScreen::dragEnterEvent(arg__1); -} -void PythonQtShell_QSplashScreen::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QSplashScreen::dragLeaveEvent(arg__1); -} -void PythonQtShell_QSplashScreen::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QSplashScreen::dragMoveEvent(arg__1); -} -void PythonQtShell_QSplashScreen::drawContents(QPainter* painter) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawContents"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSplashScreen::drawContents(painter); -} -void PythonQtShell_QSplashScreen::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QSplashScreen::dropEvent(arg__1); -} -void PythonQtShell_QSplashScreen::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QSplashScreen::enterEvent(arg__1); -} -bool PythonQtShell_QSplashScreen::event(QEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSplashScreen::event(e); -} -bool PythonQtShell_QSplashScreen::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSplashScreen::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QSplashScreen::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QSplashScreen::focusInEvent(arg__1); -} -bool PythonQtShell_QSplashScreen::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSplashScreen::focusNextPrevChild(next); -} -void PythonQtShell_QSplashScreen::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QSplashScreen::focusOutEvent(arg__1); -} -int PythonQtShell_QSplashScreen::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSplashScreen::heightForWidth(arg__1); -} -void PythonQtShell_QSplashScreen::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QSplashScreen::hideEvent(arg__1); -} -void PythonQtShell_QSplashScreen::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QSplashScreen::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QSplashScreen::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSplashScreen::inputMethodQuery(arg__1); -} -void PythonQtShell_QSplashScreen::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSplashScreen::keyPressEvent(arg__1); -} -void PythonQtShell_QSplashScreen::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSplashScreen::keyReleaseEvent(arg__1); -} -void PythonQtShell_QSplashScreen::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSplashScreen::languageChange(); -} -void PythonQtShell_QSplashScreen::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QSplashScreen::leaveEvent(arg__1); -} -int PythonQtShell_QSplashScreen::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSplashScreen::metric(arg__1); -} -QSize PythonQtShell_QSplashScreen::minimumSizeHint() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSplashScreen::minimumSizeHint(); -} -void PythonQtShell_QSplashScreen::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QSplashScreen::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QSplashScreen::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QSplashScreen::mouseMoveEvent(arg__1); -} -void PythonQtShell_QSplashScreen::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QSplashScreen::mousePressEvent(arg__1); -} -void PythonQtShell_QSplashScreen::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QSplashScreen::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QSplashScreen::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSplashScreen::moveEvent(arg__1); -} -QPaintEngine* PythonQtShell_QSplashScreen::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSplashScreen::paintEngine(); -} -void PythonQtShell_QSplashScreen::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - 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; - } -} - QSplashScreen::paintEvent(arg__1); -} -void PythonQtShell_QSplashScreen::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - 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; - } -} - QSplashScreen::resizeEvent(arg__1); -} -void PythonQtShell_QSplashScreen::showEvent(QShowEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QSplashScreen::showEvent(arg__1); -} -QSize PythonQtShell_QSplashScreen::sizeHint() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getSizeHint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSplashScreen::sizeHint(); -} -void PythonQtShell_QSplashScreen::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QSplashScreen::tabletEvent(arg__1); -} -void PythonQtShell_QSplashScreen::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; - } -} - QSplashScreen::timerEvent(arg__1); -} -void PythonQtShell_QSplashScreen::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSplashScreen::wheelEvent(arg__1); -} -QSplashScreen* PythonQtWrapper_QSplashScreen::new_QSplashScreen(QWidget* parent, const QPixmap& pixmap, Qt::WindowFlags f) -{ -return new PythonQtShell_QSplashScreen(parent, pixmap, f); } - -QSplashScreen* PythonQtWrapper_QSplashScreen::new_QSplashScreen(const QPixmap& pixmap, Qt::WindowFlags f) -{ -return new PythonQtShell_QSplashScreen(pixmap, f); } - -void PythonQtWrapper_QSplashScreen::setPixmap(QSplashScreen* theWrappedObject, const QPixmap& pixmap) -{ - ( theWrappedObject->setPixmap(pixmap)); -} - -const QPixmap PythonQtWrapper_QSplashScreen::pixmap(QSplashScreen* theWrappedObject) const -{ - return ( theWrappedObject->pixmap()); -} - -void PythonQtWrapper_QSplashScreen::drawContents(QSplashScreen* theWrappedObject, QPainter* painter) -{ - ( ((PythonQtPublicPromoter_QSplashScreen*)theWrappedObject)->promoted_drawContents(painter)); -} - -bool PythonQtWrapper_QSplashScreen::event(QSplashScreen* theWrappedObject, QEvent* e) -{ - return ( ((PythonQtPublicPromoter_QSplashScreen*)theWrappedObject)->promoted_event(e)); -} - -void PythonQtWrapper_QSplashScreen::finish(QSplashScreen* theWrappedObject, QWidget* w) -{ - ( theWrappedObject->finish(w)); -} - -void PythonQtWrapper_QSplashScreen::mousePressEvent(QSplashScreen* theWrappedObject, QMouseEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QSplashScreen*)theWrappedObject)->promoted_mousePressEvent(arg__1)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSplashScreen.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSplashScreen.h deleted file mode 100644 index ec3d080..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSplashScreen.h +++ /dev/null @@ -1,112 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSPLASHSCREEN_H -#define PYTHONQTWRAPPER_QSPLASHSCREEN_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QSplashScreen : public QSplashScreen -{ -public: - PythonQtShell_QSplashScreen(QWidget* parent, const QPixmap& pixmap = QPixmap(), Qt::WindowFlags f = 0):QSplashScreen(parent, pixmap, f),_wrapper(NULL) {}; - PythonQtShell_QSplashScreen(const QPixmap& pixmap = QPixmap(), Qt::WindowFlags f = 0):QSplashScreen(pixmap, f),_wrapper(NULL) {}; - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void drawContents(QPainter* painter); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* arg__1); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QSplashScreen : public QSplashScreen -{ public: -inline void promoted_drawContents(QPainter* painter) { QSplashScreen::drawContents(painter); } -inline bool promoted_event(QEvent* e) { return QSplashScreen::event(e); } -inline void promoted_mousePressEvent(QMouseEvent* arg__1) { QSplashScreen::mousePressEvent(arg__1); } -}; - -class PythonQtWrapper_QSplashScreen : public QObject -{ Q_OBJECT -public: -public slots: -QSplashScreen* new_QSplashScreen(QWidget* parent, const QPixmap& pixmap = QPixmap(), Qt::WindowFlags f = 0); -QSplashScreen* new_QSplashScreen(const QPixmap& pixmap = QPixmap(), Qt::WindowFlags f = 0); -void delete_QSplashScreen(QSplashScreen* obj) { delete obj; } - void setPixmap(QSplashScreen* theWrappedObject, const QPixmap& pixmap); - const QPixmap pixmap(QSplashScreen* theWrappedObject) const; - void drawContents(QSplashScreen* theWrappedObject, QPainter* painter); - bool event(QSplashScreen* theWrappedObject, QEvent* e); - void finish(QSplashScreen* theWrappedObject, QWidget* w); - void mousePressEvent(QSplashScreen* theWrappedObject, QMouseEvent* arg__1); -}; - -#endif // PYTHONQTWRAPPER_QSPLASHSCREEN_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSplitter.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSplitter.cpp deleted file mode 100644 index 1f9db00..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSplitter.cpp +++ /dev/null @@ -1,964 +0,0 @@ -#include "PythonQtWrapper_QSplitter.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QSplitter::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QSplitter::actionEvent(arg__1); -} -void PythonQtShell_QSplitter::changeEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSplitter::changeEvent(arg__1); -} -void PythonQtShell_QSplitter::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; - } -} - QSplitter::childEvent(arg__1); -} -void PythonQtShell_QSplitter::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QSplitter::closeEvent(arg__1); -} -void PythonQtShell_QSplitter::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSplitter::contextMenuEvent(arg__1); -} -QSplitterHandle* PythonQtShell_QSplitter::createHandle() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "createHandle"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSplitterHandle*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSplitterHandle* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("createHandle", methodInfo, result); - } else { - returnValue = *((QSplitterHandle**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSplitter::createHandle(); -} -void PythonQtShell_QSplitter::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; - } -} - QSplitter::customEvent(arg__1); -} -int PythonQtShell_QSplitter::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSplitter::devType(); -} -void PythonQtShell_QSplitter::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QSplitter::dragEnterEvent(arg__1); -} -void PythonQtShell_QSplitter::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QSplitter::dragLeaveEvent(arg__1); -} -void PythonQtShell_QSplitter::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QSplitter::dragMoveEvent(arg__1); -} -void PythonQtShell_QSplitter::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QSplitter::dropEvent(arg__1); -} -void PythonQtShell_QSplitter::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QSplitter::enterEvent(arg__1); -} -bool PythonQtShell_QSplitter::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSplitter::event(arg__1); -} -bool PythonQtShell_QSplitter::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSplitter::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QSplitter::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QSplitter::focusInEvent(arg__1); -} -bool PythonQtShell_QSplitter::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSplitter::focusNextPrevChild(next); -} -void PythonQtShell_QSplitter::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QSplitter::focusOutEvent(arg__1); -} -int PythonQtShell_QSplitter::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSplitter::heightForWidth(arg__1); -} -void PythonQtShell_QSplitter::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QSplitter::hideEvent(arg__1); -} -void PythonQtShell_QSplitter::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QSplitter::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QSplitter::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSplitter::inputMethodQuery(arg__1); -} -void PythonQtShell_QSplitter::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSplitter::keyPressEvent(arg__1); -} -void PythonQtShell_QSplitter::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSplitter::keyReleaseEvent(arg__1); -} -void PythonQtShell_QSplitter::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSplitter::languageChange(); -} -void PythonQtShell_QSplitter::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QSplitter::leaveEvent(arg__1); -} -int PythonQtShell_QSplitter::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSplitter::metric(arg__1); -} -void PythonQtShell_QSplitter::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QSplitter::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QSplitter::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QSplitter::mouseMoveEvent(arg__1); -} -void PythonQtShell_QSplitter::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QSplitter::mousePressEvent(arg__1); -} -void PythonQtShell_QSplitter::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QSplitter::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QSplitter::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSplitter::moveEvent(arg__1); -} -QPaintEngine* PythonQtShell_QSplitter::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSplitter::paintEngine(); -} -void PythonQtShell_QSplitter::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - 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; - } -} - QSplitter::paintEvent(arg__1); -} -void PythonQtShell_QSplitter::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - 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; - } -} - QSplitter::resizeEvent(arg__1); -} -void PythonQtShell_QSplitter::showEvent(QShowEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QSplitter::showEvent(arg__1); -} -void PythonQtShell_QSplitter::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QSplitter::tabletEvent(arg__1); -} -void PythonQtShell_QSplitter::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; - } -} - QSplitter::timerEvent(arg__1); -} -void PythonQtShell_QSplitter::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSplitter::wheelEvent(arg__1); -} -QSplitter* PythonQtWrapper_QSplitter::new_QSplitter(QWidget* parent) -{ -return new PythonQtShell_QSplitter(parent); } - -QSplitter* PythonQtWrapper_QSplitter::new_QSplitter(Qt::Orientation arg__1, QWidget* parent) -{ -return new PythonQtShell_QSplitter(arg__1, parent); } - -bool PythonQtWrapper_QSplitter::isCollapsible(QSplitter* theWrappedObject, int index) const -{ - return ( theWrappedObject->isCollapsible(index)); -} - -Qt::Orientation PythonQtWrapper_QSplitter::orientation(QSplitter* theWrappedObject) const -{ - return ( theWrappedObject->orientation()); -} - -int PythonQtWrapper_QSplitter::handleWidth(QSplitter* theWrappedObject) const -{ - return ( theWrappedObject->handleWidth()); -} - -QSize PythonQtWrapper_QSplitter::minimumSizeHint(QSplitter* theWrappedObject) const -{ - return ( theWrappedObject->minimumSizeHint()); -} - -void PythonQtWrapper_QSplitter::childEvent(QSplitter* theWrappedObject, QChildEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QSplitter*)theWrappedObject)->promoted_childEvent(arg__1)); -} - -void PythonQtWrapper_QSplitter::setOpaqueResize(QSplitter* theWrappedObject, bool opaque) -{ - ( theWrappedObject->setOpaqueResize(opaque)); -} - -void PythonQtWrapper_QSplitter::readFrom(QSplitter* theWrappedObject, QTextStream& arg__1) -{ - arg__1 >> (*theWrappedObject); -} - -void PythonQtWrapper_QSplitter::insertWidget(QSplitter* theWrappedObject, int index, QWidget* widget) -{ - ( theWrappedObject->insertWidget(index, widget)); -} - -QSplitterHandle* PythonQtWrapper_QSplitter::createHandle(QSplitter* theWrappedObject) -{ - return ( ((PythonQtPublicPromoter_QSplitter*)theWrappedObject)->promoted_createHandle()); -} - -void PythonQtWrapper_QSplitter::setSizes(QSplitter* theWrappedObject, const QList& list) -{ - ( theWrappedObject->setSizes(list)); -} - -void PythonQtWrapper_QSplitter::setStretchFactor(QSplitter* theWrappedObject, int index, int stretch) -{ - ( theWrappedObject->setStretchFactor(index, stretch)); -} - -QSize PythonQtWrapper_QSplitter::sizeHint(QSplitter* theWrappedObject) const -{ - return ( theWrappedObject->sizeHint()); -} - -void PythonQtWrapper_QSplitter::writeTo(QSplitter* theWrappedObject, QTextStream& arg__1) -{ - arg__1 << (*theWrappedObject); -} - -void PythonQtWrapper_QSplitter::setOrientation(QSplitter* theWrappedObject, Qt::Orientation arg__1) -{ - ( theWrappedObject->setOrientation(arg__1)); -} - -bool PythonQtWrapper_QSplitter::childrenCollapsible(QSplitter* theWrappedObject) const -{ - return ( theWrappedObject->childrenCollapsible()); -} - -bool PythonQtWrapper_QSplitter::event(QSplitter* theWrappedObject, QEvent* arg__1) -{ - return ( ((PythonQtPublicPromoter_QSplitter*)theWrappedObject)->promoted_event(arg__1)); -} - -void PythonQtWrapper_QSplitter::getRange(QSplitter* theWrappedObject, int index, int* arg__2, int* arg__3) const -{ - ( theWrappedObject->getRange(index, arg__2, arg__3)); -} - -void PythonQtWrapper_QSplitter::setHandleWidth(QSplitter* theWrappedObject, int arg__1) -{ - ( theWrappedObject->setHandleWidth(arg__1)); -} - -QWidget* PythonQtWrapper_QSplitter::widget(QSplitter* theWrappedObject, int index) const -{ - return ( theWrappedObject->widget(index)); -} - -QSplitterHandle* PythonQtWrapper_QSplitter::handle(QSplitter* theWrappedObject, int index) const -{ - return ( theWrappedObject->handle(index)); -} - -void PythonQtWrapper_QSplitter::setChildrenCollapsible(QSplitter* theWrappedObject, bool arg__1) -{ - ( theWrappedObject->setChildrenCollapsible(arg__1)); -} - -void PythonQtWrapper_QSplitter::setCollapsible(QSplitter* theWrappedObject, int index, bool arg__2) -{ - ( theWrappedObject->setCollapsible(index, arg__2)); -} - -QList PythonQtWrapper_QSplitter::sizes(QSplitter* theWrappedObject) const -{ - return ( theWrappedObject->sizes()); -} - -int PythonQtWrapper_QSplitter::indexOf(QSplitter* theWrappedObject, QWidget* w) const -{ - return ( theWrappedObject->indexOf(w)); -} - -QByteArray PythonQtWrapper_QSplitter::saveState(QSplitter* theWrappedObject) const -{ - return ( theWrappedObject->saveState()); -} - -void PythonQtWrapper_QSplitter::addWidget(QSplitter* theWrappedObject, QWidget* widget) -{ - ( theWrappedObject->addWidget(widget)); -} - -void PythonQtWrapper_QSplitter::changeEvent(QSplitter* theWrappedObject, QEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QSplitter*)theWrappedObject)->promoted_changeEvent(arg__1)); -} - -int PythonQtWrapper_QSplitter::count(QSplitter* theWrappedObject) const -{ - return ( theWrappedObject->count()); -} - -bool PythonQtWrapper_QSplitter::restoreState(QSplitter* theWrappedObject, const QByteArray& state) -{ - return ( theWrappedObject->restoreState(state)); -} - -void PythonQtWrapper_QSplitter::resizeEvent(QSplitter* theWrappedObject, QResizeEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QSplitter*)theWrappedObject)->promoted_resizeEvent(arg__1)); -} - -bool PythonQtWrapper_QSplitter::opaqueResize(QSplitter* theWrappedObject) const -{ - return ( theWrappedObject->opaqueResize()); -} - -void PythonQtWrapper_QSplitter::refresh(QSplitter* theWrappedObject) -{ - ( theWrappedObject->refresh()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSplitter.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSplitter.h deleted file mode 100644 index e05d0cf..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSplitter.h +++ /dev/null @@ -1,137 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSPLITTER_H -#define PYTHONQTWRAPPER_QSPLITTER_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QSplitter : public QSplitter -{ -public: - PythonQtShell_QSplitter(QWidget* parent = 0):QSplitter(parent),_wrapper(NULL) {}; - PythonQtShell_QSplitter(Qt::Orientation arg__1, QWidget* parent = 0):QSplitter(arg__1, parent),_wrapper(NULL) {}; - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual QSplitterHandle* createHandle(); -virtual void customEvent(QEvent* arg__1); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* arg__1); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void showEvent(QShowEvent* arg__1); -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QSplitter : public QSplitter -{ public: -inline void promoted_childEvent(QChildEvent* arg__1) { QSplitter::childEvent(arg__1); } -inline QSplitterHandle* promoted_createHandle() { return QSplitter::createHandle(); } -inline bool promoted_event(QEvent* arg__1) { return QSplitter::event(arg__1); } -inline void promoted_changeEvent(QEvent* arg__1) { QSplitter::changeEvent(arg__1); } -inline void promoted_resizeEvent(QResizeEvent* arg__1) { QSplitter::resizeEvent(arg__1); } -}; - -class PythonQtWrapper_QSplitter : public QObject -{ Q_OBJECT -public: -public slots: -QSplitter* new_QSplitter(QWidget* parent = 0); -QSplitter* new_QSplitter(Qt::Orientation arg__1, QWidget* parent = 0); -void delete_QSplitter(QSplitter* obj) { delete obj; } - bool isCollapsible(QSplitter* theWrappedObject, int index) const; - Qt::Orientation orientation(QSplitter* theWrappedObject) const; - int handleWidth(QSplitter* theWrappedObject) const; - QSize minimumSizeHint(QSplitter* theWrappedObject) const; - void childEvent(QSplitter* theWrappedObject, QChildEvent* arg__1); - void setOpaqueResize(QSplitter* theWrappedObject, bool opaque = true); - void readFrom(QSplitter* theWrappedObject, QTextStream& arg__1); - void insertWidget(QSplitter* theWrappedObject, int index, QWidget* widget); - QSplitterHandle* createHandle(QSplitter* theWrappedObject); - void setSizes(QSplitter* theWrappedObject, const QList& list); - void setStretchFactor(QSplitter* theWrappedObject, int index, int stretch); - QSize sizeHint(QSplitter* theWrappedObject) const; - void writeTo(QSplitter* theWrappedObject, QTextStream& arg__1); - void setOrientation(QSplitter* theWrappedObject, Qt::Orientation arg__1); - bool childrenCollapsible(QSplitter* theWrappedObject) const; - bool event(QSplitter* theWrappedObject, QEvent* arg__1); - void getRange(QSplitter* theWrappedObject, int index, int* arg__2, int* arg__3) const; - void setHandleWidth(QSplitter* theWrappedObject, int arg__1); - QWidget* widget(QSplitter* theWrappedObject, int index) const; - QSplitterHandle* handle(QSplitter* theWrappedObject, int index) const; - void setChildrenCollapsible(QSplitter* theWrappedObject, bool arg__1); - void setCollapsible(QSplitter* theWrappedObject, int index, bool arg__2); - QList sizes(QSplitter* theWrappedObject) const; - int indexOf(QSplitter* theWrappedObject, QWidget* w) const; - QByteArray saveState(QSplitter* theWrappedObject) const; - void addWidget(QSplitter* theWrappedObject, QWidget* widget); - void changeEvent(QSplitter* theWrappedObject, QEvent* arg__1); - int count(QSplitter* theWrappedObject) const; - bool restoreState(QSplitter* theWrappedObject, const QByteArray& state); - void resizeEvent(QSplitter* theWrappedObject, QResizeEvent* arg__1); - bool opaqueResize(QSplitter* theWrappedObject) const; - void refresh(QSplitter* theWrappedObject); -}; - -#endif // PYTHONQTWRAPPER_QSPLITTER_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSplitterHandle.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSplitterHandle.cpp deleted file mode 100644 index 7c6e8fe..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSplitterHandle.cpp +++ /dev/null @@ -1,849 +0,0 @@ -#include "PythonQtWrapper_QSplitterHandle.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QSplitterHandle::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QSplitterHandle::actionEvent(arg__1); -} -void PythonQtShell_QSplitterHandle::changeEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSplitterHandle::changeEvent(arg__1); -} -void PythonQtShell_QSplitterHandle::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; - } -} - QSplitterHandle::childEvent(arg__1); -} -void PythonQtShell_QSplitterHandle::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QSplitterHandle::closeEvent(arg__1); -} -void PythonQtShell_QSplitterHandle::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSplitterHandle::contextMenuEvent(arg__1); -} -void PythonQtShell_QSplitterHandle::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; - } -} - QSplitterHandle::customEvent(arg__1); -} -int PythonQtShell_QSplitterHandle::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSplitterHandle::devType(); -} -void PythonQtShell_QSplitterHandle::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QSplitterHandle::dragEnterEvent(arg__1); -} -void PythonQtShell_QSplitterHandle::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QSplitterHandle::dragLeaveEvent(arg__1); -} -void PythonQtShell_QSplitterHandle::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QSplitterHandle::dragMoveEvent(arg__1); -} -void PythonQtShell_QSplitterHandle::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QSplitterHandle::dropEvent(arg__1); -} -void PythonQtShell_QSplitterHandle::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QSplitterHandle::enterEvent(arg__1); -} -bool PythonQtShell_QSplitterHandle::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSplitterHandle::event(arg__1); -} -bool PythonQtShell_QSplitterHandle::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSplitterHandle::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QSplitterHandle::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QSplitterHandle::focusInEvent(arg__1); -} -bool PythonQtShell_QSplitterHandle::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSplitterHandle::focusNextPrevChild(next); -} -void PythonQtShell_QSplitterHandle::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QSplitterHandle::focusOutEvent(arg__1); -} -int PythonQtShell_QSplitterHandle::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSplitterHandle::heightForWidth(arg__1); -} -void PythonQtShell_QSplitterHandle::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QSplitterHandle::hideEvent(arg__1); -} -void PythonQtShell_QSplitterHandle::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QSplitterHandle::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QSplitterHandle::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSplitterHandle::inputMethodQuery(arg__1); -} -void PythonQtShell_QSplitterHandle::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSplitterHandle::keyPressEvent(arg__1); -} -void PythonQtShell_QSplitterHandle::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSplitterHandle::keyReleaseEvent(arg__1); -} -void PythonQtShell_QSplitterHandle::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSplitterHandle::languageChange(); -} -void PythonQtShell_QSplitterHandle::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QSplitterHandle::leaveEvent(arg__1); -} -int PythonQtShell_QSplitterHandle::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSplitterHandle::metric(arg__1); -} -QSize PythonQtShell_QSplitterHandle::minimumSizeHint() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSplitterHandle::minimumSizeHint(); -} -void PythonQtShell_QSplitterHandle::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QSplitterHandle::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QSplitterHandle::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QSplitterHandle::mouseMoveEvent(arg__1); -} -void PythonQtShell_QSplitterHandle::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QSplitterHandle::mousePressEvent(arg__1); -} -void PythonQtShell_QSplitterHandle::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QSplitterHandle::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QSplitterHandle::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSplitterHandle::moveEvent(arg__1); -} -QPaintEngine* PythonQtShell_QSplitterHandle::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSplitterHandle::paintEngine(); -} -void PythonQtShell_QSplitterHandle::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - 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; - } -} - QSplitterHandle::paintEvent(arg__1); -} -void PythonQtShell_QSplitterHandle::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - 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; - } -} - QSplitterHandle::resizeEvent(arg__1); -} -void PythonQtShell_QSplitterHandle::showEvent(QShowEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QSplitterHandle::showEvent(arg__1); -} -void PythonQtShell_QSplitterHandle::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QSplitterHandle::tabletEvent(arg__1); -} -void PythonQtShell_QSplitterHandle::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; - } -} - QSplitterHandle::timerEvent(arg__1); -} -void PythonQtShell_QSplitterHandle::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSplitterHandle::wheelEvent(arg__1); -} -QSplitterHandle* PythonQtWrapper_QSplitterHandle::new_QSplitterHandle(Qt::Orientation o, QSplitter* parent) -{ -return new PythonQtShell_QSplitterHandle(o, parent); } - -void PythonQtWrapper_QSplitterHandle::paintEvent(QSplitterHandle* theWrappedObject, QPaintEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QSplitterHandle*)theWrappedObject)->promoted_paintEvent(arg__1)); -} - -bool PythonQtWrapper_QSplitterHandle::opaqueResize(QSplitterHandle* theWrappedObject) const -{ - return ( theWrappedObject->opaqueResize()); -} - -Qt::Orientation PythonQtWrapper_QSplitterHandle::orientation(QSplitterHandle* theWrappedObject) const -{ - return ( theWrappedObject->orientation()); -} - -QSplitter* PythonQtWrapper_QSplitterHandle::splitter(QSplitterHandle* theWrappedObject) const -{ - return ( theWrappedObject->splitter()); -} - -void PythonQtWrapper_QSplitterHandle::mouseMoveEvent(QSplitterHandle* theWrappedObject, QMouseEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QSplitterHandle*)theWrappedObject)->promoted_mouseMoveEvent(arg__1)); -} - -void PythonQtWrapper_QSplitterHandle::mousePressEvent(QSplitterHandle* theWrappedObject, QMouseEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QSplitterHandle*)theWrappedObject)->promoted_mousePressEvent(arg__1)); -} - -void PythonQtWrapper_QSplitterHandle::mouseReleaseEvent(QSplitterHandle* theWrappedObject, QMouseEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QSplitterHandle*)theWrappedObject)->promoted_mouseReleaseEvent(arg__1)); -} - -bool PythonQtWrapper_QSplitterHandle::event(QSplitterHandle* theWrappedObject, QEvent* arg__1) -{ - return ( ((PythonQtPublicPromoter_QSplitterHandle*)theWrappedObject)->promoted_event(arg__1)); -} - -void PythonQtWrapper_QSplitterHandle::setOrientation(QSplitterHandle* theWrappedObject, Qt::Orientation o) -{ - ( theWrappedObject->setOrientation(o)); -} - -QSize PythonQtWrapper_QSplitterHandle::sizeHint(QSplitterHandle* theWrappedObject) const -{ - return ( theWrappedObject->sizeHint()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSplitterHandle.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSplitterHandle.h deleted file mode 100644 index 3ff1469..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSplitterHandle.h +++ /dev/null @@ -1,112 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSPLITTERHANDLE_H -#define PYTHONQTWRAPPER_QSPLITTERHANDLE_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QSplitterHandle : public QSplitterHandle -{ -public: - PythonQtShell_QSplitterHandle(Qt::Orientation o, QSplitter* parent):QSplitterHandle(o, parent),_wrapper(NULL) {}; - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* arg__1); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void showEvent(QShowEvent* arg__1); -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QSplitterHandle : public QSplitterHandle -{ public: -inline void promoted_paintEvent(QPaintEvent* arg__1) { QSplitterHandle::paintEvent(arg__1); } -inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { QSplitterHandle::mouseMoveEvent(arg__1); } -inline void promoted_mousePressEvent(QMouseEvent* arg__1) { QSplitterHandle::mousePressEvent(arg__1); } -inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { QSplitterHandle::mouseReleaseEvent(arg__1); } -inline bool promoted_event(QEvent* arg__1) { return QSplitterHandle::event(arg__1); } -}; - -class PythonQtWrapper_QSplitterHandle : public QObject -{ Q_OBJECT -public: -public slots: -QSplitterHandle* new_QSplitterHandle(Qt::Orientation o, QSplitter* parent); -void delete_QSplitterHandle(QSplitterHandle* obj) { delete obj; } - void paintEvent(QSplitterHandle* theWrappedObject, QPaintEvent* arg__1); - bool opaqueResize(QSplitterHandle* theWrappedObject) const; - Qt::Orientation orientation(QSplitterHandle* theWrappedObject) const; - QSplitter* splitter(QSplitterHandle* theWrappedObject) const; - void mouseMoveEvent(QSplitterHandle* theWrappedObject, QMouseEvent* arg__1); - void mousePressEvent(QSplitterHandle* theWrappedObject, QMouseEvent* arg__1); - void mouseReleaseEvent(QSplitterHandle* theWrappedObject, QMouseEvent* arg__1); - bool event(QSplitterHandle* theWrappedObject, QEvent* arg__1); - void setOrientation(QSplitterHandle* theWrappedObject, Qt::Orientation o); - QSize sizeHint(QSplitterHandle* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QSPLITTERHANDLE_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStackedLayout.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStackedLayout.cpp deleted file mode 100644 index 333b666..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStackedLayout.cpp +++ /dev/null @@ -1,542 +0,0 @@ -#include "PythonQtWrapper_QStackedLayout.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QStackedLayout::addItem(QLayoutItem* item) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "addItem"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QLayoutItem*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&item}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QStackedLayout::addItem(item); -} -void PythonQtShell_QStackedLayout::childEvent(QChildEvent* e) -{ -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*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QStackedLayout::childEvent(e); -} -int PythonQtShell_QStackedLayout::count() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "count"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStackedLayout::count(); -} -void PythonQtShell_QStackedLayout::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; - } -} - QStackedLayout::customEvent(arg__1); -} -bool PythonQtShell_QStackedLayout::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStackedLayout::event(arg__1); -} -bool PythonQtShell_QStackedLayout::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStackedLayout::eventFilter(arg__1, arg__2); -} -Qt::Orientations PythonQtShell_QStackedLayout::expandingDirections() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "expandingDirections"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"Qt::Orientations"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::Orientations returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); - } else { - returnValue = *((Qt::Orientations*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStackedLayout::expandingDirections(); -} -QRect PythonQtShell_QStackedLayout::geometry() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "geometry"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QRect"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRect returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStackedLayout::geometry(); -} -int PythonQtShell_QStackedLayout::indexOf(QWidget* arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "indexOf"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("indexOf", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStackedLayout::indexOf(arg__1); -} -void PythonQtShell_QStackedLayout::invalidate() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "invalidate"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QStackedLayout::invalidate(); -} -bool PythonQtShell_QStackedLayout::isEmpty() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isEmpty"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStackedLayout::isEmpty(); -} -QLayoutItem* PythonQtShell_QStackedLayout::itemAt(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemAt"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QLayoutItem*" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QLayoutItem* 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("itemAt", methodInfo, result); - } else { - returnValue = *((QLayoutItem**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStackedLayout::itemAt(arg__1); -} -QLayout* PythonQtShell_QStackedLayout::layout() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "layout"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QLayout*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QLayout* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("layout", methodInfo, result); - } else { - returnValue = *((QLayout**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStackedLayout::layout(); -} -QSize PythonQtShell_QStackedLayout::maximumSize() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "maximumSize"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStackedLayout::maximumSize(); -} -QSize PythonQtShell_QStackedLayout::minimumSize() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "minimumSize"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStackedLayout::minimumSize(); -} -void PythonQtShell_QStackedLayout::setGeometry(const QRect& rect) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setGeometry"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QRect&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&rect}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QStackedLayout::setGeometry(rect); -} -QLayoutItem* PythonQtShell_QStackedLayout::takeAt(int arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "takeAt"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QLayoutItem*" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QLayoutItem* 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("takeAt", methodInfo, result); - } else { - returnValue = *((QLayoutItem**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStackedLayout::takeAt(arg__1); -} -void PythonQtShell_QStackedLayout::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; - } -} - QStackedLayout::timerEvent(arg__1); -} -QStackedLayout* PythonQtWrapper_QStackedLayout::new_QStackedLayout() -{ -return new PythonQtShell_QStackedLayout(); } - -QStackedLayout* PythonQtWrapper_QStackedLayout::new_QStackedLayout(QLayout* parentLayout) -{ -return new PythonQtShell_QStackedLayout(parentLayout); } - -QStackedLayout* PythonQtWrapper_QStackedLayout::new_QStackedLayout(QWidget* parent) -{ -return new PythonQtShell_QStackedLayout(parent); } - -int PythonQtWrapper_QStackedLayout::count(QStackedLayout* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QStackedLayout*)theWrappedObject)->promoted_count()); -} - -QStackedLayout::StackingMode PythonQtWrapper_QStackedLayout::stackingMode(QStackedLayout* theWrappedObject) const -{ - return ( theWrappedObject->stackingMode()); -} - -void PythonQtWrapper_QStackedLayout::addItem(QStackedLayout* theWrappedObject, QLayoutItem* item) -{ - ( ((PythonQtPublicPromoter_QStackedLayout*)theWrappedObject)->promoted_addItem(item)); -} - -QSize PythonQtWrapper_QStackedLayout::sizeHint(QStackedLayout* theWrappedObject) const -{ - return ( theWrappedObject->sizeHint()); -} - -int PythonQtWrapper_QStackedLayout::addWidget(QStackedLayout* theWrappedObject, QWidget* w) -{ - return ( theWrappedObject->addWidget(w)); -} - -int PythonQtWrapper_QStackedLayout::insertWidget(QStackedLayout* theWrappedObject, int index, QWidget* w) -{ - return ( theWrappedObject->insertWidget(index, w)); -} - -QWidget* PythonQtWrapper_QStackedLayout::widget(QStackedLayout* theWrappedObject) -{ - return ( theWrappedObject->widget()); -} - -void PythonQtWrapper_QStackedLayout::setStackingMode(QStackedLayout* theWrappedObject, QStackedLayout::StackingMode stackingMode) -{ - ( theWrappedObject->setStackingMode(stackingMode)); -} - -QSize PythonQtWrapper_QStackedLayout::minimumSize(QStackedLayout* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QStackedLayout*)theWrappedObject)->promoted_minimumSize()); -} - -int PythonQtWrapper_QStackedLayout::currentIndex(QStackedLayout* theWrappedObject) const -{ - return ( theWrappedObject->currentIndex()); -} - -QLayoutItem* PythonQtWrapper_QStackedLayout::takeAt(QStackedLayout* theWrappedObject, int arg__1) -{ - return ( ((PythonQtPublicPromoter_QStackedLayout*)theWrappedObject)->promoted_takeAt(arg__1)); -} - -void PythonQtWrapper_QStackedLayout::setGeometry(QStackedLayout* theWrappedObject, const QRect& rect) -{ - ( ((PythonQtPublicPromoter_QStackedLayout*)theWrappedObject)->promoted_setGeometry(rect)); -} - -QWidget* PythonQtWrapper_QStackedLayout::widget(QStackedLayout* theWrappedObject, int arg__1) const -{ - return ( theWrappedObject->widget(arg__1)); -} - -QWidget* PythonQtWrapper_QStackedLayout::currentWidget(QStackedLayout* theWrappedObject) const -{ - return ( theWrappedObject->currentWidget()); -} - -QLayoutItem* PythonQtWrapper_QStackedLayout::itemAt(QStackedLayout* theWrappedObject, int arg__1) const -{ - return ( ((PythonQtPublicPromoter_QStackedLayout*)theWrappedObject)->promoted_itemAt(arg__1)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStackedLayout.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStackedLayout.h deleted file mode 100644 index 7980b0e..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStackedLayout.h +++ /dev/null @@ -1,85 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSTACKEDLAYOUT_H -#define PYTHONQTWRAPPER_QSTACKEDLAYOUT_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QStackedLayout : public QStackedLayout -{ -public: - PythonQtShell_QStackedLayout():QStackedLayout(),_wrapper(NULL) {}; - PythonQtShell_QStackedLayout(QLayout* parentLayout):QStackedLayout(parentLayout),_wrapper(NULL) {}; - PythonQtShell_QStackedLayout(QWidget* parent):QStackedLayout(parent),_wrapper(NULL) {}; - -virtual void addItem(QLayoutItem* item); -virtual void childEvent(QChildEvent* e); -virtual int count() const; -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual Qt::Orientations expandingDirections() const; -virtual QRect geometry() const; -virtual int indexOf(QWidget* arg__1) const; -virtual void invalidate(); -virtual bool isEmpty() const; -virtual QLayoutItem* itemAt(int arg__1) const; -virtual QLayout* layout(); -virtual QSize maximumSize() const; -virtual QSize minimumSize() const; -virtual void setGeometry(const QRect& rect); -virtual QLayoutItem* takeAt(int arg__1); -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QStackedLayout : public QStackedLayout -{ public: -inline int promoted_count() const { return QStackedLayout::count(); } -inline void promoted_addItem(QLayoutItem* item) { QStackedLayout::addItem(item); } -inline QSize promoted_minimumSize() const { return QStackedLayout::minimumSize(); } -inline QLayoutItem* promoted_takeAt(int arg__1) { return QStackedLayout::takeAt(arg__1); } -inline void promoted_setGeometry(const QRect& rect) { QStackedLayout::setGeometry(rect); } -inline QLayoutItem* promoted_itemAt(int arg__1) const { return QStackedLayout::itemAt(arg__1); } -}; - -class PythonQtWrapper_QStackedLayout : public QObject -{ Q_OBJECT -public: -public slots: -QStackedLayout* new_QStackedLayout(); -QStackedLayout* new_QStackedLayout(QLayout* parentLayout); -QStackedLayout* new_QStackedLayout(QWidget* parent); -void delete_QStackedLayout(QStackedLayout* obj) { delete obj; } - int count(QStackedLayout* theWrappedObject) const; - QStackedLayout::StackingMode stackingMode(QStackedLayout* theWrappedObject) const; - void addItem(QStackedLayout* theWrappedObject, QLayoutItem* item); - QSize sizeHint(QStackedLayout* theWrappedObject) const; - int addWidget(QStackedLayout* theWrappedObject, QWidget* w); - int insertWidget(QStackedLayout* theWrappedObject, int index, QWidget* w); - QWidget* widget(QStackedLayout* theWrappedObject); - void setStackingMode(QStackedLayout* theWrappedObject, QStackedLayout::StackingMode stackingMode); - QSize minimumSize(QStackedLayout* theWrappedObject) const; - int currentIndex(QStackedLayout* theWrappedObject) const; - QLayoutItem* takeAt(QStackedLayout* theWrappedObject, int arg__1); - void setGeometry(QStackedLayout* theWrappedObject, const QRect& rect); - QWidget* widget(QStackedLayout* theWrappedObject, int arg__1) const; - QWidget* currentWidget(QStackedLayout* theWrappedObject) const; - QLayoutItem* itemAt(QStackedLayout* theWrappedObject, int arg__1) const; -}; - -#endif // PYTHONQTWRAPPER_QSTACKEDLAYOUT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStackedWidget.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStackedWidget.cpp deleted file mode 100644 index a25b135..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStackedWidget.cpp +++ /dev/null @@ -1,844 +0,0 @@ -#include "PythonQtWrapper_QStackedWidget.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QStackedWidget::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QStackedWidget::actionEvent(arg__1); -} -void PythonQtShell_QStackedWidget::changeEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QStackedWidget::changeEvent(arg__1); -} -void PythonQtShell_QStackedWidget::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; - } -} - QStackedWidget::childEvent(arg__1); -} -void PythonQtShell_QStackedWidget::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QStackedWidget::closeEvent(arg__1); -} -void PythonQtShell_QStackedWidget::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QStackedWidget::contextMenuEvent(arg__1); -} -void PythonQtShell_QStackedWidget::customEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QStackedWidget::customEvent(arg__1); -} -int PythonQtShell_QStackedWidget::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStackedWidget::devType(); -} -void PythonQtShell_QStackedWidget::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QStackedWidget::dragEnterEvent(arg__1); -} -void PythonQtShell_QStackedWidget::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QStackedWidget::dragLeaveEvent(arg__1); -} -void PythonQtShell_QStackedWidget::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QStackedWidget::dragMoveEvent(arg__1); -} -void PythonQtShell_QStackedWidget::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QStackedWidget::dropEvent(arg__1); -} -void PythonQtShell_QStackedWidget::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QStackedWidget::enterEvent(arg__1); -} -bool PythonQtShell_QStackedWidget::event(QEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStackedWidget::event(e); -} -bool PythonQtShell_QStackedWidget::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStackedWidget::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QStackedWidget::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QStackedWidget::focusInEvent(arg__1); -} -bool PythonQtShell_QStackedWidget::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStackedWidget::focusNextPrevChild(next); -} -void PythonQtShell_QStackedWidget::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QStackedWidget::focusOutEvent(arg__1); -} -int PythonQtShell_QStackedWidget::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStackedWidget::heightForWidth(arg__1); -} -void PythonQtShell_QStackedWidget::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QStackedWidget::hideEvent(arg__1); -} -void PythonQtShell_QStackedWidget::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QStackedWidget::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QStackedWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStackedWidget::inputMethodQuery(arg__1); -} -void PythonQtShell_QStackedWidget::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QStackedWidget::keyPressEvent(arg__1); -} -void PythonQtShell_QStackedWidget::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QStackedWidget::keyReleaseEvent(arg__1); -} -void PythonQtShell_QStackedWidget::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QStackedWidget::languageChange(); -} -void PythonQtShell_QStackedWidget::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QStackedWidget::leaveEvent(arg__1); -} -int PythonQtShell_QStackedWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStackedWidget::metric(arg__1); -} -QSize PythonQtShell_QStackedWidget::minimumSizeHint() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStackedWidget::minimumSizeHint(); -} -void PythonQtShell_QStackedWidget::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QStackedWidget::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QStackedWidget::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QStackedWidget::mouseMoveEvent(arg__1); -} -void PythonQtShell_QStackedWidget::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QStackedWidget::mousePressEvent(arg__1); -} -void PythonQtShell_QStackedWidget::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QStackedWidget::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QStackedWidget::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QStackedWidget::moveEvent(arg__1); -} -QPaintEngine* PythonQtShell_QStackedWidget::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStackedWidget::paintEngine(); -} -void PythonQtShell_QStackedWidget::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QStackedWidget::paintEvent(arg__1); -} -void PythonQtShell_QStackedWidget::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QStackedWidget::resizeEvent(arg__1); -} -void PythonQtShell_QStackedWidget::showEvent(QShowEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QStackedWidget::showEvent(arg__1); -} -void PythonQtShell_QStackedWidget::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QStackedWidget::tabletEvent(arg__1); -} -void PythonQtShell_QStackedWidget::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; - } -} - QStackedWidget::timerEvent(arg__1); -} -void PythonQtShell_QStackedWidget::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QStackedWidget::wheelEvent(arg__1); -} -QStackedWidget* PythonQtWrapper_QStackedWidget::new_QStackedWidget(QWidget* parent) -{ -return new PythonQtShell_QStackedWidget(parent); } - -QWidget* PythonQtWrapper_QStackedWidget::currentWidget(QStackedWidget* theWrappedObject) const -{ - return ( theWrappedObject->currentWidget()); -} - -int PythonQtWrapper_QStackedWidget::indexOf(QStackedWidget* theWrappedObject, QWidget* arg__1) const -{ - return ( theWrappedObject->indexOf(arg__1)); -} - -int PythonQtWrapper_QStackedWidget::insertWidget(QStackedWidget* theWrappedObject, int index, QWidget* w) -{ - return ( theWrappedObject->insertWidget(index, w)); -} - -int PythonQtWrapper_QStackedWidget::currentIndex(QStackedWidget* theWrappedObject) const -{ - return ( theWrappedObject->currentIndex()); -} - -QWidget* PythonQtWrapper_QStackedWidget::widget(QStackedWidget* theWrappedObject, int arg__1) const -{ - return ( theWrappedObject->widget(arg__1)); -} - -bool PythonQtWrapper_QStackedWidget::event(QStackedWidget* theWrappedObject, QEvent* e) -{ - return ( ((PythonQtPublicPromoter_QStackedWidget*)theWrappedObject)->promoted_event(e)); -} - -int PythonQtWrapper_QStackedWidget::addWidget(QStackedWidget* theWrappedObject, QWidget* w) -{ - return ( theWrappedObject->addWidget(w)); -} - -int PythonQtWrapper_QStackedWidget::count(QStackedWidget* theWrappedObject) const -{ - return ( theWrappedObject->count()); -} - -void PythonQtWrapper_QStackedWidget::removeWidget(QStackedWidget* theWrappedObject, QWidget* w) -{ - ( theWrappedObject->removeWidget(w)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStackedWidget.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStackedWidget.h deleted file mode 100644 index 980578b..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStackedWidget.h +++ /dev/null @@ -1,107 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSTACKEDWIDGET_H -#define PYTHONQTWRAPPER_QSTACKEDWIDGET_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QStackedWidget : public QStackedWidget -{ -public: - PythonQtShell_QStackedWidget(QWidget* parent = 0):QStackedWidget(parent),_wrapper(NULL) {}; - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* arg__1); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void showEvent(QShowEvent* arg__1); -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QStackedWidget : public QStackedWidget -{ public: -inline bool promoted_event(QEvent* e) { return QStackedWidget::event(e); } -}; - -class PythonQtWrapper_QStackedWidget : public QObject -{ Q_OBJECT -public: -public slots: -QStackedWidget* new_QStackedWidget(QWidget* parent = 0); -void delete_QStackedWidget(QStackedWidget* obj) { delete obj; } - QWidget* currentWidget(QStackedWidget* theWrappedObject) const; - int indexOf(QStackedWidget* theWrappedObject, QWidget* arg__1) const; - int insertWidget(QStackedWidget* theWrappedObject, int index, QWidget* w); - int currentIndex(QStackedWidget* theWrappedObject) const; - QWidget* widget(QStackedWidget* theWrappedObject, int arg__1) const; - bool event(QStackedWidget* theWrappedObject, QEvent* e); - int addWidget(QStackedWidget* theWrappedObject, QWidget* w); - int count(QStackedWidget* theWrappedObject) const; - void removeWidget(QStackedWidget* theWrappedObject, QWidget* w); -}; - -#endif // PYTHONQTWRAPPER_QSTACKEDWIDGET_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStandardItem.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStandardItem.cpp deleted file mode 100644 index 825ca2f..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStandardItem.cpp +++ /dev/null @@ -1,589 +0,0 @@ -#include "PythonQtWrapper_QStandardItem.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QStandardItem* PythonQtShell_QStandardItem::clone() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "clone"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QStandardItem*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStandardItem* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("clone", methodInfo, result); - } else { - returnValue = *((QStandardItem**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStandardItem::clone(); -} -QVariant PythonQtShell_QStandardItem::data(int role) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "data"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&role}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStandardItem::data(role); -} -bool PythonQtShell_QStandardItem::operator_less(const QStandardItem& other) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "operator_less"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QStandardItem&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&other}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("operator_less", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStandardItem::operator<(other); -} -void PythonQtShell_QStandardItem::read(QDataStream& in) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "read"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDataStream&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&in}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QStandardItem::read(in); -} -void PythonQtShell_QStandardItem::setData(const QVariant& value, int role) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QVariant&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&value, (void*)&role}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QStandardItem::setData(value, role); -} -int PythonQtShell_QStandardItem::type() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "type"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStandardItem::type(); -} -void PythonQtShell_QStandardItem::write(QDataStream& out) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "write"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDataStream&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&out}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QStandardItem::write(out); -} -QStandardItem* PythonQtWrapper_QStandardItem::new_QStandardItem() -{ -return new PythonQtShell_QStandardItem(); } - -QStandardItem* PythonQtWrapper_QStandardItem::new_QStandardItem(const QIcon& icon, const QString& text) -{ -return new PythonQtShell_QStandardItem(icon, text); } - -QStandardItem* PythonQtWrapper_QStandardItem::new_QStandardItem(const QString& text) -{ -return new PythonQtShell_QStandardItem(text); } - -QStandardItem* PythonQtWrapper_QStandardItem::new_QStandardItem(int rows, int columns) -{ -return new PythonQtShell_QStandardItem(rows, columns); } - -QStandardItem* PythonQtWrapper_QStandardItem::clone(QStandardItem* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QStandardItem*)theWrappedObject)->promoted_clone()); -} - -QStandardItem* PythonQtWrapper_QStandardItem::parent(QStandardItem* theWrappedObject) const -{ - return ( theWrappedObject->parent()); -} - -void PythonQtWrapper_QStandardItem::setCheckable(QStandardItem* theWrappedObject, bool checkable) -{ - ( theWrappedObject->setCheckable(checkable)); -} - -void PythonQtWrapper_QStandardItem::setRowCount(QStandardItem* theWrappedObject, int rows) -{ - ( theWrappedObject->setRowCount(rows)); -} - -bool PythonQtWrapper_QStandardItem::isDropEnabled(QStandardItem* theWrappedObject) const -{ - return ( theWrappedObject->isDropEnabled()); -} - -bool PythonQtWrapper_QStandardItem::isTristate(QStandardItem* theWrappedObject) const -{ - return ( theWrappedObject->isTristate()); -} - -bool PythonQtWrapper_QStandardItem::isEnabled(QStandardItem* theWrappedObject) const -{ - return ( theWrappedObject->isEnabled()); -} - -bool PythonQtWrapper_QStandardItem::hasChildren(QStandardItem* theWrappedObject) const -{ - return ( theWrappedObject->hasChildren()); -} - -QStandardItem* PythonQtWrapper_QStandardItem::takeChild(QStandardItem* theWrappedObject, int row, int column) -{ - return ( theWrappedObject->takeChild(row, column)); -} - -void PythonQtWrapper_QStandardItem::appendRow(QStandardItem* theWrappedObject, const QList& items) -{ - ( theWrappedObject->appendRow(items)); -} - -void PythonQtWrapper_QStandardItem::removeRow(QStandardItem* theWrappedObject, int row) -{ - ( theWrappedObject->removeRow(row)); -} - -void PythonQtWrapper_QStandardItem::setAccessibleDescription(QStandardItem* theWrappedObject, const QString& accessibleDescription) -{ - ( theWrappedObject->setAccessibleDescription(accessibleDescription)); -} - -void PythonQtWrapper_QStandardItem::setIcon(QStandardItem* theWrappedObject, const QIcon& icon) -{ - ( theWrappedObject->setIcon(icon)); -} - -QVariant PythonQtWrapper_QStandardItem::data(QStandardItem* theWrappedObject, int role) const -{ - return ( ((PythonQtPublicPromoter_QStandardItem*)theWrappedObject)->promoted_data(role)); -} - -QList PythonQtWrapper_QStandardItem::takeColumn(QStandardItem* theWrappedObject, int column) -{ - return ( theWrappedObject->takeColumn(column)); -} - -QIcon PythonQtWrapper_QStandardItem::icon(QStandardItem* theWrappedObject) const -{ - return ( theWrappedObject->icon()); -} - -void PythonQtWrapper_QStandardItem::removeColumns(QStandardItem* theWrappedObject, int column, int count) -{ - ( theWrappedObject->removeColumns(column, count)); -} - -int PythonQtWrapper_QStandardItem::column(QStandardItem* theWrappedObject) const -{ - return ( theWrappedObject->column()); -} - -QSize PythonQtWrapper_QStandardItem::sizeHint(QStandardItem* theWrappedObject) const -{ - return ( theWrappedObject->sizeHint()); -} - -QString PythonQtWrapper_QStandardItem::accessibleDescription(QStandardItem* theWrappedObject) const -{ - return ( theWrappedObject->accessibleDescription()); -} - -QList PythonQtWrapper_QStandardItem::takeRow(QStandardItem* theWrappedObject, int row) -{ - return ( theWrappedObject->takeRow(row)); -} - -QFont PythonQtWrapper_QStandardItem::font(QStandardItem* theWrappedObject) const -{ - return ( theWrappedObject->font()); -} - -void PythonQtWrapper_QStandardItem::setColumnCount(QStandardItem* theWrappedObject, int columns) -{ - ( theWrappedObject->setColumnCount(columns)); -} - -void PythonQtWrapper_QStandardItem::setEnabled(QStandardItem* theWrappedObject, bool enabled) -{ - ( theWrappedObject->setEnabled(enabled)); -} - -QStandardItem* PythonQtWrapper_QStandardItem::child(QStandardItem* theWrappedObject, int row, int column) const -{ - return ( theWrappedObject->child(row, column)); -} - -void PythonQtWrapper_QStandardItem::setSelectable(QStandardItem* theWrappedObject, bool selectable) -{ - ( theWrappedObject->setSelectable(selectable)); -} - -QBrush PythonQtWrapper_QStandardItem::foreground(QStandardItem* theWrappedObject) const -{ - return ( theWrappedObject->foreground()); -} - -void PythonQtWrapper_QStandardItem::setSizeHint(QStandardItem* theWrappedObject, const QSize& sizeHint) -{ - ( theWrappedObject->setSizeHint(sizeHint)); -} - -void PythonQtWrapper_QStandardItem::setDragEnabled(QStandardItem* theWrappedObject, bool dragEnabled) -{ - ( theWrappedObject->setDragEnabled(dragEnabled)); -} - -void PythonQtWrapper_QStandardItem::setTextAlignment(QStandardItem* theWrappedObject, Qt::Alignment textAlignment) -{ - ( theWrappedObject->setTextAlignment(textAlignment)); -} - -QModelIndex PythonQtWrapper_QStandardItem::index(QStandardItem* theWrappedObject) const -{ - return ( theWrappedObject->index()); -} - -void PythonQtWrapper_QStandardItem::readFrom(QStandardItem* theWrappedObject, QDataStream& in) -{ - in >> (*theWrappedObject); -} - -void PythonQtWrapper_QStandardItem::setToolTip(QStandardItem* theWrappedObject, const QString& toolTip) -{ - ( theWrappedObject->setToolTip(toolTip)); -} - -void PythonQtWrapper_QStandardItem::appendRow(QStandardItem* theWrappedObject, QStandardItem* item) -{ - ( theWrappedObject->appendRow(item)); -} - -void PythonQtWrapper_QStandardItem::insertRows(QStandardItem* theWrappedObject, int row, int count) -{ - ( theWrappedObject->insertRows(row, count)); -} - -void PythonQtWrapper_QStandardItem::insertRows(QStandardItem* theWrappedObject, int row, const QList& items) -{ - ( theWrappedObject->insertRows(row, items)); -} - -Qt::CheckState PythonQtWrapper_QStandardItem::checkState(QStandardItem* theWrappedObject) const -{ - return ( theWrappedObject->checkState()); -} - -int PythonQtWrapper_QStandardItem::columnCount(QStandardItem* theWrappedObject) const -{ - return ( theWrappedObject->columnCount()); -} - -bool PythonQtWrapper_QStandardItem::isSelectable(QStandardItem* theWrappedObject) const -{ - return ( theWrappedObject->isSelectable()); -} - -void PythonQtWrapper_QStandardItem::setAccessibleText(QStandardItem* theWrappedObject, const QString& accessibleText) -{ - ( theWrappedObject->setAccessibleText(accessibleText)); -} - -bool PythonQtWrapper_QStandardItem::isDragEnabled(QStandardItem* theWrappedObject) const -{ - return ( theWrappedObject->isDragEnabled()); -} - -int PythonQtWrapper_QStandardItem::type(QStandardItem* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QStandardItem*)theWrappedObject)->promoted_type()); -} - -void PythonQtWrapper_QStandardItem::setEditable(QStandardItem* theWrappedObject, bool editable) -{ - ( theWrappedObject->setEditable(editable)); -} - -void PythonQtWrapper_QStandardItem::setForeground(QStandardItem* theWrappedObject, const QBrush& brush) -{ - ( theWrappedObject->setForeground(brush)); -} - -QString PythonQtWrapper_QStandardItem::accessibleText(QStandardItem* theWrappedObject) const -{ - return ( theWrappedObject->accessibleText()); -} - -void PythonQtWrapper_QStandardItem::removeColumn(QStandardItem* theWrappedObject, int column) -{ - ( theWrappedObject->removeColumn(column)); -} - -QString PythonQtWrapper_QStandardItem::whatsThis(QStandardItem* theWrappedObject) const -{ - return ( theWrappedObject->whatsThis()); -} - -bool PythonQtWrapper_QStandardItem::isEditable(QStandardItem* theWrappedObject) const -{ - return ( theWrappedObject->isEditable()); -} - -void PythonQtWrapper_QStandardItem::setFlags(QStandardItem* theWrappedObject, Qt::ItemFlags flags) -{ - ( theWrappedObject->setFlags(flags)); -} - -void PythonQtWrapper_QStandardItem::setDropEnabled(QStandardItem* theWrappedObject, bool dropEnabled) -{ - ( theWrappedObject->setDropEnabled(dropEnabled)); -} - -void PythonQtWrapper_QStandardItem::setChild(QStandardItem* theWrappedObject, int row, QStandardItem* item) -{ - ( theWrappedObject->setChild(row, item)); -} - -void PythonQtWrapper_QStandardItem::insertRow(QStandardItem* theWrappedObject, int row, const QList& items) -{ - ( theWrappedObject->insertRow(row, items)); -} - -void PythonQtWrapper_QStandardItem::appendColumn(QStandardItem* theWrappedObject, const QList& items) -{ - ( theWrappedObject->appendColumn(items)); -} - -void PythonQtWrapper_QStandardItem::setBackground(QStandardItem* theWrappedObject, const QBrush& brush) -{ - ( theWrappedObject->setBackground(brush)); -} - -void PythonQtWrapper_QStandardItem::insertColumn(QStandardItem* theWrappedObject, int column, const QList& items) -{ - ( theWrappedObject->insertColumn(column, items)); -} - -void PythonQtWrapper_QStandardItem::setText(QStandardItem* theWrappedObject, const QString& text) -{ - ( theWrappedObject->setText(text)); -} - -void PythonQtWrapper_QStandardItem::writeTo(QStandardItem* theWrappedObject, QDataStream& out) -{ - out << (*theWrappedObject); -} - -QStandardItemModel* PythonQtWrapper_QStandardItem::model(QStandardItem* theWrappedObject) const -{ - return ( theWrappedObject->model()); -} - -void PythonQtWrapper_QStandardItem::setTristate(QStandardItem* theWrappedObject, bool tristate) -{ - ( theWrappedObject->setTristate(tristate)); -} - -void PythonQtWrapper_QStandardItem::setCheckState(QStandardItem* theWrappedObject, Qt::CheckState checkState) -{ - ( theWrappedObject->setCheckState(checkState)); -} - -void PythonQtWrapper_QStandardItem::setStatusTip(QStandardItem* theWrappedObject, const QString& statusTip) -{ - ( theWrappedObject->setStatusTip(statusTip)); -} - -void PythonQtWrapper_QStandardItem::sortChildren(QStandardItem* theWrappedObject, int column, Qt::SortOrder order) -{ - ( theWrappedObject->sortChildren(column, order)); -} - -void PythonQtWrapper_QStandardItem::appendRows(QStandardItem* theWrappedObject, const QList& items) -{ - ( theWrappedObject->appendRows(items)); -} - -QString PythonQtWrapper_QStandardItem::toolTip(QStandardItem* theWrappedObject) const -{ - return ( theWrappedObject->toolTip()); -} - -void PythonQtWrapper_QStandardItem::removeRows(QStandardItem* theWrappedObject, int row, int count) -{ - ( theWrappedObject->removeRows(row, count)); -} - -Qt::Alignment PythonQtWrapper_QStandardItem::textAlignment(QStandardItem* theWrappedObject) const -{ - return ( theWrappedObject->textAlignment()); -} - -void PythonQtWrapper_QStandardItem::setData(QStandardItem* theWrappedObject, const QVariant& value, int role) -{ - ( ((PythonQtPublicPromoter_QStandardItem*)theWrappedObject)->promoted_setData(value, role)); -} - -void PythonQtWrapper_QStandardItem::insertRow(QStandardItem* theWrappedObject, int row, QStandardItem* item) -{ - ( theWrappedObject->insertRow(row, item)); -} - -int PythonQtWrapper_QStandardItem::row(QStandardItem* theWrappedObject) const -{ - return ( theWrappedObject->row()); -} - -QString PythonQtWrapper_QStandardItem::statusTip(QStandardItem* theWrappedObject) const -{ - return ( theWrappedObject->statusTip()); -} - -QString PythonQtWrapper_QStandardItem::text(QStandardItem* theWrappedObject) const -{ - return ( theWrappedObject->text()); -} - -void PythonQtWrapper_QStandardItem::insertColumns(QStandardItem* theWrappedObject, int column, int count) -{ - ( theWrappedObject->insertColumns(column, count)); -} - -bool PythonQtWrapper_QStandardItem::isCheckable(QStandardItem* theWrappedObject) const -{ - return ( theWrappedObject->isCheckable()); -} - -void PythonQtWrapper_QStandardItem::setChild(QStandardItem* theWrappedObject, int row, int column, QStandardItem* item) -{ - ( theWrappedObject->setChild(row, column, item)); -} - -QBrush PythonQtWrapper_QStandardItem::background(QStandardItem* theWrappedObject) const -{ - return ( theWrappedObject->background()); -} - -void PythonQtWrapper_QStandardItem::setFont(QStandardItem* theWrappedObject, const QFont& font) -{ - ( theWrappedObject->setFont(font)); -} - -int PythonQtWrapper_QStandardItem::rowCount(QStandardItem* theWrappedObject) const -{ - return ( theWrappedObject->rowCount()); -} - -Qt::ItemFlags PythonQtWrapper_QStandardItem::flags(QStandardItem* theWrappedObject) const -{ - return ( theWrappedObject->flags()); -} - -void PythonQtWrapper_QStandardItem::setWhatsThis(QStandardItem* theWrappedObject, const QString& whatsThis) -{ - ( theWrappedObject->setWhatsThis(whatsThis)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStandardItem.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStandardItem.h deleted file mode 100644 index b2fb528..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStandardItem.h +++ /dev/null @@ -1,140 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSTANDARDITEM_H -#define PYTHONQTWRAPPER_QSTANDARDITEM_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QStandardItem : public QStandardItem -{ -public: - PythonQtShell_QStandardItem():QStandardItem(),_wrapper(NULL) {}; - PythonQtShell_QStandardItem(const QIcon& icon, const QString& text):QStandardItem(icon, text),_wrapper(NULL) {}; - PythonQtShell_QStandardItem(const QStandardItem& other):QStandardItem(other),_wrapper(NULL) {}; - PythonQtShell_QStandardItem(const QString& text):QStandardItem(text),_wrapper(NULL) {}; - PythonQtShell_QStandardItem(int rows, int columns = 1):QStandardItem(rows, columns),_wrapper(NULL) {}; - -virtual QStandardItem* clone() const; -virtual QVariant data(int role = Qt::UserRole + 1) const; -virtual bool operator_less(const QStandardItem& other) const; -virtual void read(QDataStream& in); -virtual void setData(const QVariant& value, int role = Qt::UserRole + 1); -virtual int type() const; -virtual void write(QDataStream& out) const; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QStandardItem : public QStandardItem -{ public: -inline QStandardItem* promoted_clone() const { return QStandardItem::clone(); } -inline QVariant promoted_data(int role = Qt::UserRole + 1) const { return QStandardItem::data(role); } -inline int promoted_type() const { return QStandardItem::type(); } -inline void promoted_setData(const QVariant& value, int role = Qt::UserRole + 1) { QStandardItem::setData(value, role); } -}; - -class PythonQtWrapper_QStandardItem : public QObject -{ Q_OBJECT -public: -Q_ENUMS(ItemType ) -enum ItemType{ - Type = QStandardItem::Type, UserType = QStandardItem::UserType}; -public slots: -QStandardItem* new_QStandardItem(); -QStandardItem* new_QStandardItem(const QIcon& icon, const QString& text); -QStandardItem* new_QStandardItem(const QString& text); -QStandardItem* new_QStandardItem(int rows, int columns = 1); -void delete_QStandardItem(QStandardItem* obj) { delete obj; } - QStandardItem* clone(QStandardItem* theWrappedObject) const; - QStandardItem* parent(QStandardItem* theWrappedObject) const; - void setCheckable(QStandardItem* theWrappedObject, bool checkable); - void setRowCount(QStandardItem* theWrappedObject, int rows); - bool isDropEnabled(QStandardItem* theWrappedObject) const; - bool isTristate(QStandardItem* theWrappedObject) const; - bool isEnabled(QStandardItem* theWrappedObject) const; - bool hasChildren(QStandardItem* theWrappedObject) const; - QStandardItem* takeChild(QStandardItem* theWrappedObject, int row, int column = 0); - void appendRow(QStandardItem* theWrappedObject, const QList& items); - void removeRow(QStandardItem* theWrappedObject, int row); - void setAccessibleDescription(QStandardItem* theWrappedObject, const QString& accessibleDescription); - void setIcon(QStandardItem* theWrappedObject, const QIcon& icon); - QVariant data(QStandardItem* theWrappedObject, int role = Qt::UserRole + 1) const; - QList takeColumn(QStandardItem* theWrappedObject, int column); - QIcon icon(QStandardItem* theWrappedObject) const; - void removeColumns(QStandardItem* theWrappedObject, int column, int count); - int column(QStandardItem* theWrappedObject) const; - QSize sizeHint(QStandardItem* theWrappedObject) const; - QString accessibleDescription(QStandardItem* theWrappedObject) const; - QList takeRow(QStandardItem* theWrappedObject, int row); - QFont font(QStandardItem* theWrappedObject) const; - void setColumnCount(QStandardItem* theWrappedObject, int columns); - void setEnabled(QStandardItem* theWrappedObject, bool enabled); - QStandardItem* child(QStandardItem* theWrappedObject, int row, int column = 0) const; - void setSelectable(QStandardItem* theWrappedObject, bool selectable); - QBrush foreground(QStandardItem* theWrappedObject) const; - void setSizeHint(QStandardItem* theWrappedObject, const QSize& sizeHint); - void setDragEnabled(QStandardItem* theWrappedObject, bool dragEnabled); - void setTextAlignment(QStandardItem* theWrappedObject, Qt::Alignment textAlignment); - QModelIndex index(QStandardItem* theWrappedObject) const; - void readFrom(QStandardItem* theWrappedObject, QDataStream& in); - void setToolTip(QStandardItem* theWrappedObject, const QString& toolTip); - void appendRow(QStandardItem* theWrappedObject, QStandardItem* item); - void insertRows(QStandardItem* theWrappedObject, int row, int count); - void insertRows(QStandardItem* theWrappedObject, int row, const QList& items); - Qt::CheckState checkState(QStandardItem* theWrappedObject) const; - int columnCount(QStandardItem* theWrappedObject) const; - bool isSelectable(QStandardItem* theWrappedObject) const; - void setAccessibleText(QStandardItem* theWrappedObject, const QString& accessibleText); - bool isDragEnabled(QStandardItem* theWrappedObject) const; - int type(QStandardItem* theWrappedObject) const; - void setEditable(QStandardItem* theWrappedObject, bool editable); - void setForeground(QStandardItem* theWrappedObject, const QBrush& brush); - QString accessibleText(QStandardItem* theWrappedObject) const; - void removeColumn(QStandardItem* theWrappedObject, int column); - QString whatsThis(QStandardItem* theWrappedObject) const; - bool isEditable(QStandardItem* theWrappedObject) const; - void setFlags(QStandardItem* theWrappedObject, Qt::ItemFlags flags); - void setDropEnabled(QStandardItem* theWrappedObject, bool dropEnabled); - void setChild(QStandardItem* theWrappedObject, int row, QStandardItem* item); - void insertRow(QStandardItem* theWrappedObject, int row, const QList& items); - void appendColumn(QStandardItem* theWrappedObject, const QList& items); - void setBackground(QStandardItem* theWrappedObject, const QBrush& brush); - void insertColumn(QStandardItem* theWrappedObject, int column, const QList& items); - void setText(QStandardItem* theWrappedObject, const QString& text); - void writeTo(QStandardItem* theWrappedObject, QDataStream& out); - QStandardItemModel* model(QStandardItem* theWrappedObject) const; - void setTristate(QStandardItem* theWrappedObject, bool tristate); - void setCheckState(QStandardItem* theWrappedObject, Qt::CheckState checkState); - void setStatusTip(QStandardItem* theWrappedObject, const QString& statusTip); - void sortChildren(QStandardItem* theWrappedObject, int column, Qt::SortOrder order = Qt::AscendingOrder); - void appendRows(QStandardItem* theWrappedObject, const QList& items); - QString toolTip(QStandardItem* theWrappedObject) const; - void removeRows(QStandardItem* theWrappedObject, int row, int count); - Qt::Alignment textAlignment(QStandardItem* theWrappedObject) const; - void setData(QStandardItem* theWrappedObject, const QVariant& value, int role = Qt::UserRole + 1); - void insertRow(QStandardItem* theWrappedObject, int row, QStandardItem* item); - int row(QStandardItem* theWrappedObject) const; - QString statusTip(QStandardItem* theWrappedObject) const; - QString text(QStandardItem* theWrappedObject) const; - void insertColumns(QStandardItem* theWrappedObject, int column, int count); - bool isCheckable(QStandardItem* theWrappedObject) const; - void setChild(QStandardItem* theWrappedObject, int row, int column, QStandardItem* item); - QBrush background(QStandardItem* theWrappedObject) const; - void setFont(QStandardItem* theWrappedObject, const QFont& font); - int rowCount(QStandardItem* theWrappedObject) const; - Qt::ItemFlags flags(QStandardItem* theWrappedObject) const; - void setWhatsThis(QStandardItem* theWrappedObject, const QString& whatsThis); -}; - -#endif // PYTHONQTWRAPPER_QSTANDARDITEM_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStandardItemModel.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStandardItemModel.cpp deleted file mode 100644 index 16397e6..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStandardItemModel.cpp +++ /dev/null @@ -1,1130 +0,0 @@ -#include "PythonQtWrapper_QStandardItemModel.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QModelIndex PythonQtShell_QStandardItemModel::buddy(const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "buddy"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex 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) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStandardItemModel::buddy(index); -} -bool PythonQtShell_QStandardItemModel::canFetchMore(const QModelIndex& parent) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "canFetchMore"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&parent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStandardItemModel::canFetchMore(parent); -} -void PythonQtShell_QStandardItemModel::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; - } -} - QStandardItemModel::childEvent(arg__1); -} -int PythonQtShell_QStandardItemModel::columnCount(const QModelIndex& parent) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "columnCount"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&parent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStandardItemModel::columnCount(parent); -} -void PythonQtShell_QStandardItemModel::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; - } -} - QStandardItemModel::customEvent(arg__1); -} -QVariant PythonQtShell_QStandardItemModel::data(const QModelIndex& index, int role) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "data"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&index, (void*)&role}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStandardItemModel::data(index, role); -} -bool PythonQtShell_QStandardItemModel::dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropMimeData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QMimeData*" , "Qt::DropAction" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue; - void* args[6] = {NULL, (void*)&data, (void*)&action, (void*)&row, (void*)&column, (void*)&parent}; - 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("dropMimeData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStandardItemModel::dropMimeData(data, action, row, column, parent); -} -bool PythonQtShell_QStandardItemModel::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStandardItemModel::event(arg__1); -} -bool PythonQtShell_QStandardItemModel::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStandardItemModel::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QStandardItemModel::fetchMore(const QModelIndex& parent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "fetchMore"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&parent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QStandardItemModel::fetchMore(parent); -} -Qt::ItemFlags PythonQtShell_QStandardItemModel::flags(const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "flags"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - Qt::ItemFlags returnValue; - void* args[2] = {NULL, (void*)&index}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); - } else { - returnValue = *((Qt::ItemFlags*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStandardItemModel::flags(index); -} -bool PythonQtShell_QStandardItemModel::hasChildren(const QModelIndex& parent) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hasChildren"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&parent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasChildren", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStandardItemModel::hasChildren(parent); -} -QVariant PythonQtShell_QStandardItemModel::headerData(int section, Qt::Orientation orientation, int role) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "headerData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QVariant returnValue; - void* args[4] = {NULL, (void*)§ion, (void*)&orientation, (void*)&role}; - 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("headerData", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStandardItemModel::headerData(section, orientation, role); -} -QModelIndex PythonQtShell_QStandardItemModel::index(int row, int column, const QModelIndex& parent) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "index"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QModelIndex returnValue; - void* args[4] = {NULL, (void*)&row, (void*)&column, (void*)&parent}; - 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("index", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStandardItemModel::index(row, column, parent); -} -bool PythonQtShell_QStandardItemModel::insertColumns(int column, int count, const QModelIndex& parent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "insertColumns"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&column, (void*)&count, (void*)&parent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStandardItemModel::insertColumns(column, count, parent); -} -bool PythonQtShell_QStandardItemModel::insertRows(int row, int count, const QModelIndex& parent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "insertRows"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&row, (void*)&count, (void*)&parent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStandardItemModel::insertRows(row, count, parent); -} -QMap PythonQtShell_QStandardItemModel::itemData(const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMap 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) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); - } else { - returnValue = *((QMap*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStandardItemModel::itemData(index); -} -QList PythonQtShell_QStandardItemModel::match(const QModelIndex& start, int role, const QVariant& value, int hits, Qt::MatchFlags flags) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "match"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QList" , "const QModelIndex&" , "int" , "const QVariant&" , "int" , "Qt::MatchFlags"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - QList returnValue; - void* args[6] = {NULL, (void*)&start, (void*)&role, (void*)&value, (void*)&hits, (void*)&flags}; - 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("match", methodInfo, result); - } else { - returnValue = *((QList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStandardItemModel::match(start, role, value, hits, flags); -} -QMimeData* PythonQtShell_QStandardItemModel::mimeData(const QList& indexes) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mimeData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QMimeData*" , "const QList&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMimeData* returnValue; - void* args[2] = {NULL, (void*)&indexes}; - 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("mimeData", methodInfo, result); - } else { - returnValue = *((QMimeData**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStandardItemModel::mimeData(indexes); -} -QStringList PythonQtShell_QStandardItemModel::mimeTypes() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mimeTypes"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QStringList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStringList returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); - } else { - returnValue = *((QStringList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStandardItemModel::mimeTypes(); -} -QModelIndex PythonQtShell_QStandardItemModel::parent(const QModelIndex& child) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "parent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&child}; - 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("parent", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStandardItemModel::parent(child); -} -bool PythonQtShell_QStandardItemModel::removeColumns(int column, int count, const QModelIndex& parent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "removeColumns"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&column, (void*)&count, (void*)&parent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStandardItemModel::removeColumns(column, count, parent); -} -bool PythonQtShell_QStandardItemModel::removeRows(int row, int count, const QModelIndex& parent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "removeRows"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&row, (void*)&count, (void*)&parent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStandardItemModel::removeRows(row, count, parent); -} -void PythonQtShell_QStandardItemModel::revert() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "revert"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QStandardItemModel::revert(); -} -int PythonQtShell_QStandardItemModel::rowCount(const QModelIndex& parent) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowCount"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&parent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStandardItemModel::rowCount(parent); -} -bool PythonQtShell_QStandardItemModel::setData(const QModelIndex& index, const QVariant& value, int role) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QVariant&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&index, (void*)&value, (void*)&role}; - 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("setData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStandardItemModel::setData(index, value, role); -} -bool PythonQtShell_QStandardItemModel::setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setHeaderData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int" , "Qt::Orientation" , "const QVariant&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - bool returnValue; - void* args[5] = {NULL, (void*)§ion, (void*)&orientation, (void*)&value, (void*)&role}; - 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("setHeaderData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStandardItemModel::setHeaderData(section, orientation, value, role); -} -bool PythonQtShell_QStandardItemModel::setItemData(const QModelIndex& index, const QMap& roles) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setItemData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&index, (void*)&roles}; - 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("setItemData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStandardItemModel::setItemData(index, roles); -} -void PythonQtShell_QStandardItemModel::sort(int column, Qt::SortOrder order) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sort"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&column, (void*)&order}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QStandardItemModel::sort(column, order); -} -QSize PythonQtShell_QStandardItemModel::span(const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "span"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QSize 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) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStandardItemModel::span(index); -} -bool PythonQtShell_QStandardItemModel::submit() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "submit"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStandardItemModel::submit(); -} -Qt::DropActions PythonQtShell_QStandardItemModel::supportedDropActions() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "supportedDropActions"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"Qt::DropActions"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); - } else { - returnValue = *((Qt::DropActions*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStandardItemModel::supportedDropActions(); -} -void PythonQtShell_QStandardItemModel::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; - } -} - QStandardItemModel::timerEvent(arg__1); -} -QStandardItemModel* PythonQtWrapper_QStandardItemModel::new_QStandardItemModel(QObject* parent) -{ -return new PythonQtShell_QStandardItemModel(parent); } - -QStandardItemModel* PythonQtWrapper_QStandardItemModel::new_QStandardItemModel(int rows, int columns, QObject* parent) -{ -return new PythonQtShell_QStandardItemModel(rows, columns, parent); } - -bool PythonQtWrapper_QStandardItemModel::hasChildren(QStandardItemModel* theWrappedObject, const QModelIndex& parent) const -{ - return ( ((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->promoted_hasChildren(parent)); -} - -void PythonQtWrapper_QStandardItemModel::insertRow(QStandardItemModel* theWrappedObject, int row, const QList& items) -{ - ( theWrappedObject->insertRow(row, items)); -} - -int PythonQtWrapper_QStandardItemModel::columnCount(QStandardItemModel* theWrappedObject, const QModelIndex& parent) const -{ - return ( ((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->promoted_columnCount(parent)); -} - -QStandardItem* PythonQtWrapper_QStandardItemModel::horizontalHeaderItem(QStandardItemModel* theWrappedObject, int column) const -{ - return ( theWrappedObject->horizontalHeaderItem(column)); -} - -bool PythonQtWrapper_QStandardItemModel::setData(QStandardItemModel* theWrappedObject, const QModelIndex& index, const QVariant& value, int role) -{ - return ( ((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->promoted_setData(index, value, role)); -} - -int PythonQtWrapper_QStandardItemModel::sortRole(QStandardItemModel* theWrappedObject) const -{ - return ( theWrappedObject->sortRole()); -} - -void PythonQtWrapper_QStandardItemModel::setItem(QStandardItemModel* theWrappedObject, int row, int column, QStandardItem* item) -{ - ( theWrappedObject->setItem(row, column, item)); -} - -void PythonQtWrapper_QStandardItemModel::setVerticalHeaderLabels(QStandardItemModel* theWrappedObject, const QStringList& labels) -{ - ( theWrappedObject->setVerticalHeaderLabels(labels)); -} - -void PythonQtWrapper_QStandardItemModel::sort(QStandardItemModel* theWrappedObject, int column, Qt::SortOrder order) -{ - ( ((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->promoted_sort(column, order)); -} - -QStandardItem* PythonQtWrapper_QStandardItemModel::invisibleRootItem(QStandardItemModel* theWrappedObject) const -{ - return ( theWrappedObject->invisibleRootItem()); -} - -QStandardItem* PythonQtWrapper_QStandardItemModel::takeHorizontalHeaderItem(QStandardItemModel* theWrappedObject, int column) -{ - return ( theWrappedObject->takeHorizontalHeaderItem(column)); -} - -QStandardItem* PythonQtWrapper_QStandardItemModel::itemFromIndex(QStandardItemModel* theWrappedObject, const QModelIndex& index) const -{ - return ( theWrappedObject->itemFromIndex(index)); -} - -QList PythonQtWrapper_QStandardItemModel::takeColumn(QStandardItemModel* theWrappedObject, int column) -{ - return ( theWrappedObject->takeColumn(column)); -} - -QModelIndex PythonQtWrapper_QStandardItemModel::index(QStandardItemModel* theWrappedObject, int row, int column, const QModelIndex& parent) const -{ - return ( ((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->promoted_index(row, column, parent)); -} - -void PythonQtWrapper_QStandardItemModel::setVerticalHeaderItem(QStandardItemModel* theWrappedObject, int row, QStandardItem* item) -{ - ( theWrappedObject->setVerticalHeaderItem(row, item)); -} - -bool PythonQtWrapper_QStandardItemModel::insertColumns(QStandardItemModel* theWrappedObject, int column, int count, const QModelIndex& parent) -{ - return ( ((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->promoted_insertColumns(column, count, parent)); -} - -bool PythonQtWrapper_QStandardItemModel::setHeaderData(QStandardItemModel* theWrappedObject, int section, Qt::Orientation orientation, const QVariant& value, int role) -{ - return ( ((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->promoted_setHeaderData(section, orientation, value, role)); -} - -QVariant PythonQtWrapper_QStandardItemModel::data(QStandardItemModel* theWrappedObject, const QModelIndex& index, int role) const -{ - return ( ((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->promoted_data(index, role)); -} - -QMap PythonQtWrapper_QStandardItemModel::itemData(QStandardItemModel* theWrappedObject, const QModelIndex& index) const -{ - return ( ((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->promoted_itemData(index)); -} - -QModelIndex PythonQtWrapper_QStandardItemModel::parent(QStandardItemModel* theWrappedObject, const QModelIndex& child) const -{ - return ( ((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->promoted_parent(child)); -} - -void PythonQtWrapper_QStandardItemModel::setColumnCount(QStandardItemModel* theWrappedObject, int columns) -{ - ( theWrappedObject->setColumnCount(columns)); -} - -void PythonQtWrapper_QStandardItemModel::setItemPrototype(QStandardItemModel* theWrappedObject, const QStandardItem* item) -{ - ( theWrappedObject->setItemPrototype(item)); -} - -void PythonQtWrapper_QStandardItemModel::appendColumn(QStandardItemModel* theWrappedObject, const QList& items) -{ - ( theWrappedObject->appendColumn(items)); -} - -void PythonQtWrapper_QStandardItemModel::setHorizontalHeaderItem(QStandardItemModel* theWrappedObject, int column, QStandardItem* item) -{ - ( theWrappedObject->setHorizontalHeaderItem(column, item)); -} - -void PythonQtWrapper_QStandardItemModel::setSortRole(QStandardItemModel* theWrappedObject, int role) -{ - ( theWrappedObject->setSortRole(role)); -} - -void PythonQtWrapper_QStandardItemModel::appendRow(QStandardItemModel* theWrappedObject, QStandardItem* item) -{ - ( theWrappedObject->appendRow(item)); -} - -bool PythonQtWrapper_QStandardItemModel::removeRows(QStandardItemModel* theWrappedObject, int row, int count, const QModelIndex& parent) -{ - return ( ((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->promoted_removeRows(row, count, parent)); -} - -QStandardItem* PythonQtWrapper_QStandardItemModel::item(QStandardItemModel* theWrappedObject, int row, int column) const -{ - return ( theWrappedObject->item(row, column)); -} - -int PythonQtWrapper_QStandardItemModel::rowCount(QStandardItemModel* theWrappedObject, const QModelIndex& parent) const -{ - return ( ((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->promoted_rowCount(parent)); -} - -void PythonQtWrapper_QStandardItemModel::appendRow(QStandardItemModel* theWrappedObject, const QList& items) -{ - ( theWrappedObject->appendRow(items)); -} - -const QStandardItem* PythonQtWrapper_QStandardItemModel::itemPrototype(QStandardItemModel* theWrappedObject) const -{ - return ( theWrappedObject->itemPrototype()); -} - -QList PythonQtWrapper_QStandardItemModel::findItems(QStandardItemModel* theWrappedObject, const QString& text, Qt::MatchFlags flags, int column) const -{ - return ( theWrappedObject->findItems(text, flags, column)); -} - -QModelIndex PythonQtWrapper_QStandardItemModel::indexFromItem(QStandardItemModel* theWrappedObject, const QStandardItem* item) const -{ - return ( theWrappedObject->indexFromItem(item)); -} - -void PythonQtWrapper_QStandardItemModel::insertColumn(QStandardItemModel* theWrappedObject, int column, const QList& items) -{ - ( theWrappedObject->insertColumn(column, items)); -} - -Qt::DropActions PythonQtWrapper_QStandardItemModel::supportedDropActions(QStandardItemModel* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->promoted_supportedDropActions()); -} - -bool PythonQtWrapper_QStandardItemModel::removeColumns(QStandardItemModel* theWrappedObject, int column, int count, const QModelIndex& parent) -{ - return ( ((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->promoted_removeColumns(column, count, parent)); -} - -QStandardItem* PythonQtWrapper_QStandardItemModel::takeItem(QStandardItemModel* theWrappedObject, int row, int column) -{ - return ( theWrappedObject->takeItem(row, column)); -} - -void PythonQtWrapper_QStandardItemModel::setRowCount(QStandardItemModel* theWrappedObject, int rows) -{ - ( theWrappedObject->setRowCount(rows)); -} - -void PythonQtWrapper_QStandardItemModel::setItem(QStandardItemModel* theWrappedObject, int row, QStandardItem* item) -{ - ( theWrappedObject->setItem(row, item)); -} - -QStandardItem* PythonQtWrapper_QStandardItemModel::takeVerticalHeaderItem(QStandardItemModel* theWrappedObject, int row) -{ - return ( theWrappedObject->takeVerticalHeaderItem(row)); -} - -QStandardItem* PythonQtWrapper_QStandardItemModel::verticalHeaderItem(QStandardItemModel* theWrappedObject, int row) const -{ - return ( theWrappedObject->verticalHeaderItem(row)); -} - -bool PythonQtWrapper_QStandardItemModel::insertRows(QStandardItemModel* theWrappedObject, int row, int count, const QModelIndex& parent) -{ - return ( ((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->promoted_insertRows(row, count, parent)); -} - -bool PythonQtWrapper_QStandardItemModel::setItemData(QStandardItemModel* theWrappedObject, const QModelIndex& index, const QMap& roles) -{ - return ( ((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->promoted_setItemData(index, roles)); -} - -Qt::ItemFlags PythonQtWrapper_QStandardItemModel::flags(QStandardItemModel* theWrappedObject, const QModelIndex& index) const -{ - return ( ((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->promoted_flags(index)); -} - -QVariant PythonQtWrapper_QStandardItemModel::headerData(QStandardItemModel* theWrappedObject, int section, Qt::Orientation orientation, int role) const -{ - return ( ((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->promoted_headerData(section, orientation, role)); -} - -void PythonQtWrapper_QStandardItemModel::setHorizontalHeaderLabels(QStandardItemModel* theWrappedObject, const QStringList& labels) -{ - ( theWrappedObject->setHorizontalHeaderLabels(labels)); -} - -QList PythonQtWrapper_QStandardItemModel::takeRow(QStandardItemModel* theWrappedObject, int row) -{ - return ( theWrappedObject->takeRow(row)); -} - -void PythonQtWrapper_QStandardItemModel::clear(QStandardItemModel* theWrappedObject) -{ - ( theWrappedObject->clear()); -} - -void PythonQtWrapper_QStandardItemModel::insertRow(QStandardItemModel* theWrappedObject, int row, QStandardItem* item) -{ - ( theWrappedObject->insertRow(row, item)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStandardItemModel.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStandardItemModel.h deleted file mode 100644 index e062d07..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStandardItemModel.h +++ /dev/null @@ -1,146 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSTANDARDITEMMODEL_H -#define PYTHONQTWRAPPER_QSTANDARDITEMMODEL_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QStandardItemModel : public QStandardItemModel -{ -public: - PythonQtShell_QStandardItemModel(QObject* parent = 0):QStandardItemModel(parent),_wrapper(NULL) {}; - PythonQtShell_QStandardItemModel(int rows, int columns, QObject* parent = 0):QStandardItemModel(rows, columns, parent),_wrapper(NULL) {}; - -virtual QModelIndex buddy(const QModelIndex& index) const; -virtual bool canFetchMore(const QModelIndex& parent) const; -virtual void childEvent(QChildEvent* arg__1); -virtual int columnCount(const QModelIndex& parent = QModelIndex()) const; -virtual void customEvent(QEvent* arg__1); -virtual QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const; -virtual bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void fetchMore(const QModelIndex& parent); -virtual Qt::ItemFlags flags(const QModelIndex& index) const; -virtual bool hasChildren(const QModelIndex& parent = QModelIndex()) const; -virtual QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const; -virtual QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const; -virtual bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual QMap itemData(const QModelIndex& index) const; -virtual QList match(const QModelIndex& start, int role, const QVariant& value, int hits, Qt::MatchFlags flags) const; -virtual QMimeData* mimeData(const QList& indexes) const; -virtual QStringList mimeTypes() const; -virtual QModelIndex parent(const QModelIndex& child) const; -virtual bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual void revert(); -virtual int rowCount(const QModelIndex& parent = QModelIndex()) const; -virtual bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole); -virtual bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole); -virtual bool setItemData(const QModelIndex& index, const QMap& roles); -virtual void sort(int column, Qt::SortOrder order = Qt::AscendingOrder); -virtual QSize span(const QModelIndex& index) const; -virtual bool submit(); -virtual Qt::DropActions supportedDropActions() const; -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QStandardItemModel : public QStandardItemModel -{ public: -inline bool promoted_hasChildren(const QModelIndex& parent = QModelIndex()) const { return QStandardItemModel::hasChildren(parent); } -inline int promoted_columnCount(const QModelIndex& parent = QModelIndex()) const { return QStandardItemModel::columnCount(parent); } -inline bool promoted_setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole) { return QStandardItemModel::setData(index, value, role); } -inline void promoted_sort(int column, Qt::SortOrder order = Qt::AscendingOrder) { QStandardItemModel::sort(column, order); } -inline QModelIndex promoted_index(int row, int column, const QModelIndex& parent = QModelIndex()) const { return QStandardItemModel::index(row, column, parent); } -inline bool promoted_insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()) { return QStandardItemModel::insertColumns(column, count, parent); } -inline bool promoted_setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole) { return QStandardItemModel::setHeaderData(section, orientation, value, role); } -inline QVariant promoted_data(const QModelIndex& index, int role = Qt::DisplayRole) const { return QStandardItemModel::data(index, role); } -inline QMap promoted_itemData(const QModelIndex& index) const { return QStandardItemModel::itemData(index); } -inline QModelIndex promoted_parent(const QModelIndex& child) const { return QStandardItemModel::parent(child); } -inline bool promoted_removeRows(int row, int count, const QModelIndex& parent = QModelIndex()) { return QStandardItemModel::removeRows(row, count, parent); } -inline int promoted_rowCount(const QModelIndex& parent = QModelIndex()) const { return QStandardItemModel::rowCount(parent); } -inline Qt::DropActions promoted_supportedDropActions() const { return QStandardItemModel::supportedDropActions(); } -inline bool promoted_removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()) { return QStandardItemModel::removeColumns(column, count, parent); } -inline bool promoted_insertRows(int row, int count, const QModelIndex& parent = QModelIndex()) { return QStandardItemModel::insertRows(row, count, parent); } -inline bool promoted_setItemData(const QModelIndex& index, const QMap& roles) { return QStandardItemModel::setItemData(index, roles); } -inline Qt::ItemFlags promoted_flags(const QModelIndex& index) const { return QStandardItemModel::flags(index); } -inline QVariant promoted_headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const { return QStandardItemModel::headerData(section, orientation, role); } -}; - -class PythonQtWrapper_QStandardItemModel : public QObject -{ Q_OBJECT -public: -public slots: -QStandardItemModel* new_QStandardItemModel(QObject* parent = 0); -QStandardItemModel* new_QStandardItemModel(int rows, int columns, QObject* parent = 0); -void delete_QStandardItemModel(QStandardItemModel* obj) { delete obj; } - bool hasChildren(QStandardItemModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const; - void insertRow(QStandardItemModel* theWrappedObject, int row, const QList& items); - int columnCount(QStandardItemModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const; - QStandardItem* horizontalHeaderItem(QStandardItemModel* theWrappedObject, int column) const; - bool setData(QStandardItemModel* theWrappedObject, const QModelIndex& index, const QVariant& value, int role = Qt::EditRole); - int sortRole(QStandardItemModel* theWrappedObject) const; - void setItem(QStandardItemModel* theWrappedObject, int row, int column, QStandardItem* item); - void setVerticalHeaderLabels(QStandardItemModel* theWrappedObject, const QStringList& labels); - void sort(QStandardItemModel* theWrappedObject, int column, Qt::SortOrder order = Qt::AscendingOrder); - QStandardItem* invisibleRootItem(QStandardItemModel* theWrappedObject) const; - QStandardItem* takeHorizontalHeaderItem(QStandardItemModel* theWrappedObject, int column); - QStandardItem* itemFromIndex(QStandardItemModel* theWrappedObject, const QModelIndex& index) const; - QList takeColumn(QStandardItemModel* theWrappedObject, int column); - QModelIndex index(QStandardItemModel* theWrappedObject, int row, int column, const QModelIndex& parent = QModelIndex()) const; - void setVerticalHeaderItem(QStandardItemModel* theWrappedObject, int row, QStandardItem* item); - bool insertColumns(QStandardItemModel* theWrappedObject, int column, int count, const QModelIndex& parent = QModelIndex()); - bool setHeaderData(QStandardItemModel* theWrappedObject, int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole); - QVariant data(QStandardItemModel* theWrappedObject, const QModelIndex& index, int role = Qt::DisplayRole) const; - QMap itemData(QStandardItemModel* theWrappedObject, const QModelIndex& index) const; - QModelIndex parent(QStandardItemModel* theWrappedObject, const QModelIndex& child) const; - void setColumnCount(QStandardItemModel* theWrappedObject, int columns); - void setItemPrototype(QStandardItemModel* theWrappedObject, const QStandardItem* item); - void appendColumn(QStandardItemModel* theWrappedObject, const QList& items); - void setHorizontalHeaderItem(QStandardItemModel* theWrappedObject, int column, QStandardItem* item); - void setSortRole(QStandardItemModel* theWrappedObject, int role); - void appendRow(QStandardItemModel* theWrappedObject, QStandardItem* item); - bool removeRows(QStandardItemModel* theWrappedObject, int row, int count, const QModelIndex& parent = QModelIndex()); - QStandardItem* item(QStandardItemModel* theWrappedObject, int row, int column = 0) const; - int rowCount(QStandardItemModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const; - void appendRow(QStandardItemModel* theWrappedObject, const QList& items); - const QStandardItem* itemPrototype(QStandardItemModel* theWrappedObject) const; - QList findItems(QStandardItemModel* theWrappedObject, const QString& text, Qt::MatchFlags flags = Qt::MatchExactly, int column = 0) const; - QModelIndex indexFromItem(QStandardItemModel* theWrappedObject, const QStandardItem* item) const; - void insertColumn(QStandardItemModel* theWrappedObject, int column, const QList& items); - Qt::DropActions supportedDropActions(QStandardItemModel* theWrappedObject) const; - bool removeColumns(QStandardItemModel* theWrappedObject, int column, int count, const QModelIndex& parent = QModelIndex()); - QStandardItem* takeItem(QStandardItemModel* theWrappedObject, int row, int column = 0); - void setRowCount(QStandardItemModel* theWrappedObject, int rows); - void setItem(QStandardItemModel* theWrappedObject, int row, QStandardItem* item); - QStandardItem* takeVerticalHeaderItem(QStandardItemModel* theWrappedObject, int row); - QStandardItem* verticalHeaderItem(QStandardItemModel* theWrappedObject, int row) const; - bool insertRows(QStandardItemModel* theWrappedObject, int row, int count, const QModelIndex& parent = QModelIndex()); - bool setItemData(QStandardItemModel* theWrappedObject, const QModelIndex& index, const QMap& roles); - Qt::ItemFlags flags(QStandardItemModel* theWrappedObject, const QModelIndex& index) const; - QVariant headerData(QStandardItemModel* theWrappedObject, int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const; - void setHorizontalHeaderLabels(QStandardItemModel* theWrappedObject, const QStringList& labels); - QList takeRow(QStandardItemModel* theWrappedObject, int row); - void clear(QStandardItemModel* theWrappedObject); - void insertRow(QStandardItemModel* theWrappedObject, int row, QStandardItem* item); -}; - -#endif // PYTHONQTWRAPPER_QSTANDARDITEMMODEL_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStatusBar.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStatusBar.cpp deleted file mode 100644 index 84cd31b..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStatusBar.cpp +++ /dev/null @@ -1,887 +0,0 @@ -#include "PythonQtWrapper_QStatusBar.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QStatusBar::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QStatusBar::actionEvent(arg__1); -} -void PythonQtShell_QStatusBar::changeEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QStatusBar::changeEvent(arg__1); -} -void PythonQtShell_QStatusBar::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; - } -} - QStatusBar::childEvent(arg__1); -} -void PythonQtShell_QStatusBar::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QStatusBar::closeEvent(arg__1); -} -void PythonQtShell_QStatusBar::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QStatusBar::contextMenuEvent(arg__1); -} -void PythonQtShell_QStatusBar::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; - } -} - QStatusBar::customEvent(arg__1); -} -int PythonQtShell_QStatusBar::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStatusBar::devType(); -} -void PythonQtShell_QStatusBar::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QStatusBar::dragEnterEvent(arg__1); -} -void PythonQtShell_QStatusBar::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QStatusBar::dragLeaveEvent(arg__1); -} -void PythonQtShell_QStatusBar::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QStatusBar::dragMoveEvent(arg__1); -} -void PythonQtShell_QStatusBar::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QStatusBar::dropEvent(arg__1); -} -void PythonQtShell_QStatusBar::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QStatusBar::enterEvent(arg__1); -} -bool PythonQtShell_QStatusBar::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStatusBar::event(arg__1); -} -bool PythonQtShell_QStatusBar::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStatusBar::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QStatusBar::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QStatusBar::focusInEvent(arg__1); -} -bool PythonQtShell_QStatusBar::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStatusBar::focusNextPrevChild(next); -} -void PythonQtShell_QStatusBar::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QStatusBar::focusOutEvent(arg__1); -} -int PythonQtShell_QStatusBar::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStatusBar::heightForWidth(arg__1); -} -void PythonQtShell_QStatusBar::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QStatusBar::hideEvent(arg__1); -} -void PythonQtShell_QStatusBar::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QStatusBar::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QStatusBar::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStatusBar::inputMethodQuery(arg__1); -} -void PythonQtShell_QStatusBar::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QStatusBar::keyPressEvent(arg__1); -} -void PythonQtShell_QStatusBar::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QStatusBar::keyReleaseEvent(arg__1); -} -void PythonQtShell_QStatusBar::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QStatusBar::languageChange(); -} -void PythonQtShell_QStatusBar::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QStatusBar::leaveEvent(arg__1); -} -int PythonQtShell_QStatusBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStatusBar::metric(arg__1); -} -QSize PythonQtShell_QStatusBar::minimumSizeHint() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStatusBar::minimumSizeHint(); -} -void PythonQtShell_QStatusBar::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QStatusBar::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QStatusBar::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QStatusBar::mouseMoveEvent(arg__1); -} -void PythonQtShell_QStatusBar::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QStatusBar::mousePressEvent(arg__1); -} -void PythonQtShell_QStatusBar::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QStatusBar::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QStatusBar::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QStatusBar::moveEvent(arg__1); -} -QPaintEngine* PythonQtShell_QStatusBar::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStatusBar::paintEngine(); -} -void PythonQtShell_QStatusBar::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - 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; - } -} - QStatusBar::paintEvent(arg__1); -} -void PythonQtShell_QStatusBar::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - 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; - } -} - QStatusBar::resizeEvent(arg__1); -} -void PythonQtShell_QStatusBar::showEvent(QShowEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QStatusBar::showEvent(arg__1); -} -QSize PythonQtShell_QStatusBar::sizeHint() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getSizeHint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStatusBar::sizeHint(); -} -void PythonQtShell_QStatusBar::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QStatusBar::tabletEvent(arg__1); -} -void PythonQtShell_QStatusBar::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; - } -} - QStatusBar::timerEvent(arg__1); -} -void PythonQtShell_QStatusBar::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QStatusBar::wheelEvent(arg__1); -} -QStatusBar* PythonQtWrapper_QStatusBar::new_QStatusBar(QWidget* parent) -{ -return new PythonQtShell_QStatusBar(parent); } - -bool PythonQtWrapper_QStatusBar::isSizeGripEnabled(QStatusBar* theWrappedObject) const -{ - return ( theWrappedObject->isSizeGripEnabled()); -} - -void PythonQtWrapper_QStatusBar::addPermanentWidget(QStatusBar* theWrappedObject, QWidget* widget, int stretch) -{ - ( theWrappedObject->addPermanentWidget(widget, stretch)); -} - -int PythonQtWrapper_QStatusBar::insertPermanentWidget(QStatusBar* theWrappedObject, int index, QWidget* widget, int stretch) -{ - return ( theWrappedObject->insertPermanentWidget(index, widget, stretch)); -} - -QString PythonQtWrapper_QStatusBar::currentMessage(QStatusBar* theWrappedObject) const -{ - return ( theWrappedObject->currentMessage()); -} - -int PythonQtWrapper_QStatusBar::insertWidget(QStatusBar* theWrappedObject, int index, QWidget* widget, int stretch) -{ - return ( theWrappedObject->insertWidget(index, widget, stretch)); -} - -void PythonQtWrapper_QStatusBar::paintEvent(QStatusBar* theWrappedObject, QPaintEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QStatusBar*)theWrappedObject)->promoted_paintEvent(arg__1)); -} - -bool PythonQtWrapper_QStatusBar::event(QStatusBar* theWrappedObject, QEvent* arg__1) -{ - return ( ((PythonQtPublicPromoter_QStatusBar*)theWrappedObject)->promoted_event(arg__1)); -} - -void PythonQtWrapper_QStatusBar::resizeEvent(QStatusBar* theWrappedObject, QResizeEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QStatusBar*)theWrappedObject)->promoted_resizeEvent(arg__1)); -} - -void PythonQtWrapper_QStatusBar::showEvent(QStatusBar* theWrappedObject, QShowEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QStatusBar*)theWrappedObject)->promoted_showEvent(arg__1)); -} - -void PythonQtWrapper_QStatusBar::addWidget(QStatusBar* theWrappedObject, QWidget* widget, int stretch) -{ - ( theWrappedObject->addWidget(widget, stretch)); -} - -void PythonQtWrapper_QStatusBar::removeWidget(QStatusBar* theWrappedObject, QWidget* widget) -{ - ( theWrappedObject->removeWidget(widget)); -} - -void PythonQtWrapper_QStatusBar::setSizeGripEnabled(QStatusBar* theWrappedObject, bool arg__1) -{ - ( theWrappedObject->setSizeGripEnabled(arg__1)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStatusBar.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStatusBar.h deleted file mode 100644 index 7ac1f97..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStatusBar.h +++ /dev/null @@ -1,114 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSTATUSBAR_H -#define PYTHONQTWRAPPER_QSTATUSBAR_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QStatusBar : public QStatusBar -{ -public: - PythonQtShell_QStatusBar(QWidget* parent = 0):QStatusBar(parent),_wrapper(NULL) {}; - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* arg__1); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QStatusBar : public QStatusBar -{ public: -inline void promoted_paintEvent(QPaintEvent* arg__1) { QStatusBar::paintEvent(arg__1); } -inline bool promoted_event(QEvent* arg__1) { return QStatusBar::event(arg__1); } -inline void promoted_resizeEvent(QResizeEvent* arg__1) { QStatusBar::resizeEvent(arg__1); } -inline void promoted_showEvent(QShowEvent* arg__1) { QStatusBar::showEvent(arg__1); } -}; - -class PythonQtWrapper_QStatusBar : public QObject -{ Q_OBJECT -public: -public slots: -QStatusBar* new_QStatusBar(QWidget* parent = 0); -void delete_QStatusBar(QStatusBar* obj) { delete obj; } - bool isSizeGripEnabled(QStatusBar* theWrappedObject) const; - void addPermanentWidget(QStatusBar* theWrappedObject, QWidget* widget, int stretch = 0); - int insertPermanentWidget(QStatusBar* theWrappedObject, int index, QWidget* widget, int stretch = 0); - QString currentMessage(QStatusBar* theWrappedObject) const; - int insertWidget(QStatusBar* theWrappedObject, int index, QWidget* widget, int stretch = 0); - void paintEvent(QStatusBar* theWrappedObject, QPaintEvent* arg__1); - bool event(QStatusBar* theWrappedObject, QEvent* arg__1); - void resizeEvent(QStatusBar* theWrappedObject, QResizeEvent* arg__1); - void showEvent(QStatusBar* theWrappedObject, QShowEvent* arg__1); - void addWidget(QStatusBar* theWrappedObject, QWidget* widget, int stretch = 0); - void removeWidget(QStatusBar* theWrappedObject, QWidget* widget); - void setSizeGripEnabled(QStatusBar* theWrappedObject, bool arg__1); -}; - -#endif // PYTHONQTWRAPPER_QSTATUSBAR_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStatusTipEvent.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStatusTipEvent.cpp deleted file mode 100644 index d868fb3..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStatusTipEvent.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include "PythonQtWrapper_QStatusTipEvent.h" - -#include -#include -#include -#include - -QStatusTipEvent* PythonQtWrapper_QStatusTipEvent::new_QStatusTipEvent(const QString& tip) -{ -return new QStatusTipEvent(tip); } - -QString PythonQtWrapper_QStatusTipEvent::tip(QStatusTipEvent* theWrappedObject) const -{ - return ( theWrappedObject->tip()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStatusTipEvent.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStatusTipEvent.h deleted file mode 100644 index 2481ee6..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStatusTipEvent.h +++ /dev/null @@ -1,20 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSTATUSTIPEVENT_H -#define PYTHONQTWRAPPER_QSTATUSTIPEVENT_H - -#include -#include - -#include - -#include - -class PythonQtWrapper_QStatusTipEvent : public QObject -{ Q_OBJECT -public: -public slots: -QStatusTipEvent* new_QStatusTipEvent(const QString& tip); -void delete_QStatusTipEvent(QStatusTipEvent* obj) { delete obj; } - QString tip(QStatusTipEvent* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QSTATUSTIPEVENT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStringListModel.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStringListModel.cpp deleted file mode 100644 index 4ac8fcb..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStringListModel.cpp +++ /dev/null @@ -1,849 +0,0 @@ -#include "PythonQtWrapper_QStringListModel.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QModelIndex PythonQtShell_QStringListModel::buddy(const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "buddy"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex 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) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStringListModel::buddy(index); -} -bool PythonQtShell_QStringListModel::canFetchMore(const QModelIndex& parent) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "canFetchMore"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&parent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStringListModel::canFetchMore(parent); -} -void PythonQtShell_QStringListModel::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; - } -} - QStringListModel::childEvent(arg__1); -} -void PythonQtShell_QStringListModel::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; - } -} - QStringListModel::customEvent(arg__1); -} -QVariant PythonQtShell_QStringListModel::data(const QModelIndex& index, int role) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "data"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&index, (void*)&role}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStringListModel::data(index, role); -} -bool PythonQtShell_QStringListModel::dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropMimeData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QMimeData*" , "Qt::DropAction" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue; - void* args[6] = {NULL, (void*)&data, (void*)&action, (void*)&row, (void*)&column, (void*)&parent}; - 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("dropMimeData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStringListModel::dropMimeData(data, action, row, column, parent); -} -bool PythonQtShell_QStringListModel::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStringListModel::event(arg__1); -} -bool PythonQtShell_QStringListModel::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStringListModel::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QStringListModel::fetchMore(const QModelIndex& parent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "fetchMore"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&parent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QStringListModel::fetchMore(parent); -} -Qt::ItemFlags PythonQtShell_QStringListModel::flags(const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "flags"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - Qt::ItemFlags returnValue; - void* args[2] = {NULL, (void*)&index}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); - } else { - returnValue = *((Qt::ItemFlags*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStringListModel::flags(index); -} -QVariant PythonQtShell_QStringListModel::headerData(int section, Qt::Orientation orientation, int role) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "headerData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QVariant returnValue; - void* args[4] = {NULL, (void*)§ion, (void*)&orientation, (void*)&role}; - 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("headerData", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStringListModel::headerData(section, orientation, role); -} -QModelIndex PythonQtShell_QStringListModel::index(int row, int column, const QModelIndex& parent) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "index"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QModelIndex returnValue; - void* args[4] = {NULL, (void*)&row, (void*)&column, (void*)&parent}; - 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("index", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStringListModel::index(row, column, parent); -} -bool PythonQtShell_QStringListModel::insertColumns(int column, int count, const QModelIndex& parent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "insertColumns"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&column, (void*)&count, (void*)&parent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStringListModel::insertColumns(column, count, parent); -} -bool PythonQtShell_QStringListModel::insertRows(int row, int count, const QModelIndex& parent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "insertRows"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&row, (void*)&count, (void*)&parent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStringListModel::insertRows(row, count, parent); -} -QMap PythonQtShell_QStringListModel::itemData(const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMap 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) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); - } else { - returnValue = *((QMap*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStringListModel::itemData(index); -} -QList PythonQtShell_QStringListModel::match(const QModelIndex& start, int role, const QVariant& value, int hits, Qt::MatchFlags flags) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "match"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QList" , "const QModelIndex&" , "int" , "const QVariant&" , "int" , "Qt::MatchFlags"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - QList returnValue; - void* args[6] = {NULL, (void*)&start, (void*)&role, (void*)&value, (void*)&hits, (void*)&flags}; - 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("match", methodInfo, result); - } else { - returnValue = *((QList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStringListModel::match(start, role, value, hits, flags); -} -QMimeData* PythonQtShell_QStringListModel::mimeData(const QList& indexes) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mimeData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QMimeData*" , "const QList&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMimeData* returnValue; - void* args[2] = {NULL, (void*)&indexes}; - 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("mimeData", methodInfo, result); - } else { - returnValue = *((QMimeData**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStringListModel::mimeData(indexes); -} -QStringList PythonQtShell_QStringListModel::mimeTypes() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mimeTypes"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QStringList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStringList returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); - } else { - returnValue = *((QStringList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStringListModel::mimeTypes(); -} -bool PythonQtShell_QStringListModel::removeColumns(int column, int count, const QModelIndex& parent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "removeColumns"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&column, (void*)&count, (void*)&parent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStringListModel::removeColumns(column, count, parent); -} -bool PythonQtShell_QStringListModel::removeRows(int row, int count, const QModelIndex& parent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "removeRows"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&row, (void*)&count, (void*)&parent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStringListModel::removeRows(row, count, parent); -} -void PythonQtShell_QStringListModel::revert() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "revert"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QStringListModel::revert(); -} -int PythonQtShell_QStringListModel::rowCount(const QModelIndex& parent) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowCount"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&parent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStringListModel::rowCount(parent); -} -bool PythonQtShell_QStringListModel::setData(const QModelIndex& index, const QVariant& value, int role) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QVariant&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&index, (void*)&value, (void*)&role}; - 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("setData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStringListModel::setData(index, value, role); -} -bool PythonQtShell_QStringListModel::setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setHeaderData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int" , "Qt::Orientation" , "const QVariant&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - bool returnValue; - void* args[5] = {NULL, (void*)§ion, (void*)&orientation, (void*)&value, (void*)&role}; - 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("setHeaderData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStringListModel::setHeaderData(section, orientation, value, role); -} -bool PythonQtShell_QStringListModel::setItemData(const QModelIndex& index, const QMap& roles) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setItemData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&index, (void*)&roles}; - 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("setItemData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStringListModel::setItemData(index, roles); -} -void PythonQtShell_QStringListModel::sort(int column, Qt::SortOrder order) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sort"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&column, (void*)&order}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QStringListModel::sort(column, order); -} -QSize PythonQtShell_QStringListModel::span(const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "span"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QSize 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) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStringListModel::span(index); -} -bool PythonQtShell_QStringListModel::submit() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "submit"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStringListModel::submit(); -} -Qt::DropActions PythonQtShell_QStringListModel::supportedDropActions() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "supportedDropActions"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"Qt::DropActions"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); - } else { - returnValue = *((Qt::DropActions*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStringListModel::supportedDropActions(); -} -void PythonQtShell_QStringListModel::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; - } -} - QStringListModel::timerEvent(arg__1); -} -QStringListModel* PythonQtWrapper_QStringListModel::new_QStringListModel(QObject* parent) -{ -return new PythonQtShell_QStringListModel(parent); } - -QStringListModel* PythonQtWrapper_QStringListModel::new_QStringListModel(const QStringList& strings, QObject* parent) -{ -return new PythonQtShell_QStringListModel(strings, parent); } - -QVariant PythonQtWrapper_QStringListModel::data(QStringListModel* theWrappedObject, const QModelIndex& index, int role) const -{ - return ( ((PythonQtPublicPromoter_QStringListModel*)theWrappedObject)->promoted_data(index, role)); -} - -Qt::DropActions PythonQtWrapper_QStringListModel::supportedDropActions(QStringListModel* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QStringListModel*)theWrappedObject)->promoted_supportedDropActions()); -} - -void PythonQtWrapper_QStringListModel::sort(QStringListModel* theWrappedObject, int column, Qt::SortOrder order) -{ - ( ((PythonQtPublicPromoter_QStringListModel*)theWrappedObject)->promoted_sort(column, order)); -} - -Qt::ItemFlags PythonQtWrapper_QStringListModel::flags(QStringListModel* theWrappedObject, const QModelIndex& index) const -{ - return ( ((PythonQtPublicPromoter_QStringListModel*)theWrappedObject)->promoted_flags(index)); -} - -bool PythonQtWrapper_QStringListModel::setData(QStringListModel* theWrappedObject, const QModelIndex& index, const QVariant& value, int role) -{ - return ( ((PythonQtPublicPromoter_QStringListModel*)theWrappedObject)->promoted_setData(index, value, role)); -} - -bool PythonQtWrapper_QStringListModel::removeRows(QStringListModel* theWrappedObject, int row, int count, const QModelIndex& parent) -{ - return ( ((PythonQtPublicPromoter_QStringListModel*)theWrappedObject)->promoted_removeRows(row, count, parent)); -} - -int PythonQtWrapper_QStringListModel::rowCount(QStringListModel* theWrappedObject, const QModelIndex& parent) const -{ - return ( ((PythonQtPublicPromoter_QStringListModel*)theWrappedObject)->promoted_rowCount(parent)); -} - -bool PythonQtWrapper_QStringListModel::insertRows(QStringListModel* theWrappedObject, int row, int count, const QModelIndex& parent) -{ - return ( ((PythonQtPublicPromoter_QStringListModel*)theWrappedObject)->promoted_insertRows(row, count, parent)); -} - -void PythonQtWrapper_QStringListModel::setStringList(QStringListModel* theWrappedObject, const QStringList& strings) -{ - ( theWrappedObject->setStringList(strings)); -} - -QStringList PythonQtWrapper_QStringListModel::stringList(QStringListModel* theWrappedObject) const -{ - return ( theWrappedObject->stringList()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStringListModel.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStringListModel.h deleted file mode 100644 index a7aa492..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStringListModel.h +++ /dev/null @@ -1,92 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSTRINGLISTMODEL_H -#define PYTHONQTWRAPPER_QSTRINGLISTMODEL_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QStringListModel : public QStringListModel -{ -public: - PythonQtShell_QStringListModel(QObject* parent = 0):QStringListModel(parent),_wrapper(NULL) {}; - PythonQtShell_QStringListModel(const QStringList& strings, QObject* parent = 0):QStringListModel(strings, parent),_wrapper(NULL) {}; - -virtual QModelIndex buddy(const QModelIndex& index) const; -virtual bool canFetchMore(const QModelIndex& parent) const; -virtual void childEvent(QChildEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual QVariant data(const QModelIndex& index, int role) const; -virtual bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void fetchMore(const QModelIndex& parent); -virtual Qt::ItemFlags flags(const QModelIndex& index) const; -virtual QVariant headerData(int section, Qt::Orientation orientation, int role) const; -virtual QModelIndex index(int row, int column, const QModelIndex& parent) const; -virtual bool insertColumns(int column, int count, const QModelIndex& parent); -virtual bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual QMap itemData(const QModelIndex& index) const; -virtual QList match(const QModelIndex& start, int role, const QVariant& value, int hits, Qt::MatchFlags flags) const; -virtual QMimeData* mimeData(const QList& indexes) const; -virtual QStringList mimeTypes() const; -virtual bool removeColumns(int column, int count, const QModelIndex& parent); -virtual bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual void revert(); -virtual int rowCount(const QModelIndex& parent = QModelIndex()) const; -virtual bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole); -virtual bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role); -virtual bool setItemData(const QModelIndex& index, const QMap& roles); -virtual void sort(int column, Qt::SortOrder order = Qt::AscendingOrder); -virtual QSize span(const QModelIndex& index) const; -virtual bool submit(); -virtual Qt::DropActions supportedDropActions() const; -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QStringListModel : public QStringListModel -{ public: -inline QVariant promoted_data(const QModelIndex& index, int role) const { return QStringListModel::data(index, role); } -inline Qt::DropActions promoted_supportedDropActions() const { return QStringListModel::supportedDropActions(); } -inline void promoted_sort(int column, Qt::SortOrder order = Qt::AscendingOrder) { QStringListModel::sort(column, order); } -inline Qt::ItemFlags promoted_flags(const QModelIndex& index) const { return QStringListModel::flags(index); } -inline bool promoted_setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole) { return QStringListModel::setData(index, value, role); } -inline bool promoted_removeRows(int row, int count, const QModelIndex& parent = QModelIndex()) { return QStringListModel::removeRows(row, count, parent); } -inline int promoted_rowCount(const QModelIndex& parent = QModelIndex()) const { return QStringListModel::rowCount(parent); } -inline bool promoted_insertRows(int row, int count, const QModelIndex& parent = QModelIndex()) { return QStringListModel::insertRows(row, count, parent); } -}; - -class PythonQtWrapper_QStringListModel : public QObject -{ Q_OBJECT -public: -public slots: -QStringListModel* new_QStringListModel(QObject* parent = 0); -QStringListModel* new_QStringListModel(const QStringList& strings, QObject* parent = 0); -void delete_QStringListModel(QStringListModel* obj) { delete obj; } - QVariant data(QStringListModel* theWrappedObject, const QModelIndex& index, int role) const; - Qt::DropActions supportedDropActions(QStringListModel* theWrappedObject) const; - void sort(QStringListModel* theWrappedObject, int column, Qt::SortOrder order = Qt::AscendingOrder); - Qt::ItemFlags flags(QStringListModel* theWrappedObject, const QModelIndex& index) const; - bool setData(QStringListModel* theWrappedObject, const QModelIndex& index, const QVariant& value, int role = Qt::EditRole); - bool removeRows(QStringListModel* theWrappedObject, int row, int count, const QModelIndex& parent = QModelIndex()); - int rowCount(QStringListModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const; - bool insertRows(QStringListModel* theWrappedObject, int row, int count, const QModelIndex& parent = QModelIndex()); - void setStringList(QStringListModel* theWrappedObject, const QStringList& strings); - QStringList stringList(QStringListModel* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QSTRINGLISTMODEL_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyle.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyle.cpp deleted file mode 100644 index 66f6533..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyle.cpp +++ /dev/null @@ -1,709 +0,0 @@ -#include "PythonQtWrapper_QStyle.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QStyle::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; - } -} - QStyle::childEvent(arg__1); -} -void PythonQtShell_QStyle::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; - } -} - QStyle::customEvent(arg__1); -} -void PythonQtShell_QStyle::drawComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QPainter* p, const QWidget* widget) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawComplexControl"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QStyle::ComplexControl" , "const QStyleOptionComplex*" , "QPainter*" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&cc, (void*)&opt, (void*)&p, (void*)&widget}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - -} -void PythonQtShell_QStyle::drawControl(QStyle::ControlElement element, const QStyleOption* opt, QPainter* p, const QWidget* w) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawControl"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QStyle::ControlElement" , "const QStyleOption*" , "QPainter*" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&element, (void*)&opt, (void*)&p, (void*)&w}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - -} -void PythonQtShell_QStyle::drawItemPixmap(QPainter* painter, const QRect& rect, int alignment, const QPixmap& pixmap) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawItemPixmap"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "int" , "const QPixmap&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&painter, (void*)&rect, (void*)&alignment, (void*)&pixmap}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QStyle::drawItemPixmap(painter, rect, alignment, pixmap); -} -void PythonQtShell_QStyle::drawItemText(QPainter* painter, const QRect& rect, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawItemText"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "int" , "const QPalette&" , "bool" , "const QString&" , "QPalette::ColorRole"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(8, argumentList); - void* args[8] = {NULL, (void*)&painter, (void*)&rect, (void*)&flags, (void*)&pal, (void*)&enabled, (void*)&text, (void*)&textRole}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QStyle::drawItemText(painter, rect, flags, pal, enabled, text, textRole); -} -void PythonQtShell_QStyle::drawPrimitive(QStyle::PrimitiveElement pe, const QStyleOption* opt, QPainter* p, const QWidget* w) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawPrimitive"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QStyle::PrimitiveElement" , "const QStyleOption*" , "QPainter*" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&pe, (void*)&opt, (void*)&p, (void*)&w}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - -} -bool PythonQtShell_QStyle::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStyle::event(arg__1); -} -bool PythonQtShell_QStyle::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStyle::eventFilter(arg__1, arg__2); -} -QPixmap PythonQtShell_QStyle::generatedIconPixmap(QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "generatedIconPixmap"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPixmap" , "QIcon::Mode" , "const QPixmap&" , "const QStyleOption*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QPixmap returnValue; - void* args[4] = {NULL, (void*)&iconMode, (void*)&pixmap, (void*)&opt}; - 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("generatedIconPixmap", methodInfo, result); - } else { - returnValue = *((QPixmap*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QPixmap result; -return result; -} -QStyle::SubControl PythonQtShell_QStyle::hitTestComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, const QPoint& pt, const QWidget* widget) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hitTestComplexControl"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QStyle::SubControl" , "QStyle::ComplexControl" , "const QStyleOptionComplex*" , "const QPoint&" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - QStyle::SubControl returnValue; - void* args[5] = {NULL, (void*)&cc, (void*)&opt, (void*)&pt, (void*)&widget}; - 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("hitTestComplexControl", methodInfo, result); - } else { - returnValue = *((QStyle::SubControl*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QStyle::SubControl result; -return result; -} -QRect PythonQtShell_QStyle::itemPixmapRect(const QRect& r, int flags, const QPixmap& pixmap) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemPixmapRect"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QRect" , "const QRect&" , "int" , "const QPixmap&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QRect returnValue; - void* args[4] = {NULL, (void*)&r, (void*)&flags, (void*)&pixmap}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemPixmapRect", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStyle::itemPixmapRect(r, flags, pixmap); -} -QRect PythonQtShell_QStyle::itemTextRect(const QFontMetrics& fm, const QRect& r, int flags, bool enabled, const QString& text) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemTextRect"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QRect" , "const QFontMetrics&" , "const QRect&" , "int" , "bool" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - QRect returnValue; - void* args[6] = {NULL, (void*)&fm, (void*)&r, (void*)&flags, (void*)&enabled, (void*)&text}; - 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("itemTextRect", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStyle::itemTextRect(fm, r, flags, enabled, text); -} -int PythonQtShell_QStyle::pixelMetric(QStyle::PixelMetric metric, const QStyleOption* option, const QWidget* widget) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "pixelMetric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QStyle::PixelMetric" , "const QStyleOption*" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - int returnValue; - void* args[4] = {NULL, (void*)&metric, (void*)&option, (void*)&widget}; - 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("pixelMetric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - int result; -return result; -} -void PythonQtShell_QStyle::polish(QApplication* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "polish"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QApplication*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QStyle::polish(arg__1); -} -void PythonQtShell_QStyle::polish(QPalette& arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "polish"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPalette&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QStyle::polish(arg__1); -} -void PythonQtShell_QStyle::polish(QWidget* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "polish"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QStyle::polish(arg__1); -} -QSize PythonQtShell_QStyle::sizeFromContents(QStyle::ContentsType ct, const QStyleOption* opt, const QSize& contentsSize, const QWidget* w) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeFromContents"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize" , "QStyle::ContentsType" , "const QStyleOption*" , "const QSize&" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - QSize returnValue; - void* args[5] = {NULL, (void*)&ct, (void*)&opt, (void*)&contentsSize, (void*)&w}; - 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("sizeFromContents", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QSize result; -return result; -} -QPalette PythonQtShell_QStyle::standardPalette() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "standardPalette"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPalette"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPalette returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("standardPalette", methodInfo, result); - } else { - returnValue = *((QPalette*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStyle::standardPalette(); -} -QPixmap PythonQtShell_QStyle::standardPixmap(QStyle::StandardPixmap standardPixmap, const QStyleOption* opt, const QWidget* widget) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "standardPixmap"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPixmap" , "QStyle::StandardPixmap" , "const QStyleOption*" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QPixmap returnValue; - void* args[4] = {NULL, (void*)&standardPixmap, (void*)&opt, (void*)&widget}; - 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("standardPixmap", methodInfo, result); - } else { - returnValue = *((QPixmap*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QPixmap result; -return result; -} -int PythonQtShell_QStyle::styleHint(QStyle::StyleHint stylehint, const QStyleOption* opt, const QWidget* widget, QStyleHintReturn* returnData) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "styleHint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QStyle::StyleHint" , "const QStyleOption*" , "const QWidget*" , "QStyleHintReturn*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - int returnValue; - void* args[5] = {NULL, (void*)&stylehint, (void*)&opt, (void*)&widget, (void*)&returnData}; - 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("styleHint", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - int result; -return result; -} -QRect PythonQtShell_QStyle::subControlRect(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* widget) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "subControlRect"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QRect" , "QStyle::ComplexControl" , "const QStyleOptionComplex*" , "QStyle::SubControl" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - QRect returnValue; - void* args[5] = {NULL, (void*)&cc, (void*)&opt, (void*)&sc, (void*)&widget}; - 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("subControlRect", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QRect result; -return result; -} -QRect PythonQtShell_QStyle::subElementRect(QStyle::SubElement subElement, const QStyleOption* option, const QWidget* widget) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "subElementRect"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QRect" , "QStyle::SubElement" , "const QStyleOption*" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QRect returnValue; - void* args[4] = {NULL, (void*)&subElement, (void*)&option, (void*)&widget}; - 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("subElementRect", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QRect result; -return result; -} -void PythonQtShell_QStyle::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; - } -} - QStyle::timerEvent(arg__1); -} -void PythonQtShell_QStyle::unpolish(QApplication* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "unpolish"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QApplication*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QStyle::unpolish(arg__1); -} -void PythonQtShell_QStyle::unpolish(QWidget* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "unpolish"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QStyle::unpolish(arg__1); -} -QStyle* PythonQtWrapper_QStyle::new_QStyle() -{ -return new PythonQtShell_QStyle(); } - -QPoint PythonQtWrapper_QStyle::static_QStyle_visualPos(Qt::LayoutDirection direction, const QRect& boundingRect, const QPoint& logicalPos) -{ - return (QStyle::visualPos(direction, boundingRect, logicalPos)); -} - -int PythonQtWrapper_QStyle::combinedLayoutSpacing(QStyle* theWrappedObject, QSizePolicy::ControlTypes controls1, QSizePolicy::ControlTypes controls2, Qt::Orientation orientation, QStyleOption* option, QWidget* widget) const -{ - return ( theWrappedObject->combinedLayoutSpacing(controls1, controls2, orientation, option, widget)); -} - -QPalette PythonQtWrapper_QStyle::standardPalette(QStyle* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QStyle*)theWrappedObject)->promoted_standardPalette()); -} - -void PythonQtWrapper_QStyle::polish(QStyle* theWrappedObject, QApplication* arg__1) -{ - ( ((PythonQtPublicPromoter_QStyle*)theWrappedObject)->promoted_polish(arg__1)); -} - -void PythonQtWrapper_QStyle::polish(QStyle* theWrappedObject, QWidget* arg__1) -{ - ( ((PythonQtPublicPromoter_QStyle*)theWrappedObject)->promoted_polish(arg__1)); -} - -int PythonQtWrapper_QStyle::static_QStyle_sliderPositionFromValue(int min, int max, int val, int space, bool upsideDown) -{ - return (QStyle::sliderPositionFromValue(min, max, val, space, upsideDown)); -} - -int PythonQtWrapper_QStyle::static_QStyle_sliderValueFromPosition(int min, int max, int pos, int space, bool upsideDown) -{ - return (QStyle::sliderValueFromPosition(min, max, pos, space, upsideDown)); -} - -QIcon PythonQtWrapper_QStyle::standardIcon(QStyle* theWrappedObject, QStyle::StandardPixmap standardIcon, const QStyleOption* option, const QWidget* widget) const -{ - return ( theWrappedObject->standardIcon(standardIcon, option, widget)); -} - -void PythonQtWrapper_QStyle::unpolish(QStyle* theWrappedObject, QApplication* arg__1) -{ - ( ((PythonQtPublicPromoter_QStyle*)theWrappedObject)->promoted_unpolish(arg__1)); -} - -void PythonQtWrapper_QStyle::drawItemPixmap(QStyle* theWrappedObject, QPainter* painter, const QRect& rect, int alignment, const QPixmap& pixmap) const -{ - ( ((PythonQtPublicPromoter_QStyle*)theWrappedObject)->promoted_drawItemPixmap(painter, rect, alignment, pixmap)); -} - -void PythonQtWrapper_QStyle::drawItemText(QStyle* theWrappedObject, QPainter* painter, const QRect& rect, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole) const -{ - ( ((PythonQtPublicPromoter_QStyle*)theWrappedObject)->promoted_drawItemText(painter, rect, flags, pal, enabled, text, textRole)); -} - -int PythonQtWrapper_QStyle::layoutSpacing(QStyle* theWrappedObject, QSizePolicy::ControlType control1, QSizePolicy::ControlType control2, Qt::Orientation orientation, const QStyleOption* option, const QWidget* widget) const -{ - return ( theWrappedObject->layoutSpacing(control1, control2, orientation, option, widget)); -} - -void PythonQtWrapper_QStyle::unpolish(QStyle* theWrappedObject, QWidget* arg__1) -{ - ( ((PythonQtPublicPromoter_QStyle*)theWrappedObject)->promoted_unpolish(arg__1)); -} - -QRect PythonQtWrapper_QStyle::static_QStyle_visualRect(Qt::LayoutDirection direction, const QRect& boundingRect, const QRect& logicalRect) -{ - return (QStyle::visualRect(direction, boundingRect, logicalRect)); -} - -QRect PythonQtWrapper_QStyle::itemPixmapRect(QStyle* theWrappedObject, const QRect& r, int flags, const QPixmap& pixmap) const -{ - return ( ((PythonQtPublicPromoter_QStyle*)theWrappedObject)->promoted_itemPixmapRect(r, flags, pixmap)); -} - -Qt::Alignment PythonQtWrapper_QStyle::static_QStyle_visualAlignment(Qt::LayoutDirection direction, Qt::Alignment alignment) -{ - return (QStyle::visualAlignment(direction, alignment)); -} - -QRect PythonQtWrapper_QStyle::static_QStyle_alignedRect(Qt::LayoutDirection direction, Qt::Alignment alignment, const QSize& size, const QRect& rectangle) -{ - return (QStyle::alignedRect(direction, alignment, size, rectangle)); -} - -void PythonQtWrapper_QStyle::polish(QStyle* theWrappedObject, QPalette& arg__1) -{ - ( ((PythonQtPublicPromoter_QStyle*)theWrappedObject)->promoted_polish(arg__1)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyle.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyle.h deleted file mode 100644 index 44c6573..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyle.h +++ /dev/null @@ -1,124 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSTYLE_H -#define PYTHONQTWRAPPER_QSTYLE_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QStyle : public QStyle -{ -public: - PythonQtShell_QStyle():QStyle(),_wrapper(NULL) {}; - -virtual void childEvent(QChildEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual void drawComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QPainter* p, const QWidget* widget = 0) const; -virtual void drawControl(QStyle::ControlElement element, const QStyleOption* opt, QPainter* p, const QWidget* w = 0) const; -virtual void drawItemPixmap(QPainter* painter, const QRect& rect, int alignment, const QPixmap& pixmap) const; -virtual void drawItemText(QPainter* painter, const QRect& rect, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole = QPalette::NoRole) const; -virtual void drawPrimitive(QStyle::PrimitiveElement pe, const QStyleOption* opt, QPainter* p, const QWidget* w = 0) const; -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual QPixmap generatedIconPixmap(QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const; -virtual QStyle::SubControl hitTestComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, const QPoint& pt, const QWidget* widget = 0) const; -virtual QRect itemPixmapRect(const QRect& r, int flags, const QPixmap& pixmap) const; -virtual QRect itemTextRect(const QFontMetrics& fm, const QRect& r, int flags, bool enabled, const QString& text) const; -virtual int pixelMetric(QStyle::PixelMetric metric, const QStyleOption* option = 0, const QWidget* widget = 0) const; -virtual void polish(QApplication* arg__1); -virtual void polish(QPalette& arg__1); -virtual void polish(QWidget* arg__1); -virtual QSize sizeFromContents(QStyle::ContentsType ct, const QStyleOption* opt, const QSize& contentsSize, const QWidget* w = 0) const; -virtual QPalette standardPalette() const; -virtual QPixmap standardPixmap(QStyle::StandardPixmap standardPixmap, const QStyleOption* opt = 0, const QWidget* widget = 0) const; -virtual int styleHint(QStyle::StyleHint stylehint, const QStyleOption* opt = 0, const QWidget* widget = 0, QStyleHintReturn* returnData = 0) const; -virtual QRect subControlRect(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* widget = 0) const; -virtual QRect subElementRect(QStyle::SubElement subElement, const QStyleOption* option, const QWidget* widget = 0) const; -virtual void timerEvent(QTimerEvent* arg__1); -virtual void unpolish(QApplication* arg__1); -virtual void unpolish(QWidget* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QStyle : public QStyle -{ public: -inline QPalette promoted_standardPalette() const { return QStyle::standardPalette(); } -inline void promoted_polish(QApplication* arg__1) { QStyle::polish(arg__1); } -inline void promoted_polish(QWidget* arg__1) { QStyle::polish(arg__1); } -inline void promoted_unpolish(QApplication* arg__1) { QStyle::unpolish(arg__1); } -inline void promoted_drawItemPixmap(QPainter* painter, const QRect& rect, int alignment, const QPixmap& pixmap) const { QStyle::drawItemPixmap(painter, rect, alignment, pixmap); } -inline void promoted_drawItemText(QPainter* painter, const QRect& rect, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole = QPalette::NoRole) const { QStyle::drawItemText(painter, rect, flags, pal, enabled, text, textRole); } -inline void promoted_unpolish(QWidget* arg__1) { QStyle::unpolish(arg__1); } -inline QRect promoted_itemPixmapRect(const QRect& r, int flags, const QPixmap& pixmap) const { return QStyle::itemPixmapRect(r, flags, pixmap); } -inline void promoted_polish(QPalette& arg__1) { QStyle::polish(arg__1); } -}; - -class PythonQtWrapper_QStyle : public QObject -{ Q_OBJECT -public: -Q_ENUMS(PixelMetric SubControl StandardPixmap StyleHint PrimitiveElement ControlElement ContentsType StateFlag ComplexControl SubElement ) -Q_FLAGS(SubControls State ) -enum PixelMetric{ - PM_ButtonMargin = QStyle::PM_ButtonMargin, PM_ButtonDefaultIndicator = QStyle::PM_ButtonDefaultIndicator, PM_MenuButtonIndicator = QStyle::PM_MenuButtonIndicator, PM_ButtonShiftHorizontal = QStyle::PM_ButtonShiftHorizontal, PM_ButtonShiftVertical = QStyle::PM_ButtonShiftVertical, PM_DefaultFrameWidth = QStyle::PM_DefaultFrameWidth, PM_SpinBoxFrameWidth = QStyle::PM_SpinBoxFrameWidth, PM_ComboBoxFrameWidth = QStyle::PM_ComboBoxFrameWidth, PM_MaximumDragDistance = QStyle::PM_MaximumDragDistance, PM_ScrollBarExtent = QStyle::PM_ScrollBarExtent, PM_ScrollBarSliderMin = QStyle::PM_ScrollBarSliderMin, PM_SliderThickness = QStyle::PM_SliderThickness, PM_SliderControlThickness = QStyle::PM_SliderControlThickness, PM_SliderLength = QStyle::PM_SliderLength, PM_SliderTickmarkOffset = QStyle::PM_SliderTickmarkOffset, PM_SliderSpaceAvailable = QStyle::PM_SliderSpaceAvailable, PM_DockWidgetSeparatorExtent = QStyle::PM_DockWidgetSeparatorExtent, PM_DockWidgetHandleExtent = QStyle::PM_DockWidgetHandleExtent, PM_DockWidgetFrameWidth = QStyle::PM_DockWidgetFrameWidth, PM_TabBarTabOverlap = QStyle::PM_TabBarTabOverlap, PM_TabBarTabHSpace = QStyle::PM_TabBarTabHSpace, PM_TabBarTabVSpace = QStyle::PM_TabBarTabVSpace, PM_TabBarBaseHeight = QStyle::PM_TabBarBaseHeight, PM_TabBarBaseOverlap = QStyle::PM_TabBarBaseOverlap, PM_ProgressBarChunkWidth = QStyle::PM_ProgressBarChunkWidth, PM_SplitterWidth = QStyle::PM_SplitterWidth, PM_TitleBarHeight = QStyle::PM_TitleBarHeight, PM_MenuScrollerHeight = QStyle::PM_MenuScrollerHeight, PM_MenuHMargin = QStyle::PM_MenuHMargin, PM_MenuVMargin = QStyle::PM_MenuVMargin, PM_MenuPanelWidth = QStyle::PM_MenuPanelWidth, PM_MenuTearoffHeight = QStyle::PM_MenuTearoffHeight, PM_MenuDesktopFrameWidth = QStyle::PM_MenuDesktopFrameWidth, PM_MenuBarPanelWidth = QStyle::PM_MenuBarPanelWidth, PM_MenuBarItemSpacing = QStyle::PM_MenuBarItemSpacing, PM_MenuBarVMargin = QStyle::PM_MenuBarVMargin, PM_MenuBarHMargin = QStyle::PM_MenuBarHMargin, PM_IndicatorWidth = QStyle::PM_IndicatorWidth, PM_IndicatorHeight = QStyle::PM_IndicatorHeight, PM_ExclusiveIndicatorWidth = QStyle::PM_ExclusiveIndicatorWidth, PM_ExclusiveIndicatorHeight = QStyle::PM_ExclusiveIndicatorHeight, PM_CheckListButtonSize = QStyle::PM_CheckListButtonSize, PM_CheckListControllerSize = QStyle::PM_CheckListControllerSize, PM_DialogButtonsSeparator = QStyle::PM_DialogButtonsSeparator, PM_DialogButtonsButtonWidth = QStyle::PM_DialogButtonsButtonWidth, PM_DialogButtonsButtonHeight = QStyle::PM_DialogButtonsButtonHeight, PM_MdiSubWindowFrameWidth = QStyle::PM_MdiSubWindowFrameWidth, PM_MDIFrameWidth = QStyle::PM_MDIFrameWidth, PM_MdiSubWindowMinimizedWidth = QStyle::PM_MdiSubWindowMinimizedWidth, PM_MDIMinimizedWidth = QStyle::PM_MDIMinimizedWidth, PM_HeaderMargin = QStyle::PM_HeaderMargin, PM_HeaderMarkSize = QStyle::PM_HeaderMarkSize, PM_HeaderGripMargin = QStyle::PM_HeaderGripMargin, PM_TabBarTabShiftHorizontal = QStyle::PM_TabBarTabShiftHorizontal, PM_TabBarTabShiftVertical = QStyle::PM_TabBarTabShiftVertical, PM_TabBarScrollButtonWidth = QStyle::PM_TabBarScrollButtonWidth, PM_ToolBarFrameWidth = QStyle::PM_ToolBarFrameWidth, PM_ToolBarHandleExtent = QStyle::PM_ToolBarHandleExtent, PM_ToolBarItemSpacing = QStyle::PM_ToolBarItemSpacing, PM_ToolBarItemMargin = QStyle::PM_ToolBarItemMargin, PM_ToolBarSeparatorExtent = QStyle::PM_ToolBarSeparatorExtent, PM_ToolBarExtensionExtent = QStyle::PM_ToolBarExtensionExtent, PM_SpinBoxSliderHeight = QStyle::PM_SpinBoxSliderHeight, PM_DefaultTopLevelMargin = QStyle::PM_DefaultTopLevelMargin, PM_DefaultChildMargin = QStyle::PM_DefaultChildMargin, PM_DefaultLayoutSpacing = QStyle::PM_DefaultLayoutSpacing, PM_ToolBarIconSize = QStyle::PM_ToolBarIconSize, PM_ListViewIconSize = QStyle::PM_ListViewIconSize, PM_IconViewIconSize = QStyle::PM_IconViewIconSize, PM_SmallIconSize = QStyle::PM_SmallIconSize, PM_LargeIconSize = QStyle::PM_LargeIconSize, PM_FocusFrameVMargin = QStyle::PM_FocusFrameVMargin, PM_FocusFrameHMargin = QStyle::PM_FocusFrameHMargin, PM_ToolTipLabelFrameWidth = QStyle::PM_ToolTipLabelFrameWidth, PM_CheckBoxLabelSpacing = QStyle::PM_CheckBoxLabelSpacing, PM_TabBarIconSize = QStyle::PM_TabBarIconSize, PM_SizeGripSize = QStyle::PM_SizeGripSize, PM_DockWidgetTitleMargin = QStyle::PM_DockWidgetTitleMargin, PM_MessageBoxIconSize = QStyle::PM_MessageBoxIconSize, PM_ButtonIconSize = QStyle::PM_ButtonIconSize, PM_DockWidgetTitleBarButtonMargin = QStyle::PM_DockWidgetTitleBarButtonMargin, PM_RadioButtonLabelSpacing = QStyle::PM_RadioButtonLabelSpacing, PM_LayoutLeftMargin = QStyle::PM_LayoutLeftMargin, PM_LayoutTopMargin = QStyle::PM_LayoutTopMargin, PM_LayoutRightMargin = QStyle::PM_LayoutRightMargin, PM_LayoutBottomMargin = QStyle::PM_LayoutBottomMargin, PM_LayoutHorizontalSpacing = QStyle::PM_LayoutHorizontalSpacing, PM_LayoutVerticalSpacing = QStyle::PM_LayoutVerticalSpacing, PM_TabBar_ScrollButtonOverlap = QStyle::PM_TabBar_ScrollButtonOverlap, PM_TextCursorWidth = QStyle::PM_TextCursorWidth, PM_CustomBase = QStyle::PM_CustomBase}; -enum SubControl{ - SC_None = QStyle::SC_None, SC_ScrollBarAddLine = QStyle::SC_ScrollBarAddLine, SC_ScrollBarSubLine = QStyle::SC_ScrollBarSubLine, SC_ScrollBarAddPage = QStyle::SC_ScrollBarAddPage, SC_ScrollBarSubPage = QStyle::SC_ScrollBarSubPage, SC_ScrollBarFirst = QStyle::SC_ScrollBarFirst, SC_ScrollBarLast = QStyle::SC_ScrollBarLast, SC_ScrollBarSlider = QStyle::SC_ScrollBarSlider, SC_ScrollBarGroove = QStyle::SC_ScrollBarGroove, SC_SpinBoxUp = QStyle::SC_SpinBoxUp, SC_SpinBoxDown = QStyle::SC_SpinBoxDown, SC_SpinBoxFrame = QStyle::SC_SpinBoxFrame, SC_SpinBoxEditField = QStyle::SC_SpinBoxEditField, SC_ComboBoxFrame = QStyle::SC_ComboBoxFrame, SC_ComboBoxEditField = QStyle::SC_ComboBoxEditField, SC_ComboBoxArrow = QStyle::SC_ComboBoxArrow, SC_ComboBoxListBoxPopup = QStyle::SC_ComboBoxListBoxPopup, SC_SliderGroove = QStyle::SC_SliderGroove, SC_SliderHandle = QStyle::SC_SliderHandle, SC_SliderTickmarks = QStyle::SC_SliderTickmarks, SC_ToolButton = QStyle::SC_ToolButton, SC_ToolButtonMenu = QStyle::SC_ToolButtonMenu, SC_TitleBarSysMenu = QStyle::SC_TitleBarSysMenu, SC_TitleBarMinButton = QStyle::SC_TitleBarMinButton, SC_TitleBarMaxButton = QStyle::SC_TitleBarMaxButton, SC_TitleBarCloseButton = QStyle::SC_TitleBarCloseButton, SC_TitleBarNormalButton = QStyle::SC_TitleBarNormalButton, SC_TitleBarShadeButton = QStyle::SC_TitleBarShadeButton, SC_TitleBarUnshadeButton = QStyle::SC_TitleBarUnshadeButton, SC_TitleBarContextHelpButton = QStyle::SC_TitleBarContextHelpButton, SC_TitleBarLabel = QStyle::SC_TitleBarLabel, SC_Q3ListView = QStyle::SC_Q3ListView, SC_Q3ListViewBranch = QStyle::SC_Q3ListViewBranch, SC_Q3ListViewExpand = QStyle::SC_Q3ListViewExpand, SC_DialGroove = QStyle::SC_DialGroove, SC_DialHandle = QStyle::SC_DialHandle, SC_DialTickmarks = QStyle::SC_DialTickmarks, SC_GroupBoxCheckBox = QStyle::SC_GroupBoxCheckBox, SC_GroupBoxLabel = QStyle::SC_GroupBoxLabel, SC_GroupBoxContents = QStyle::SC_GroupBoxContents, SC_GroupBoxFrame = QStyle::SC_GroupBoxFrame, SC_MdiMinButton = QStyle::SC_MdiMinButton, SC_MdiNormalButton = QStyle::SC_MdiNormalButton, SC_MdiCloseButton = QStyle::SC_MdiCloseButton, SC_All = QStyle::SC_All}; -enum StandardPixmap{ - SP_TitleBarMenuButton = QStyle::SP_TitleBarMenuButton, SP_TitleBarMinButton = QStyle::SP_TitleBarMinButton, SP_TitleBarMaxButton = QStyle::SP_TitleBarMaxButton, SP_TitleBarCloseButton = QStyle::SP_TitleBarCloseButton, SP_TitleBarNormalButton = QStyle::SP_TitleBarNormalButton, SP_TitleBarShadeButton = QStyle::SP_TitleBarShadeButton, SP_TitleBarUnshadeButton = QStyle::SP_TitleBarUnshadeButton, SP_TitleBarContextHelpButton = QStyle::SP_TitleBarContextHelpButton, SP_DockWidgetCloseButton = QStyle::SP_DockWidgetCloseButton, SP_MessageBoxInformation = QStyle::SP_MessageBoxInformation, SP_MessageBoxWarning = QStyle::SP_MessageBoxWarning, SP_MessageBoxCritical = QStyle::SP_MessageBoxCritical, SP_MessageBoxQuestion = QStyle::SP_MessageBoxQuestion, SP_DesktopIcon = QStyle::SP_DesktopIcon, SP_TrashIcon = QStyle::SP_TrashIcon, SP_ComputerIcon = QStyle::SP_ComputerIcon, SP_DriveFDIcon = QStyle::SP_DriveFDIcon, SP_DriveHDIcon = QStyle::SP_DriveHDIcon, SP_DriveCDIcon = QStyle::SP_DriveCDIcon, SP_DriveDVDIcon = QStyle::SP_DriveDVDIcon, SP_DriveNetIcon = QStyle::SP_DriveNetIcon, SP_DirOpenIcon = QStyle::SP_DirOpenIcon, SP_DirClosedIcon = QStyle::SP_DirClosedIcon, SP_DirLinkIcon = QStyle::SP_DirLinkIcon, SP_FileIcon = QStyle::SP_FileIcon, SP_FileLinkIcon = QStyle::SP_FileLinkIcon, SP_ToolBarHorizontalExtensionButton = QStyle::SP_ToolBarHorizontalExtensionButton, SP_ToolBarVerticalExtensionButton = QStyle::SP_ToolBarVerticalExtensionButton, SP_FileDialogStart = QStyle::SP_FileDialogStart, SP_FileDialogEnd = QStyle::SP_FileDialogEnd, SP_FileDialogToParent = QStyle::SP_FileDialogToParent, SP_FileDialogNewFolder = QStyle::SP_FileDialogNewFolder, SP_FileDialogDetailedView = QStyle::SP_FileDialogDetailedView, SP_FileDialogInfoView = QStyle::SP_FileDialogInfoView, SP_FileDialogContentsView = QStyle::SP_FileDialogContentsView, SP_FileDialogListView = QStyle::SP_FileDialogListView, SP_FileDialogBack = QStyle::SP_FileDialogBack, SP_DirIcon = QStyle::SP_DirIcon, SP_DialogOkButton = QStyle::SP_DialogOkButton, SP_DialogCancelButton = QStyle::SP_DialogCancelButton, SP_DialogHelpButton = QStyle::SP_DialogHelpButton, SP_DialogOpenButton = QStyle::SP_DialogOpenButton, SP_DialogSaveButton = QStyle::SP_DialogSaveButton, SP_DialogCloseButton = QStyle::SP_DialogCloseButton, SP_DialogApplyButton = QStyle::SP_DialogApplyButton, SP_DialogResetButton = QStyle::SP_DialogResetButton, SP_DialogDiscardButton = QStyle::SP_DialogDiscardButton, SP_DialogYesButton = QStyle::SP_DialogYesButton, SP_DialogNoButton = QStyle::SP_DialogNoButton, SP_ArrowUp = QStyle::SP_ArrowUp, SP_ArrowDown = QStyle::SP_ArrowDown, SP_ArrowLeft = QStyle::SP_ArrowLeft, SP_ArrowRight = QStyle::SP_ArrowRight, SP_ArrowBack = QStyle::SP_ArrowBack, SP_ArrowForward = QStyle::SP_ArrowForward, SP_DirHomeIcon = QStyle::SP_DirHomeIcon, SP_CommandLink = QStyle::SP_CommandLink, SP_VistaShield = QStyle::SP_VistaShield, SP_BrowserReload = QStyle::SP_BrowserReload, SP_BrowserStop = QStyle::SP_BrowserStop, SP_MediaPlay = QStyle::SP_MediaPlay, SP_MediaStop = QStyle::SP_MediaStop, SP_MediaPause = QStyle::SP_MediaPause, SP_MediaSkipForward = QStyle::SP_MediaSkipForward, SP_MediaSkipBackward = QStyle::SP_MediaSkipBackward, SP_MediaSeekForward = QStyle::SP_MediaSeekForward, SP_MediaSeekBackward = QStyle::SP_MediaSeekBackward, SP_MediaVolume = QStyle::SP_MediaVolume, SP_MediaVolumeMuted = QStyle::SP_MediaVolumeMuted, SP_CustomBase = QStyle::SP_CustomBase}; -enum StyleHint{ - SH_EtchDisabledText = QStyle::SH_EtchDisabledText, SH_DitherDisabledText = QStyle::SH_DitherDisabledText, SH_ScrollBar_MiddleClickAbsolutePosition = QStyle::SH_ScrollBar_MiddleClickAbsolutePosition, SH_ScrollBar_ScrollWhenPointerLeavesControl = QStyle::SH_ScrollBar_ScrollWhenPointerLeavesControl, SH_TabBar_SelectMouseType = QStyle::SH_TabBar_SelectMouseType, SH_TabBar_Alignment = QStyle::SH_TabBar_Alignment, SH_Header_ArrowAlignment = QStyle::SH_Header_ArrowAlignment, SH_Slider_SnapToValue = QStyle::SH_Slider_SnapToValue, SH_Slider_SloppyKeyEvents = QStyle::SH_Slider_SloppyKeyEvents, SH_ProgressDialog_CenterCancelButton = QStyle::SH_ProgressDialog_CenterCancelButton, SH_ProgressDialog_TextLabelAlignment = QStyle::SH_ProgressDialog_TextLabelAlignment, SH_PrintDialog_RightAlignButtons = QStyle::SH_PrintDialog_RightAlignButtons, SH_MainWindow_SpaceBelowMenuBar = QStyle::SH_MainWindow_SpaceBelowMenuBar, SH_FontDialog_SelectAssociatedText = QStyle::SH_FontDialog_SelectAssociatedText, SH_Menu_AllowActiveAndDisabled = QStyle::SH_Menu_AllowActiveAndDisabled, SH_Menu_SpaceActivatesItem = QStyle::SH_Menu_SpaceActivatesItem, SH_Menu_SubMenuPopupDelay = QStyle::SH_Menu_SubMenuPopupDelay, SH_ScrollView_FrameOnlyAroundContents = QStyle::SH_ScrollView_FrameOnlyAroundContents, SH_MenuBar_AltKeyNavigation = QStyle::SH_MenuBar_AltKeyNavigation, SH_ComboBox_ListMouseTracking = QStyle::SH_ComboBox_ListMouseTracking, SH_Menu_MouseTracking = QStyle::SH_Menu_MouseTracking, SH_MenuBar_MouseTracking = QStyle::SH_MenuBar_MouseTracking, SH_ItemView_ChangeHighlightOnFocus = QStyle::SH_ItemView_ChangeHighlightOnFocus, SH_Widget_ShareActivation = QStyle::SH_Widget_ShareActivation, SH_Workspace_FillSpaceOnMaximize = QStyle::SH_Workspace_FillSpaceOnMaximize, SH_ComboBox_Popup = QStyle::SH_ComboBox_Popup, SH_TitleBar_NoBorder = QStyle::SH_TitleBar_NoBorder, SH_Slider_StopMouseOverSlider = QStyle::SH_Slider_StopMouseOverSlider, SH_ScrollBar_StopMouseOverSlider = QStyle::SH_ScrollBar_StopMouseOverSlider, SH_BlinkCursorWhenTextSelected = QStyle::SH_BlinkCursorWhenTextSelected, SH_RichText_FullWidthSelection = QStyle::SH_RichText_FullWidthSelection, SH_Menu_Scrollable = QStyle::SH_Menu_Scrollable, SH_GroupBox_TextLabelVerticalAlignment = QStyle::SH_GroupBox_TextLabelVerticalAlignment, SH_GroupBox_TextLabelColor = QStyle::SH_GroupBox_TextLabelColor, SH_Menu_SloppySubMenus = QStyle::SH_Menu_SloppySubMenus, SH_Table_GridLineColor = QStyle::SH_Table_GridLineColor, SH_LineEdit_PasswordCharacter = QStyle::SH_LineEdit_PasswordCharacter, SH_DialogButtons_DefaultButton = QStyle::SH_DialogButtons_DefaultButton, SH_ToolBox_SelectedPageTitleBold = QStyle::SH_ToolBox_SelectedPageTitleBold, SH_TabBar_PreferNoArrows = QStyle::SH_TabBar_PreferNoArrows, SH_ScrollBar_LeftClickAbsolutePosition = QStyle::SH_ScrollBar_LeftClickAbsolutePosition, SH_Q3ListViewExpand_SelectMouseType = QStyle::SH_Q3ListViewExpand_SelectMouseType, SH_UnderlineShortcut = QStyle::SH_UnderlineShortcut, SH_SpinBox_AnimateButton = QStyle::SH_SpinBox_AnimateButton, SH_SpinBox_KeyPressAutoRepeatRate = QStyle::SH_SpinBox_KeyPressAutoRepeatRate, SH_SpinBox_ClickAutoRepeatRate = QStyle::SH_SpinBox_ClickAutoRepeatRate, SH_Menu_FillScreenWithScroll = QStyle::SH_Menu_FillScreenWithScroll, SH_ToolTipLabel_Opacity = QStyle::SH_ToolTipLabel_Opacity, SH_DrawMenuBarSeparator = QStyle::SH_DrawMenuBarSeparator, SH_TitleBar_ModifyNotification = QStyle::SH_TitleBar_ModifyNotification, SH_Button_FocusPolicy = QStyle::SH_Button_FocusPolicy, SH_MenuBar_DismissOnSecondClick = QStyle::SH_MenuBar_DismissOnSecondClick, SH_MessageBox_UseBorderForButtonSpacing = QStyle::SH_MessageBox_UseBorderForButtonSpacing, SH_TitleBar_AutoRaise = QStyle::SH_TitleBar_AutoRaise, SH_ToolButton_PopupDelay = QStyle::SH_ToolButton_PopupDelay, SH_FocusFrame_Mask = QStyle::SH_FocusFrame_Mask, SH_RubberBand_Mask = QStyle::SH_RubberBand_Mask, SH_WindowFrame_Mask = QStyle::SH_WindowFrame_Mask, SH_SpinControls_DisableOnBounds = QStyle::SH_SpinControls_DisableOnBounds, SH_Dial_BackgroundRole = QStyle::SH_Dial_BackgroundRole, SH_ComboBox_LayoutDirection = QStyle::SH_ComboBox_LayoutDirection, SH_ItemView_EllipsisLocation = QStyle::SH_ItemView_EllipsisLocation, SH_ItemView_ShowDecorationSelected = QStyle::SH_ItemView_ShowDecorationSelected, SH_ItemView_ActivateItemOnSingleClick = QStyle::SH_ItemView_ActivateItemOnSingleClick, SH_ScrollBar_ContextMenu = QStyle::SH_ScrollBar_ContextMenu, SH_ScrollBar_RollBetweenButtons = QStyle::SH_ScrollBar_RollBetweenButtons, SH_Slider_AbsoluteSetButtons = QStyle::SH_Slider_AbsoluteSetButtons, SH_Slider_PageSetButtons = QStyle::SH_Slider_PageSetButtons, SH_Menu_KeyboardSearch = QStyle::SH_Menu_KeyboardSearch, SH_TabBar_ElideMode = QStyle::SH_TabBar_ElideMode, SH_DialogButtonLayout = QStyle::SH_DialogButtonLayout, SH_ComboBox_PopupFrameStyle = QStyle::SH_ComboBox_PopupFrameStyle, SH_MessageBox_TextInteractionFlags = QStyle::SH_MessageBox_TextInteractionFlags, SH_DialogButtonBox_ButtonsHaveIcons = QStyle::SH_DialogButtonBox_ButtonsHaveIcons, SH_SpellCheckUnderlineStyle = QStyle::SH_SpellCheckUnderlineStyle, SH_MessageBox_CenterButtons = QStyle::SH_MessageBox_CenterButtons, SH_Menu_SelectionWrap = QStyle::SH_Menu_SelectionWrap, SH_ItemView_MovementWithoutUpdatingSelection = QStyle::SH_ItemView_MovementWithoutUpdatingSelection, SH_ToolTip_Mask = QStyle::SH_ToolTip_Mask, SH_FocusFrame_AboveWidget = QStyle::SH_FocusFrame_AboveWidget, SH_TextControl_FocusIndicatorTextCharFormat = QStyle::SH_TextControl_FocusIndicatorTextCharFormat, SH_WizardStyle = QStyle::SH_WizardStyle, SH_ItemView_ArrowKeysNavigateIntoChildren = QStyle::SH_ItemView_ArrowKeysNavigateIntoChildren, SH_Menu_Mask = QStyle::SH_Menu_Mask, SH_Menu_FlashTriggeredItem = QStyle::SH_Menu_FlashTriggeredItem, SH_Menu_FadeOutOnHide = QStyle::SH_Menu_FadeOutOnHide, SH_SpinBox_ClickAutoRepeatThreshold = QStyle::SH_SpinBox_ClickAutoRepeatThreshold, SH_ItemView_PaintAlternatingRowColorsForEmptyArea = QStyle::SH_ItemView_PaintAlternatingRowColorsForEmptyArea, SH_FormLayoutWrapPolicy = QStyle::SH_FormLayoutWrapPolicy, SH_TabWidget_DefaultTabPosition = QStyle::SH_TabWidget_DefaultTabPosition, SH_ToolBar_Movable = QStyle::SH_ToolBar_Movable, SH_FormLayoutFieldGrowthPolicy = QStyle::SH_FormLayoutFieldGrowthPolicy, SH_FormLayoutFormAlignment = QStyle::SH_FormLayoutFormAlignment, SH_FormLayoutLabelAlignment = QStyle::SH_FormLayoutLabelAlignment, SH_CustomBase = QStyle::SH_CustomBase}; -enum PrimitiveElement{ - PE_Q3CheckListController = QStyle::PE_Q3CheckListController, PE_Q3CheckListExclusiveIndicator = QStyle::PE_Q3CheckListExclusiveIndicator, PE_Q3CheckListIndicator = QStyle::PE_Q3CheckListIndicator, PE_Q3DockWindowSeparator = QStyle::PE_Q3DockWindowSeparator, PE_Q3Separator = QStyle::PE_Q3Separator, PE_Frame = QStyle::PE_Frame, PE_FrameDefaultButton = QStyle::PE_FrameDefaultButton, PE_FrameDockWidget = QStyle::PE_FrameDockWidget, PE_FrameFocusRect = QStyle::PE_FrameFocusRect, PE_FrameGroupBox = QStyle::PE_FrameGroupBox, PE_FrameLineEdit = QStyle::PE_FrameLineEdit, PE_FrameMenu = QStyle::PE_FrameMenu, PE_FrameStatusBar = QStyle::PE_FrameStatusBar, PE_FrameStatusBarItem = QStyle::PE_FrameStatusBarItem, PE_FrameTabWidget = QStyle::PE_FrameTabWidget, PE_FrameWindow = QStyle::PE_FrameWindow, PE_FrameButtonBevel = QStyle::PE_FrameButtonBevel, PE_FrameButtonTool = QStyle::PE_FrameButtonTool, PE_FrameTabBarBase = QStyle::PE_FrameTabBarBase, PE_PanelButtonCommand = QStyle::PE_PanelButtonCommand, PE_PanelButtonBevel = QStyle::PE_PanelButtonBevel, PE_PanelButtonTool = QStyle::PE_PanelButtonTool, PE_PanelMenuBar = QStyle::PE_PanelMenuBar, PE_PanelToolBar = QStyle::PE_PanelToolBar, PE_PanelLineEdit = QStyle::PE_PanelLineEdit, PE_IndicatorArrowDown = QStyle::PE_IndicatorArrowDown, PE_IndicatorArrowLeft = QStyle::PE_IndicatorArrowLeft, PE_IndicatorArrowRight = QStyle::PE_IndicatorArrowRight, PE_IndicatorArrowUp = QStyle::PE_IndicatorArrowUp, PE_IndicatorBranch = QStyle::PE_IndicatorBranch, PE_IndicatorButtonDropDown = QStyle::PE_IndicatorButtonDropDown, PE_IndicatorViewItemCheck = QStyle::PE_IndicatorViewItemCheck, PE_IndicatorItemViewItemCheck = QStyle::PE_IndicatorItemViewItemCheck, PE_IndicatorCheckBox = QStyle::PE_IndicatorCheckBox, PE_IndicatorDockWidgetResizeHandle = QStyle::PE_IndicatorDockWidgetResizeHandle, PE_IndicatorHeaderArrow = QStyle::PE_IndicatorHeaderArrow, PE_IndicatorMenuCheckMark = QStyle::PE_IndicatorMenuCheckMark, PE_IndicatorProgressChunk = QStyle::PE_IndicatorProgressChunk, PE_IndicatorRadioButton = QStyle::PE_IndicatorRadioButton, PE_IndicatorSpinDown = QStyle::PE_IndicatorSpinDown, PE_IndicatorSpinMinus = QStyle::PE_IndicatorSpinMinus, PE_IndicatorSpinPlus = QStyle::PE_IndicatorSpinPlus, PE_IndicatorSpinUp = QStyle::PE_IndicatorSpinUp, PE_IndicatorToolBarHandle = QStyle::PE_IndicatorToolBarHandle, PE_IndicatorToolBarSeparator = QStyle::PE_IndicatorToolBarSeparator, PE_PanelTipLabel = QStyle::PE_PanelTipLabel, PE_IndicatorTabTear = QStyle::PE_IndicatorTabTear, PE_PanelScrollAreaCorner = QStyle::PE_PanelScrollAreaCorner, PE_Widget = QStyle::PE_Widget, PE_IndicatorColumnViewArrow = QStyle::PE_IndicatorColumnViewArrow, PE_IndicatorItemViewItemDrop = QStyle::PE_IndicatorItemViewItemDrop, PE_PanelItemViewItem = QStyle::PE_PanelItemViewItem, PE_PanelItemViewRow = QStyle::PE_PanelItemViewRow, PE_PanelStatusBar = QStyle::PE_PanelStatusBar, PE_CustomBase = QStyle::PE_CustomBase}; -enum ControlElement{ - CE_PushButton = QStyle::CE_PushButton, CE_PushButtonBevel = QStyle::CE_PushButtonBevel, CE_PushButtonLabel = QStyle::CE_PushButtonLabel, CE_CheckBox = QStyle::CE_CheckBox, CE_CheckBoxLabel = QStyle::CE_CheckBoxLabel, CE_RadioButton = QStyle::CE_RadioButton, CE_RadioButtonLabel = QStyle::CE_RadioButtonLabel, CE_TabBarTab = QStyle::CE_TabBarTab, CE_TabBarTabShape = QStyle::CE_TabBarTabShape, CE_TabBarTabLabel = QStyle::CE_TabBarTabLabel, CE_ProgressBar = QStyle::CE_ProgressBar, CE_ProgressBarGroove = QStyle::CE_ProgressBarGroove, CE_ProgressBarContents = QStyle::CE_ProgressBarContents, CE_ProgressBarLabel = QStyle::CE_ProgressBarLabel, CE_MenuItem = QStyle::CE_MenuItem, CE_MenuScroller = QStyle::CE_MenuScroller, CE_MenuVMargin = QStyle::CE_MenuVMargin, CE_MenuHMargin = QStyle::CE_MenuHMargin, CE_MenuTearoff = QStyle::CE_MenuTearoff, CE_MenuEmptyArea = QStyle::CE_MenuEmptyArea, CE_MenuBarItem = QStyle::CE_MenuBarItem, CE_MenuBarEmptyArea = QStyle::CE_MenuBarEmptyArea, CE_ToolButtonLabel = QStyle::CE_ToolButtonLabel, CE_Header = QStyle::CE_Header, CE_HeaderSection = QStyle::CE_HeaderSection, CE_HeaderLabel = QStyle::CE_HeaderLabel, CE_Q3DockWindowEmptyArea = QStyle::CE_Q3DockWindowEmptyArea, CE_ToolBoxTab = QStyle::CE_ToolBoxTab, CE_SizeGrip = QStyle::CE_SizeGrip, CE_Splitter = QStyle::CE_Splitter, CE_RubberBand = QStyle::CE_RubberBand, CE_DockWidgetTitle = QStyle::CE_DockWidgetTitle, CE_ScrollBarAddLine = QStyle::CE_ScrollBarAddLine, CE_ScrollBarSubLine = QStyle::CE_ScrollBarSubLine, CE_ScrollBarAddPage = QStyle::CE_ScrollBarAddPage, CE_ScrollBarSubPage = QStyle::CE_ScrollBarSubPage, CE_ScrollBarSlider = QStyle::CE_ScrollBarSlider, CE_ScrollBarFirst = QStyle::CE_ScrollBarFirst, CE_ScrollBarLast = QStyle::CE_ScrollBarLast, CE_FocusFrame = QStyle::CE_FocusFrame, CE_ComboBoxLabel = QStyle::CE_ComboBoxLabel, CE_ToolBar = QStyle::CE_ToolBar, CE_ToolBoxTabShape = QStyle::CE_ToolBoxTabShape, CE_ToolBoxTabLabel = QStyle::CE_ToolBoxTabLabel, CE_HeaderEmptyArea = QStyle::CE_HeaderEmptyArea, CE_ColumnViewGrip = QStyle::CE_ColumnViewGrip, CE_ItemViewItem = QStyle::CE_ItemViewItem, CE_CustomBase = QStyle::CE_CustomBase}; -enum ContentsType{ - CT_PushButton = QStyle::CT_PushButton, CT_CheckBox = QStyle::CT_CheckBox, CT_RadioButton = QStyle::CT_RadioButton, CT_ToolButton = QStyle::CT_ToolButton, CT_ComboBox = QStyle::CT_ComboBox, CT_Splitter = QStyle::CT_Splitter, CT_Q3DockWindow = QStyle::CT_Q3DockWindow, CT_ProgressBar = QStyle::CT_ProgressBar, CT_MenuItem = QStyle::CT_MenuItem, CT_MenuBarItem = QStyle::CT_MenuBarItem, CT_MenuBar = QStyle::CT_MenuBar, CT_Menu = QStyle::CT_Menu, CT_TabBarTab = QStyle::CT_TabBarTab, CT_Slider = QStyle::CT_Slider, CT_ScrollBar = QStyle::CT_ScrollBar, CT_Q3Header = QStyle::CT_Q3Header, CT_LineEdit = QStyle::CT_LineEdit, CT_SpinBox = QStyle::CT_SpinBox, CT_SizeGrip = QStyle::CT_SizeGrip, CT_TabWidget = QStyle::CT_TabWidget, CT_DialogButtons = QStyle::CT_DialogButtons, CT_HeaderSection = QStyle::CT_HeaderSection, CT_GroupBox = QStyle::CT_GroupBox, CT_MdiControls = QStyle::CT_MdiControls, CT_ItemViewItem = QStyle::CT_ItemViewItem, CT_CustomBase = QStyle::CT_CustomBase}; -enum StateFlag{ - State_None = QStyle::State_None, State_Enabled = QStyle::State_Enabled, State_Raised = QStyle::State_Raised, State_Sunken = QStyle::State_Sunken, State_Off = QStyle::State_Off, State_NoChange = QStyle::State_NoChange, State_On = QStyle::State_On, State_DownArrow = QStyle::State_DownArrow, State_Horizontal = QStyle::State_Horizontal, State_HasFocus = QStyle::State_HasFocus, State_Top = QStyle::State_Top, State_Bottom = QStyle::State_Bottom, State_FocusAtBorder = QStyle::State_FocusAtBorder, State_AutoRaise = QStyle::State_AutoRaise, State_MouseOver = QStyle::State_MouseOver, State_UpArrow = QStyle::State_UpArrow, State_Selected = QStyle::State_Selected, State_Active = QStyle::State_Active, State_Window = QStyle::State_Window, State_Open = QStyle::State_Open, State_Children = QStyle::State_Children, State_Item = QStyle::State_Item, State_Sibling = QStyle::State_Sibling, State_Editing = QStyle::State_Editing, State_KeyboardFocusChange = QStyle::State_KeyboardFocusChange, State_ReadOnly = QStyle::State_ReadOnly, State_Small = QStyle::State_Small, State_Mini = QStyle::State_Mini}; -enum ComplexControl{ - CC_SpinBox = QStyle::CC_SpinBox, CC_ComboBox = QStyle::CC_ComboBox, CC_ScrollBar = QStyle::CC_ScrollBar, CC_Slider = QStyle::CC_Slider, CC_ToolButton = QStyle::CC_ToolButton, CC_TitleBar = QStyle::CC_TitleBar, CC_Q3ListView = QStyle::CC_Q3ListView, CC_Dial = QStyle::CC_Dial, CC_GroupBox = QStyle::CC_GroupBox, CC_MdiControls = QStyle::CC_MdiControls, CC_CustomBase = QStyle::CC_CustomBase}; -enum SubElement{ - SE_PushButtonContents = QStyle::SE_PushButtonContents, SE_PushButtonFocusRect = QStyle::SE_PushButtonFocusRect, SE_CheckBoxIndicator = QStyle::SE_CheckBoxIndicator, SE_CheckBoxContents = QStyle::SE_CheckBoxContents, SE_CheckBoxFocusRect = QStyle::SE_CheckBoxFocusRect, SE_CheckBoxClickRect = QStyle::SE_CheckBoxClickRect, SE_RadioButtonIndicator = QStyle::SE_RadioButtonIndicator, SE_RadioButtonContents = QStyle::SE_RadioButtonContents, SE_RadioButtonFocusRect = QStyle::SE_RadioButtonFocusRect, SE_RadioButtonClickRect = QStyle::SE_RadioButtonClickRect, SE_ComboBoxFocusRect = QStyle::SE_ComboBoxFocusRect, SE_SliderFocusRect = QStyle::SE_SliderFocusRect, SE_Q3DockWindowHandleRect = QStyle::SE_Q3DockWindowHandleRect, SE_ProgressBarGroove = QStyle::SE_ProgressBarGroove, SE_ProgressBarContents = QStyle::SE_ProgressBarContents, SE_ProgressBarLabel = QStyle::SE_ProgressBarLabel, SE_DialogButtonAccept = QStyle::SE_DialogButtonAccept, SE_DialogButtonReject = QStyle::SE_DialogButtonReject, SE_DialogButtonApply = QStyle::SE_DialogButtonApply, SE_DialogButtonHelp = QStyle::SE_DialogButtonHelp, SE_DialogButtonAll = QStyle::SE_DialogButtonAll, SE_DialogButtonAbort = QStyle::SE_DialogButtonAbort, SE_DialogButtonIgnore = QStyle::SE_DialogButtonIgnore, SE_DialogButtonRetry = QStyle::SE_DialogButtonRetry, SE_DialogButtonCustom = QStyle::SE_DialogButtonCustom, SE_ToolBoxTabContents = QStyle::SE_ToolBoxTabContents, SE_HeaderLabel = QStyle::SE_HeaderLabel, SE_HeaderArrow = QStyle::SE_HeaderArrow, SE_TabWidgetTabBar = QStyle::SE_TabWidgetTabBar, SE_TabWidgetTabPane = QStyle::SE_TabWidgetTabPane, SE_TabWidgetTabContents = QStyle::SE_TabWidgetTabContents, SE_TabWidgetLeftCorner = QStyle::SE_TabWidgetLeftCorner, SE_TabWidgetRightCorner = QStyle::SE_TabWidgetRightCorner, SE_ViewItemCheckIndicator = QStyle::SE_ViewItemCheckIndicator, SE_ItemViewItemCheckIndicator = QStyle::SE_ItemViewItemCheckIndicator, SE_TabBarTearIndicator = QStyle::SE_TabBarTearIndicator, SE_TreeViewDisclosureItem = QStyle::SE_TreeViewDisclosureItem, SE_LineEditContents = QStyle::SE_LineEditContents, SE_FrameContents = QStyle::SE_FrameContents, SE_DockWidgetCloseButton = QStyle::SE_DockWidgetCloseButton, SE_DockWidgetFloatButton = QStyle::SE_DockWidgetFloatButton, SE_DockWidgetTitleBarText = QStyle::SE_DockWidgetTitleBarText, SE_DockWidgetIcon = QStyle::SE_DockWidgetIcon, SE_CheckBoxLayoutItem = QStyle::SE_CheckBoxLayoutItem, SE_ComboBoxLayoutItem = QStyle::SE_ComboBoxLayoutItem, SE_DateTimeEditLayoutItem = QStyle::SE_DateTimeEditLayoutItem, SE_DialogButtonBoxLayoutItem = QStyle::SE_DialogButtonBoxLayoutItem, SE_LabelLayoutItem = QStyle::SE_LabelLayoutItem, SE_ProgressBarLayoutItem = QStyle::SE_ProgressBarLayoutItem, SE_PushButtonLayoutItem = QStyle::SE_PushButtonLayoutItem, SE_RadioButtonLayoutItem = QStyle::SE_RadioButtonLayoutItem, SE_SliderLayoutItem = QStyle::SE_SliderLayoutItem, SE_SpinBoxLayoutItem = QStyle::SE_SpinBoxLayoutItem, SE_ToolButtonLayoutItem = QStyle::SE_ToolButtonLayoutItem, SE_FrameLayoutItem = QStyle::SE_FrameLayoutItem, SE_GroupBoxLayoutItem = QStyle::SE_GroupBoxLayoutItem, SE_TabWidgetLayoutItem = QStyle::SE_TabWidgetLayoutItem, SE_ItemViewItemDecoration = QStyle::SE_ItemViewItemDecoration, SE_ItemViewItemText = QStyle::SE_ItemViewItemText, SE_ItemViewItemFocusRect = QStyle::SE_ItemViewItemFocusRect, SE_CustomBase = QStyle::SE_CustomBase}; -Q_DECLARE_FLAGS(SubControls, SubControl) -Q_DECLARE_FLAGS(State, StateFlag) -public slots: -QStyle* new_QStyle(); -void delete_QStyle(QStyle* obj) { delete obj; } - QPoint static_QStyle_visualPos(Qt::LayoutDirection direction, const QRect& boundingRect, const QPoint& logicalPos); - int combinedLayoutSpacing(QStyle* theWrappedObject, QSizePolicy::ControlTypes controls1, QSizePolicy::ControlTypes controls2, Qt::Orientation orientation, QStyleOption* option = 0, QWidget* widget = 0) const; - QPalette standardPalette(QStyle* theWrappedObject) const; - void polish(QStyle* theWrappedObject, QApplication* arg__1); - void polish(QStyle* theWrappedObject, QWidget* arg__1); - int static_QStyle_sliderPositionFromValue(int min, int max, int val, int space, bool upsideDown = false); - int static_QStyle_sliderValueFromPosition(int min, int max, int pos, int space, bool upsideDown = false); - QIcon standardIcon(QStyle* theWrappedObject, QStyle::StandardPixmap standardIcon, const QStyleOption* option = 0, const QWidget* widget = 0) const; - void unpolish(QStyle* theWrappedObject, QApplication* arg__1); - void drawItemPixmap(QStyle* theWrappedObject, QPainter* painter, const QRect& rect, int alignment, const QPixmap& pixmap) const; - void drawItemText(QStyle* theWrappedObject, QPainter* painter, const QRect& rect, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole = QPalette::NoRole) const; - int layoutSpacing(QStyle* theWrappedObject, QSizePolicy::ControlType control1, QSizePolicy::ControlType control2, Qt::Orientation orientation, const QStyleOption* option = 0, const QWidget* widget = 0) const; - void unpolish(QStyle* theWrappedObject, QWidget* arg__1); - QRect static_QStyle_visualRect(Qt::LayoutDirection direction, const QRect& boundingRect, const QRect& logicalRect); - QRect itemPixmapRect(QStyle* theWrappedObject, const QRect& r, int flags, const QPixmap& pixmap) const; - Qt::Alignment static_QStyle_visualAlignment(Qt::LayoutDirection direction, Qt::Alignment alignment); - QRect static_QStyle_alignedRect(Qt::LayoutDirection direction, Qt::Alignment alignment, const QSize& size, const QRect& rectangle); - void polish(QStyle* theWrappedObject, QPalette& arg__1); -}; - -#endif // PYTHONQTWRAPPER_QSTYLE_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleFactory.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleFactory.cpp deleted file mode 100644 index 9ed1c42..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleFactory.cpp +++ /dev/null @@ -1,23 +0,0 @@ -#include "PythonQtWrapper_QStyleFactory.h" - -#include -#include -#include -#include -#include -#include - -QStyleFactory* PythonQtWrapper_QStyleFactory::new_QStyleFactory() -{ -return new PythonQtShell_QStyleFactory(); } - -QStyle* PythonQtWrapper_QStyleFactory::static_QStyleFactory_create(const QString& arg__1) -{ - return (QStyleFactory::create(arg__1)); -} - -QStringList PythonQtWrapper_QStyleFactory::static_QStyleFactory_keys() -{ - return (QStyleFactory::keys()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleFactory.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleFactory.h deleted file mode 100644 index a71ccce..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleFactory.h +++ /dev/null @@ -1,32 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSTYLEFACTORY_H -#define PYTHONQTWRAPPER_QSTYLEFACTORY_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtShell_QStyleFactory : public QStyleFactory -{ -public: - PythonQtShell_QStyleFactory():QStyleFactory(),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleFactory : public QObject -{ Q_OBJECT -public: -public slots: -QStyleFactory* new_QStyleFactory(); -void delete_QStyleFactory(QStyleFactory* obj) { delete obj; } - QStyle* static_QStyleFactory_create(const QString& arg__1); - QStringList static_QStyleFactory_keys(); -}; - -#endif // PYTHONQTWRAPPER_QSTYLEFACTORY_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleHintReturn.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleHintReturn.cpp deleted file mode 100644 index d4178cd..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleHintReturn.cpp +++ /dev/null @@ -1,11 +0,0 @@ -#include "PythonQtWrapper_QStyleHintReturn.h" - -#include -#include -#include -#include - -QStyleHintReturn* PythonQtWrapper_QStyleHintReturn::new_QStyleHintReturn(int version, int type) -{ -return new PythonQtShell_QStyleHintReturn(version, type); } - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleHintReturn.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleHintReturn.h deleted file mode 100644 index 2dc9d98..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleHintReturn.h +++ /dev/null @@ -1,35 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSTYLEHINTRETURN_H -#define PYTHONQTWRAPPER_QSTYLEHINTRETURN_H - -#include -#include - -#include - -#include - -class PythonQtShell_QStyleHintReturn : public QStyleHintReturn -{ -public: - PythonQtShell_QStyleHintReturn(int version = QStyleOption::Version, int type = SH_Default):QStyleHintReturn(version, type),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleHintReturn : public QObject -{ Q_OBJECT -public: -Q_ENUMS(HintReturnType StyleOptionVersion StyleOptionType ) -enum HintReturnType{ - SH_Default = QStyleHintReturn::SH_Default, SH_Mask = QStyleHintReturn::SH_Mask, SH_Variant = QStyleHintReturn::SH_Variant}; -enum StyleOptionVersion{ - Version = QStyleHintReturn::Version}; -enum StyleOptionType{ - Type = QStyleHintReturn::Type}; -public slots: -QStyleHintReturn* new_QStyleHintReturn(int version = QStyleOption::Version, int type = SH_Default); -void delete_QStyleHintReturn(QStyleHintReturn* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QSTYLEHINTRETURN_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleHintReturnMask.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleHintReturnMask.cpp deleted file mode 100644 index a4954f1..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleHintReturnMask.cpp +++ /dev/null @@ -1,11 +0,0 @@ -#include "PythonQtWrapper_QStyleHintReturnMask.h" - -#include -#include -#include -#include - -QStyleHintReturnMask* PythonQtWrapper_QStyleHintReturnMask::new_QStyleHintReturnMask() -{ -return new PythonQtShell_QStyleHintReturnMask(); } - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleHintReturnMask.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleHintReturnMask.h deleted file mode 100644 index 7ae4577..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleHintReturnMask.h +++ /dev/null @@ -1,33 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSTYLEHINTRETURNMASK_H -#define PYTHONQTWRAPPER_QSTYLEHINTRETURNMASK_H - -#include -#include - -#include - -#include - -class PythonQtShell_QStyleHintReturnMask : public QStyleHintReturnMask -{ -public: - PythonQtShell_QStyleHintReturnMask():QStyleHintReturnMask(),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleHintReturnMask : public QObject -{ Q_OBJECT -public: -Q_ENUMS(StyleOptionVersion StyleOptionType ) -enum StyleOptionVersion{ - Version = QStyleHintReturnMask::Version}; -enum StyleOptionType{ - Type = QStyleHintReturnMask::Type}; -public slots: -QStyleHintReturnMask* new_QStyleHintReturnMask(); -void delete_QStyleHintReturnMask(QStyleHintReturnMask* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QSTYLEHINTRETURNMASK_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleHintReturnVariant.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleHintReturnVariant.cpp deleted file mode 100644 index 6a3023c..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleHintReturnVariant.cpp +++ /dev/null @@ -1,11 +0,0 @@ -#include "PythonQtWrapper_QStyleHintReturnVariant.h" - -#include -#include -#include -#include - -QStyleHintReturnVariant* PythonQtWrapper_QStyleHintReturnVariant::new_QStyleHintReturnVariant() -{ -return new PythonQtShell_QStyleHintReturnVariant(); } - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleHintReturnVariant.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleHintReturnVariant.h deleted file mode 100644 index 6024fe7..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleHintReturnVariant.h +++ /dev/null @@ -1,33 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSTYLEHINTRETURNVARIANT_H -#define PYTHONQTWRAPPER_QSTYLEHINTRETURNVARIANT_H - -#include -#include - -#include - -#include - -class PythonQtShell_QStyleHintReturnVariant : public QStyleHintReturnVariant -{ -public: - PythonQtShell_QStyleHintReturnVariant():QStyleHintReturnVariant(),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleHintReturnVariant : public QObject -{ Q_OBJECT -public: -Q_ENUMS(StyleOptionVersion StyleOptionType ) -enum StyleOptionVersion{ - Version = QStyleHintReturnVariant::Version}; -enum StyleOptionType{ - Type = QStyleHintReturnVariant::Type}; -public slots: -QStyleHintReturnVariant* new_QStyleHintReturnVariant(); -void delete_QStyleHintReturnVariant(QStyleHintReturnVariant* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QSTYLEHINTRETURNVARIANT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOption.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOption.cpp deleted file mode 100644 index 3753329..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOption.cpp +++ /dev/null @@ -1,22 +0,0 @@ -#include "PythonQtWrapper_QStyleOption.h" - -#include -#include -#include -#include -#include -#include - -QStyleOption* PythonQtWrapper_QStyleOption::new_QStyleOption(const QStyleOption& other) -{ -return new PythonQtShell_QStyleOption(other); } - -QStyleOption* PythonQtWrapper_QStyleOption::new_QStyleOption(int version, int type) -{ -return new PythonQtShell_QStyleOption(version, type); } - -void PythonQtWrapper_QStyleOption::initFrom(QStyleOption* theWrappedObject, const QWidget* w) -{ - ( theWrappedObject->initFrom(w)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOption.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOption.h deleted file mode 100644 index 3d41b65..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOption.h +++ /dev/null @@ -1,40 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSTYLEOPTION_H -#define PYTHONQTWRAPPER_QSTYLEOPTION_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtShell_QStyleOption : public QStyleOption -{ -public: - PythonQtShell_QStyleOption(const QStyleOption& other):QStyleOption(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOption(int version = QStyleOption::Version, int type = SO_Default):QStyleOption(version, type),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleOption : public QObject -{ Q_OBJECT -public: -Q_ENUMS(StyleOptionVersion StyleOptionType OptionType ) -enum StyleOptionVersion{ - Version = QStyleOption::Version}; -enum StyleOptionType{ - Type = QStyleOption::Type}; -enum OptionType{ - SO_Default = QStyleOption::SO_Default, SO_FocusRect = QStyleOption::SO_FocusRect, SO_Button = QStyleOption::SO_Button, SO_Tab = QStyleOption::SO_Tab, SO_MenuItem = QStyleOption::SO_MenuItem, SO_Frame = QStyleOption::SO_Frame, SO_ProgressBar = QStyleOption::SO_ProgressBar, SO_ToolBox = QStyleOption::SO_ToolBox, SO_Header = QStyleOption::SO_Header, SO_Q3DockWindow = QStyleOption::SO_Q3DockWindow, SO_DockWidget = QStyleOption::SO_DockWidget, SO_Q3ListViewItem = QStyleOption::SO_Q3ListViewItem, SO_ViewItem = QStyleOption::SO_ViewItem, SO_TabWidgetFrame = QStyleOption::SO_TabWidgetFrame, SO_TabBarBase = QStyleOption::SO_TabBarBase, SO_RubberBand = QStyleOption::SO_RubberBand, SO_ToolBar = QStyleOption::SO_ToolBar, SO_GraphicsItem = QStyleOption::SO_GraphicsItem, SO_Complex = QStyleOption::SO_Complex, SO_Slider = QStyleOption::SO_Slider, SO_SpinBox = QStyleOption::SO_SpinBox, SO_ToolButton = QStyleOption::SO_ToolButton, SO_ComboBox = QStyleOption::SO_ComboBox, SO_Q3ListView = QStyleOption::SO_Q3ListView, SO_TitleBar = QStyleOption::SO_TitleBar, SO_GroupBox = QStyleOption::SO_GroupBox, SO_SizeGrip = QStyleOption::SO_SizeGrip, SO_CustomBase = QStyleOption::SO_CustomBase, SO_ComplexCustomBase = QStyleOption::SO_ComplexCustomBase}; -public slots: -QStyleOption* new_QStyleOption(const QStyleOption& other); -QStyleOption* new_QStyleOption(int version = QStyleOption::Version, int type = SO_Default); -void delete_QStyleOption(QStyleOption* obj) { delete obj; } - void initFrom(QStyleOption* theWrappedObject, const QWidget* w); -}; - -#endif // PYTHONQTWRAPPER_QSTYLEOPTION_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionButton.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionButton.cpp deleted file mode 100644 index 47a4065..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionButton.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "PythonQtWrapper_QStyleOptionButton.h" - -#include -#include -#include -#include -#include -#include - -QStyleOptionButton* PythonQtWrapper_QStyleOptionButton::new_QStyleOptionButton() -{ -return new PythonQtShell_QStyleOptionButton(); } - -QStyleOptionButton* PythonQtWrapper_QStyleOptionButton::new_QStyleOptionButton(const QStyleOptionButton& other) -{ -return new PythonQtShell_QStyleOptionButton(other); } - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionButton.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionButton.h deleted file mode 100644 index 1433849..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionButton.h +++ /dev/null @@ -1,42 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSTYLEOPTIONBUTTON_H -#define PYTHONQTWRAPPER_QSTYLEOPTIONBUTTON_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtShell_QStyleOptionButton : public QStyleOptionButton -{ -public: - PythonQtShell_QStyleOptionButton():QStyleOptionButton(),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionButton(const QStyleOptionButton& other):QStyleOptionButton(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionButton(int version):QStyleOptionButton(version),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleOptionButton : public QObject -{ Q_OBJECT -public: -Q_ENUMS(StyleOptionVersion ButtonFeature StyleOptionType ) -Q_FLAGS(ButtonFeatures ) -enum StyleOptionVersion{ - Version = QStyleOptionButton::Version}; -enum ButtonFeature{ - None = QStyleOptionButton::None, Flat = QStyleOptionButton::Flat, HasMenu = QStyleOptionButton::HasMenu, DefaultButton = QStyleOptionButton::DefaultButton, AutoDefaultButton = QStyleOptionButton::AutoDefaultButton, CommandLinkButton = QStyleOptionButton::CommandLinkButton}; -enum StyleOptionType{ - Type = QStyleOptionButton::Type}; -Q_DECLARE_FLAGS(ButtonFeatures, ButtonFeature) -public slots: -QStyleOptionButton* new_QStyleOptionButton(); -QStyleOptionButton* new_QStyleOptionButton(const QStyleOptionButton& other); -void delete_QStyleOptionButton(QStyleOptionButton* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QSTYLEOPTIONBUTTON_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionComboBox.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionComboBox.cpp deleted file mode 100644 index 5fea097..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionComboBox.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "PythonQtWrapper_QStyleOptionComboBox.h" - -#include -#include -#include -#include -#include -#include - -QStyleOptionComboBox* PythonQtWrapper_QStyleOptionComboBox::new_QStyleOptionComboBox() -{ -return new PythonQtShell_QStyleOptionComboBox(); } - -QStyleOptionComboBox* PythonQtWrapper_QStyleOptionComboBox::new_QStyleOptionComboBox(const QStyleOptionComboBox& other) -{ -return new PythonQtShell_QStyleOptionComboBox(other); } - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionComboBox.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionComboBox.h deleted file mode 100644 index 5a40d47..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionComboBox.h +++ /dev/null @@ -1,38 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSTYLEOPTIONCOMBOBOX_H -#define PYTHONQTWRAPPER_QSTYLEOPTIONCOMBOBOX_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtShell_QStyleOptionComboBox : public QStyleOptionComboBox -{ -public: - PythonQtShell_QStyleOptionComboBox():QStyleOptionComboBox(),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionComboBox(const QStyleOptionComboBox& other):QStyleOptionComboBox(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionComboBox(int version):QStyleOptionComboBox(version),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleOptionComboBox : public QObject -{ Q_OBJECT -public: -Q_ENUMS(StyleOptionVersion StyleOptionType ) -enum StyleOptionVersion{ - Version = QStyleOptionComboBox::Version}; -enum StyleOptionType{ - Type = QStyleOptionComboBox::Type}; -public slots: -QStyleOptionComboBox* new_QStyleOptionComboBox(); -QStyleOptionComboBox* new_QStyleOptionComboBox(const QStyleOptionComboBox& other); -void delete_QStyleOptionComboBox(QStyleOptionComboBox* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QSTYLEOPTIONCOMBOBOX_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionDockWidget.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionDockWidget.cpp deleted file mode 100644 index 2cf7d60..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionDockWidget.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "PythonQtWrapper_QStyleOptionDockWidget.h" - -#include -#include -#include -#include -#include -#include - -QStyleOptionDockWidget* PythonQtWrapper_QStyleOptionDockWidget::new_QStyleOptionDockWidget() -{ -return new PythonQtShell_QStyleOptionDockWidget(); } - -QStyleOptionDockWidget* PythonQtWrapper_QStyleOptionDockWidget::new_QStyleOptionDockWidget(const QStyleOptionDockWidget& other) -{ -return new PythonQtShell_QStyleOptionDockWidget(other); } - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionDockWidget.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionDockWidget.h deleted file mode 100644 index f35c00d..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionDockWidget.h +++ /dev/null @@ -1,38 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSTYLEOPTIONDOCKWIDGET_H -#define PYTHONQTWRAPPER_QSTYLEOPTIONDOCKWIDGET_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtShell_QStyleOptionDockWidget : public QStyleOptionDockWidget -{ -public: - PythonQtShell_QStyleOptionDockWidget():QStyleOptionDockWidget(),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionDockWidget(const QStyleOptionDockWidget& other):QStyleOptionDockWidget(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionDockWidget(int version):QStyleOptionDockWidget(version),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleOptionDockWidget : public QObject -{ Q_OBJECT -public: -Q_ENUMS(StyleOptionVersion StyleOptionType ) -enum StyleOptionVersion{ - Version = QStyleOptionDockWidget::Version}; -enum StyleOptionType{ - Type = QStyleOptionDockWidget::Type}; -public slots: -QStyleOptionDockWidget* new_QStyleOptionDockWidget(); -QStyleOptionDockWidget* new_QStyleOptionDockWidget(const QStyleOptionDockWidget& other); -void delete_QStyleOptionDockWidget(QStyleOptionDockWidget* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QSTYLEOPTIONDOCKWIDGET_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionDockWidgetV2.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionDockWidgetV2.cpp deleted file mode 100644 index 8f8bb13..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionDockWidgetV2.cpp +++ /dev/null @@ -1,21 +0,0 @@ -#include "PythonQtWrapper_QStyleOptionDockWidgetV2.h" - -#include -#include -#include -#include -#include -#include - -QStyleOptionDockWidgetV2* PythonQtWrapper_QStyleOptionDockWidgetV2::new_QStyleOptionDockWidgetV2() -{ -return new PythonQtShell_QStyleOptionDockWidgetV2(); } - -QStyleOptionDockWidgetV2* PythonQtWrapper_QStyleOptionDockWidgetV2::new_QStyleOptionDockWidgetV2(const QStyleOptionDockWidget& other) -{ -return new PythonQtShell_QStyleOptionDockWidgetV2(other); } - -QStyleOptionDockWidgetV2* PythonQtWrapper_QStyleOptionDockWidgetV2::new_QStyleOptionDockWidgetV2(const QStyleOptionDockWidgetV2& other) -{ -return new PythonQtShell_QStyleOptionDockWidgetV2(other); } - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionDockWidgetV2.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionDockWidgetV2.h deleted file mode 100644 index 7df41c7..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionDockWidgetV2.h +++ /dev/null @@ -1,38 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSTYLEOPTIONDOCKWIDGETV2_H -#define PYTHONQTWRAPPER_QSTYLEOPTIONDOCKWIDGETV2_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtShell_QStyleOptionDockWidgetV2 : public QStyleOptionDockWidgetV2 -{ -public: - PythonQtShell_QStyleOptionDockWidgetV2():QStyleOptionDockWidgetV2(),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionDockWidgetV2(const QStyleOptionDockWidget& other):QStyleOptionDockWidgetV2(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionDockWidgetV2(const QStyleOptionDockWidgetV2& other):QStyleOptionDockWidgetV2(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionDockWidgetV2(int version):QStyleOptionDockWidgetV2(version),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleOptionDockWidgetV2 : public QObject -{ Q_OBJECT -public: -Q_ENUMS(StyleOptionVersion ) -enum StyleOptionVersion{ - Version = QStyleOptionDockWidgetV2::Version}; -public slots: -QStyleOptionDockWidgetV2* new_QStyleOptionDockWidgetV2(); -QStyleOptionDockWidgetV2* new_QStyleOptionDockWidgetV2(const QStyleOptionDockWidget& other); -QStyleOptionDockWidgetV2* new_QStyleOptionDockWidgetV2(const QStyleOptionDockWidgetV2& other); -void delete_QStyleOptionDockWidgetV2(QStyleOptionDockWidgetV2* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QSTYLEOPTIONDOCKWIDGETV2_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionFocusRect.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionFocusRect.cpp deleted file mode 100644 index 2a6fb15..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionFocusRect.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "PythonQtWrapper_QStyleOptionFocusRect.h" - -#include -#include -#include -#include -#include -#include - -QStyleOptionFocusRect* PythonQtWrapper_QStyleOptionFocusRect::new_QStyleOptionFocusRect() -{ -return new PythonQtShell_QStyleOptionFocusRect(); } - -QStyleOptionFocusRect* PythonQtWrapper_QStyleOptionFocusRect::new_QStyleOptionFocusRect(const QStyleOptionFocusRect& other) -{ -return new PythonQtShell_QStyleOptionFocusRect(other); } - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionFocusRect.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionFocusRect.h deleted file mode 100644 index f157d7e..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionFocusRect.h +++ /dev/null @@ -1,38 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSTYLEOPTIONFOCUSRECT_H -#define PYTHONQTWRAPPER_QSTYLEOPTIONFOCUSRECT_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtShell_QStyleOptionFocusRect : public QStyleOptionFocusRect -{ -public: - PythonQtShell_QStyleOptionFocusRect():QStyleOptionFocusRect(),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionFocusRect(const QStyleOptionFocusRect& other):QStyleOptionFocusRect(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionFocusRect(int version):QStyleOptionFocusRect(version),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleOptionFocusRect : public QObject -{ Q_OBJECT -public: -Q_ENUMS(StyleOptionVersion StyleOptionType ) -enum StyleOptionVersion{ - Version = QStyleOptionFocusRect::Version}; -enum StyleOptionType{ - Type = QStyleOptionFocusRect::Type}; -public slots: -QStyleOptionFocusRect* new_QStyleOptionFocusRect(); -QStyleOptionFocusRect* new_QStyleOptionFocusRect(const QStyleOptionFocusRect& other); -void delete_QStyleOptionFocusRect(QStyleOptionFocusRect* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QSTYLEOPTIONFOCUSRECT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionFrame.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionFrame.cpp deleted file mode 100644 index 328cd36..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionFrame.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "PythonQtWrapper_QStyleOptionFrame.h" - -#include -#include -#include -#include -#include -#include - -QStyleOptionFrame* PythonQtWrapper_QStyleOptionFrame::new_QStyleOptionFrame() -{ -return new PythonQtShell_QStyleOptionFrame(); } - -QStyleOptionFrame* PythonQtWrapper_QStyleOptionFrame::new_QStyleOptionFrame(const QStyleOptionFrame& other) -{ -return new PythonQtShell_QStyleOptionFrame(other); } - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionFrame.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionFrame.h deleted file mode 100644 index 65909db..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionFrame.h +++ /dev/null @@ -1,38 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSTYLEOPTIONFRAME_H -#define PYTHONQTWRAPPER_QSTYLEOPTIONFRAME_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtShell_QStyleOptionFrame : public QStyleOptionFrame -{ -public: - PythonQtShell_QStyleOptionFrame():QStyleOptionFrame(),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionFrame(const QStyleOptionFrame& other):QStyleOptionFrame(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionFrame(int version):QStyleOptionFrame(version),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleOptionFrame : public QObject -{ Q_OBJECT -public: -Q_ENUMS(StyleOptionVersion StyleOptionType ) -enum StyleOptionVersion{ - Version = QStyleOptionFrame::Version}; -enum StyleOptionType{ - Type = QStyleOptionFrame::Type}; -public slots: -QStyleOptionFrame* new_QStyleOptionFrame(); -QStyleOptionFrame* new_QStyleOptionFrame(const QStyleOptionFrame& other); -void delete_QStyleOptionFrame(QStyleOptionFrame* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QSTYLEOPTIONFRAME_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionFrameV2.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionFrameV2.cpp deleted file mode 100644 index 0103f70..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionFrameV2.cpp +++ /dev/null @@ -1,21 +0,0 @@ -#include "PythonQtWrapper_QStyleOptionFrameV2.h" - -#include -#include -#include -#include -#include -#include - -QStyleOptionFrameV2* PythonQtWrapper_QStyleOptionFrameV2::new_QStyleOptionFrameV2() -{ -return new PythonQtShell_QStyleOptionFrameV2(); } - -QStyleOptionFrameV2* PythonQtWrapper_QStyleOptionFrameV2::new_QStyleOptionFrameV2(const QStyleOptionFrame& other) -{ -return new PythonQtShell_QStyleOptionFrameV2(other); } - -QStyleOptionFrameV2* PythonQtWrapper_QStyleOptionFrameV2::new_QStyleOptionFrameV2(const QStyleOptionFrameV2& other) -{ -return new PythonQtShell_QStyleOptionFrameV2(other); } - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionFrameV2.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionFrameV2.h deleted file mode 100644 index 5c6ebd2..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionFrameV2.h +++ /dev/null @@ -1,42 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSTYLEOPTIONFRAMEV2_H -#define PYTHONQTWRAPPER_QSTYLEOPTIONFRAMEV2_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtShell_QStyleOptionFrameV2 : public QStyleOptionFrameV2 -{ -public: - PythonQtShell_QStyleOptionFrameV2():QStyleOptionFrameV2(),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionFrameV2(const QStyleOptionFrame& other):QStyleOptionFrameV2(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionFrameV2(const QStyleOptionFrameV2& other):QStyleOptionFrameV2(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionFrameV2(int version):QStyleOptionFrameV2(version),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleOptionFrameV2 : public QObject -{ Q_OBJECT -public: -Q_ENUMS(StyleOptionVersion FrameFeature ) -Q_FLAGS(FrameFeatures ) -enum StyleOptionVersion{ - Version = QStyleOptionFrameV2::Version}; -enum FrameFeature{ - None = QStyleOptionFrameV2::None, Flat = QStyleOptionFrameV2::Flat}; -Q_DECLARE_FLAGS(FrameFeatures, FrameFeature) -public slots: -QStyleOptionFrameV2* new_QStyleOptionFrameV2(); -QStyleOptionFrameV2* new_QStyleOptionFrameV2(const QStyleOptionFrame& other); -QStyleOptionFrameV2* new_QStyleOptionFrameV2(const QStyleOptionFrameV2& other); -void delete_QStyleOptionFrameV2(QStyleOptionFrameV2* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QSTYLEOPTIONFRAMEV2_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionGraphicsItem.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionGraphicsItem.cpp deleted file mode 100644 index b73c92a..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionGraphicsItem.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "PythonQtWrapper_QStyleOptionGraphicsItem.h" - -#include -#include -#include -#include -#include -#include - -QStyleOptionGraphicsItem* PythonQtWrapper_QStyleOptionGraphicsItem::new_QStyleOptionGraphicsItem() -{ -return new PythonQtShell_QStyleOptionGraphicsItem(); } - -QStyleOptionGraphicsItem* PythonQtWrapper_QStyleOptionGraphicsItem::new_QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem& other) -{ -return new PythonQtShell_QStyleOptionGraphicsItem(other); } - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionGraphicsItem.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionGraphicsItem.h deleted file mode 100644 index 8fedd92..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionGraphicsItem.h +++ /dev/null @@ -1,38 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSTYLEOPTIONGRAPHICSITEM_H -#define PYTHONQTWRAPPER_QSTYLEOPTIONGRAPHICSITEM_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtShell_QStyleOptionGraphicsItem : public QStyleOptionGraphicsItem -{ -public: - PythonQtShell_QStyleOptionGraphicsItem():QStyleOptionGraphicsItem(),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem& other):QStyleOptionGraphicsItem(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionGraphicsItem(int version):QStyleOptionGraphicsItem(version),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleOptionGraphicsItem : public QObject -{ Q_OBJECT -public: -Q_ENUMS(StyleOptionVersion StyleOptionType ) -enum StyleOptionVersion{ - Version = QStyleOptionGraphicsItem::Version}; -enum StyleOptionType{ - Type = QStyleOptionGraphicsItem::Type}; -public slots: -QStyleOptionGraphicsItem* new_QStyleOptionGraphicsItem(); -QStyleOptionGraphicsItem* new_QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem& other); -void delete_QStyleOptionGraphicsItem(QStyleOptionGraphicsItem* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QSTYLEOPTIONGRAPHICSITEM_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionGroupBox.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionGroupBox.cpp deleted file mode 100644 index e8a688f..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionGroupBox.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "PythonQtWrapper_QStyleOptionGroupBox.h" - -#include -#include -#include -#include -#include -#include - -QStyleOptionGroupBox* PythonQtWrapper_QStyleOptionGroupBox::new_QStyleOptionGroupBox() -{ -return new PythonQtShell_QStyleOptionGroupBox(); } - -QStyleOptionGroupBox* PythonQtWrapper_QStyleOptionGroupBox::new_QStyleOptionGroupBox(const QStyleOptionGroupBox& other) -{ -return new PythonQtShell_QStyleOptionGroupBox(other); } - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionGroupBox.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionGroupBox.h deleted file mode 100644 index 89cf1a4..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionGroupBox.h +++ /dev/null @@ -1,38 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSTYLEOPTIONGROUPBOX_H -#define PYTHONQTWRAPPER_QSTYLEOPTIONGROUPBOX_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtShell_QStyleOptionGroupBox : public QStyleOptionGroupBox -{ -public: - PythonQtShell_QStyleOptionGroupBox():QStyleOptionGroupBox(),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionGroupBox(const QStyleOptionGroupBox& other):QStyleOptionGroupBox(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionGroupBox(int version):QStyleOptionGroupBox(version),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleOptionGroupBox : public QObject -{ Q_OBJECT -public: -Q_ENUMS(StyleOptionVersion StyleOptionType ) -enum StyleOptionVersion{ - Version = QStyleOptionGroupBox::Version}; -enum StyleOptionType{ - Type = QStyleOptionGroupBox::Type}; -public slots: -QStyleOptionGroupBox* new_QStyleOptionGroupBox(); -QStyleOptionGroupBox* new_QStyleOptionGroupBox(const QStyleOptionGroupBox& other); -void delete_QStyleOptionGroupBox(QStyleOptionGroupBox* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QSTYLEOPTIONGROUPBOX_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionHeader.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionHeader.cpp deleted file mode 100644 index dbfb2e3..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionHeader.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "PythonQtWrapper_QStyleOptionHeader.h" - -#include -#include -#include -#include -#include -#include - -QStyleOptionHeader* PythonQtWrapper_QStyleOptionHeader::new_QStyleOptionHeader() -{ -return new PythonQtShell_QStyleOptionHeader(); } - -QStyleOptionHeader* PythonQtWrapper_QStyleOptionHeader::new_QStyleOptionHeader(const QStyleOptionHeader& other) -{ -return new PythonQtShell_QStyleOptionHeader(other); } - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionHeader.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionHeader.h deleted file mode 100644 index 11e721b..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionHeader.h +++ /dev/null @@ -1,44 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSTYLEOPTIONHEADER_H -#define PYTHONQTWRAPPER_QSTYLEOPTIONHEADER_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtShell_QStyleOptionHeader : public QStyleOptionHeader -{ -public: - PythonQtShell_QStyleOptionHeader():QStyleOptionHeader(),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionHeader(const QStyleOptionHeader& other):QStyleOptionHeader(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionHeader(int version):QStyleOptionHeader(version),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleOptionHeader : public QObject -{ Q_OBJECT -public: -Q_ENUMS(StyleOptionVersion SectionPosition SelectedPosition StyleOptionType SortIndicator ) -enum StyleOptionVersion{ - Version = QStyleOptionHeader::Version}; -enum SectionPosition{ - Beginning = QStyleOptionHeader::Beginning, Middle = QStyleOptionHeader::Middle, End = QStyleOptionHeader::End, OnlyOneSection = QStyleOptionHeader::OnlyOneSection}; -enum SelectedPosition{ - NotAdjacent = QStyleOptionHeader::NotAdjacent, NextIsSelected = QStyleOptionHeader::NextIsSelected, PreviousIsSelected = QStyleOptionHeader::PreviousIsSelected, NextAndPreviousAreSelected = QStyleOptionHeader::NextAndPreviousAreSelected}; -enum StyleOptionType{ - Type = QStyleOptionHeader::Type}; -enum SortIndicator{ - None = QStyleOptionHeader::None, SortUp = QStyleOptionHeader::SortUp, SortDown = QStyleOptionHeader::SortDown}; -public slots: -QStyleOptionHeader* new_QStyleOptionHeader(); -QStyleOptionHeader* new_QStyleOptionHeader(const QStyleOptionHeader& other); -void delete_QStyleOptionHeader(QStyleOptionHeader* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QSTYLEOPTIONHEADER_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionMenuItem.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionMenuItem.cpp deleted file mode 100644 index 7656c25..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionMenuItem.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "PythonQtWrapper_QStyleOptionMenuItem.h" - -#include -#include -#include -#include -#include -#include - -QStyleOptionMenuItem* PythonQtWrapper_QStyleOptionMenuItem::new_QStyleOptionMenuItem() -{ -return new PythonQtShell_QStyleOptionMenuItem(); } - -QStyleOptionMenuItem* PythonQtWrapper_QStyleOptionMenuItem::new_QStyleOptionMenuItem(const QStyleOptionMenuItem& other) -{ -return new PythonQtShell_QStyleOptionMenuItem(other); } - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionMenuItem.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionMenuItem.h deleted file mode 100644 index d99a646..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionMenuItem.h +++ /dev/null @@ -1,42 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSTYLEOPTIONMENUITEM_H -#define PYTHONQTWRAPPER_QSTYLEOPTIONMENUITEM_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtShell_QStyleOptionMenuItem : public QStyleOptionMenuItem -{ -public: - PythonQtShell_QStyleOptionMenuItem():QStyleOptionMenuItem(),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionMenuItem(const QStyleOptionMenuItem& other):QStyleOptionMenuItem(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionMenuItem(int version):QStyleOptionMenuItem(version),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleOptionMenuItem : public QObject -{ Q_OBJECT -public: -Q_ENUMS(StyleOptionVersion StyleOptionType CheckType MenuItemType ) -enum StyleOptionVersion{ - Version = QStyleOptionMenuItem::Version}; -enum StyleOptionType{ - Type = QStyleOptionMenuItem::Type}; -enum CheckType{ - NotCheckable = QStyleOptionMenuItem::NotCheckable, Exclusive = QStyleOptionMenuItem::Exclusive, NonExclusive = QStyleOptionMenuItem::NonExclusive}; -enum MenuItemType{ - Normal = QStyleOptionMenuItem::Normal, DefaultItem = QStyleOptionMenuItem::DefaultItem, Separator = QStyleOptionMenuItem::Separator, SubMenu = QStyleOptionMenuItem::SubMenu, Scroller = QStyleOptionMenuItem::Scroller, TearOff = QStyleOptionMenuItem::TearOff, Margin = QStyleOptionMenuItem::Margin, EmptyArea = QStyleOptionMenuItem::EmptyArea}; -public slots: -QStyleOptionMenuItem* new_QStyleOptionMenuItem(); -QStyleOptionMenuItem* new_QStyleOptionMenuItem(const QStyleOptionMenuItem& other); -void delete_QStyleOptionMenuItem(QStyleOptionMenuItem* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QSTYLEOPTIONMENUITEM_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionProgressBar.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionProgressBar.cpp deleted file mode 100644 index a078ca2..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionProgressBar.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "PythonQtWrapper_QStyleOptionProgressBar.h" - -#include -#include -#include -#include -#include -#include - -QStyleOptionProgressBar* PythonQtWrapper_QStyleOptionProgressBar::new_QStyleOptionProgressBar() -{ -return new PythonQtShell_QStyleOptionProgressBar(); } - -QStyleOptionProgressBar* PythonQtWrapper_QStyleOptionProgressBar::new_QStyleOptionProgressBar(const QStyleOptionProgressBar& other) -{ -return new PythonQtShell_QStyleOptionProgressBar(other); } - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionProgressBar.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionProgressBar.h deleted file mode 100644 index d6db3b7..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionProgressBar.h +++ /dev/null @@ -1,38 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSTYLEOPTIONPROGRESSBAR_H -#define PYTHONQTWRAPPER_QSTYLEOPTIONPROGRESSBAR_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtShell_QStyleOptionProgressBar : public QStyleOptionProgressBar -{ -public: - PythonQtShell_QStyleOptionProgressBar():QStyleOptionProgressBar(),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionProgressBar(const QStyleOptionProgressBar& other):QStyleOptionProgressBar(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionProgressBar(int version):QStyleOptionProgressBar(version),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleOptionProgressBar : public QObject -{ Q_OBJECT -public: -Q_ENUMS(StyleOptionVersion StyleOptionType ) -enum StyleOptionVersion{ - Version = QStyleOptionProgressBar::Version}; -enum StyleOptionType{ - Type = QStyleOptionProgressBar::Type}; -public slots: -QStyleOptionProgressBar* new_QStyleOptionProgressBar(); -QStyleOptionProgressBar* new_QStyleOptionProgressBar(const QStyleOptionProgressBar& other); -void delete_QStyleOptionProgressBar(QStyleOptionProgressBar* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QSTYLEOPTIONPROGRESSBAR_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionProgressBarV2.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionProgressBarV2.cpp deleted file mode 100644 index 0e6831f..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionProgressBarV2.cpp +++ /dev/null @@ -1,21 +0,0 @@ -#include "PythonQtWrapper_QStyleOptionProgressBarV2.h" - -#include -#include -#include -#include -#include -#include - -QStyleOptionProgressBarV2* PythonQtWrapper_QStyleOptionProgressBarV2::new_QStyleOptionProgressBarV2() -{ -return new PythonQtShell_QStyleOptionProgressBarV2(); } - -QStyleOptionProgressBarV2* PythonQtWrapper_QStyleOptionProgressBarV2::new_QStyleOptionProgressBarV2(const QStyleOptionProgressBar& other) -{ -return new PythonQtShell_QStyleOptionProgressBarV2(other); } - -QStyleOptionProgressBarV2* PythonQtWrapper_QStyleOptionProgressBarV2::new_QStyleOptionProgressBarV2(const QStyleOptionProgressBarV2& other) -{ -return new PythonQtShell_QStyleOptionProgressBarV2(other); } - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionProgressBarV2.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionProgressBarV2.h deleted file mode 100644 index ba4ae2e..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionProgressBarV2.h +++ /dev/null @@ -1,40 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSTYLEOPTIONPROGRESSBARV2_H -#define PYTHONQTWRAPPER_QSTYLEOPTIONPROGRESSBARV2_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtShell_QStyleOptionProgressBarV2 : public QStyleOptionProgressBarV2 -{ -public: - PythonQtShell_QStyleOptionProgressBarV2():QStyleOptionProgressBarV2(),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionProgressBarV2(const QStyleOptionProgressBar& other):QStyleOptionProgressBarV2(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionProgressBarV2(const QStyleOptionProgressBarV2& other):QStyleOptionProgressBarV2(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionProgressBarV2(int version):QStyleOptionProgressBarV2(version),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleOptionProgressBarV2 : public QObject -{ Q_OBJECT -public: -Q_ENUMS(StyleOptionVersion StyleOptionType ) -enum StyleOptionVersion{ - Version = QStyleOptionProgressBarV2::Version}; -enum StyleOptionType{ - Type = QStyleOptionProgressBarV2::Type}; -public slots: -QStyleOptionProgressBarV2* new_QStyleOptionProgressBarV2(); -QStyleOptionProgressBarV2* new_QStyleOptionProgressBarV2(const QStyleOptionProgressBar& other); -QStyleOptionProgressBarV2* new_QStyleOptionProgressBarV2(const QStyleOptionProgressBarV2& other); -void delete_QStyleOptionProgressBarV2(QStyleOptionProgressBarV2* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QSTYLEOPTIONPROGRESSBARV2_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionRubberBand.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionRubberBand.cpp deleted file mode 100644 index 8502d7c..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionRubberBand.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "PythonQtWrapper_QStyleOptionRubberBand.h" - -#include -#include -#include -#include -#include -#include - -QStyleOptionRubberBand* PythonQtWrapper_QStyleOptionRubberBand::new_QStyleOptionRubberBand() -{ -return new PythonQtShell_QStyleOptionRubberBand(); } - -QStyleOptionRubberBand* PythonQtWrapper_QStyleOptionRubberBand::new_QStyleOptionRubberBand(const QStyleOptionRubberBand& other) -{ -return new PythonQtShell_QStyleOptionRubberBand(other); } - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionRubberBand.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionRubberBand.h deleted file mode 100644 index 3abf628..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionRubberBand.h +++ /dev/null @@ -1,38 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSTYLEOPTIONRUBBERBAND_H -#define PYTHONQTWRAPPER_QSTYLEOPTIONRUBBERBAND_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtShell_QStyleOptionRubberBand : public QStyleOptionRubberBand -{ -public: - PythonQtShell_QStyleOptionRubberBand():QStyleOptionRubberBand(),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionRubberBand(const QStyleOptionRubberBand& other):QStyleOptionRubberBand(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionRubberBand(int version):QStyleOptionRubberBand(version),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleOptionRubberBand : public QObject -{ Q_OBJECT -public: -Q_ENUMS(StyleOptionVersion StyleOptionType ) -enum StyleOptionVersion{ - Version = QStyleOptionRubberBand::Version}; -enum StyleOptionType{ - Type = QStyleOptionRubberBand::Type}; -public slots: -QStyleOptionRubberBand* new_QStyleOptionRubberBand(); -QStyleOptionRubberBand* new_QStyleOptionRubberBand(const QStyleOptionRubberBand& other); -void delete_QStyleOptionRubberBand(QStyleOptionRubberBand* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QSTYLEOPTIONRUBBERBAND_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionSizeGrip.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionSizeGrip.cpp deleted file mode 100644 index 6fd80e4..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionSizeGrip.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "PythonQtWrapper_QStyleOptionSizeGrip.h" - -#include -#include -#include -#include -#include -#include - -QStyleOptionSizeGrip* PythonQtWrapper_QStyleOptionSizeGrip::new_QStyleOptionSizeGrip() -{ -return new PythonQtShell_QStyleOptionSizeGrip(); } - -QStyleOptionSizeGrip* PythonQtWrapper_QStyleOptionSizeGrip::new_QStyleOptionSizeGrip(const QStyleOptionSizeGrip& other) -{ -return new PythonQtShell_QStyleOptionSizeGrip(other); } - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionSizeGrip.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionSizeGrip.h deleted file mode 100644 index 4887411..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionSizeGrip.h +++ /dev/null @@ -1,38 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSTYLEOPTIONSIZEGRIP_H -#define PYTHONQTWRAPPER_QSTYLEOPTIONSIZEGRIP_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtShell_QStyleOptionSizeGrip : public QStyleOptionSizeGrip -{ -public: - PythonQtShell_QStyleOptionSizeGrip():QStyleOptionSizeGrip(),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionSizeGrip(const QStyleOptionSizeGrip& other):QStyleOptionSizeGrip(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionSizeGrip(int version):QStyleOptionSizeGrip(version),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleOptionSizeGrip : public QObject -{ Q_OBJECT -public: -Q_ENUMS(StyleOptionVersion StyleOptionType ) -enum StyleOptionVersion{ - Version = QStyleOptionSizeGrip::Version}; -enum StyleOptionType{ - Type = QStyleOptionSizeGrip::Type}; -public slots: -QStyleOptionSizeGrip* new_QStyleOptionSizeGrip(); -QStyleOptionSizeGrip* new_QStyleOptionSizeGrip(const QStyleOptionSizeGrip& other); -void delete_QStyleOptionSizeGrip(QStyleOptionSizeGrip* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QSTYLEOPTIONSIZEGRIP_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionSlider.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionSlider.cpp deleted file mode 100644 index 679c656..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionSlider.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "PythonQtWrapper_QStyleOptionSlider.h" - -#include -#include -#include -#include -#include -#include - -QStyleOptionSlider* PythonQtWrapper_QStyleOptionSlider::new_QStyleOptionSlider() -{ -return new PythonQtShell_QStyleOptionSlider(); } - -QStyleOptionSlider* PythonQtWrapper_QStyleOptionSlider::new_QStyleOptionSlider(const QStyleOptionSlider& other) -{ -return new PythonQtShell_QStyleOptionSlider(other); } - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionSlider.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionSlider.h deleted file mode 100644 index 4e60cf0..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionSlider.h +++ /dev/null @@ -1,38 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSTYLEOPTIONSLIDER_H -#define PYTHONQTWRAPPER_QSTYLEOPTIONSLIDER_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtShell_QStyleOptionSlider : public QStyleOptionSlider -{ -public: - PythonQtShell_QStyleOptionSlider():QStyleOptionSlider(),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionSlider(const QStyleOptionSlider& other):QStyleOptionSlider(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionSlider(int version):QStyleOptionSlider(version),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleOptionSlider : public QObject -{ Q_OBJECT -public: -Q_ENUMS(StyleOptionVersion StyleOptionType ) -enum StyleOptionVersion{ - Version = QStyleOptionSlider::Version}; -enum StyleOptionType{ - Type = QStyleOptionSlider::Type}; -public slots: -QStyleOptionSlider* new_QStyleOptionSlider(); -QStyleOptionSlider* new_QStyleOptionSlider(const QStyleOptionSlider& other); -void delete_QStyleOptionSlider(QStyleOptionSlider* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QSTYLEOPTIONSLIDER_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionSpinBox.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionSpinBox.cpp deleted file mode 100644 index 3637f7e..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionSpinBox.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "PythonQtWrapper_QStyleOptionSpinBox.h" - -#include -#include -#include -#include -#include -#include - -QStyleOptionSpinBox* PythonQtWrapper_QStyleOptionSpinBox::new_QStyleOptionSpinBox() -{ -return new PythonQtShell_QStyleOptionSpinBox(); } - -QStyleOptionSpinBox* PythonQtWrapper_QStyleOptionSpinBox::new_QStyleOptionSpinBox(const QStyleOptionSpinBox& other) -{ -return new PythonQtShell_QStyleOptionSpinBox(other); } - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionSpinBox.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionSpinBox.h deleted file mode 100644 index 0bc09d7..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionSpinBox.h +++ /dev/null @@ -1,38 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSTYLEOPTIONSPINBOX_H -#define PYTHONQTWRAPPER_QSTYLEOPTIONSPINBOX_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtShell_QStyleOptionSpinBox : public QStyleOptionSpinBox -{ -public: - PythonQtShell_QStyleOptionSpinBox():QStyleOptionSpinBox(),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionSpinBox(const QStyleOptionSpinBox& other):QStyleOptionSpinBox(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionSpinBox(int version):QStyleOptionSpinBox(version),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleOptionSpinBox : public QObject -{ Q_OBJECT -public: -Q_ENUMS(StyleOptionVersion StyleOptionType ) -enum StyleOptionVersion{ - Version = QStyleOptionSpinBox::Version}; -enum StyleOptionType{ - Type = QStyleOptionSpinBox::Type}; -public slots: -QStyleOptionSpinBox* new_QStyleOptionSpinBox(); -QStyleOptionSpinBox* new_QStyleOptionSpinBox(const QStyleOptionSpinBox& other); -void delete_QStyleOptionSpinBox(QStyleOptionSpinBox* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QSTYLEOPTIONSPINBOX_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionTab.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionTab.cpp deleted file mode 100644 index a4560b2..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionTab.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "PythonQtWrapper_QStyleOptionTab.h" - -#include -#include -#include -#include -#include -#include - -QStyleOptionTab* PythonQtWrapper_QStyleOptionTab::new_QStyleOptionTab() -{ -return new PythonQtShell_QStyleOptionTab(); } - -QStyleOptionTab* PythonQtWrapper_QStyleOptionTab::new_QStyleOptionTab(const QStyleOptionTab& other) -{ -return new PythonQtShell_QStyleOptionTab(other); } - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionTab.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionTab.h deleted file mode 100644 index 2470790..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionTab.h +++ /dev/null @@ -1,46 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSTYLEOPTIONTAB_H -#define PYTHONQTWRAPPER_QSTYLEOPTIONTAB_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtShell_QStyleOptionTab : public QStyleOptionTab -{ -public: - PythonQtShell_QStyleOptionTab():QStyleOptionTab(),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionTab(const QStyleOptionTab& other):QStyleOptionTab(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionTab(int version):QStyleOptionTab(version),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleOptionTab : public QObject -{ Q_OBJECT -public: -Q_ENUMS(StyleOptionVersion CornerWidget TabPosition SelectedPosition StyleOptionType ) -Q_FLAGS(CornerWidgets ) -enum StyleOptionVersion{ - Version = QStyleOptionTab::Version}; -enum CornerWidget{ - NoCornerWidgets = QStyleOptionTab::NoCornerWidgets, LeftCornerWidget = QStyleOptionTab::LeftCornerWidget, RightCornerWidget = QStyleOptionTab::RightCornerWidget}; -enum TabPosition{ - Beginning = QStyleOptionTab::Beginning, Middle = QStyleOptionTab::Middle, End = QStyleOptionTab::End, OnlyOneTab = QStyleOptionTab::OnlyOneTab}; -enum SelectedPosition{ - NotAdjacent = QStyleOptionTab::NotAdjacent, NextIsSelected = QStyleOptionTab::NextIsSelected, PreviousIsSelected = QStyleOptionTab::PreviousIsSelected}; -enum StyleOptionType{ - Type = QStyleOptionTab::Type}; -Q_DECLARE_FLAGS(CornerWidgets, CornerWidget) -public slots: -QStyleOptionTab* new_QStyleOptionTab(); -QStyleOptionTab* new_QStyleOptionTab(const QStyleOptionTab& other); -void delete_QStyleOptionTab(QStyleOptionTab* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QSTYLEOPTIONTAB_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionTabBarBase.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionTabBarBase.cpp deleted file mode 100644 index 738cbae..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionTabBarBase.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "PythonQtWrapper_QStyleOptionTabBarBase.h" - -#include -#include -#include -#include -#include -#include - -QStyleOptionTabBarBase* PythonQtWrapper_QStyleOptionTabBarBase::new_QStyleOptionTabBarBase() -{ -return new PythonQtShell_QStyleOptionTabBarBase(); } - -QStyleOptionTabBarBase* PythonQtWrapper_QStyleOptionTabBarBase::new_QStyleOptionTabBarBase(const QStyleOptionTabBarBase& other) -{ -return new PythonQtShell_QStyleOptionTabBarBase(other); } - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionTabBarBase.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionTabBarBase.h deleted file mode 100644 index 299592c..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionTabBarBase.h +++ /dev/null @@ -1,38 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSTYLEOPTIONTABBARBASE_H -#define PYTHONQTWRAPPER_QSTYLEOPTIONTABBARBASE_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtShell_QStyleOptionTabBarBase : public QStyleOptionTabBarBase -{ -public: - PythonQtShell_QStyleOptionTabBarBase():QStyleOptionTabBarBase(),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionTabBarBase(const QStyleOptionTabBarBase& other):QStyleOptionTabBarBase(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionTabBarBase(int version):QStyleOptionTabBarBase(version),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleOptionTabBarBase : public QObject -{ Q_OBJECT -public: -Q_ENUMS(StyleOptionVersion StyleOptionType ) -enum StyleOptionVersion{ - Version = QStyleOptionTabBarBase::Version}; -enum StyleOptionType{ - Type = QStyleOptionTabBarBase::Type}; -public slots: -QStyleOptionTabBarBase* new_QStyleOptionTabBarBase(); -QStyleOptionTabBarBase* new_QStyleOptionTabBarBase(const QStyleOptionTabBarBase& other); -void delete_QStyleOptionTabBarBase(QStyleOptionTabBarBase* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QSTYLEOPTIONTABBARBASE_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionTabV2.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionTabV2.cpp deleted file mode 100644 index 4dbf62b..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionTabV2.cpp +++ /dev/null @@ -1,21 +0,0 @@ -#include "PythonQtWrapper_QStyleOptionTabV2.h" - -#include -#include -#include -#include -#include -#include - -QStyleOptionTabV2* PythonQtWrapper_QStyleOptionTabV2::new_QStyleOptionTabV2() -{ -return new PythonQtShell_QStyleOptionTabV2(); } - -QStyleOptionTabV2* PythonQtWrapper_QStyleOptionTabV2::new_QStyleOptionTabV2(const QStyleOptionTab& other) -{ -return new PythonQtShell_QStyleOptionTabV2(other); } - -QStyleOptionTabV2* PythonQtWrapper_QStyleOptionTabV2::new_QStyleOptionTabV2(const QStyleOptionTabV2& other) -{ -return new PythonQtShell_QStyleOptionTabV2(other); } - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionTabV2.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionTabV2.h deleted file mode 100644 index 63d8ea1..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionTabV2.h +++ /dev/null @@ -1,38 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSTYLEOPTIONTABV2_H -#define PYTHONQTWRAPPER_QSTYLEOPTIONTABV2_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtShell_QStyleOptionTabV2 : public QStyleOptionTabV2 -{ -public: - PythonQtShell_QStyleOptionTabV2():QStyleOptionTabV2(),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionTabV2(const QStyleOptionTab& other):QStyleOptionTabV2(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionTabV2(const QStyleOptionTabV2& other):QStyleOptionTabV2(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionTabV2(int version):QStyleOptionTabV2(version),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleOptionTabV2 : public QObject -{ Q_OBJECT -public: -Q_ENUMS(StyleOptionVersion ) -enum StyleOptionVersion{ - Version = QStyleOptionTabV2::Version}; -public slots: -QStyleOptionTabV2* new_QStyleOptionTabV2(); -QStyleOptionTabV2* new_QStyleOptionTabV2(const QStyleOptionTab& other); -QStyleOptionTabV2* new_QStyleOptionTabV2(const QStyleOptionTabV2& other); -void delete_QStyleOptionTabV2(QStyleOptionTabV2* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QSTYLEOPTIONTABV2_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionTabWidgetFrame.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionTabWidgetFrame.cpp deleted file mode 100644 index ce6510e..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionTabWidgetFrame.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "PythonQtWrapper_QStyleOptionTabWidgetFrame.h" - -#include -#include -#include -#include -#include -#include - -QStyleOptionTabWidgetFrame* PythonQtWrapper_QStyleOptionTabWidgetFrame::new_QStyleOptionTabWidgetFrame() -{ -return new PythonQtShell_QStyleOptionTabWidgetFrame(); } - -QStyleOptionTabWidgetFrame* PythonQtWrapper_QStyleOptionTabWidgetFrame::new_QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame& other) -{ -return new PythonQtShell_QStyleOptionTabWidgetFrame(other); } - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionTabWidgetFrame.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionTabWidgetFrame.h deleted file mode 100644 index 3b2c0c4..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionTabWidgetFrame.h +++ /dev/null @@ -1,38 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSTYLEOPTIONTABWIDGETFRAME_H -#define PYTHONQTWRAPPER_QSTYLEOPTIONTABWIDGETFRAME_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtShell_QStyleOptionTabWidgetFrame : public QStyleOptionTabWidgetFrame -{ -public: - PythonQtShell_QStyleOptionTabWidgetFrame():QStyleOptionTabWidgetFrame(),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame& other):QStyleOptionTabWidgetFrame(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionTabWidgetFrame(int version):QStyleOptionTabWidgetFrame(version),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleOptionTabWidgetFrame : public QObject -{ Q_OBJECT -public: -Q_ENUMS(StyleOptionVersion StyleOptionType ) -enum StyleOptionVersion{ - Version = QStyleOptionTabWidgetFrame::Version}; -enum StyleOptionType{ - Type = QStyleOptionTabWidgetFrame::Type}; -public slots: -QStyleOptionTabWidgetFrame* new_QStyleOptionTabWidgetFrame(); -QStyleOptionTabWidgetFrame* new_QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame& other); -void delete_QStyleOptionTabWidgetFrame(QStyleOptionTabWidgetFrame* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QSTYLEOPTIONTABWIDGETFRAME_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionTitleBar.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionTitleBar.cpp deleted file mode 100644 index feae37c..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionTitleBar.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "PythonQtWrapper_QStyleOptionTitleBar.h" - -#include -#include -#include -#include -#include -#include - -QStyleOptionTitleBar* PythonQtWrapper_QStyleOptionTitleBar::new_QStyleOptionTitleBar() -{ -return new PythonQtShell_QStyleOptionTitleBar(); } - -QStyleOptionTitleBar* PythonQtWrapper_QStyleOptionTitleBar::new_QStyleOptionTitleBar(const QStyleOptionTitleBar& other) -{ -return new PythonQtShell_QStyleOptionTitleBar(other); } - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionTitleBar.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionTitleBar.h deleted file mode 100644 index d1d3746..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionTitleBar.h +++ /dev/null @@ -1,38 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSTYLEOPTIONTITLEBAR_H -#define PYTHONQTWRAPPER_QSTYLEOPTIONTITLEBAR_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtShell_QStyleOptionTitleBar : public QStyleOptionTitleBar -{ -public: - PythonQtShell_QStyleOptionTitleBar():QStyleOptionTitleBar(),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionTitleBar(const QStyleOptionTitleBar& other):QStyleOptionTitleBar(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionTitleBar(int version):QStyleOptionTitleBar(version),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleOptionTitleBar : public QObject -{ Q_OBJECT -public: -Q_ENUMS(StyleOptionVersion StyleOptionType ) -enum StyleOptionVersion{ - Version = QStyleOptionTitleBar::Version}; -enum StyleOptionType{ - Type = QStyleOptionTitleBar::Type}; -public slots: -QStyleOptionTitleBar* new_QStyleOptionTitleBar(); -QStyleOptionTitleBar* new_QStyleOptionTitleBar(const QStyleOptionTitleBar& other); -void delete_QStyleOptionTitleBar(QStyleOptionTitleBar* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QSTYLEOPTIONTITLEBAR_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionToolBar.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionToolBar.cpp deleted file mode 100644 index f22a88a..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionToolBar.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "PythonQtWrapper_QStyleOptionToolBar.h" - -#include -#include -#include -#include -#include -#include - -QStyleOptionToolBar* PythonQtWrapper_QStyleOptionToolBar::new_QStyleOptionToolBar() -{ -return new PythonQtShell_QStyleOptionToolBar(); } - -QStyleOptionToolBar* PythonQtWrapper_QStyleOptionToolBar::new_QStyleOptionToolBar(const QStyleOptionToolBar& other) -{ -return new PythonQtShell_QStyleOptionToolBar(other); } - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionToolBar.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionToolBar.h deleted file mode 100644 index 745ce69..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionToolBar.h +++ /dev/null @@ -1,44 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSTYLEOPTIONTOOLBAR_H -#define PYTHONQTWRAPPER_QSTYLEOPTIONTOOLBAR_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtShell_QStyleOptionToolBar : public QStyleOptionToolBar -{ -public: - PythonQtShell_QStyleOptionToolBar():QStyleOptionToolBar(),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionToolBar(const QStyleOptionToolBar& other):QStyleOptionToolBar(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionToolBar(int version):QStyleOptionToolBar(version),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleOptionToolBar : public QObject -{ Q_OBJECT -public: -Q_ENUMS(StyleOptionVersion StyleOptionType ToolBarPosition ToolBarFeature ) -Q_FLAGS(ToolBarFeatures ) -enum StyleOptionVersion{ - Version = QStyleOptionToolBar::Version}; -enum StyleOptionType{ - Type = QStyleOptionToolBar::Type}; -enum ToolBarPosition{ - Beginning = QStyleOptionToolBar::Beginning, Middle = QStyleOptionToolBar::Middle, End = QStyleOptionToolBar::End, OnlyOne = QStyleOptionToolBar::OnlyOne}; -enum ToolBarFeature{ - None = QStyleOptionToolBar::None, Movable = QStyleOptionToolBar::Movable}; -Q_DECLARE_FLAGS(ToolBarFeatures, ToolBarFeature) -public slots: -QStyleOptionToolBar* new_QStyleOptionToolBar(); -QStyleOptionToolBar* new_QStyleOptionToolBar(const QStyleOptionToolBar& other); -void delete_QStyleOptionToolBar(QStyleOptionToolBar* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QSTYLEOPTIONTOOLBAR_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionToolBox.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionToolBox.cpp deleted file mode 100644 index 7cf2796..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionToolBox.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "PythonQtWrapper_QStyleOptionToolBox.h" - -#include -#include -#include -#include -#include -#include - -QStyleOptionToolBox* PythonQtWrapper_QStyleOptionToolBox::new_QStyleOptionToolBox() -{ -return new PythonQtShell_QStyleOptionToolBox(); } - -QStyleOptionToolBox* PythonQtWrapper_QStyleOptionToolBox::new_QStyleOptionToolBox(const QStyleOptionToolBox& other) -{ -return new PythonQtShell_QStyleOptionToolBox(other); } - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionToolBox.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionToolBox.h deleted file mode 100644 index e9f96d6..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionToolBox.h +++ /dev/null @@ -1,38 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSTYLEOPTIONTOOLBOX_H -#define PYTHONQTWRAPPER_QSTYLEOPTIONTOOLBOX_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtShell_QStyleOptionToolBox : public QStyleOptionToolBox -{ -public: - PythonQtShell_QStyleOptionToolBox():QStyleOptionToolBox(),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionToolBox(const QStyleOptionToolBox& other):QStyleOptionToolBox(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionToolBox(int version):QStyleOptionToolBox(version),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleOptionToolBox : public QObject -{ Q_OBJECT -public: -Q_ENUMS(StyleOptionVersion StyleOptionType ) -enum StyleOptionVersion{ - Version = QStyleOptionToolBox::Version}; -enum StyleOptionType{ - Type = QStyleOptionToolBox::Type}; -public slots: -QStyleOptionToolBox* new_QStyleOptionToolBox(); -QStyleOptionToolBox* new_QStyleOptionToolBox(const QStyleOptionToolBox& other); -void delete_QStyleOptionToolBox(QStyleOptionToolBox* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QSTYLEOPTIONTOOLBOX_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionToolBoxV2.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionToolBoxV2.cpp deleted file mode 100644 index d4205aa..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionToolBoxV2.cpp +++ /dev/null @@ -1,21 +0,0 @@ -#include "PythonQtWrapper_QStyleOptionToolBoxV2.h" - -#include -#include -#include -#include -#include -#include - -QStyleOptionToolBoxV2* PythonQtWrapper_QStyleOptionToolBoxV2::new_QStyleOptionToolBoxV2() -{ -return new PythonQtShell_QStyleOptionToolBoxV2(); } - -QStyleOptionToolBoxV2* PythonQtWrapper_QStyleOptionToolBoxV2::new_QStyleOptionToolBoxV2(const QStyleOptionToolBox& other) -{ -return new PythonQtShell_QStyleOptionToolBoxV2(other); } - -QStyleOptionToolBoxV2* PythonQtWrapper_QStyleOptionToolBoxV2::new_QStyleOptionToolBoxV2(const QStyleOptionToolBoxV2& other) -{ -return new PythonQtShell_QStyleOptionToolBoxV2(other); } - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionToolBoxV2.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionToolBoxV2.h deleted file mode 100644 index 5698729..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionToolBoxV2.h +++ /dev/null @@ -1,42 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSTYLEOPTIONTOOLBOXV2_H -#define PYTHONQTWRAPPER_QSTYLEOPTIONTOOLBOXV2_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtShell_QStyleOptionToolBoxV2 : public QStyleOptionToolBoxV2 -{ -public: - PythonQtShell_QStyleOptionToolBoxV2():QStyleOptionToolBoxV2(),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionToolBoxV2(const QStyleOptionToolBox& other):QStyleOptionToolBoxV2(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionToolBoxV2(const QStyleOptionToolBoxV2& other):QStyleOptionToolBoxV2(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionToolBoxV2(int version):QStyleOptionToolBoxV2(version),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleOptionToolBoxV2 : public QObject -{ Q_OBJECT -public: -Q_ENUMS(StyleOptionVersion TabPosition SelectedPosition ) -enum StyleOptionVersion{ - Version = QStyleOptionToolBoxV2::Version}; -enum TabPosition{ - Beginning = QStyleOptionToolBoxV2::Beginning, Middle = QStyleOptionToolBoxV2::Middle, End = QStyleOptionToolBoxV2::End, OnlyOneTab = QStyleOptionToolBoxV2::OnlyOneTab}; -enum SelectedPosition{ - NotAdjacent = QStyleOptionToolBoxV2::NotAdjacent, NextIsSelected = QStyleOptionToolBoxV2::NextIsSelected, PreviousIsSelected = QStyleOptionToolBoxV2::PreviousIsSelected}; -public slots: -QStyleOptionToolBoxV2* new_QStyleOptionToolBoxV2(); -QStyleOptionToolBoxV2* new_QStyleOptionToolBoxV2(const QStyleOptionToolBox& other); -QStyleOptionToolBoxV2* new_QStyleOptionToolBoxV2(const QStyleOptionToolBoxV2& other); -void delete_QStyleOptionToolBoxV2(QStyleOptionToolBoxV2* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QSTYLEOPTIONTOOLBOXV2_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionToolButton.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionToolButton.cpp deleted file mode 100644 index 4effba5..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionToolButton.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "PythonQtWrapper_QStyleOptionToolButton.h" - -#include -#include -#include -#include -#include -#include - -QStyleOptionToolButton* PythonQtWrapper_QStyleOptionToolButton::new_QStyleOptionToolButton() -{ -return new PythonQtShell_QStyleOptionToolButton(); } - -QStyleOptionToolButton* PythonQtWrapper_QStyleOptionToolButton::new_QStyleOptionToolButton(const QStyleOptionToolButton& other) -{ -return new PythonQtShell_QStyleOptionToolButton(other); } - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionToolButton.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionToolButton.h deleted file mode 100644 index bdd7d3c..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionToolButton.h +++ /dev/null @@ -1,42 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSTYLEOPTIONTOOLBUTTON_H -#define PYTHONQTWRAPPER_QSTYLEOPTIONTOOLBUTTON_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtShell_QStyleOptionToolButton : public QStyleOptionToolButton -{ -public: - PythonQtShell_QStyleOptionToolButton():QStyleOptionToolButton(),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionToolButton(const QStyleOptionToolButton& other):QStyleOptionToolButton(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionToolButton(int version):QStyleOptionToolButton(version),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleOptionToolButton : public QObject -{ Q_OBJECT -public: -Q_ENUMS(StyleOptionVersion ToolButtonFeature StyleOptionType ) -Q_FLAGS(ToolButtonFeatures ) -enum StyleOptionVersion{ - Version = QStyleOptionToolButton::Version}; -enum ToolButtonFeature{ - None = QStyleOptionToolButton::None, Arrow = QStyleOptionToolButton::Arrow, Menu = QStyleOptionToolButton::Menu, MenuButtonPopup = QStyleOptionToolButton::MenuButtonPopup, PopupDelay = QStyleOptionToolButton::PopupDelay, HasMenu = QStyleOptionToolButton::HasMenu}; -enum StyleOptionType{ - Type = QStyleOptionToolButton::Type}; -Q_DECLARE_FLAGS(ToolButtonFeatures, ToolButtonFeature) -public slots: -QStyleOptionToolButton* new_QStyleOptionToolButton(); -QStyleOptionToolButton* new_QStyleOptionToolButton(const QStyleOptionToolButton& other); -void delete_QStyleOptionToolButton(QStyleOptionToolButton* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QSTYLEOPTIONTOOLBUTTON_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionViewItem.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionViewItem.cpp deleted file mode 100644 index 7b1c481..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionViewItem.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "PythonQtWrapper_QStyleOptionViewItem.h" - -#include -#include -#include -#include -#include -#include - -QStyleOptionViewItem* PythonQtWrapper_QStyleOptionViewItem::new_QStyleOptionViewItem() -{ -return new PythonQtShell_QStyleOptionViewItem(); } - -QStyleOptionViewItem* PythonQtWrapper_QStyleOptionViewItem::new_QStyleOptionViewItem(const QStyleOptionViewItem& other) -{ -return new PythonQtShell_QStyleOptionViewItem(other); } - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionViewItem.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionViewItem.h deleted file mode 100644 index 13d6f31..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionViewItem.h +++ /dev/null @@ -1,40 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSTYLEOPTIONVIEWITEM_H -#define PYTHONQTWRAPPER_QSTYLEOPTIONVIEWITEM_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtShell_QStyleOptionViewItem : public QStyleOptionViewItem -{ -public: - PythonQtShell_QStyleOptionViewItem():QStyleOptionViewItem(),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionViewItem(const QStyleOptionViewItem& other):QStyleOptionViewItem(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionViewItem(int version):QStyleOptionViewItem(version),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleOptionViewItem : public QObject -{ Q_OBJECT -public: -Q_ENUMS(StyleOptionVersion StyleOptionType Position ) -enum StyleOptionVersion{ - Version = QStyleOptionViewItem::Version}; -enum StyleOptionType{ - Type = QStyleOptionViewItem::Type}; -enum Position{ - Left = QStyleOptionViewItem::Left, Right = QStyleOptionViewItem::Right, Top = QStyleOptionViewItem::Top, Bottom = QStyleOptionViewItem::Bottom}; -public slots: -QStyleOptionViewItem* new_QStyleOptionViewItem(); -QStyleOptionViewItem* new_QStyleOptionViewItem(const QStyleOptionViewItem& other); -void delete_QStyleOptionViewItem(QStyleOptionViewItem* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QSTYLEOPTIONVIEWITEM_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionViewItemV2.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionViewItemV2.cpp deleted file mode 100644 index d66e1e9..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionViewItemV2.cpp +++ /dev/null @@ -1,21 +0,0 @@ -#include "PythonQtWrapper_QStyleOptionViewItemV2.h" - -#include -#include -#include -#include -#include -#include - -QStyleOptionViewItemV2* PythonQtWrapper_QStyleOptionViewItemV2::new_QStyleOptionViewItemV2() -{ -return new PythonQtShell_QStyleOptionViewItemV2(); } - -QStyleOptionViewItemV2* PythonQtWrapper_QStyleOptionViewItemV2::new_QStyleOptionViewItemV2(const QStyleOptionViewItem& other) -{ -return new PythonQtShell_QStyleOptionViewItemV2(other); } - -QStyleOptionViewItemV2* PythonQtWrapper_QStyleOptionViewItemV2::new_QStyleOptionViewItemV2(const QStyleOptionViewItemV2& other) -{ -return new PythonQtShell_QStyleOptionViewItemV2(other); } - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionViewItemV2.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionViewItemV2.h deleted file mode 100644 index 9ca8da8..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionViewItemV2.h +++ /dev/null @@ -1,42 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSTYLEOPTIONVIEWITEMV2_H -#define PYTHONQTWRAPPER_QSTYLEOPTIONVIEWITEMV2_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtShell_QStyleOptionViewItemV2 : public QStyleOptionViewItemV2 -{ -public: - PythonQtShell_QStyleOptionViewItemV2():QStyleOptionViewItemV2(),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionViewItemV2(const QStyleOptionViewItem& other):QStyleOptionViewItemV2(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionViewItemV2(const QStyleOptionViewItemV2& other):QStyleOptionViewItemV2(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionViewItemV2(int version):QStyleOptionViewItemV2(version),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleOptionViewItemV2 : public QObject -{ Q_OBJECT -public: -Q_ENUMS(StyleOptionVersion ViewItemFeature ) -Q_FLAGS(ViewItemFeatures ) -enum StyleOptionVersion{ - Version = QStyleOptionViewItemV2::Version}; -enum ViewItemFeature{ - None = QStyleOptionViewItemV2::None, WrapText = QStyleOptionViewItemV2::WrapText, Alternate = QStyleOptionViewItemV2::Alternate, HasCheckIndicator = QStyleOptionViewItemV2::HasCheckIndicator, HasDisplay = QStyleOptionViewItemV2::HasDisplay, HasDecoration = QStyleOptionViewItemV2::HasDecoration}; -Q_DECLARE_FLAGS(ViewItemFeatures, ViewItemFeature) -public slots: -QStyleOptionViewItemV2* new_QStyleOptionViewItemV2(); -QStyleOptionViewItemV2* new_QStyleOptionViewItemV2(const QStyleOptionViewItem& other); -QStyleOptionViewItemV2* new_QStyleOptionViewItemV2(const QStyleOptionViewItemV2& other); -void delete_QStyleOptionViewItemV2(QStyleOptionViewItemV2* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QSTYLEOPTIONVIEWITEMV2_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionViewItemV3.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionViewItemV3.cpp deleted file mode 100644 index 20a8c23..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionViewItemV3.cpp +++ /dev/null @@ -1,21 +0,0 @@ -#include "PythonQtWrapper_QStyleOptionViewItemV3.h" - -#include -#include -#include -#include -#include -#include - -QStyleOptionViewItemV3* PythonQtWrapper_QStyleOptionViewItemV3::new_QStyleOptionViewItemV3() -{ -return new PythonQtShell_QStyleOptionViewItemV3(); } - -QStyleOptionViewItemV3* PythonQtWrapper_QStyleOptionViewItemV3::new_QStyleOptionViewItemV3(const QStyleOptionViewItem& other) -{ -return new PythonQtShell_QStyleOptionViewItemV3(other); } - -QStyleOptionViewItemV3* PythonQtWrapper_QStyleOptionViewItemV3::new_QStyleOptionViewItemV3(const QStyleOptionViewItemV3& other) -{ -return new PythonQtShell_QStyleOptionViewItemV3(other); } - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionViewItemV3.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionViewItemV3.h deleted file mode 100644 index d481a69..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionViewItemV3.h +++ /dev/null @@ -1,38 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSTYLEOPTIONVIEWITEMV3_H -#define PYTHONQTWRAPPER_QSTYLEOPTIONVIEWITEMV3_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtShell_QStyleOptionViewItemV3 : public QStyleOptionViewItemV3 -{ -public: - PythonQtShell_QStyleOptionViewItemV3():QStyleOptionViewItemV3(),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionViewItemV3(const QStyleOptionViewItem& other):QStyleOptionViewItemV3(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionViewItemV3(const QStyleOptionViewItemV3& other):QStyleOptionViewItemV3(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionViewItemV3(int version):QStyleOptionViewItemV3(version),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleOptionViewItemV3 : public QObject -{ Q_OBJECT -public: -Q_ENUMS(StyleOptionVersion ) -enum StyleOptionVersion{ - Version = QStyleOptionViewItemV3::Version}; -public slots: -QStyleOptionViewItemV3* new_QStyleOptionViewItemV3(); -QStyleOptionViewItemV3* new_QStyleOptionViewItemV3(const QStyleOptionViewItem& other); -QStyleOptionViewItemV3* new_QStyleOptionViewItemV3(const QStyleOptionViewItemV3& other); -void delete_QStyleOptionViewItemV3(QStyleOptionViewItemV3* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QSTYLEOPTIONVIEWITEMV3_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionViewItemV4.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionViewItemV4.cpp deleted file mode 100644 index 9f5b297..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionViewItemV4.cpp +++ /dev/null @@ -1,21 +0,0 @@ -#include "PythonQtWrapper_QStyleOptionViewItemV4.h" - -#include -#include -#include -#include -#include -#include - -QStyleOptionViewItemV4* PythonQtWrapper_QStyleOptionViewItemV4::new_QStyleOptionViewItemV4() -{ -return new PythonQtShell_QStyleOptionViewItemV4(); } - -QStyleOptionViewItemV4* PythonQtWrapper_QStyleOptionViewItemV4::new_QStyleOptionViewItemV4(const QStyleOptionViewItem& other) -{ -return new PythonQtShell_QStyleOptionViewItemV4(other); } - -QStyleOptionViewItemV4* PythonQtWrapper_QStyleOptionViewItemV4::new_QStyleOptionViewItemV4(const QStyleOptionViewItemV4& other) -{ -return new PythonQtShell_QStyleOptionViewItemV4(other); } - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionViewItemV4.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionViewItemV4.h deleted file mode 100644 index 24a69c8..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyleOptionViewItemV4.h +++ /dev/null @@ -1,40 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSTYLEOPTIONVIEWITEMV4_H -#define PYTHONQTWRAPPER_QSTYLEOPTIONVIEWITEMV4_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtShell_QStyleOptionViewItemV4 : public QStyleOptionViewItemV4 -{ -public: - PythonQtShell_QStyleOptionViewItemV4():QStyleOptionViewItemV4(),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionViewItemV4(const QStyleOptionViewItem& other):QStyleOptionViewItemV4(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionViewItemV4(const QStyleOptionViewItemV4& other):QStyleOptionViewItemV4(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionViewItemV4(int version):QStyleOptionViewItemV4(version),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleOptionViewItemV4 : public QObject -{ Q_OBJECT -public: -Q_ENUMS(ViewItemPosition StyleOptionVersion ) -enum ViewItemPosition{ - Invalid = QStyleOptionViewItemV4::Invalid, Beginning = QStyleOptionViewItemV4::Beginning, Middle = QStyleOptionViewItemV4::Middle, End = QStyleOptionViewItemV4::End, OnlyOne = QStyleOptionViewItemV4::OnlyOne}; -enum StyleOptionVersion{ - Version = QStyleOptionViewItemV4::Version}; -public slots: -QStyleOptionViewItemV4* new_QStyleOptionViewItemV4(); -QStyleOptionViewItemV4* new_QStyleOptionViewItemV4(const QStyleOptionViewItem& other); -QStyleOptionViewItemV4* new_QStyleOptionViewItemV4(const QStyleOptionViewItemV4& other); -void delete_QStyleOptionViewItemV4(QStyleOptionViewItemV4* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QSTYLEOPTIONVIEWITEMV4_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStylePainter.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStylePainter.cpp deleted file mode 100644 index e957d84..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStylePainter.cpp +++ /dev/null @@ -1,82 +0,0 @@ -#include "PythonQtWrapper_QStylePainter.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QStylePainter* PythonQtWrapper_QStylePainter::new_QStylePainter() -{ -return new QStylePainter(); } - -QStylePainter* PythonQtWrapper_QStylePainter::new_QStylePainter(QPaintDevice* pd, QWidget* w) -{ -return new QStylePainter(pd, w); } - -QStylePainter* PythonQtWrapper_QStylePainter::new_QStylePainter(QWidget* w) -{ -return new QStylePainter(w); } - -void PythonQtWrapper_QStylePainter::drawControl(QStylePainter* theWrappedObject, QStyle::ControlElement ce, const QStyleOption& opt) -{ - ( theWrappedObject->drawControl(ce, opt)); -} - -bool PythonQtWrapper_QStylePainter::begin(QStylePainter* theWrappedObject, QPaintDevice* pd, QWidget* w) -{ - return ( theWrappedObject->begin(pd, w)); -} - -bool PythonQtWrapper_QStylePainter::begin(QStylePainter* theWrappedObject, QWidget* w) -{ - return ( theWrappedObject->begin(w)); -} - -void PythonQtWrapper_QStylePainter::drawComplexControl(QStylePainter* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex& opt) -{ - ( theWrappedObject->drawComplexControl(cc, opt)); -} - -void PythonQtWrapper_QStylePainter::drawItemText(QStylePainter* theWrappedObject, const QRect& r, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole) -{ - ( theWrappedObject->drawItemText(r, flags, pal, enabled, text, textRole)); -} - -void PythonQtWrapper_QStylePainter::drawPrimitive(QStylePainter* theWrappedObject, QStyle::PrimitiveElement pe, const QStyleOption& opt) -{ - ( theWrappedObject->drawPrimitive(pe, opt)); -} - -void PythonQtWrapper_QStylePainter::drawItemPixmap(QStylePainter* theWrappedObject, const QRect& r, int flags, const QPixmap& pixmap) -{ - ( theWrappedObject->drawItemPixmap(r, flags, pixmap)); -} - -QStyle* PythonQtWrapper_QStylePainter::style(QStylePainter* theWrappedObject) const -{ - return ( theWrappedObject->style()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStylePainter.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStylePainter.h deleted file mode 100644 index c860fb8..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStylePainter.h +++ /dev/null @@ -1,52 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSTYLEPAINTER_H -#define PYTHONQTWRAPPER_QSTYLEPAINTER_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtWrapper_QStylePainter : public QObject -{ Q_OBJECT -public: -public slots: -QStylePainter* new_QStylePainter(); -QStylePainter* new_QStylePainter(QPaintDevice* pd, QWidget* w); -QStylePainter* new_QStylePainter(QWidget* w); -void delete_QStylePainter(QStylePainter* obj) { delete obj; } - void drawControl(QStylePainter* theWrappedObject, QStyle::ControlElement ce, const QStyleOption& opt); - bool begin(QStylePainter* theWrappedObject, QPaintDevice* pd, QWidget* w); - bool begin(QStylePainter* theWrappedObject, QWidget* w); - void drawComplexControl(QStylePainter* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex& opt); - void drawItemText(QStylePainter* theWrappedObject, const QRect& r, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole = QPalette::NoRole); - void drawPrimitive(QStylePainter* theWrappedObject, QStyle::PrimitiveElement pe, const QStyleOption& opt); - void drawItemPixmap(QStylePainter* theWrappedObject, const QRect& r, int flags, const QPixmap& pixmap); - QStyle* style(QStylePainter* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QSTYLEPAINTER_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStylePlugin.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStylePlugin.cpp deleted file mode 100644 index ba9f9da..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStylePlugin.cpp +++ /dev/null @@ -1,182 +0,0 @@ -#include "PythonQtWrapper_QStylePlugin.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QStylePlugin::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; - } -} - QStylePlugin::childEvent(arg__1); -} -QStyle* PythonQtShell_QStylePlugin::create(const QString& key) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "create"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QStyle*" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QStyle* returnValue; - void* args[2] = {NULL, (void*)&key}; - 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("create", methodInfo, result); - } else { - returnValue = *((QStyle**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QStyle* result; -return result; -} -void PythonQtShell_QStylePlugin::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; - } -} - QStylePlugin::customEvent(arg__1); -} -bool PythonQtShell_QStylePlugin::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStylePlugin::event(arg__1); -} -bool PythonQtShell_QStylePlugin::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStylePlugin::eventFilter(arg__1, arg__2); -} -QStringList PythonQtShell_QStylePlugin::keys() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keys"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QStringList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStringList returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("keys", methodInfo, result); - } else { - returnValue = *((QStringList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QStringList result; -return result; -} -void PythonQtShell_QStylePlugin::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; - } -} - QStylePlugin::timerEvent(arg__1); -} -QStylePlugin* PythonQtWrapper_QStylePlugin::new_QStylePlugin(QObject* parent) -{ -return new PythonQtShell_QStylePlugin(parent); } - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStylePlugin.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStylePlugin.h deleted file mode 100644 index c6a62c6..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStylePlugin.h +++ /dev/null @@ -1,41 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSTYLEPLUGIN_H -#define PYTHONQTWRAPPER_QSTYLEPLUGIN_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QStylePlugin : public QStylePlugin -{ -public: - PythonQtShell_QStylePlugin(QObject* parent = 0):QStylePlugin(parent),_wrapper(NULL) {}; - -virtual void childEvent(QChildEvent* arg__1); -virtual QStyle* create(const QString& key); -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual QStringList keys() const; -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStylePlugin : public QObject -{ Q_OBJECT -public: -public slots: -QStylePlugin* new_QStylePlugin(QObject* parent = 0); -void delete_QStylePlugin(QStylePlugin* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QSTYLEPLUGIN_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyledItemDelegate.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyledItemDelegate.cpp deleted file mode 100644 index 4e944af..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyledItemDelegate.cpp +++ /dev/null @@ -1,389 +0,0 @@ -#include "PythonQtWrapper_QStyledItemDelegate.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QStyledItemDelegate::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; - } -} - QStyledItemDelegate::childEvent(arg__1); -} -QWidget* PythonQtShell_QStyledItemDelegate::createEditor(QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "createEditor"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QWidget*" , "QWidget*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QWidget* returnValue; - void* args[4] = {NULL, (void*)&parent, (void*)&option, (void*)&index}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("createEditor", methodInfo, result); - } else { - returnValue = *((QWidget**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStyledItemDelegate::createEditor(parent, option, index); -} -void PythonQtShell_QStyledItemDelegate::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; - } -} - QStyledItemDelegate::customEvent(arg__1); -} -QString PythonQtShell_QStyledItemDelegate::displayText(const QVariant& value, const QLocale& locale) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "displayText"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QString" , "const QVariant&" , "const QLocale&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QString returnValue; - void* args[3] = {NULL, (void*)&value, (void*)&locale}; - 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("displayText", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStyledItemDelegate::displayText(value, locale); -} -bool PythonQtShell_QStyledItemDelegate::editorEvent(QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "editorEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*" , "QAbstractItemModel*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - bool returnValue; - void* args[5] = {NULL, (void*)&event, (void*)&model, (void*)&option, (void*)&index}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("editorEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStyledItemDelegate::editorEvent(event, model, option, index); -} -bool PythonQtShell_QStyledItemDelegate::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStyledItemDelegate::event(arg__1); -} -bool PythonQtShell_QStyledItemDelegate::eventFilter(QObject* object, QEvent* event) -{ -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*)&object, (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("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStyledItemDelegate::eventFilter(object, event); -} -void PythonQtShell_QStyledItemDelegate::initStyleOption(QStyleOptionViewItem* option, const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "initStyleOption"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QStyleOptionViewItem*" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&option, (void*)&index}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QStyledItemDelegate::initStyleOption(option, index); -} -void PythonQtShell_QStyledItemDelegate::paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter, (void*)&option, (void*)&index}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QStyledItemDelegate::paint(painter, option, index); -} -void PythonQtShell_QStyledItemDelegate::setEditorData(QWidget* editor, const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setEditorData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWidget*" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&editor, (void*)&index}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QStyledItemDelegate::setEditorData(editor, index); -} -void PythonQtShell_QStyledItemDelegate::setModelData(QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setModelData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemModel*" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&editor, (void*)&model, (void*)&index}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QStyledItemDelegate::setModelData(editor, model, index); -} -QSize PythonQtShell_QStyledItemDelegate::sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeHint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QSize returnValue; - void* args[3] = {NULL, (void*)&option, (void*)&index}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QStyledItemDelegate::sizeHint(option, index); -} -void PythonQtShell_QStyledItemDelegate::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; - } -} - QStyledItemDelegate::timerEvent(arg__1); -} -void PythonQtShell_QStyledItemDelegate::updateEditorGeometry(QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateEditorGeometry"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWidget*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&editor, (void*)&option, (void*)&index}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QStyledItemDelegate::updateEditorGeometry(editor, option, index); -} -QStyledItemDelegate* PythonQtWrapper_QStyledItemDelegate::new_QStyledItemDelegate(QObject* parent) -{ -return new PythonQtShell_QStyledItemDelegate(parent); } - -QItemEditorFactory* PythonQtWrapper_QStyledItemDelegate::itemEditorFactory(QStyledItemDelegate* theWrappedObject) const -{ - return ( theWrappedObject->itemEditorFactory()); -} - -QSize PythonQtWrapper_QStyledItemDelegate::sizeHint(QStyledItemDelegate* theWrappedObject, const QStyleOptionViewItem& option, const QModelIndex& index) const -{ - return ( ((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->promoted_sizeHint(option, index)); -} - -void PythonQtWrapper_QStyledItemDelegate::updateEditorGeometry(QStyledItemDelegate* theWrappedObject, QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const -{ - ( ((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->promoted_updateEditorGeometry(editor, option, index)); -} - -void PythonQtWrapper_QStyledItemDelegate::paint(QStyledItemDelegate* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const -{ - ( ((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->promoted_paint(painter, option, index)); -} - -void PythonQtWrapper_QStyledItemDelegate::setEditorData(QStyledItemDelegate* theWrappedObject, QWidget* editor, const QModelIndex& index) const -{ - ( ((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->promoted_setEditorData(editor, index)); -} - -QWidget* PythonQtWrapper_QStyledItemDelegate::createEditor(QStyledItemDelegate* theWrappedObject, QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const -{ - return ( ((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->promoted_createEditor(parent, option, index)); -} - -bool PythonQtWrapper_QStyledItemDelegate::editorEvent(QStyledItemDelegate* theWrappedObject, QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index) -{ - return ( ((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->promoted_editorEvent(event, model, option, index)); -} - -bool PythonQtWrapper_QStyledItemDelegate::eventFilter(QStyledItemDelegate* theWrappedObject, QObject* object, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->promoted_eventFilter(object, event)); -} - -void PythonQtWrapper_QStyledItemDelegate::setItemEditorFactory(QStyledItemDelegate* theWrappedObject, QItemEditorFactory* factory) -{ - ( theWrappedObject->setItemEditorFactory(factory)); -} - -QString PythonQtWrapper_QStyledItemDelegate::displayText(QStyledItemDelegate* theWrappedObject, const QVariant& value, const QLocale& locale) const -{ - return ( ((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->promoted_displayText(value, locale)); -} - -void PythonQtWrapper_QStyledItemDelegate::setModelData(QStyledItemDelegate* theWrappedObject, QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const -{ - ( ((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->promoted_setModelData(editor, model, index)); -} - -void PythonQtWrapper_QStyledItemDelegate::initStyleOption(QStyledItemDelegate* theWrappedObject, QStyleOptionViewItem* option, const QModelIndex& index) const -{ - ( ((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->promoted_initStyleOption(option, index)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyledItemDelegate.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyledItemDelegate.h deleted file mode 100644 index 0be7308..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QStyledItemDelegate.h +++ /dev/null @@ -1,82 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSTYLEDITEMDELEGATE_H -#define PYTHONQTWRAPPER_QSTYLEDITEMDELEGATE_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QStyledItemDelegate : public QStyledItemDelegate -{ -public: - PythonQtShell_QStyledItemDelegate(QObject* parent = 0):QStyledItemDelegate(parent),_wrapper(NULL) {}; - -virtual void childEvent(QChildEvent* arg__1); -virtual QWidget* createEditor(QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const; -virtual void customEvent(QEvent* arg__1); -virtual QString displayText(const QVariant& value, const QLocale& locale) const; -virtual bool editorEvent(QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* object, QEvent* event); -virtual void initStyleOption(QStyleOptionViewItem* option, const QModelIndex& index) const; -virtual void paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const; -virtual void setEditorData(QWidget* editor, const QModelIndex& index) const; -virtual void setModelData(QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const; -virtual QSize sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const; -virtual void timerEvent(QTimerEvent* arg__1); -virtual void updateEditorGeometry(QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QStyledItemDelegate : public QStyledItemDelegate -{ public: -inline QSize promoted_sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const { return QStyledItemDelegate::sizeHint(option, index); } -inline void promoted_updateEditorGeometry(QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const { QStyledItemDelegate::updateEditorGeometry(editor, option, index); } -inline void promoted_paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const { QStyledItemDelegate::paint(painter, option, index); } -inline void promoted_setEditorData(QWidget* editor, const QModelIndex& index) const { QStyledItemDelegate::setEditorData(editor, index); } -inline QWidget* promoted_createEditor(QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const { return QStyledItemDelegate::createEditor(parent, option, index); } -inline bool promoted_editorEvent(QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index) { return QStyledItemDelegate::editorEvent(event, model, option, index); } -inline bool promoted_eventFilter(QObject* object, QEvent* event) { return QStyledItemDelegate::eventFilter(object, event); } -inline QString promoted_displayText(const QVariant& value, const QLocale& locale) const { return QStyledItemDelegate::displayText(value, locale); } -inline void promoted_setModelData(QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const { QStyledItemDelegate::setModelData(editor, model, index); } -inline void promoted_initStyleOption(QStyleOptionViewItem* option, const QModelIndex& index) const { QStyledItemDelegate::initStyleOption(option, index); } -}; - -class PythonQtWrapper_QStyledItemDelegate : public QObject -{ Q_OBJECT -public: -public slots: -QStyledItemDelegate* new_QStyledItemDelegate(QObject* parent = 0); -void delete_QStyledItemDelegate(QStyledItemDelegate* obj) { delete obj; } - QItemEditorFactory* itemEditorFactory(QStyledItemDelegate* theWrappedObject) const; - QSize sizeHint(QStyledItemDelegate* theWrappedObject, const QStyleOptionViewItem& option, const QModelIndex& index) const; - void updateEditorGeometry(QStyledItemDelegate* theWrappedObject, QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const; - void paint(QStyledItemDelegate* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const; - void setEditorData(QStyledItemDelegate* theWrappedObject, QWidget* editor, const QModelIndex& index) const; - QWidget* createEditor(QStyledItemDelegate* theWrappedObject, QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const; - bool editorEvent(QStyledItemDelegate* theWrappedObject, QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index); - bool eventFilter(QStyledItemDelegate* theWrappedObject, QObject* object, QEvent* event); - void setItemEditorFactory(QStyledItemDelegate* theWrappedObject, QItemEditorFactory* factory); - QString displayText(QStyledItemDelegate* theWrappedObject, const QVariant& value, const QLocale& locale) const; - void setModelData(QStyledItemDelegate* theWrappedObject, QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const; - void initStyleOption(QStyledItemDelegate* theWrappedObject, QStyleOptionViewItem* option, const QModelIndex& index) const; -}; - -#endif // PYTHONQTWRAPPER_QSTYLEDITEMDELEGATE_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSyntaxHighlighter.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSyntaxHighlighter.cpp deleted file mode 100644 index 2de2043..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSyntaxHighlighter.cpp +++ /dev/null @@ -1,164 +0,0 @@ -#include "PythonQtWrapper_QSyntaxHighlighter.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QSyntaxHighlighter::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; - } -} - QSyntaxHighlighter::childEvent(arg__1); -} -void PythonQtShell_QSyntaxHighlighter::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; - } -} - QSyntaxHighlighter::customEvent(arg__1); -} -bool PythonQtShell_QSyntaxHighlighter::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSyntaxHighlighter::event(arg__1); -} -bool PythonQtShell_QSyntaxHighlighter::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSyntaxHighlighter::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QSyntaxHighlighter::highlightBlock(const QString& text) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "highlightBlock"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&text}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - -} -void PythonQtShell_QSyntaxHighlighter::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; - } -} - QSyntaxHighlighter::timerEvent(arg__1); -} -QSyntaxHighlighter* PythonQtWrapper_QSyntaxHighlighter::new_QSyntaxHighlighter(QObject* parent) -{ -return new PythonQtShell_QSyntaxHighlighter(parent); } - -QSyntaxHighlighter* PythonQtWrapper_QSyntaxHighlighter::new_QSyntaxHighlighter(QTextDocument* parent) -{ -return new PythonQtShell_QSyntaxHighlighter(parent); } - -QSyntaxHighlighter* PythonQtWrapper_QSyntaxHighlighter::new_QSyntaxHighlighter(QTextEdit* parent) -{ -return new PythonQtShell_QSyntaxHighlighter(parent); } - -void PythonQtWrapper_QSyntaxHighlighter::setDocument(QSyntaxHighlighter* theWrappedObject, QTextDocument* doc) -{ - ( theWrappedObject->setDocument(doc)); -} - -QTextDocument* PythonQtWrapper_QSyntaxHighlighter::document(QSyntaxHighlighter* theWrappedObject) const -{ - return ( theWrappedObject->document()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSyntaxHighlighter.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSyntaxHighlighter.h deleted file mode 100644 index 0f12852..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSyntaxHighlighter.h +++ /dev/null @@ -1,51 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSYNTAXHIGHLIGHTER_H -#define PYTHONQTWRAPPER_QSYNTAXHIGHLIGHTER_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QSyntaxHighlighter : public QSyntaxHighlighter -{ -public: - PythonQtShell_QSyntaxHighlighter(QObject* parent):QSyntaxHighlighter(parent),_wrapper(NULL) {}; - PythonQtShell_QSyntaxHighlighter(QTextDocument* parent):QSyntaxHighlighter(parent),_wrapper(NULL) {}; - PythonQtShell_QSyntaxHighlighter(QTextEdit* parent):QSyntaxHighlighter(parent),_wrapper(NULL) {}; - -virtual void childEvent(QChildEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void highlightBlock(const QString& text); -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QSyntaxHighlighter : public QObject -{ Q_OBJECT -public: -public slots: -QSyntaxHighlighter* new_QSyntaxHighlighter(QObject* parent); -QSyntaxHighlighter* new_QSyntaxHighlighter(QTextDocument* parent); -QSyntaxHighlighter* new_QSyntaxHighlighter(QTextEdit* parent); -void delete_QSyntaxHighlighter(QSyntaxHighlighter* obj) { delete obj; } - void setDocument(QSyntaxHighlighter* theWrappedObject, QTextDocument* doc); - QTextDocument* document(QSyntaxHighlighter* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QSYNTAXHIGHLIGHTER_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSystemTrayIcon.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSystemTrayIcon.cpp deleted file mode 100644 index 9239e4c..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSystemTrayIcon.cpp +++ /dev/null @@ -1,190 +0,0 @@ -#include "PythonQtWrapper_QSystemTrayIcon.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QSystemTrayIcon::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; - } -} - QSystemTrayIcon::childEvent(arg__1); -} -void PythonQtShell_QSystemTrayIcon::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; - } -} - QSystemTrayIcon::customEvent(arg__1); -} -bool PythonQtShell_QSystemTrayIcon::event(QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSystemTrayIcon::event(event); -} -bool PythonQtShell_QSystemTrayIcon::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSystemTrayIcon::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QSystemTrayIcon::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; - } -} - QSystemTrayIcon::timerEvent(arg__1); -} -QSystemTrayIcon* PythonQtWrapper_QSystemTrayIcon::new_QSystemTrayIcon(QObject* parent) -{ -return new PythonQtShell_QSystemTrayIcon(parent); } - -QSystemTrayIcon* PythonQtWrapper_QSystemTrayIcon::new_QSystemTrayIcon(const QIcon& icon, QObject* parent) -{ -return new PythonQtShell_QSystemTrayIcon(icon, parent); } - -bool PythonQtWrapper_QSystemTrayIcon::static_QSystemTrayIcon_isSystemTrayAvailable() -{ - return (QSystemTrayIcon::isSystemTrayAvailable()); -} - -QIcon PythonQtWrapper_QSystemTrayIcon::icon(QSystemTrayIcon* theWrappedObject) const -{ - return ( theWrappedObject->icon()); -} - -bool PythonQtWrapper_QSystemTrayIcon::isVisible(QSystemTrayIcon* theWrappedObject) const -{ - return ( theWrappedObject->isVisible()); -} - -void PythonQtWrapper_QSystemTrayIcon::showMessage(QSystemTrayIcon* theWrappedObject, const QString& title, const QString& msg, QSystemTrayIcon::MessageIcon icon, int msecs) -{ - ( theWrappedObject->showMessage(title, msg, icon, msecs)); -} - -void PythonQtWrapper_QSystemTrayIcon::setIcon(QSystemTrayIcon* theWrappedObject, const QIcon& icon) -{ - ( theWrappedObject->setIcon(icon)); -} - -bool PythonQtWrapper_QSystemTrayIcon::static_QSystemTrayIcon_supportsMessages() -{ - return (QSystemTrayIcon::supportsMessages()); -} - -void PythonQtWrapper_QSystemTrayIcon::setContextMenu(QSystemTrayIcon* theWrappedObject, QMenu* menu) -{ - ( theWrappedObject->setContextMenu(menu)); -} - -QMenu* PythonQtWrapper_QSystemTrayIcon::contextMenu(QSystemTrayIcon* theWrappedObject) const -{ - return ( theWrappedObject->contextMenu()); -} - -void PythonQtWrapper_QSystemTrayIcon::setToolTip(QSystemTrayIcon* theWrappedObject, const QString& tip) -{ - ( theWrappedObject->setToolTip(tip)); -} - -bool PythonQtWrapper_QSystemTrayIcon::event(QSystemTrayIcon* theWrappedObject, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QSystemTrayIcon*)theWrappedObject)->promoted_event(event)); -} - -QRect PythonQtWrapper_QSystemTrayIcon::geometry(QSystemTrayIcon* theWrappedObject) const -{ - return ( theWrappedObject->geometry()); -} - -QString PythonQtWrapper_QSystemTrayIcon::toolTip(QSystemTrayIcon* theWrappedObject) const -{ - return ( theWrappedObject->toolTip()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSystemTrayIcon.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSystemTrayIcon.h deleted file mode 100644 index 8fbdd82..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSystemTrayIcon.h +++ /dev/null @@ -1,65 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSYSTEMTRAYICON_H -#define PYTHONQTWRAPPER_QSYSTEMTRAYICON_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QSystemTrayIcon : public QSystemTrayIcon -{ -public: - PythonQtShell_QSystemTrayIcon(QObject* parent = 0):QSystemTrayIcon(parent),_wrapper(NULL) {}; - PythonQtShell_QSystemTrayIcon(const QIcon& icon, QObject* parent = 0):QSystemTrayIcon(icon, parent),_wrapper(NULL) {}; - -virtual void childEvent(QChildEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QSystemTrayIcon : public QSystemTrayIcon -{ public: -inline bool promoted_event(QEvent* event) { return QSystemTrayIcon::event(event); } -}; - -class PythonQtWrapper_QSystemTrayIcon : public QObject -{ Q_OBJECT -public: -Q_ENUMS(MessageIcon ActivationReason ) -enum MessageIcon{ - NoIcon = QSystemTrayIcon::NoIcon, Information = QSystemTrayIcon::Information, Warning = QSystemTrayIcon::Warning, Critical = QSystemTrayIcon::Critical}; -enum ActivationReason{ - Unknown = QSystemTrayIcon::Unknown, Context = QSystemTrayIcon::Context, DoubleClick = QSystemTrayIcon::DoubleClick, Trigger = QSystemTrayIcon::Trigger, MiddleClick = QSystemTrayIcon::MiddleClick}; -public slots: -QSystemTrayIcon* new_QSystemTrayIcon(QObject* parent = 0); -QSystemTrayIcon* new_QSystemTrayIcon(const QIcon& icon, QObject* parent = 0); -void delete_QSystemTrayIcon(QSystemTrayIcon* obj) { delete obj; } - bool static_QSystemTrayIcon_isSystemTrayAvailable(); - QIcon icon(QSystemTrayIcon* theWrappedObject) const; - bool isVisible(QSystemTrayIcon* theWrappedObject) const; - void showMessage(QSystemTrayIcon* theWrappedObject, const QString& title, const QString& msg, QSystemTrayIcon::MessageIcon icon = QSystemTrayIcon::Information, int msecs = 10000); - void setIcon(QSystemTrayIcon* theWrappedObject, const QIcon& icon); - bool static_QSystemTrayIcon_supportsMessages(); - void setContextMenu(QSystemTrayIcon* theWrappedObject, QMenu* menu); - QMenu* contextMenu(QSystemTrayIcon* theWrappedObject) const; - void setToolTip(QSystemTrayIcon* theWrappedObject, const QString& tip); - bool event(QSystemTrayIcon* theWrappedObject, QEvent* event); - QRect geometry(QSystemTrayIcon* theWrappedObject) const; - QString toolTip(QSystemTrayIcon* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QSYSTEMTRAYICON_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTabBar.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTabBar.cpp deleted file mode 100644 index 26418f8..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTabBar.cpp +++ /dev/null @@ -1,1093 +0,0 @@ -#include "PythonQtWrapper_QTabBar.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QTabBar::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QTabBar::actionEvent(arg__1); -} -void PythonQtShell_QTabBar::changeEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTabBar::changeEvent(arg__1); -} -void PythonQtShell_QTabBar::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; - } -} - QTabBar::childEvent(arg__1); -} -void PythonQtShell_QTabBar::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QTabBar::closeEvent(arg__1); -} -void PythonQtShell_QTabBar::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTabBar::contextMenuEvent(arg__1); -} -void PythonQtShell_QTabBar::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; - } -} - QTabBar::customEvent(arg__1); -} -int PythonQtShell_QTabBar::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTabBar::devType(); -} -void PythonQtShell_QTabBar::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QTabBar::dragEnterEvent(arg__1); -} -void PythonQtShell_QTabBar::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QTabBar::dragLeaveEvent(arg__1); -} -void PythonQtShell_QTabBar::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QTabBar::dragMoveEvent(arg__1); -} -void PythonQtShell_QTabBar::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QTabBar::dropEvent(arg__1); -} -void PythonQtShell_QTabBar::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QTabBar::enterEvent(arg__1); -} -bool PythonQtShell_QTabBar::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTabBar::event(arg__1); -} -bool PythonQtShell_QTabBar::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTabBar::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QTabBar::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QTabBar::focusInEvent(arg__1); -} -bool PythonQtShell_QTabBar::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTabBar::focusNextPrevChild(next); -} -void PythonQtShell_QTabBar::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QTabBar::focusOutEvent(arg__1); -} -int PythonQtShell_QTabBar::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTabBar::heightForWidth(arg__1); -} -void PythonQtShell_QTabBar::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QTabBar::hideEvent(arg__1); -} -void PythonQtShell_QTabBar::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QTabBar::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QTabBar::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTabBar::inputMethodQuery(arg__1); -} -void PythonQtShell_QTabBar::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTabBar::keyPressEvent(arg__1); -} -void PythonQtShell_QTabBar::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTabBar::keyReleaseEvent(arg__1); -} -void PythonQtShell_QTabBar::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTabBar::languageChange(); -} -void PythonQtShell_QTabBar::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QTabBar::leaveEvent(arg__1); -} -int PythonQtShell_QTabBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTabBar::metric(arg__1); -} -void PythonQtShell_QTabBar::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QTabBar::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QTabBar::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QTabBar::mouseMoveEvent(arg__1); -} -void PythonQtShell_QTabBar::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QTabBar::mousePressEvent(arg__1); -} -void PythonQtShell_QTabBar::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QTabBar::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QTabBar::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTabBar::moveEvent(arg__1); -} -QPaintEngine* PythonQtShell_QTabBar::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTabBar::paintEngine(); -} -void PythonQtShell_QTabBar::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - 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; - } -} - QTabBar::paintEvent(arg__1); -} -void PythonQtShell_QTabBar::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - 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; - } -} - QTabBar::resizeEvent(arg__1); -} -void PythonQtShell_QTabBar::showEvent(QShowEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QTabBar::showEvent(arg__1); -} -void PythonQtShell_QTabBar::tabInserted(int index) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabInserted"); - 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*)&index}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTabBar::tabInserted(index); -} -void PythonQtShell_QTabBar::tabLayoutChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabLayoutChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTabBar::tabLayoutChange(); -} -void PythonQtShell_QTabBar::tabRemoved(int index) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabRemoved"); - 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*)&index}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTabBar::tabRemoved(index); -} -QSize PythonQtShell_QTabBar::tabSizeHint(int index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabSizeHint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QSize 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) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("tabSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTabBar::tabSizeHint(index); -} -void PythonQtShell_QTabBar::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QTabBar::tabletEvent(arg__1); -} -void PythonQtShell_QTabBar::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; - } -} - QTabBar::timerEvent(arg__1); -} -void PythonQtShell_QTabBar::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTabBar::wheelEvent(arg__1); -} -QTabBar* PythonQtWrapper_QTabBar::new_QTabBar(QWidget* parent) -{ -return new PythonQtShell_QTabBar(parent); } - -void PythonQtWrapper_QTabBar::setTabIcon(QTabBar* theWrappedObject, int index, const QIcon& icon) -{ - ( theWrappedObject->setTabIcon(index, icon)); -} - -void PythonQtWrapper_QTabBar::setDrawBase(QTabBar* theWrappedObject, bool drawTheBase) -{ - ( theWrappedObject->setDrawBase(drawTheBase)); -} - -QSize PythonQtWrapper_QTabBar::iconSize(QTabBar* theWrappedObject) const -{ - return ( theWrappedObject->iconSize()); -} - -bool PythonQtWrapper_QTabBar::event(QTabBar* theWrappedObject, QEvent* arg__1) -{ - return ( ((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->promoted_event(arg__1)); -} - -bool PythonQtWrapper_QTabBar::usesScrollButtons(QTabBar* theWrappedObject) const -{ - return ( theWrappedObject->usesScrollButtons()); -} - -QColor PythonQtWrapper_QTabBar::tabTextColor(QTabBar* theWrappedObject, int index) const -{ - return ( theWrappedObject->tabTextColor(index)); -} - -void PythonQtWrapper_QTabBar::setTabData(QTabBar* theWrappedObject, int index, const QVariant& data) -{ - ( theWrappedObject->setTabData(index, data)); -} - -int PythonQtWrapper_QTabBar::currentIndex(QTabBar* theWrappedObject) const -{ - return ( theWrappedObject->currentIndex()); -} - -void PythonQtWrapper_QTabBar::setTabWhatsThis(QTabBar* theWrappedObject, int index, const QString& text) -{ - ( theWrappedObject->setTabWhatsThis(index, text)); -} - -void PythonQtWrapper_QTabBar::paintEvent(QTabBar* theWrappedObject, QPaintEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->promoted_paintEvent(arg__1)); -} - -void PythonQtWrapper_QTabBar::setIconSize(QTabBar* theWrappedObject, const QSize& size) -{ - ( theWrappedObject->setIconSize(size)); -} - -QSize PythonQtWrapper_QTabBar::sizeHint(QTabBar* theWrappedObject) const -{ - return ( theWrappedObject->sizeHint()); -} - -QVariant PythonQtWrapper_QTabBar::tabData(QTabBar* theWrappedObject, int index) const -{ - return ( theWrappedObject->tabData(index)); -} - -QSize PythonQtWrapper_QTabBar::minimumSizeHint(QTabBar* theWrappedObject) const -{ - return ( theWrappedObject->minimumSizeHint()); -} - -QString PythonQtWrapper_QTabBar::tabToolTip(QTabBar* theWrappedObject, int index) const -{ - return ( theWrappedObject->tabToolTip(index)); -} - -void PythonQtWrapper_QTabBar::setTabToolTip(QTabBar* theWrappedObject, int index, const QString& tip) -{ - ( theWrappedObject->setTabToolTip(index, tip)); -} - -void PythonQtWrapper_QTabBar::tabLayoutChange(QTabBar* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->promoted_tabLayoutChange()); -} - -void PythonQtWrapper_QTabBar::resizeEvent(QTabBar* theWrappedObject, QResizeEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->promoted_resizeEvent(arg__1)); -} - -Qt::TextElideMode PythonQtWrapper_QTabBar::elideMode(QTabBar* theWrappedObject) const -{ - return ( theWrappedObject->elideMode()); -} - -void PythonQtWrapper_QTabBar::changeEvent(QTabBar* theWrappedObject, QEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->promoted_changeEvent(arg__1)); -} - -void PythonQtWrapper_QTabBar::setTabTextColor(QTabBar* theWrappedObject, int index, const QColor& color) -{ - ( theWrappedObject->setTabTextColor(index, color)); -} - -int PythonQtWrapper_QTabBar::insertTab(QTabBar* theWrappedObject, int index, const QString& text) -{ - return ( theWrappedObject->insertTab(index, text)); -} - -void PythonQtWrapper_QTabBar::mouseMoveEvent(QTabBar* theWrappedObject, QMouseEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->promoted_mouseMoveEvent(arg__1)); -} - -int PythonQtWrapper_QTabBar::addTab(QTabBar* theWrappedObject, const QString& text) -{ - return ( theWrappedObject->addTab(text)); -} - -int PythonQtWrapper_QTabBar::addTab(QTabBar* theWrappedObject, const QIcon& icon, const QString& text) -{ - return ( theWrappedObject->addTab(icon, text)); -} - -void PythonQtWrapper_QTabBar::removeTab(QTabBar* theWrappedObject, int index) -{ - ( theWrappedObject->removeTab(index)); -} - -int PythonQtWrapper_QTabBar::tabAt(QTabBar* theWrappedObject, const QPoint& pos) const -{ - return ( theWrappedObject->tabAt(pos)); -} - -void PythonQtWrapper_QTabBar::tabRemoved(QTabBar* theWrappedObject, int index) -{ - ( ((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->promoted_tabRemoved(index)); -} - -void PythonQtWrapper_QTabBar::setUsesScrollButtons(QTabBar* theWrappedObject, bool useButtons) -{ - ( theWrappedObject->setUsesScrollButtons(useButtons)); -} - -void PythonQtWrapper_QTabBar::keyPressEvent(QTabBar* theWrappedObject, QKeyEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->promoted_keyPressEvent(arg__1)); -} - -QTabBar::Shape PythonQtWrapper_QTabBar::shape(QTabBar* theWrappedObject) const -{ - return ( theWrappedObject->shape()); -} - -void PythonQtWrapper_QTabBar::mouseReleaseEvent(QTabBar* theWrappedObject, QMouseEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->promoted_mouseReleaseEvent(arg__1)); -} - -void PythonQtWrapper_QTabBar::setShape(QTabBar* theWrappedObject, QTabBar::Shape shape) -{ - ( theWrappedObject->setShape(shape)); -} - -void PythonQtWrapper_QTabBar::setTabEnabled(QTabBar* theWrappedObject, int index, bool arg__2) -{ - ( theWrappedObject->setTabEnabled(index, arg__2)); -} - -void PythonQtWrapper_QTabBar::setElideMode(QTabBar* theWrappedObject, Qt::TextElideMode arg__1) -{ - ( theWrappedObject->setElideMode(arg__1)); -} - -bool PythonQtWrapper_QTabBar::drawBase(QTabBar* theWrappedObject) const -{ - return ( theWrappedObject->drawBase()); -} - -QRect PythonQtWrapper_QTabBar::tabRect(QTabBar* theWrappedObject, int index) const -{ - return ( theWrappedObject->tabRect(index)); -} - -bool PythonQtWrapper_QTabBar::isTabEnabled(QTabBar* theWrappedObject, int index) const -{ - return ( theWrappedObject->isTabEnabled(index)); -} - -QString PythonQtWrapper_QTabBar::tabText(QTabBar* theWrappedObject, int index) const -{ - return ( theWrappedObject->tabText(index)); -} - -QIcon PythonQtWrapper_QTabBar::tabIcon(QTabBar* theWrappedObject, int index) const -{ - return ( theWrappedObject->tabIcon(index)); -} - -QSize PythonQtWrapper_QTabBar::tabSizeHint(QTabBar* theWrappedObject, int index) const -{ - return ( ((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->promoted_tabSizeHint(index)); -} - -int PythonQtWrapper_QTabBar::count(QTabBar* theWrappedObject) const -{ - return ( theWrappedObject->count()); -} - -void PythonQtWrapper_QTabBar::tabInserted(QTabBar* theWrappedObject, int index) -{ - ( ((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->promoted_tabInserted(index)); -} - -QString PythonQtWrapper_QTabBar::tabWhatsThis(QTabBar* theWrappedObject, int index) const -{ - return ( theWrappedObject->tabWhatsThis(index)); -} - -void PythonQtWrapper_QTabBar::showEvent(QTabBar* theWrappedObject, QShowEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->promoted_showEvent(arg__1)); -} - -int PythonQtWrapper_QTabBar::insertTab(QTabBar* theWrappedObject, int index, const QIcon& icon, const QString& text) -{ - return ( theWrappedObject->insertTab(index, icon, text)); -} - -void PythonQtWrapper_QTabBar::setTabText(QTabBar* theWrappedObject, int index, const QString& text) -{ - ( theWrappedObject->setTabText(index, text)); -} - -void PythonQtWrapper_QTabBar::mousePressEvent(QTabBar* theWrappedObject, QMouseEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->promoted_mousePressEvent(arg__1)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTabBar.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTabBar.h deleted file mode 100644 index 0ae5775..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTabBar.h +++ /dev/null @@ -1,164 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QTABBAR_H -#define PYTHONQTWRAPPER_QTABBAR_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QTabBar : public QTabBar -{ -public: - PythonQtShell_QTabBar(QWidget* parent = 0):QTabBar(parent),_wrapper(NULL) {}; - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* arg__1); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void showEvent(QShowEvent* arg__1); -virtual void tabInserted(int index); -virtual void tabLayoutChange(); -virtual void tabRemoved(int index); -virtual QSize tabSizeHint(int index) const; -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QTabBar : public QTabBar -{ public: -inline bool promoted_event(QEvent* arg__1) { return QTabBar::event(arg__1); } -inline void promoted_paintEvent(QPaintEvent* arg__1) { QTabBar::paintEvent(arg__1); } -inline void promoted_tabLayoutChange() { QTabBar::tabLayoutChange(); } -inline void promoted_resizeEvent(QResizeEvent* arg__1) { QTabBar::resizeEvent(arg__1); } -inline void promoted_changeEvent(QEvent* arg__1) { QTabBar::changeEvent(arg__1); } -inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { QTabBar::mouseMoveEvent(arg__1); } -inline void promoted_tabRemoved(int index) { QTabBar::tabRemoved(index); } -inline void promoted_keyPressEvent(QKeyEvent* arg__1) { QTabBar::keyPressEvent(arg__1); } -inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { QTabBar::mouseReleaseEvent(arg__1); } -inline QSize promoted_tabSizeHint(int index) const { return QTabBar::tabSizeHint(index); } -inline void promoted_tabInserted(int index) { QTabBar::tabInserted(index); } -inline void promoted_showEvent(QShowEvent* arg__1) { QTabBar::showEvent(arg__1); } -inline void promoted_mousePressEvent(QMouseEvent* arg__1) { QTabBar::mousePressEvent(arg__1); } -}; - -class PythonQtWrapper_QTabBar : public QObject -{ Q_OBJECT -public: -public slots: -QTabBar* new_QTabBar(QWidget* parent = 0); -void delete_QTabBar(QTabBar* obj) { delete obj; } - void setTabIcon(QTabBar* theWrappedObject, int index, const QIcon& icon); - void setDrawBase(QTabBar* theWrappedObject, bool drawTheBase); - QSize iconSize(QTabBar* theWrappedObject) const; - bool event(QTabBar* theWrappedObject, QEvent* arg__1); - bool usesScrollButtons(QTabBar* theWrappedObject) const; - QColor tabTextColor(QTabBar* theWrappedObject, int index) const; - void setTabData(QTabBar* theWrappedObject, int index, const QVariant& data); - int currentIndex(QTabBar* theWrappedObject) const; - void setTabWhatsThis(QTabBar* theWrappedObject, int index, const QString& text); - void paintEvent(QTabBar* theWrappedObject, QPaintEvent* arg__1); - void setIconSize(QTabBar* theWrappedObject, const QSize& size); - QSize sizeHint(QTabBar* theWrappedObject) const; - QVariant tabData(QTabBar* theWrappedObject, int index) const; - QSize minimumSizeHint(QTabBar* theWrappedObject) const; - QString tabToolTip(QTabBar* theWrappedObject, int index) const; - void setTabToolTip(QTabBar* theWrappedObject, int index, const QString& tip); - void tabLayoutChange(QTabBar* theWrappedObject); - void resizeEvent(QTabBar* theWrappedObject, QResizeEvent* arg__1); - Qt::TextElideMode elideMode(QTabBar* theWrappedObject) const; - void changeEvent(QTabBar* theWrappedObject, QEvent* arg__1); - void setTabTextColor(QTabBar* theWrappedObject, int index, const QColor& color); - int insertTab(QTabBar* theWrappedObject, int index, const QString& text); - void mouseMoveEvent(QTabBar* theWrappedObject, QMouseEvent* arg__1); - int addTab(QTabBar* theWrappedObject, const QString& text); - int addTab(QTabBar* theWrappedObject, const QIcon& icon, const QString& text); - void removeTab(QTabBar* theWrappedObject, int index); - int tabAt(QTabBar* theWrappedObject, const QPoint& pos) const; - void tabRemoved(QTabBar* theWrappedObject, int index); - void setUsesScrollButtons(QTabBar* theWrappedObject, bool useButtons); - void keyPressEvent(QTabBar* theWrappedObject, QKeyEvent* arg__1); - QTabBar::Shape shape(QTabBar* theWrappedObject) const; - void mouseReleaseEvent(QTabBar* theWrappedObject, QMouseEvent* arg__1); - void setShape(QTabBar* theWrappedObject, QTabBar::Shape shape); - void setTabEnabled(QTabBar* theWrappedObject, int index, bool arg__2); - void setElideMode(QTabBar* theWrappedObject, Qt::TextElideMode arg__1); - bool drawBase(QTabBar* theWrappedObject) const; - QRect tabRect(QTabBar* theWrappedObject, int index) const; - bool isTabEnabled(QTabBar* theWrappedObject, int index) const; - QString tabText(QTabBar* theWrappedObject, int index) const; - QIcon tabIcon(QTabBar* theWrappedObject, int index) const; - QSize tabSizeHint(QTabBar* theWrappedObject, int index) const; - int count(QTabBar* theWrappedObject) const; - void tabInserted(QTabBar* theWrappedObject, int index); - QString tabWhatsThis(QTabBar* theWrappedObject, int index) const; - void showEvent(QTabBar* theWrappedObject, QShowEvent* arg__1); - int insertTab(QTabBar* theWrappedObject, int index, const QIcon& icon, const QString& text); - void setTabText(QTabBar* theWrappedObject, int index, const QString& text); - void mousePressEvent(QTabBar* theWrappedObject, QMouseEvent* arg__1); -}; - -#endif // PYTHONQTWRAPPER_QTABBAR_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTabWidget.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTabWidget.cpp deleted file mode 100644 index 4ae068f..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTabWidget.cpp +++ /dev/null @@ -1,1022 +0,0 @@ -#include "PythonQtWrapper_QTabWidget.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QTabWidget::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QTabWidget::actionEvent(arg__1); -} -void PythonQtShell_QTabWidget::changeEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTabWidget::changeEvent(arg__1); -} -void PythonQtShell_QTabWidget::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; - } -} - QTabWidget::childEvent(arg__1); -} -void PythonQtShell_QTabWidget::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QTabWidget::closeEvent(arg__1); -} -void PythonQtShell_QTabWidget::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTabWidget::contextMenuEvent(arg__1); -} -void PythonQtShell_QTabWidget::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; - } -} - QTabWidget::customEvent(arg__1); -} -int PythonQtShell_QTabWidget::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTabWidget::devType(); -} -void PythonQtShell_QTabWidget::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QTabWidget::dragEnterEvent(arg__1); -} -void PythonQtShell_QTabWidget::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QTabWidget::dragLeaveEvent(arg__1); -} -void PythonQtShell_QTabWidget::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QTabWidget::dragMoveEvent(arg__1); -} -void PythonQtShell_QTabWidget::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QTabWidget::dropEvent(arg__1); -} -void PythonQtShell_QTabWidget::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QTabWidget::enterEvent(arg__1); -} -bool PythonQtShell_QTabWidget::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTabWidget::event(arg__1); -} -bool PythonQtShell_QTabWidget::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTabWidget::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QTabWidget::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QTabWidget::focusInEvent(arg__1); -} -bool PythonQtShell_QTabWidget::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTabWidget::focusNextPrevChild(next); -} -void PythonQtShell_QTabWidget::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QTabWidget::focusOutEvent(arg__1); -} -int PythonQtShell_QTabWidget::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTabWidget::heightForWidth(arg__1); -} -void PythonQtShell_QTabWidget::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QTabWidget::hideEvent(arg__1); -} -void PythonQtShell_QTabWidget::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QTabWidget::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QTabWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTabWidget::inputMethodQuery(arg__1); -} -void PythonQtShell_QTabWidget::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTabWidget::keyPressEvent(arg__1); -} -void PythonQtShell_QTabWidget::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTabWidget::keyReleaseEvent(arg__1); -} -void PythonQtShell_QTabWidget::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTabWidget::languageChange(); -} -void PythonQtShell_QTabWidget::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QTabWidget::leaveEvent(arg__1); -} -int PythonQtShell_QTabWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTabWidget::metric(arg__1); -} -void PythonQtShell_QTabWidget::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QTabWidget::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QTabWidget::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QTabWidget::mouseMoveEvent(arg__1); -} -void PythonQtShell_QTabWidget::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QTabWidget::mousePressEvent(arg__1); -} -void PythonQtShell_QTabWidget::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QTabWidget::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QTabWidget::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTabWidget::moveEvent(arg__1); -} -QPaintEngine* PythonQtShell_QTabWidget::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTabWidget::paintEngine(); -} -void PythonQtShell_QTabWidget::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - 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; - } -} - QTabWidget::paintEvent(arg__1); -} -void PythonQtShell_QTabWidget::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - 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; - } -} - QTabWidget::resizeEvent(arg__1); -} -void PythonQtShell_QTabWidget::showEvent(QShowEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QTabWidget::showEvent(arg__1); -} -void PythonQtShell_QTabWidget::tabInserted(int index) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabInserted"); - 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*)&index}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTabWidget::tabInserted(index); -} -void PythonQtShell_QTabWidget::tabRemoved(int index) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabRemoved"); - 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*)&index}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTabWidget::tabRemoved(index); -} -void PythonQtShell_QTabWidget::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QTabWidget::tabletEvent(arg__1); -} -void PythonQtShell_QTabWidget::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; - } -} - QTabWidget::timerEvent(arg__1); -} -void PythonQtShell_QTabWidget::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTabWidget::wheelEvent(arg__1); -} -QTabWidget* PythonQtWrapper_QTabWidget::new_QTabWidget(QWidget* parent) -{ -return new PythonQtShell_QTabWidget(parent); } - -int PythonQtWrapper_QTabWidget::addTab(QTabWidget* theWrappedObject, QWidget* widget, const QString& arg__2) -{ - return ( theWrappedObject->addTab(widget, arg__2)); -} - -void PythonQtWrapper_QTabWidget::tabInserted(QTabWidget* theWrappedObject, int index) -{ - ( ((PythonQtPublicPromoter_QTabWidget*)theWrappedObject)->promoted_tabInserted(index)); -} - -QSize PythonQtWrapper_QTabWidget::minimumSizeHint(QTabWidget* theWrappedObject) const -{ - return ( theWrappedObject->minimumSizeHint()); -} - -int PythonQtWrapper_QTabWidget::insertTab(QTabWidget* theWrappedObject, int index, QWidget* widget, const QString& arg__3) -{ - return ( theWrappedObject->insertTab(index, widget, arg__3)); -} - -void PythonQtWrapper_QTabWidget::tabRemoved(QTabWidget* theWrappedObject, int index) -{ - ( ((PythonQtPublicPromoter_QTabWidget*)theWrappedObject)->promoted_tabRemoved(index)); -} - -void PythonQtWrapper_QTabWidget::showEvent(QTabWidget* theWrappedObject, QShowEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QTabWidget*)theWrappedObject)->promoted_showEvent(arg__1)); -} - -void PythonQtWrapper_QTabWidget::changeEvent(QTabWidget* theWrappedObject, QEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QTabWidget*)theWrappedObject)->promoted_changeEvent(arg__1)); -} - -bool PythonQtWrapper_QTabWidget::usesScrollButtons(QTabWidget* theWrappedObject) const -{ - return ( theWrappedObject->usesScrollButtons()); -} - -void PythonQtWrapper_QTabWidget::keyPressEvent(QTabWidget* theWrappedObject, QKeyEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QTabWidget*)theWrappedObject)->promoted_keyPressEvent(arg__1)); -} - -int PythonQtWrapper_QTabWidget::currentIndex(QTabWidget* theWrappedObject) const -{ - return ( theWrappedObject->currentIndex()); -} - -QIcon PythonQtWrapper_QTabWidget::tabIcon(QTabWidget* theWrappedObject, int index) const -{ - return ( theWrappedObject->tabIcon(index)); -} - -void PythonQtWrapper_QTabWidget::setTabPosition(QTabWidget* theWrappedObject, QTabWidget::TabPosition arg__1) -{ - ( theWrappedObject->setTabPosition(arg__1)); -} - -int PythonQtWrapper_QTabWidget::count(QTabWidget* theWrappedObject) const -{ - return ( theWrappedObject->count()); -} - -void PythonQtWrapper_QTabWidget::clear(QTabWidget* theWrappedObject) -{ - ( theWrappedObject->clear()); -} - -QString PythonQtWrapper_QTabWidget::tabText(QTabWidget* theWrappedObject, int index) const -{ - return ( theWrappedObject->tabText(index)); -} - -QTabWidget::TabPosition PythonQtWrapper_QTabWidget::tabPosition(QTabWidget* theWrappedObject) const -{ - return ( theWrappedObject->tabPosition()); -} - -bool PythonQtWrapper_QTabWidget::event(QTabWidget* theWrappedObject, QEvent* arg__1) -{ - return ( ((PythonQtPublicPromoter_QTabWidget*)theWrappedObject)->promoted_event(arg__1)); -} - -QString PythonQtWrapper_QTabWidget::tabToolTip(QTabWidget* theWrappedObject, int index) const -{ - return ( theWrappedObject->tabToolTip(index)); -} - -bool PythonQtWrapper_QTabWidget::isTabEnabled(QTabWidget* theWrappedObject, int index) const -{ - return ( theWrappedObject->isTabEnabled(index)); -} - -void PythonQtWrapper_QTabWidget::setTabIcon(QTabWidget* theWrappedObject, int index, const QIcon& icon) -{ - ( theWrappedObject->setTabIcon(index, icon)); -} - -void PythonQtWrapper_QTabWidget::removeTab(QTabWidget* theWrappedObject, int index) -{ - ( theWrappedObject->removeTab(index)); -} - -void PythonQtWrapper_QTabWidget::setIconSize(QTabWidget* theWrappedObject, const QSize& size) -{ - ( theWrappedObject->setIconSize(size)); -} - -QWidget* PythonQtWrapper_QTabWidget::widget(QTabWidget* theWrappedObject, int index) const -{ - return ( theWrappedObject->widget(index)); -} - -void PythonQtWrapper_QTabWidget::setCornerWidget(QTabWidget* theWrappedObject, QWidget* w, Qt::Corner corner) -{ - ( theWrappedObject->setCornerWidget(w, corner)); -} - -void PythonQtWrapper_QTabWidget::setUsesScrollButtons(QTabWidget* theWrappedObject, bool useButtons) -{ - ( theWrappedObject->setUsesScrollButtons(useButtons)); -} - -int PythonQtWrapper_QTabWidget::insertTab(QTabWidget* theWrappedObject, int index, QWidget* widget, const QIcon& icon, const QString& label) -{ - return ( theWrappedObject->insertTab(index, widget, icon, label)); -} - -QString PythonQtWrapper_QTabWidget::tabWhatsThis(QTabWidget* theWrappedObject, int index) const -{ - return ( theWrappedObject->tabWhatsThis(index)); -} - -int PythonQtWrapper_QTabWidget::addTab(QTabWidget* theWrappedObject, QWidget* widget, const QIcon& icon, const QString& label) -{ - return ( theWrappedObject->addTab(widget, icon, label)); -} - -void PythonQtWrapper_QTabWidget::setTabShape(QTabWidget* theWrappedObject, QTabWidget::TabShape s) -{ - ( theWrappedObject->setTabShape(s)); -} - -void PythonQtWrapper_QTabWidget::setElideMode(QTabWidget* theWrappedObject, Qt::TextElideMode arg__1) -{ - ( theWrappedObject->setElideMode(arg__1)); -} - -QTabWidget::TabShape PythonQtWrapper_QTabWidget::tabShape(QTabWidget* theWrappedObject) const -{ - return ( theWrappedObject->tabShape()); -} - -void PythonQtWrapper_QTabWidget::setTabWhatsThis(QTabWidget* theWrappedObject, int index, const QString& text) -{ - ( theWrappedObject->setTabWhatsThis(index, text)); -} - -QWidget* PythonQtWrapper_QTabWidget::cornerWidget(QTabWidget* theWrappedObject, Qt::Corner corner) const -{ - return ( theWrappedObject->cornerWidget(corner)); -} - -Qt::TextElideMode PythonQtWrapper_QTabWidget::elideMode(QTabWidget* theWrappedObject) const -{ - return ( theWrappedObject->elideMode()); -} - -void PythonQtWrapper_QTabWidget::setTabText(QTabWidget* theWrappedObject, int index, const QString& arg__2) -{ - ( theWrappedObject->setTabText(index, arg__2)); -} - -QSize PythonQtWrapper_QTabWidget::sizeHint(QTabWidget* theWrappedObject) const -{ - return ( theWrappedObject->sizeHint()); -} - -int PythonQtWrapper_QTabWidget::indexOf(QTabWidget* theWrappedObject, QWidget* widget) const -{ - return ( theWrappedObject->indexOf(widget)); -} - -void PythonQtWrapper_QTabWidget::setTabToolTip(QTabWidget* theWrappedObject, int index, const QString& tip) -{ - ( theWrappedObject->setTabToolTip(index, tip)); -} - -void PythonQtWrapper_QTabWidget::setTabEnabled(QTabWidget* theWrappedObject, int index, bool arg__2) -{ - ( theWrappedObject->setTabEnabled(index, arg__2)); -} - -QWidget* PythonQtWrapper_QTabWidget::currentWidget(QTabWidget* theWrappedObject) const -{ - return ( theWrappedObject->currentWidget()); -} - -QSize PythonQtWrapper_QTabWidget::iconSize(QTabWidget* theWrappedObject) const -{ - return ( theWrappedObject->iconSize()); -} - -void PythonQtWrapper_QTabWidget::paintEvent(QTabWidget* theWrappedObject, QPaintEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QTabWidget*)theWrappedObject)->promoted_paintEvent(arg__1)); -} - -void PythonQtWrapper_QTabWidget::resizeEvent(QTabWidget* theWrappedObject, QResizeEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QTabWidget*)theWrappedObject)->promoted_resizeEvent(arg__1)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTabWidget.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTabWidget.h deleted file mode 100644 index db84da8..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTabWidget.h +++ /dev/null @@ -1,151 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QTABWIDGET_H -#define PYTHONQTWRAPPER_QTABWIDGET_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QTabWidget : public QTabWidget -{ -public: - PythonQtShell_QTabWidget(QWidget* parent = 0):QTabWidget(parent),_wrapper(NULL) {}; - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* arg__1); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void showEvent(QShowEvent* arg__1); -virtual void tabInserted(int index); -virtual void tabRemoved(int index); -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QTabWidget : public QTabWidget -{ public: -inline void promoted_tabInserted(int index) { QTabWidget::tabInserted(index); } -inline void promoted_tabRemoved(int index) { QTabWidget::tabRemoved(index); } -inline void promoted_showEvent(QShowEvent* arg__1) { QTabWidget::showEvent(arg__1); } -inline void promoted_changeEvent(QEvent* arg__1) { QTabWidget::changeEvent(arg__1); } -inline void promoted_keyPressEvent(QKeyEvent* arg__1) { QTabWidget::keyPressEvent(arg__1); } -inline bool promoted_event(QEvent* arg__1) { return QTabWidget::event(arg__1); } -inline void promoted_paintEvent(QPaintEvent* arg__1) { QTabWidget::paintEvent(arg__1); } -inline void promoted_resizeEvent(QResizeEvent* arg__1) { QTabWidget::resizeEvent(arg__1); } -}; - -class PythonQtWrapper_QTabWidget : public QObject -{ Q_OBJECT -public: -public slots: -QTabWidget* new_QTabWidget(QWidget* parent = 0); -void delete_QTabWidget(QTabWidget* obj) { delete obj; } - int addTab(QTabWidget* theWrappedObject, QWidget* widget, const QString& arg__2); - void tabInserted(QTabWidget* theWrappedObject, int index); - QSize minimumSizeHint(QTabWidget* theWrappedObject) const; - int insertTab(QTabWidget* theWrappedObject, int index, QWidget* widget, const QString& arg__3); - void tabRemoved(QTabWidget* theWrappedObject, int index); - void showEvent(QTabWidget* theWrappedObject, QShowEvent* arg__1); - void changeEvent(QTabWidget* theWrappedObject, QEvent* arg__1); - bool usesScrollButtons(QTabWidget* theWrappedObject) const; - void keyPressEvent(QTabWidget* theWrappedObject, QKeyEvent* arg__1); - int currentIndex(QTabWidget* theWrappedObject) const; - QIcon tabIcon(QTabWidget* theWrappedObject, int index) const; - void setTabPosition(QTabWidget* theWrappedObject, QTabWidget::TabPosition arg__1); - int count(QTabWidget* theWrappedObject) const; - void clear(QTabWidget* theWrappedObject); - QString tabText(QTabWidget* theWrappedObject, int index) const; - QTabWidget::TabPosition tabPosition(QTabWidget* theWrappedObject) const; - bool event(QTabWidget* theWrappedObject, QEvent* arg__1); - QString tabToolTip(QTabWidget* theWrappedObject, int index) const; - bool isTabEnabled(QTabWidget* theWrappedObject, int index) const; - void setTabIcon(QTabWidget* theWrappedObject, int index, const QIcon& icon); - void removeTab(QTabWidget* theWrappedObject, int index); - void setIconSize(QTabWidget* theWrappedObject, const QSize& size); - QWidget* widget(QTabWidget* theWrappedObject, int index) const; - void setCornerWidget(QTabWidget* theWrappedObject, QWidget* w, Qt::Corner corner = Qt::TopRightCorner); - void setUsesScrollButtons(QTabWidget* theWrappedObject, bool useButtons); - int insertTab(QTabWidget* theWrappedObject, int index, QWidget* widget, const QIcon& icon, const QString& label); - QString tabWhatsThis(QTabWidget* theWrappedObject, int index) const; - int addTab(QTabWidget* theWrappedObject, QWidget* widget, const QIcon& icon, const QString& label); - void setTabShape(QTabWidget* theWrappedObject, QTabWidget::TabShape s); - void setElideMode(QTabWidget* theWrappedObject, Qt::TextElideMode arg__1); - QTabWidget::TabShape tabShape(QTabWidget* theWrappedObject) const; - void setTabWhatsThis(QTabWidget* theWrappedObject, int index, const QString& text); - QWidget* cornerWidget(QTabWidget* theWrappedObject, Qt::Corner corner = Qt::TopRightCorner) const; - Qt::TextElideMode elideMode(QTabWidget* theWrappedObject) const; - void setTabText(QTabWidget* theWrappedObject, int index, const QString& arg__2); - QSize sizeHint(QTabWidget* theWrappedObject) const; - int indexOf(QTabWidget* theWrappedObject, QWidget* widget) const; - void setTabToolTip(QTabWidget* theWrappedObject, int index, const QString& tip); - void setTabEnabled(QTabWidget* theWrappedObject, int index, bool arg__2); - QWidget* currentWidget(QTabWidget* theWrappedObject) const; - QSize iconSize(QTabWidget* theWrappedObject) const; - void paintEvent(QTabWidget* theWrappedObject, QPaintEvent* arg__1); - void resizeEvent(QTabWidget* theWrappedObject, QResizeEvent* arg__1); -}; - -#endif // PYTHONQTWRAPPER_QTABWIDGET_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTableView.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTableView.cpp deleted file mode 100644 index f791d4f..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTableView.cpp +++ /dev/null @@ -1,1848 +0,0 @@ -#include "PythonQtWrapper_QTableView.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QTableView::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QTableView::actionEvent(arg__1); -} -void PythonQtShell_QTableView::changeEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableView::changeEvent(arg__1); -} -void PythonQtShell_QTableView::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; - } -} - QTableView::childEvent(arg__1); -} -void PythonQtShell_QTableView::closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEditor"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&editor, (void*)&hint}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableView::closeEditor(editor, hint); -} -void PythonQtShell_QTableView::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QTableView::closeEvent(arg__1); -} -void PythonQtShell_QTableView::commitData(QWidget* editor) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "commitData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableView::commitData(editor); -} -void PythonQtShell_QTableView::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableView::contextMenuEvent(arg__1); -} -void PythonQtShell_QTableView::currentChanged(const QModelIndex& current, const QModelIndex& previous) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "currentChanged"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)¤t, (void*)&previous}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableView::currentChanged(current, previous); -} -void PythonQtShell_QTableView::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; - } -} - QTableView::customEvent(arg__1); -} -void PythonQtShell_QTableView::dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dataChanged"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&topLeft, (void*)&bottomRight}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableView::dataChanged(topLeft, bottomRight); -} -int PythonQtShell_QTableView::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTableView::devType(); -} -void PythonQtShell_QTableView::doItemsLayout() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "doItemsLayout"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableView::doItemsLayout(); -} -void PythonQtShell_QTableView::dragEnterEvent(QDragEnterEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QTableView::dragEnterEvent(event); -} -void PythonQtShell_QTableView::dragLeaveEvent(QDragLeaveEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QTableView::dragLeaveEvent(event); -} -void PythonQtShell_QTableView::dragMoveEvent(QDragMoveEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QTableView::dragMoveEvent(event); -} -void PythonQtShell_QTableView::dropEvent(QDropEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QTableView::dropEvent(event); -} -bool PythonQtShell_QTableView::edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "edit"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&index, (void*)&trigger, (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("edit", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTableView::edit(index, trigger, event); -} -void PythonQtShell_QTableView::editorDestroyed(QObject* editor) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "editorDestroyed"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QObject*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableView::editorDestroyed(editor); -} -void PythonQtShell_QTableView::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QTableView::enterEvent(arg__1); -} -bool PythonQtShell_QTableView::event(QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTableView::event(event); -} -bool PythonQtShell_QTableView::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTableView::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QTableView::focusInEvent(QFocusEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QTableView::focusInEvent(event); -} -bool PythonQtShell_QTableView::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTableView::focusNextPrevChild(next); -} -void PythonQtShell_QTableView::focusOutEvent(QFocusEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QTableView::focusOutEvent(event); -} -int PythonQtShell_QTableView::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTableView::heightForWidth(arg__1); -} -void PythonQtShell_QTableView::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QTableView::hideEvent(arg__1); -} -int PythonQtShell_QTableView::horizontalOffset() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "horizontalOffset"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTableView::horizontalOffset(); -} -void PythonQtShell_QTableView::horizontalScrollbarAction(int action) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "horizontalScrollbarAction"); - 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*)&action}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableView::horizontalScrollbarAction(action); -} -void PythonQtShell_QTableView::horizontalScrollbarValueChanged(int value) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "horizontalScrollbarValueChanged"); - 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*)&value}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableView::horizontalScrollbarValueChanged(value); -} -QModelIndex PythonQtShell_QTableView::indexAt(const QPoint& p) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "indexAt"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&p}; - 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("indexAt", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTableView::indexAt(p); -} -void PythonQtShell_QTableView::inputMethodEvent(QInputMethodEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QTableView::inputMethodEvent(event); -} -QVariant PythonQtShell_QTableView::inputMethodQuery(Qt::InputMethodQuery query) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&query}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTableView::inputMethodQuery(query); -} -bool PythonQtShell_QTableView::isIndexHidden(const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isIndexHidden"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool 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) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTableView::isIndexHidden(index); -} -void PythonQtShell_QTableView::keyPressEvent(QKeyEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableView::keyPressEvent(event); -} -void PythonQtShell_QTableView::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableView::keyReleaseEvent(arg__1); -} -void PythonQtShell_QTableView::keyboardSearch(const QString& search) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyboardSearch"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&search}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableView::keyboardSearch(search); -} -void PythonQtShell_QTableView::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableView::languageChange(); -} -void PythonQtShell_QTableView::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QTableView::leaveEvent(arg__1); -} -int PythonQtShell_QTableView::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTableView::metric(arg__1); -} -void PythonQtShell_QTableView::mouseDoubleClickEvent(QMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QTableView::mouseDoubleClickEvent(event); -} -void PythonQtShell_QTableView::mouseMoveEvent(QMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QTableView::mouseMoveEvent(event); -} -void PythonQtShell_QTableView::mousePressEvent(QMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QTableView::mousePressEvent(event); -} -void PythonQtShell_QTableView::mouseReleaseEvent(QMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QTableView::mouseReleaseEvent(event); -} -void PythonQtShell_QTableView::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableView::moveEvent(arg__1); -} -QPaintEngine* PythonQtShell_QTableView::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTableView::paintEngine(); -} -void PythonQtShell_QTableView::paintEvent(QPaintEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableView::paintEvent(e); -} -void PythonQtShell_QTableView::reset() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reset"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableView::reset(); -} -void PythonQtShell_QTableView::resizeEvent(QResizeEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - 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; - } -} - QTableView::resizeEvent(event); -} -void PythonQtShell_QTableView::rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowsAboutToBeRemoved"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent, (void*)&start, (void*)&end}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableView::rowsAboutToBeRemoved(parent, start, end); -} -void PythonQtShell_QTableView::rowsInserted(const QModelIndex& parent, int start, int end) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowsInserted"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent, (void*)&start, (void*)&end}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableView::rowsInserted(parent, start, end); -} -void PythonQtShell_QTableView::scrollContentsBy(int dx, int dy) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "scrollContentsBy"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&dx, (void*)&dy}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableView::scrollContentsBy(dx, dy); -} -void PythonQtShell_QTableView::scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "scrollTo"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&index, (void*)&hint}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableView::scrollTo(index, hint); -} -void PythonQtShell_QTableView::selectAll() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectAll"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableView::selectAll(); -} -QList PythonQtShell_QTableView::selectedIndexes() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectedIndexes"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QList returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); - } else { - returnValue = *((QList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTableView::selectedIndexes(); -} -void PythonQtShell_QTableView::selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectionChanged"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&selected, (void*)&deselected}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableView::selectionChanged(selected, deselected); -} -QItemSelectionModel::SelectionFlags PythonQtShell_QTableView::selectionCommand(const QModelIndex& index, const QEvent* event) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectionCommand"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QItemSelectionModel::SelectionFlags" , "const QModelIndex&" , "const QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QItemSelectionModel::SelectionFlags returnValue; - void* args[3] = {NULL, (void*)&index, (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("selectionCommand", methodInfo, result); - } else { - returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTableView::selectionCommand(index, event); -} -void PythonQtShell_QTableView::setModel(QAbstractItemModel* model) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setModel"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QAbstractItemModel*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&model}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableView::setModel(model); -} -void PythonQtShell_QTableView::setRootIndex(const QModelIndex& index) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setRootIndex"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableView::setRootIndex(index); -} -void PythonQtShell_QTableView::setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setSelection"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&rect, (void*)&command}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableView::setSelection(rect, command); -} -void PythonQtShell_QTableView::setSelectionModel(QItemSelectionModel* selectionModel) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setSelectionModel"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QItemSelectionModel*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&selectionModel}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableView::setSelectionModel(selectionModel); -} -void PythonQtShell_QTableView::showEvent(QShowEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QTableView::showEvent(arg__1); -} -int PythonQtShell_QTableView::sizeHintForColumn(int column) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeHintForColumn"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&column}; - 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("sizeHintForColumn", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTableView::sizeHintForColumn(column); -} -int PythonQtShell_QTableView::sizeHintForRow(int row) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeHintForRow"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&row}; - 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("sizeHintForRow", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTableView::sizeHintForRow(row); -} -void PythonQtShell_QTableView::startDrag(Qt::DropActions supportedActions) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "startDrag"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "Qt::DropActions"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&supportedActions}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableView::startDrag(supportedActions); -} -void PythonQtShell_QTableView::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QTableView::tabletEvent(arg__1); -} -void PythonQtShell_QTableView::timerEvent(QTimerEvent* event) -{ -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*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableView::timerEvent(event); -} -void PythonQtShell_QTableView::updateEditorData() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateEditorData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableView::updateEditorData(); -} -void PythonQtShell_QTableView::updateEditorGeometries() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateEditorGeometries"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableView::updateEditorGeometries(); -} -void PythonQtShell_QTableView::updateGeometries() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateGeometries"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableView::updateGeometries(); -} -int PythonQtShell_QTableView::verticalOffset() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "verticalOffset"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTableView::verticalOffset(); -} -void PythonQtShell_QTableView::verticalScrollbarAction(int action) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "verticalScrollbarAction"); - 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*)&action}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableView::verticalScrollbarAction(action); -} -void PythonQtShell_QTableView::verticalScrollbarValueChanged(int value) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "verticalScrollbarValueChanged"); - 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*)&value}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableView::verticalScrollbarValueChanged(value); -} -QStyleOptionViewItem PythonQtShell_QTableView::viewOptions() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "viewOptions"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QStyleOptionViewItem"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStyleOptionViewItem returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); - } else { - returnValue = *((QStyleOptionViewItem*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTableView::viewOptions(); -} -bool PythonQtShell_QTableView::viewportEvent(QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "viewportEvent"); - 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("viewportEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTableView::viewportEvent(event); -} -QRect PythonQtShell_QTableView::visualRect(const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "visualRect"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRect 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) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTableView::visualRect(index); -} -QRegion PythonQtShell_QTableView::visualRegionForSelection(const QItemSelection& selection) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "visualRegionForSelection"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRegion returnValue; - void* args[2] = {NULL, (void*)&selection}; - 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("visualRegionForSelection", methodInfo, result); - } else { - returnValue = *((QRegion*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTableView::visualRegionForSelection(selection); -} -void PythonQtShell_QTableView::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableView::wheelEvent(arg__1); -} -QTableView* PythonQtWrapper_QTableView::new_QTableView(QWidget* parent) -{ -return new PythonQtShell_QTableView(parent); } - -QRect PythonQtWrapper_QTableView::visualRect(QTableView* theWrappedObject, const QModelIndex& index) const -{ - return ( ((PythonQtPublicPromoter_QTableView*)theWrappedObject)->promoted_visualRect(index)); -} - -void PythonQtWrapper_QTableView::verticalScrollbarAction(QTableView* theWrappedObject, int action) -{ - ( ((PythonQtPublicPromoter_QTableView*)theWrappedObject)->promoted_verticalScrollbarAction(action)); -} - -void PythonQtWrapper_QTableView::setVerticalHeader(QTableView* theWrappedObject, QHeaderView* header) -{ - ( theWrappedObject->setVerticalHeader(header)); -} - -QHeaderView* PythonQtWrapper_QTableView::verticalHeader(QTableView* theWrappedObject) const -{ - return ( theWrappedObject->verticalHeader()); -} - -void PythonQtWrapper_QTableView::setSpan(QTableView* theWrappedObject, int row, int column, int rowSpan, int columnSpan) -{ - ( theWrappedObject->setSpan(row, column, rowSpan, columnSpan)); -} - -void PythonQtWrapper_QTableView::paintEvent(QTableView* theWrappedObject, QPaintEvent* e) -{ - ( ((PythonQtPublicPromoter_QTableView*)theWrappedObject)->promoted_paintEvent(e)); -} - -int PythonQtWrapper_QTableView::verticalOffset(QTableView* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QTableView*)theWrappedObject)->promoted_verticalOffset()); -} - -void PythonQtWrapper_QTableView::setModel(QTableView* theWrappedObject, QAbstractItemModel* model) -{ - ( ((PythonQtPublicPromoter_QTableView*)theWrappedObject)->promoted_setModel(model)); -} - -bool PythonQtWrapper_QTableView::showGrid(QTableView* theWrappedObject) const -{ - return ( theWrappedObject->showGrid()); -} - -void PythonQtWrapper_QTableView::setColumnWidth(QTableView* theWrappedObject, int column, int width) -{ - ( theWrappedObject->setColumnWidth(column, width)); -} - -int PythonQtWrapper_QTableView::columnViewportPosition(QTableView* theWrappedObject, int column) const -{ - return ( theWrappedObject->columnViewportPosition(column)); -} - -void PythonQtWrapper_QTableView::setSortingEnabled(QTableView* theWrappedObject, bool enable) -{ - ( theWrappedObject->setSortingEnabled(enable)); -} - -bool PythonQtWrapper_QTableView::isRowHidden(QTableView* theWrappedObject, int row) const -{ - return ( theWrappedObject->isRowHidden(row)); -} - -void PythonQtWrapper_QTableView::setRowHidden(QTableView* theWrappedObject, int row, bool hide) -{ - ( theWrappedObject->setRowHidden(row, hide)); -} - -int PythonQtWrapper_QTableView::columnSpan(QTableView* theWrappedObject, int row, int column) const -{ - return ( theWrappedObject->columnSpan(row, column)); -} - -int PythonQtWrapper_QTableView::horizontalOffset(QTableView* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QTableView*)theWrappedObject)->promoted_horizontalOffset()); -} - -void PythonQtWrapper_QTableView::selectionChanged(QTableView* theWrappedObject, const QItemSelection& selected, const QItemSelection& deselected) -{ - ( ((PythonQtPublicPromoter_QTableView*)theWrappedObject)->promoted_selectionChanged(selected, deselected)); -} - -QHeaderView* PythonQtWrapper_QTableView::horizontalHeader(QTableView* theWrappedObject) const -{ - return ( theWrappedObject->horizontalHeader()); -} - -QModelIndex PythonQtWrapper_QTableView::indexAt(QTableView* theWrappedObject, const QPoint& p) const -{ - return ( ((PythonQtPublicPromoter_QTableView*)theWrappedObject)->promoted_indexAt(p)); -} - -int PythonQtWrapper_QTableView::columnAt(QTableView* theWrappedObject, int x) const -{ - return ( theWrappedObject->columnAt(x)); -} - -Qt::PenStyle PythonQtWrapper_QTableView::gridStyle(QTableView* theWrappedObject) const -{ - return ( theWrappedObject->gridStyle()); -} - -void PythonQtWrapper_QTableView::timerEvent(QTableView* theWrappedObject, QTimerEvent* event) -{ - ( ((PythonQtPublicPromoter_QTableView*)theWrappedObject)->promoted_timerEvent(event)); -} - -void PythonQtWrapper_QTableView::setColumnHidden(QTableView* theWrappedObject, int column, bool hide) -{ - ( theWrappedObject->setColumnHidden(column, hide)); -} - -void PythonQtWrapper_QTableView::horizontalScrollbarAction(QTableView* theWrappedObject, int action) -{ - ( ((PythonQtPublicPromoter_QTableView*)theWrappedObject)->promoted_horizontalScrollbarAction(action)); -} - -QRegion PythonQtWrapper_QTableView::visualRegionForSelection(QTableView* theWrappedObject, const QItemSelection& selection) const -{ - return ( ((PythonQtPublicPromoter_QTableView*)theWrappedObject)->promoted_visualRegionForSelection(selection)); -} - -int PythonQtWrapper_QTableView::rowSpan(QTableView* theWrappedObject, int row, int column) const -{ - return ( theWrappedObject->rowSpan(row, column)); -} - -QStyleOptionViewItem PythonQtWrapper_QTableView::viewOptions(QTableView* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QTableView*)theWrappedObject)->promoted_viewOptions()); -} - -int PythonQtWrapper_QTableView::sizeHintForColumn(QTableView* theWrappedObject, int column) const -{ - return ( ((PythonQtPublicPromoter_QTableView*)theWrappedObject)->promoted_sizeHintForColumn(column)); -} - -QList PythonQtWrapper_QTableView::selectedIndexes(QTableView* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QTableView*)theWrappedObject)->promoted_selectedIndexes()); -} - -void PythonQtWrapper_QTableView::clearSpans(QTableView* theWrappedObject) -{ - ( theWrappedObject->clearSpans()); -} - -void PythonQtWrapper_QTableView::scrollContentsBy(QTableView* theWrappedObject, int dx, int dy) -{ - ( ((PythonQtPublicPromoter_QTableView*)theWrappedObject)->promoted_scrollContentsBy(dx, dy)); -} - -int PythonQtWrapper_QTableView::rowAt(QTableView* theWrappedObject, int y) const -{ - return ( theWrappedObject->rowAt(y)); -} - -void PythonQtWrapper_QTableView::setSelectionModel(QTableView* theWrappedObject, QItemSelectionModel* selectionModel) -{ - ( ((PythonQtPublicPromoter_QTableView*)theWrappedObject)->promoted_setSelectionModel(selectionModel)); -} - -bool PythonQtWrapper_QTableView::wordWrap(QTableView* theWrappedObject) const -{ - return ( theWrappedObject->wordWrap()); -} - -void PythonQtWrapper_QTableView::setSelection(QTableView* theWrappedObject, const QRect& rect, QItemSelectionModel::SelectionFlags command) -{ - ( ((PythonQtPublicPromoter_QTableView*)theWrappedObject)->promoted_setSelection(rect, command)); -} - -void PythonQtWrapper_QTableView::setGridStyle(QTableView* theWrappedObject, Qt::PenStyle style) -{ - ( theWrappedObject->setGridStyle(style)); -} - -bool PythonQtWrapper_QTableView::isIndexHidden(QTableView* theWrappedObject, const QModelIndex& index) const -{ - return ( ((PythonQtPublicPromoter_QTableView*)theWrappedObject)->promoted_isIndexHidden(index)); -} - -int PythonQtWrapper_QTableView::rowViewportPosition(QTableView* theWrappedObject, int row) const -{ - return ( theWrappedObject->rowViewportPosition(row)); -} - -void PythonQtWrapper_QTableView::scrollTo(QTableView* theWrappedObject, const QModelIndex& index, QAbstractItemView::ScrollHint hint) -{ - ( ((PythonQtPublicPromoter_QTableView*)theWrappedObject)->promoted_scrollTo(index, hint)); -} - -void PythonQtWrapper_QTableView::setRootIndex(QTableView* theWrappedObject, const QModelIndex& index) -{ - ( ((PythonQtPublicPromoter_QTableView*)theWrappedObject)->promoted_setRootIndex(index)); -} - -bool PythonQtWrapper_QTableView::isSortingEnabled(QTableView* theWrappedObject) const -{ - return ( theWrappedObject->isSortingEnabled()); -} - -bool PythonQtWrapper_QTableView::isColumnHidden(QTableView* theWrappedObject, int column) const -{ - return ( theWrappedObject->isColumnHidden(column)); -} - -void PythonQtWrapper_QTableView::sortByColumn(QTableView* theWrappedObject, int column, Qt::SortOrder order) -{ - ( theWrappedObject->sortByColumn(column, order)); -} - -bool PythonQtWrapper_QTableView::isCornerButtonEnabled(QTableView* theWrappedObject) const -{ - return ( theWrappedObject->isCornerButtonEnabled()); -} - -void PythonQtWrapper_QTableView::setWordWrap(QTableView* theWrappedObject, bool on) -{ - ( theWrappedObject->setWordWrap(on)); -} - -void PythonQtWrapper_QTableView::setHorizontalHeader(QTableView* theWrappedObject, QHeaderView* header) -{ - ( theWrappedObject->setHorizontalHeader(header)); -} - -void PythonQtWrapper_QTableView::updateGeometries(QTableView* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QTableView*)theWrappedObject)->promoted_updateGeometries()); -} - -void PythonQtWrapper_QTableView::currentChanged(QTableView* theWrappedObject, const QModelIndex& current, const QModelIndex& previous) -{ - ( ((PythonQtPublicPromoter_QTableView*)theWrappedObject)->promoted_currentChanged(current, previous)); -} - -int PythonQtWrapper_QTableView::columnWidth(QTableView* theWrappedObject, int column) const -{ - return ( theWrappedObject->columnWidth(column)); -} - -void PythonQtWrapper_QTableView::setRowHeight(QTableView* theWrappedObject, int row, int height) -{ - ( theWrappedObject->setRowHeight(row, height)); -} - -void PythonQtWrapper_QTableView::setCornerButtonEnabled(QTableView* theWrappedObject, bool enable) -{ - ( theWrappedObject->setCornerButtonEnabled(enable)); -} - -int PythonQtWrapper_QTableView::sizeHintForRow(QTableView* theWrappedObject, int row) const -{ - return ( ((PythonQtPublicPromoter_QTableView*)theWrappedObject)->promoted_sizeHintForRow(row)); -} - -int PythonQtWrapper_QTableView::rowHeight(QTableView* theWrappedObject, int row) const -{ - return ( theWrappedObject->rowHeight(row)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTableView.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTableView.h deleted file mode 100644 index effce66..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTableView.h +++ /dev/null @@ -1,217 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QTABLEVIEW_H -#define PYTHONQTWRAPPER_QTABLEVIEW_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QTableView : public QTableView -{ -public: - PythonQtShell_QTableView(QWidget* parent = 0):QTableView(parent),_wrapper(NULL) {}; - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void commitData(QWidget* editor); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void currentChanged(const QModelIndex& current, const QModelIndex& previous); -virtual void customEvent(QEvent* arg__1); -virtual void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight); -virtual int devType() const; -virtual void doItemsLayout(); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event); -virtual void editorDestroyed(QObject* editor); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual int horizontalOffset() const; -virtual void horizontalScrollbarAction(int action); -virtual void horizontalScrollbarValueChanged(int value); -virtual QModelIndex indexAt(const QPoint& p) const; -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual bool isIndexHidden(const QModelIndex& index) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void keyboardSearch(const QString& search); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* arg__1); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* e); -virtual void reset(); -virtual void resizeEvent(QResizeEvent* event); -virtual void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end); -virtual void rowsInserted(const QModelIndex& parent, int start, int end); -virtual void scrollContentsBy(int dx, int dy); -virtual void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible); -virtual void selectAll(); -virtual QList selectedIndexes() const; -virtual void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected); -virtual QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event) const; -virtual void setModel(QAbstractItemModel* model); -virtual void setRootIndex(const QModelIndex& index); -virtual void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command); -virtual void setSelectionModel(QItemSelectionModel* selectionModel); -virtual void showEvent(QShowEvent* arg__1); -virtual int sizeHintForColumn(int column) const; -virtual int sizeHintForRow(int row) const; -virtual void startDrag(Qt::DropActions supportedActions); -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* event); -virtual void updateEditorData(); -virtual void updateEditorGeometries(); -virtual void updateGeometries(); -virtual int verticalOffset() const; -virtual void verticalScrollbarAction(int action); -virtual void verticalScrollbarValueChanged(int value); -virtual QStyleOptionViewItem viewOptions() const; -virtual bool viewportEvent(QEvent* event); -virtual QRect visualRect(const QModelIndex& index) const; -virtual QRegion visualRegionForSelection(const QItemSelection& selection) const; -virtual void wheelEvent(QWheelEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QTableView : public QTableView -{ public: -inline QRect promoted_visualRect(const QModelIndex& index) const { return QTableView::visualRect(index); } -inline void promoted_verticalScrollbarAction(int action) { QTableView::verticalScrollbarAction(action); } -inline void promoted_paintEvent(QPaintEvent* e) { QTableView::paintEvent(e); } -inline int promoted_verticalOffset() const { return QTableView::verticalOffset(); } -inline void promoted_setModel(QAbstractItemModel* model) { QTableView::setModel(model); } -inline int promoted_horizontalOffset() const { return QTableView::horizontalOffset(); } -inline void promoted_selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) { QTableView::selectionChanged(selected, deselected); } -inline QModelIndex promoted_indexAt(const QPoint& p) const { return QTableView::indexAt(p); } -inline void promoted_timerEvent(QTimerEvent* event) { QTableView::timerEvent(event); } -inline void promoted_horizontalScrollbarAction(int action) { QTableView::horizontalScrollbarAction(action); } -inline QRegion promoted_visualRegionForSelection(const QItemSelection& selection) const { return QTableView::visualRegionForSelection(selection); } -inline QStyleOptionViewItem promoted_viewOptions() const { return QTableView::viewOptions(); } -inline int promoted_sizeHintForColumn(int column) const { return QTableView::sizeHintForColumn(column); } -inline QList promoted_selectedIndexes() const { return QTableView::selectedIndexes(); } -inline void promoted_scrollContentsBy(int dx, int dy) { QTableView::scrollContentsBy(dx, dy); } -inline void promoted_setSelectionModel(QItemSelectionModel* selectionModel) { QTableView::setSelectionModel(selectionModel); } -inline void promoted_setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) { QTableView::setSelection(rect, command); } -inline bool promoted_isIndexHidden(const QModelIndex& index) const { return QTableView::isIndexHidden(index); } -inline void promoted_scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible) { QTableView::scrollTo(index, hint); } -inline void promoted_setRootIndex(const QModelIndex& index) { QTableView::setRootIndex(index); } -inline void promoted_updateGeometries() { QTableView::updateGeometries(); } -inline void promoted_currentChanged(const QModelIndex& current, const QModelIndex& previous) { QTableView::currentChanged(current, previous); } -inline int promoted_sizeHintForRow(int row) const { return QTableView::sizeHintForRow(row); } -}; - -class PythonQtWrapper_QTableView : public QObject -{ Q_OBJECT -public: -public slots: -QTableView* new_QTableView(QWidget* parent = 0); -void delete_QTableView(QTableView* obj) { delete obj; } - QRect visualRect(QTableView* theWrappedObject, const QModelIndex& index) const; - void verticalScrollbarAction(QTableView* theWrappedObject, int action); - void setVerticalHeader(QTableView* theWrappedObject, QHeaderView* header); - QHeaderView* verticalHeader(QTableView* theWrappedObject) const; - void setSpan(QTableView* theWrappedObject, int row, int column, int rowSpan, int columnSpan); - void paintEvent(QTableView* theWrappedObject, QPaintEvent* e); - int verticalOffset(QTableView* theWrappedObject) const; - void setModel(QTableView* theWrappedObject, QAbstractItemModel* model); - bool showGrid(QTableView* theWrappedObject) const; - void setColumnWidth(QTableView* theWrappedObject, int column, int width); - int columnViewportPosition(QTableView* theWrappedObject, int column) const; - void setSortingEnabled(QTableView* theWrappedObject, bool enable); - bool isRowHidden(QTableView* theWrappedObject, int row) const; - void setRowHidden(QTableView* theWrappedObject, int row, bool hide); - int columnSpan(QTableView* theWrappedObject, int row, int column) const; - int horizontalOffset(QTableView* theWrappedObject) const; - void selectionChanged(QTableView* theWrappedObject, const QItemSelection& selected, const QItemSelection& deselected); - QHeaderView* horizontalHeader(QTableView* theWrappedObject) const; - QModelIndex indexAt(QTableView* theWrappedObject, const QPoint& p) const; - int columnAt(QTableView* theWrappedObject, int x) const; - Qt::PenStyle gridStyle(QTableView* theWrappedObject) const; - void timerEvent(QTableView* theWrappedObject, QTimerEvent* event); - void setColumnHidden(QTableView* theWrappedObject, int column, bool hide); - void horizontalScrollbarAction(QTableView* theWrappedObject, int action); - QRegion visualRegionForSelection(QTableView* theWrappedObject, const QItemSelection& selection) const; - int rowSpan(QTableView* theWrappedObject, int row, int column) const; - QStyleOptionViewItem viewOptions(QTableView* theWrappedObject) const; - int sizeHintForColumn(QTableView* theWrappedObject, int column) const; - QList selectedIndexes(QTableView* theWrappedObject) const; - void clearSpans(QTableView* theWrappedObject); - void scrollContentsBy(QTableView* theWrappedObject, int dx, int dy); - int rowAt(QTableView* theWrappedObject, int y) const; - void setSelectionModel(QTableView* theWrappedObject, QItemSelectionModel* selectionModel); - bool wordWrap(QTableView* theWrappedObject) const; - void setSelection(QTableView* theWrappedObject, const QRect& rect, QItemSelectionModel::SelectionFlags command); - void setGridStyle(QTableView* theWrappedObject, Qt::PenStyle style); - bool isIndexHidden(QTableView* theWrappedObject, const QModelIndex& index) const; - int rowViewportPosition(QTableView* theWrappedObject, int row) const; - void scrollTo(QTableView* theWrappedObject, const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible); - void setRootIndex(QTableView* theWrappedObject, const QModelIndex& index); - bool isSortingEnabled(QTableView* theWrappedObject) const; - bool isColumnHidden(QTableView* theWrappedObject, int column) const; - void sortByColumn(QTableView* theWrappedObject, int column, Qt::SortOrder order); - bool isCornerButtonEnabled(QTableView* theWrappedObject) const; - void setWordWrap(QTableView* theWrappedObject, bool on); - void setHorizontalHeader(QTableView* theWrappedObject, QHeaderView* header); - void updateGeometries(QTableView* theWrappedObject); - void currentChanged(QTableView* theWrappedObject, const QModelIndex& current, const QModelIndex& previous); - int columnWidth(QTableView* theWrappedObject, int column) const; - void setRowHeight(QTableView* theWrappedObject, int row, int height); - void setCornerButtonEnabled(QTableView* theWrappedObject, bool enable); - int sizeHintForRow(QTableView* theWrappedObject, int row) const; - int rowHeight(QTableView* theWrappedObject, int row) const; -}; - -#endif // PYTHONQTWRAPPER_QTABLEVIEW_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTableWidget.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTableWidget.cpp deleted file mode 100644 index 4649c93..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTableWidget.cpp +++ /dev/null @@ -1,1919 +0,0 @@ -#include "PythonQtWrapper_QTableWidget.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QTableWidget::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QTableWidget::actionEvent(arg__1); -} -void PythonQtShell_QTableWidget::changeEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableWidget::changeEvent(arg__1); -} -void PythonQtShell_QTableWidget::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; - } -} - QTableWidget::childEvent(arg__1); -} -void PythonQtShell_QTableWidget::closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEditor"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&editor, (void*)&hint}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableWidget::closeEditor(editor, hint); -} -void PythonQtShell_QTableWidget::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QTableWidget::closeEvent(arg__1); -} -void PythonQtShell_QTableWidget::commitData(QWidget* editor) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "commitData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableWidget::commitData(editor); -} -void PythonQtShell_QTableWidget::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableWidget::contextMenuEvent(arg__1); -} -void PythonQtShell_QTableWidget::currentChanged(const QModelIndex& current, const QModelIndex& previous) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "currentChanged"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)¤t, (void*)&previous}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableWidget::currentChanged(current, previous); -} -void PythonQtShell_QTableWidget::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; - } -} - QTableWidget::customEvent(arg__1); -} -void PythonQtShell_QTableWidget::dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dataChanged"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&topLeft, (void*)&bottomRight}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableWidget::dataChanged(topLeft, bottomRight); -} -int PythonQtShell_QTableWidget::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTableWidget::devType(); -} -void PythonQtShell_QTableWidget::doItemsLayout() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "doItemsLayout"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableWidget::doItemsLayout(); -} -void PythonQtShell_QTableWidget::dragEnterEvent(QDragEnterEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QTableWidget::dragEnterEvent(event); -} -void PythonQtShell_QTableWidget::dragLeaveEvent(QDragLeaveEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QTableWidget::dragLeaveEvent(event); -} -void PythonQtShell_QTableWidget::dragMoveEvent(QDragMoveEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QTableWidget::dragMoveEvent(event); -} -void PythonQtShell_QTableWidget::dropEvent(QDropEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QTableWidget::dropEvent(event); -} -bool PythonQtShell_QTableWidget::dropMimeData(int row, int column, const QMimeData* data, Qt::DropAction action) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropMimeData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int" , "int" , "const QMimeData*" , "Qt::DropAction"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - bool returnValue; - void* args[5] = {NULL, (void*)&row, (void*)&column, (void*)&data, (void*)&action}; - 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("dropMimeData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTableWidget::dropMimeData(row, column, data, action); -} -bool PythonQtShell_QTableWidget::edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "edit"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&index, (void*)&trigger, (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("edit", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTableWidget::edit(index, trigger, event); -} -void PythonQtShell_QTableWidget::editorDestroyed(QObject* editor) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "editorDestroyed"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QObject*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableWidget::editorDestroyed(editor); -} -void PythonQtShell_QTableWidget::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QTableWidget::enterEvent(arg__1); -} -bool PythonQtShell_QTableWidget::event(QEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTableWidget::event(e); -} -bool PythonQtShell_QTableWidget::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTableWidget::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QTableWidget::focusInEvent(QFocusEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QTableWidget::focusInEvent(event); -} -bool PythonQtShell_QTableWidget::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTableWidget::focusNextPrevChild(next); -} -void PythonQtShell_QTableWidget::focusOutEvent(QFocusEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QTableWidget::focusOutEvent(event); -} -int PythonQtShell_QTableWidget::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTableWidget::heightForWidth(arg__1); -} -void PythonQtShell_QTableWidget::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QTableWidget::hideEvent(arg__1); -} -int PythonQtShell_QTableWidget::horizontalOffset() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "horizontalOffset"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTableWidget::horizontalOffset(); -} -void PythonQtShell_QTableWidget::horizontalScrollbarAction(int action) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "horizontalScrollbarAction"); - 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*)&action}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableWidget::horizontalScrollbarAction(action); -} -void PythonQtShell_QTableWidget::horizontalScrollbarValueChanged(int value) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "horizontalScrollbarValueChanged"); - 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*)&value}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableWidget::horizontalScrollbarValueChanged(value); -} -QModelIndex PythonQtShell_QTableWidget::indexAt(const QPoint& p) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "indexAt"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&p}; - 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("indexAt", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTableWidget::indexAt(p); -} -void PythonQtShell_QTableWidget::inputMethodEvent(QInputMethodEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QTableWidget::inputMethodEvent(event); -} -QVariant PythonQtShell_QTableWidget::inputMethodQuery(Qt::InputMethodQuery query) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&query}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTableWidget::inputMethodQuery(query); -} -bool PythonQtShell_QTableWidget::isIndexHidden(const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isIndexHidden"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool 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) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTableWidget::isIndexHidden(index); -} -void PythonQtShell_QTableWidget::keyPressEvent(QKeyEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableWidget::keyPressEvent(event); -} -void PythonQtShell_QTableWidget::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableWidget::keyReleaseEvent(arg__1); -} -void PythonQtShell_QTableWidget::keyboardSearch(const QString& search) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyboardSearch"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&search}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableWidget::keyboardSearch(search); -} -void PythonQtShell_QTableWidget::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableWidget::languageChange(); -} -void PythonQtShell_QTableWidget::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QTableWidget::leaveEvent(arg__1); -} -int PythonQtShell_QTableWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTableWidget::metric(arg__1); -} -QMimeData* PythonQtShell_QTableWidget::mimeData(const QList items) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mimeData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QMimeData*" , "const QList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMimeData* returnValue; - void* args[2] = {NULL, (void*)&items}; - 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("mimeData", methodInfo, result); - } else { - returnValue = *((QMimeData**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTableWidget::mimeData(items); -} -QStringList PythonQtShell_QTableWidget::mimeTypes() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mimeTypes"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QStringList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStringList returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); - } else { - returnValue = *((QStringList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTableWidget::mimeTypes(); -} -void PythonQtShell_QTableWidget::mouseDoubleClickEvent(QMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QTableWidget::mouseDoubleClickEvent(event); -} -void PythonQtShell_QTableWidget::mouseMoveEvent(QMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QTableWidget::mouseMoveEvent(event); -} -void PythonQtShell_QTableWidget::mousePressEvent(QMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QTableWidget::mousePressEvent(event); -} -void PythonQtShell_QTableWidget::mouseReleaseEvent(QMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QTableWidget::mouseReleaseEvent(event); -} -void PythonQtShell_QTableWidget::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableWidget::moveEvent(arg__1); -} -QPaintEngine* PythonQtShell_QTableWidget::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTableWidget::paintEngine(); -} -void PythonQtShell_QTableWidget::paintEvent(QPaintEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableWidget::paintEvent(e); -} -void PythonQtShell_QTableWidget::reset() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reset"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableWidget::reset(); -} -void PythonQtShell_QTableWidget::resizeEvent(QResizeEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - 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; - } -} - QTableWidget::resizeEvent(event); -} -void PythonQtShell_QTableWidget::rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowsAboutToBeRemoved"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent, (void*)&start, (void*)&end}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableWidget::rowsAboutToBeRemoved(parent, start, end); -} -void PythonQtShell_QTableWidget::rowsInserted(const QModelIndex& parent, int start, int end) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowsInserted"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent, (void*)&start, (void*)&end}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableWidget::rowsInserted(parent, start, end); -} -void PythonQtShell_QTableWidget::scrollContentsBy(int dx, int dy) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "scrollContentsBy"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&dx, (void*)&dy}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableWidget::scrollContentsBy(dx, dy); -} -void PythonQtShell_QTableWidget::scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "scrollTo"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&index, (void*)&hint}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableWidget::scrollTo(index, hint); -} -void PythonQtShell_QTableWidget::selectAll() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectAll"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableWidget::selectAll(); -} -QList PythonQtShell_QTableWidget::selectedIndexes() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectedIndexes"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QList returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); - } else { - returnValue = *((QList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTableWidget::selectedIndexes(); -} -void PythonQtShell_QTableWidget::selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectionChanged"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&selected, (void*)&deselected}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableWidget::selectionChanged(selected, deselected); -} -QItemSelectionModel::SelectionFlags PythonQtShell_QTableWidget::selectionCommand(const QModelIndex& index, const QEvent* event) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectionCommand"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QItemSelectionModel::SelectionFlags" , "const QModelIndex&" , "const QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QItemSelectionModel::SelectionFlags returnValue; - void* args[3] = {NULL, (void*)&index, (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("selectionCommand", methodInfo, result); - } else { - returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTableWidget::selectionCommand(index, event); -} -void PythonQtShell_QTableWidget::setRootIndex(const QModelIndex& index) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setRootIndex"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableWidget::setRootIndex(index); -} -void PythonQtShell_QTableWidget::setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setSelection"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&rect, (void*)&command}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableWidget::setSelection(rect, command); -} -void PythonQtShell_QTableWidget::setSelectionModel(QItemSelectionModel* selectionModel) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setSelectionModel"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QItemSelectionModel*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&selectionModel}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableWidget::setSelectionModel(selectionModel); -} -void PythonQtShell_QTableWidget::showEvent(QShowEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QTableWidget::showEvent(arg__1); -} -int PythonQtShell_QTableWidget::sizeHintForColumn(int column) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeHintForColumn"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&column}; - 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("sizeHintForColumn", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTableWidget::sizeHintForColumn(column); -} -int PythonQtShell_QTableWidget::sizeHintForRow(int row) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeHintForRow"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&row}; - 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("sizeHintForRow", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTableWidget::sizeHintForRow(row); -} -void PythonQtShell_QTableWidget::startDrag(Qt::DropActions supportedActions) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "startDrag"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "Qt::DropActions"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&supportedActions}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableWidget::startDrag(supportedActions); -} -Qt::DropActions PythonQtShell_QTableWidget::supportedDropActions() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "supportedDropActions"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"Qt::DropActions"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); - } else { - returnValue = *((Qt::DropActions*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTableWidget::supportedDropActions(); -} -void PythonQtShell_QTableWidget::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QTableWidget::tabletEvent(arg__1); -} -void PythonQtShell_QTableWidget::timerEvent(QTimerEvent* event) -{ -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*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableWidget::timerEvent(event); -} -void PythonQtShell_QTableWidget::updateEditorData() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateEditorData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableWidget::updateEditorData(); -} -void PythonQtShell_QTableWidget::updateEditorGeometries() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateEditorGeometries"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableWidget::updateEditorGeometries(); -} -void PythonQtShell_QTableWidget::updateGeometries() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateGeometries"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableWidget::updateGeometries(); -} -int PythonQtShell_QTableWidget::verticalOffset() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "verticalOffset"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTableWidget::verticalOffset(); -} -void PythonQtShell_QTableWidget::verticalScrollbarAction(int action) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "verticalScrollbarAction"); - 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*)&action}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableWidget::verticalScrollbarAction(action); -} -void PythonQtShell_QTableWidget::verticalScrollbarValueChanged(int value) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "verticalScrollbarValueChanged"); - 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*)&value}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableWidget::verticalScrollbarValueChanged(value); -} -QStyleOptionViewItem PythonQtShell_QTableWidget::viewOptions() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "viewOptions"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QStyleOptionViewItem"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStyleOptionViewItem returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); - } else { - returnValue = *((QStyleOptionViewItem*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTableWidget::viewOptions(); -} -bool PythonQtShell_QTableWidget::viewportEvent(QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "viewportEvent"); - 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("viewportEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTableWidget::viewportEvent(event); -} -QRect PythonQtShell_QTableWidget::visualRect(const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "visualRect"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRect 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) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTableWidget::visualRect(index); -} -QRegion PythonQtShell_QTableWidget::visualRegionForSelection(const QItemSelection& selection) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "visualRegionForSelection"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRegion returnValue; - void* args[2] = {NULL, (void*)&selection}; - 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("visualRegionForSelection", methodInfo, result); - } else { - returnValue = *((QRegion*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTableWidget::visualRegionForSelection(selection); -} -void PythonQtShell_QTableWidget::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableWidget::wheelEvent(arg__1); -} -QTableWidget* PythonQtWrapper_QTableWidget::new_QTableWidget(QWidget* parent) -{ -return new PythonQtShell_QTableWidget(parent); } - -QTableWidget* PythonQtWrapper_QTableWidget::new_QTableWidget(int rows, int columns, QWidget* parent) -{ -return new PythonQtShell_QTableWidget(rows, columns, parent); } - -bool PythonQtWrapper_QTableWidget::event(QTableWidget* theWrappedObject, QEvent* e) -{ - return ( ((PythonQtPublicPromoter_QTableWidget*)theWrappedObject)->promoted_event(e)); -} - -QStringList PythonQtWrapper_QTableWidget::mimeTypes(QTableWidget* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QTableWidget*)theWrappedObject)->promoted_mimeTypes()); -} - -void PythonQtWrapper_QTableWidget::setColumnCount(QTableWidget* theWrappedObject, int columns) -{ - ( theWrappedObject->setColumnCount(columns)); -} - -Qt::DropActions PythonQtWrapper_QTableWidget::supportedDropActions(QTableWidget* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QTableWidget*)theWrappedObject)->promoted_supportedDropActions()); -} - -int PythonQtWrapper_QTableWidget::columnCount(QTableWidget* theWrappedObject) const -{ - return ( theWrappedObject->columnCount()); -} - -const QTableWidgetItem* PythonQtWrapper_QTableWidget::itemPrototype(QTableWidget* theWrappedObject) const -{ - return ( theWrappedObject->itemPrototype()); -} - -void PythonQtWrapper_QTableWidget::setCurrentCell(QTableWidget* theWrappedObject, int row, int column, QItemSelectionModel::SelectionFlags command) -{ - ( theWrappedObject->setCurrentCell(row, column, command)); -} - -QList PythonQtWrapper_QTableWidget::findItems(QTableWidget* theWrappedObject, const QString& text, Qt::MatchFlags flags) const -{ - return ( theWrappedObject->findItems(text, flags)); -} - -QRect PythonQtWrapper_QTableWidget::visualItemRect(QTableWidget* theWrappedObject, const QTableWidgetItem* item) const -{ - return ( theWrappedObject->visualItemRect(item)); -} - -QTableWidgetItem* PythonQtWrapper_QTableWidget::verticalHeaderItem(QTableWidget* theWrappedObject, int row) const -{ - return ( theWrappedObject->verticalHeaderItem(row)); -} - -QList PythonQtWrapper_QTableWidget::selectedItems(QTableWidget* theWrappedObject) -{ - return ( theWrappedObject->selectedItems()); -} - -void PythonQtWrapper_QTableWidget::setHorizontalHeaderItem(QTableWidget* theWrappedObject, int column, QTableWidgetItem* item) -{ - ( theWrappedObject->setHorizontalHeaderItem(column, item)); -} - -void PythonQtWrapper_QTableWidget::closePersistentEditor(QTableWidget* theWrappedObject, QTableWidgetItem* item) -{ - ( theWrappedObject->closePersistentEditor(item)); -} - -void PythonQtWrapper_QTableWidget::editItem(QTableWidget* theWrappedObject, QTableWidgetItem* item) -{ - ( theWrappedObject->editItem(item)); -} - -int PythonQtWrapper_QTableWidget::currentColumn(QTableWidget* theWrappedObject) const -{ - return ( theWrappedObject->currentColumn()); -} - -void PythonQtWrapper_QTableWidget::sortItems(QTableWidget* theWrappedObject, int column, Qt::SortOrder order) -{ - ( theWrappedObject->sortItems(column, order)); -} - -int PythonQtWrapper_QTableWidget::row(QTableWidget* theWrappedObject, const QTableWidgetItem* item) const -{ - return ( theWrappedObject->row(item)); -} - -void PythonQtWrapper_QTableWidget::setVerticalHeaderLabels(QTableWidget* theWrappedObject, const QStringList& labels) -{ - ( theWrappedObject->setVerticalHeaderLabels(labels)); -} - -void PythonQtWrapper_QTableWidget::setRangeSelected(QTableWidget* theWrappedObject, const QTableWidgetSelectionRange& range, bool select) -{ - ( theWrappedObject->setRangeSelected(range, select)); -} - -QTableWidgetItem* PythonQtWrapper_QTableWidget::takeHorizontalHeaderItem(QTableWidget* theWrappedObject, int column) -{ - return ( theWrappedObject->takeHorizontalHeaderItem(column)); -} - -void PythonQtWrapper_QTableWidget::openPersistentEditor(QTableWidget* theWrappedObject, QTableWidgetItem* item) -{ - ( theWrappedObject->openPersistentEditor(item)); -} - -int PythonQtWrapper_QTableWidget::rowCount(QTableWidget* theWrappedObject) const -{ - return ( theWrappedObject->rowCount()); -} - -QTableWidgetItem* PythonQtWrapper_QTableWidget::currentItem(QTableWidget* theWrappedObject) const -{ - return ( theWrappedObject->currentItem()); -} - -void PythonQtWrapper_QTableWidget::setCurrentItem(QTableWidget* theWrappedObject, QTableWidgetItem* item, QItemSelectionModel::SelectionFlags command) -{ - ( theWrappedObject->setCurrentItem(item, command)); -} - -void PythonQtWrapper_QTableWidget::setCurrentCell(QTableWidget* theWrappedObject, int row, int column) -{ - ( theWrappedObject->setCurrentCell(row, column)); -} - -QTableWidgetItem* PythonQtWrapper_QTableWidget::takeItem(QTableWidget* theWrappedObject, int row, int column) -{ - return ( theWrappedObject->takeItem(row, column)); -} - -int PythonQtWrapper_QTableWidget::visualRow(QTableWidget* theWrappedObject, int logicalRow) const -{ - return ( theWrappedObject->visualRow(logicalRow)); -} - -int PythonQtWrapper_QTableWidget::currentRow(QTableWidget* theWrappedObject) const -{ - return ( theWrappedObject->currentRow()); -} - -QTableWidgetItem* PythonQtWrapper_QTableWidget::itemAt(QTableWidget* theWrappedObject, const QPoint& p) const -{ - return ( theWrappedObject->itemAt(p)); -} - -void PythonQtWrapper_QTableWidget::setItemPrototype(QTableWidget* theWrappedObject, const QTableWidgetItem* item) -{ - ( theWrappedObject->setItemPrototype(item)); -} - -void PythonQtWrapper_QTableWidget::dropEvent(QTableWidget* theWrappedObject, QDropEvent* event) -{ - ( ((PythonQtPublicPromoter_QTableWidget*)theWrappedObject)->promoted_dropEvent(event)); -} - -QWidget* PythonQtWrapper_QTableWidget::cellWidget(QTableWidget* theWrappedObject, int row, int column) const -{ - return ( theWrappedObject->cellWidget(row, column)); -} - -QTableWidgetItem* PythonQtWrapper_QTableWidget::horizontalHeaderItem(QTableWidget* theWrappedObject, int column) const -{ - return ( theWrappedObject->horizontalHeaderItem(column)); -} - -void PythonQtWrapper_QTableWidget::setVerticalHeaderItem(QTableWidget* theWrappedObject, int row, QTableWidgetItem* item) -{ - ( theWrappedObject->setVerticalHeaderItem(row, item)); -} - -QTableWidgetItem* PythonQtWrapper_QTableWidget::itemAt(QTableWidget* theWrappedObject, int x, int y) const -{ - return ( theWrappedObject->itemAt(x, y)); -} - -void PythonQtWrapper_QTableWidget::removeCellWidget(QTableWidget* theWrappedObject, int row, int column) -{ - ( theWrappedObject->removeCellWidget(row, column)); -} - -int PythonQtWrapper_QTableWidget::visualColumn(QTableWidget* theWrappedObject, int logicalColumn) const -{ - return ( theWrappedObject->visualColumn(logicalColumn)); -} - -void PythonQtWrapper_QTableWidget::setCurrentItem(QTableWidget* theWrappedObject, QTableWidgetItem* item) -{ - ( theWrappedObject->setCurrentItem(item)); -} - -QTableWidgetItem* PythonQtWrapper_QTableWidget::item(QTableWidget* theWrappedObject, int row, int column) const -{ - return ( theWrappedObject->item(row, column)); -} - -void PythonQtWrapper_QTableWidget::setRowCount(QTableWidget* theWrappedObject, int rows) -{ - ( theWrappedObject->setRowCount(rows)); -} - -int PythonQtWrapper_QTableWidget::column(QTableWidget* theWrappedObject, const QTableWidgetItem* item) const -{ - return ( theWrappedObject->column(item)); -} - -QTableWidgetItem* PythonQtWrapper_QTableWidget::takeVerticalHeaderItem(QTableWidget* theWrappedObject, int row) -{ - return ( theWrappedObject->takeVerticalHeaderItem(row)); -} - -bool PythonQtWrapper_QTableWidget::dropMimeData(QTableWidget* theWrappedObject, int row, int column, const QMimeData* data, Qt::DropAction action) -{ - return ( ((PythonQtPublicPromoter_QTableWidget*)theWrappedObject)->promoted_dropMimeData(row, column, data, action)); -} - -void PythonQtWrapper_QTableWidget::setHorizontalHeaderLabels(QTableWidget* theWrappedObject, const QStringList& labels) -{ - ( theWrappedObject->setHorizontalHeaderLabels(labels)); -} - -void PythonQtWrapper_QTableWidget::setCellWidget(QTableWidget* theWrappedObject, int row, int column, QWidget* widget) -{ - ( theWrappedObject->setCellWidget(row, column, widget)); -} - -void PythonQtWrapper_QTableWidget::setItem(QTableWidget* theWrappedObject, int row, int column, QTableWidgetItem* item) -{ - ( theWrappedObject->setItem(row, column, item)); -} - -QList PythonQtWrapper_QTableWidget::selectedRanges(QTableWidget* theWrappedObject) const -{ - return ( theWrappedObject->selectedRanges()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTableWidget.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTableWidget.h deleted file mode 100644 index 125ddad..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTableWidget.h +++ /dev/null @@ -1,200 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QTABLEWIDGET_H -#define PYTHONQTWRAPPER_QTABLEWIDGET_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QTableWidget : public QTableWidget -{ -public: - PythonQtShell_QTableWidget(QWidget* parent = 0):QTableWidget(parent),_wrapper(NULL) {}; - PythonQtShell_QTableWidget(int rows, int columns, QWidget* parent = 0):QTableWidget(rows, columns, parent),_wrapper(NULL) {}; - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void commitData(QWidget* editor); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void currentChanged(const QModelIndex& current, const QModelIndex& previous); -virtual void customEvent(QEvent* arg__1); -virtual void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight); -virtual int devType() const; -virtual void doItemsLayout(); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual bool dropMimeData(int row, int column, const QMimeData* data, Qt::DropAction action); -virtual bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event); -virtual void editorDestroyed(QObject* editor); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual int horizontalOffset() const; -virtual void horizontalScrollbarAction(int action); -virtual void horizontalScrollbarValueChanged(int value); -virtual QModelIndex indexAt(const QPoint& p) const; -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual bool isIndexHidden(const QModelIndex& index) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void keyboardSearch(const QString& search); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QMimeData* mimeData(const QList items) const; -virtual QStringList mimeTypes() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* arg__1); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* e); -virtual void reset(); -virtual void resizeEvent(QResizeEvent* event); -virtual void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end); -virtual void rowsInserted(const QModelIndex& parent, int start, int end); -virtual void scrollContentsBy(int dx, int dy); -virtual void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint); -virtual void selectAll(); -virtual QList selectedIndexes() const; -virtual void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected); -virtual QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event) const; -virtual void setRootIndex(const QModelIndex& index); -virtual void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command); -virtual void setSelectionModel(QItemSelectionModel* selectionModel); -virtual void showEvent(QShowEvent* arg__1); -virtual int sizeHintForColumn(int column) const; -virtual int sizeHintForRow(int row) const; -virtual void startDrag(Qt::DropActions supportedActions); -virtual Qt::DropActions supportedDropActions() const; -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* event); -virtual void updateEditorData(); -virtual void updateEditorGeometries(); -virtual void updateGeometries(); -virtual int verticalOffset() const; -virtual void verticalScrollbarAction(int action); -virtual void verticalScrollbarValueChanged(int value); -virtual QStyleOptionViewItem viewOptions() const; -virtual bool viewportEvent(QEvent* event); -virtual QRect visualRect(const QModelIndex& index) const; -virtual QRegion visualRegionForSelection(const QItemSelection& selection) const; -virtual void wheelEvent(QWheelEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QTableWidget : public QTableWidget -{ public: -inline bool promoted_event(QEvent* e) { return QTableWidget::event(e); } -inline QStringList promoted_mimeTypes() const { return QTableWidget::mimeTypes(); } -inline Qt::DropActions promoted_supportedDropActions() const { return QTableWidget::supportedDropActions(); } -inline void promoted_dropEvent(QDropEvent* event) { QTableWidget::dropEvent(event); } -inline bool promoted_dropMimeData(int row, int column, const QMimeData* data, Qt::DropAction action) { return QTableWidget::dropMimeData(row, column, data, action); } -}; - -class PythonQtWrapper_QTableWidget : public QObject -{ Q_OBJECT -public: -public slots: -QTableWidget* new_QTableWidget(QWidget* parent = 0); -QTableWidget* new_QTableWidget(int rows, int columns, QWidget* parent = 0); -void delete_QTableWidget(QTableWidget* obj) { delete obj; } - bool event(QTableWidget* theWrappedObject, QEvent* e); - QStringList mimeTypes(QTableWidget* theWrappedObject) const; - void setColumnCount(QTableWidget* theWrappedObject, int columns); - Qt::DropActions supportedDropActions(QTableWidget* theWrappedObject) const; - int columnCount(QTableWidget* theWrappedObject) const; - const QTableWidgetItem* itemPrototype(QTableWidget* theWrappedObject) const; - void setCurrentCell(QTableWidget* theWrappedObject, int row, int column, QItemSelectionModel::SelectionFlags command); - QList findItems(QTableWidget* theWrappedObject, const QString& text, Qt::MatchFlags flags) const; - QRect visualItemRect(QTableWidget* theWrappedObject, const QTableWidgetItem* item) const; - QTableWidgetItem* verticalHeaderItem(QTableWidget* theWrappedObject, int row) const; - QList selectedItems(QTableWidget* theWrappedObject); - void setHorizontalHeaderItem(QTableWidget* theWrappedObject, int column, QTableWidgetItem* item); - void closePersistentEditor(QTableWidget* theWrappedObject, QTableWidgetItem* item); - void editItem(QTableWidget* theWrappedObject, QTableWidgetItem* item); - int currentColumn(QTableWidget* theWrappedObject) const; - void sortItems(QTableWidget* theWrappedObject, int column, Qt::SortOrder order = Qt::AscendingOrder); - int row(QTableWidget* theWrappedObject, const QTableWidgetItem* item) const; - void setVerticalHeaderLabels(QTableWidget* theWrappedObject, const QStringList& labels); - void setRangeSelected(QTableWidget* theWrappedObject, const QTableWidgetSelectionRange& range, bool select); - QTableWidgetItem* takeHorizontalHeaderItem(QTableWidget* theWrappedObject, int column); - void openPersistentEditor(QTableWidget* theWrappedObject, QTableWidgetItem* item); - int rowCount(QTableWidget* theWrappedObject) const; - QTableWidgetItem* currentItem(QTableWidget* theWrappedObject) const; - void setCurrentItem(QTableWidget* theWrappedObject, QTableWidgetItem* item, QItemSelectionModel::SelectionFlags command); - void setCurrentCell(QTableWidget* theWrappedObject, int row, int column); - QTableWidgetItem* takeItem(QTableWidget* theWrappedObject, int row, int column); - int visualRow(QTableWidget* theWrappedObject, int logicalRow) const; - int currentRow(QTableWidget* theWrappedObject) const; - QTableWidgetItem* itemAt(QTableWidget* theWrappedObject, const QPoint& p) const; - void setItemPrototype(QTableWidget* theWrappedObject, const QTableWidgetItem* item); - void dropEvent(QTableWidget* theWrappedObject, QDropEvent* event); - QWidget* cellWidget(QTableWidget* theWrappedObject, int row, int column) const; - QTableWidgetItem* horizontalHeaderItem(QTableWidget* theWrappedObject, int column) const; - void setVerticalHeaderItem(QTableWidget* theWrappedObject, int row, QTableWidgetItem* item); - QTableWidgetItem* itemAt(QTableWidget* theWrappedObject, int x, int y) const; - void removeCellWidget(QTableWidget* theWrappedObject, int row, int column); - int visualColumn(QTableWidget* theWrappedObject, int logicalColumn) const; - void setCurrentItem(QTableWidget* theWrappedObject, QTableWidgetItem* item); - QTableWidgetItem* item(QTableWidget* theWrappedObject, int row, int column) const; - void setRowCount(QTableWidget* theWrappedObject, int rows); - int column(QTableWidget* theWrappedObject, const QTableWidgetItem* item) const; - QTableWidgetItem* takeVerticalHeaderItem(QTableWidget* theWrappedObject, int row); - bool dropMimeData(QTableWidget* theWrappedObject, int row, int column, const QMimeData* data, Qt::DropAction action); - void setHorizontalHeaderLabels(QTableWidget* theWrappedObject, const QStringList& labels); - void setCellWidget(QTableWidget* theWrappedObject, int row, int column, QWidget* widget); - void setItem(QTableWidget* theWrappedObject, int row, int column, QTableWidgetItem* item); - QList selectedRanges(QTableWidget* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QTABLEWIDGET_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTableWidgetItem.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTableWidgetItem.cpp deleted file mode 100644 index 3ddc186..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTableWidgetItem.cpp +++ /dev/null @@ -1,335 +0,0 @@ -#include "PythonQtWrapper_QTableWidgetItem.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QTableWidgetItem* PythonQtShell_QTableWidgetItem::clone() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "clone"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QTableWidgetItem*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QTableWidgetItem* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("clone", methodInfo, result); - } else { - returnValue = *((QTableWidgetItem**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTableWidgetItem::clone(); -} -QVariant PythonQtShell_QTableWidgetItem::data(int role) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "data"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&role}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTableWidgetItem::data(role); -} -bool PythonQtShell_QTableWidgetItem::operator_less(const QTableWidgetItem& other) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "operator_less"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QTableWidgetItem&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&other}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("operator_less", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTableWidgetItem::operator<(other); -} -void PythonQtShell_QTableWidgetItem::read(QDataStream& in) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "read"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDataStream&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&in}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableWidgetItem::read(in); -} -void PythonQtShell_QTableWidgetItem::setData(int role, const QVariant& value) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "int" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&role, (void*)&value}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableWidgetItem::setData(role, value); -} -void PythonQtShell_QTableWidgetItem::write(QDataStream& out) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "write"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDataStream&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&out}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTableWidgetItem::write(out); -} -QTableWidgetItem* PythonQtWrapper_QTableWidgetItem::new_QTableWidgetItem(const QIcon& icon, const QString& text, int type) -{ -return new PythonQtShell_QTableWidgetItem(icon, text, type); } - -QTableWidgetItem* PythonQtWrapper_QTableWidgetItem::new_QTableWidgetItem(const QString& text, int type) -{ -return new PythonQtShell_QTableWidgetItem(text, type); } - -QTableWidgetItem* PythonQtWrapper_QTableWidgetItem::new_QTableWidgetItem(int type) -{ -return new PythonQtShell_QTableWidgetItem(type); } - -QVariant PythonQtWrapper_QTableWidgetItem::data(QTableWidgetItem* theWrappedObject, int role) const -{ - return ( ((PythonQtPublicPromoter_QTableWidgetItem*)theWrappedObject)->promoted_data(role)); -} - -void PythonQtWrapper_QTableWidgetItem::setIcon(QTableWidgetItem* theWrappedObject, const QIcon& icon) -{ - ( theWrappedObject->setIcon(icon)); -} - -QFont PythonQtWrapper_QTableWidgetItem::font(QTableWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->font()); -} - -void PythonQtWrapper_QTableWidgetItem::setStatusTip(QTableWidgetItem* theWrappedObject, const QString& statusTip) -{ - ( theWrappedObject->setStatusTip(statusTip)); -} - -QIcon PythonQtWrapper_QTableWidgetItem::icon(QTableWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->icon()); -} - -void PythonQtWrapper_QTableWidgetItem::setBackground(QTableWidgetItem* theWrappedObject, const QBrush& brush) -{ - ( theWrappedObject->setBackground(brush)); -} - -bool PythonQtWrapper_QTableWidgetItem::isSelected(QTableWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->isSelected()); -} - -void PythonQtWrapper_QTableWidgetItem::setSelected(QTableWidgetItem* theWrappedObject, bool select) -{ - ( theWrappedObject->setSelected(select)); -} - -QBrush PythonQtWrapper_QTableWidgetItem::background(QTableWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->background()); -} - -void PythonQtWrapper_QTableWidgetItem::setTextAlignment(QTableWidgetItem* theWrappedObject, int alignment) -{ - ( theWrappedObject->setTextAlignment(alignment)); -} - -int PythonQtWrapper_QTableWidgetItem::row(QTableWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->row()); -} - -void PythonQtWrapper_QTableWidgetItem::setToolTip(QTableWidgetItem* theWrappedObject, const QString& toolTip) -{ - ( theWrappedObject->setToolTip(toolTip)); -} - -int PythonQtWrapper_QTableWidgetItem::type(QTableWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->type()); -} - -QBrush PythonQtWrapper_QTableWidgetItem::foreground(QTableWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->foreground()); -} - -void PythonQtWrapper_QTableWidgetItem::writeTo(QTableWidgetItem* theWrappedObject, QDataStream& out) -{ - out << (*theWrappedObject); -} - -QString PythonQtWrapper_QTableWidgetItem::text(QTableWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->text()); -} - -void PythonQtWrapper_QTableWidgetItem::setText(QTableWidgetItem* theWrappedObject, const QString& text) -{ - ( theWrappedObject->setText(text)); -} - -void PythonQtWrapper_QTableWidgetItem::setFlags(QTableWidgetItem* theWrappedObject, Qt::ItemFlags flags) -{ - ( theWrappedObject->setFlags(flags)); -} - -void PythonQtWrapper_QTableWidgetItem::setSizeHint(QTableWidgetItem* theWrappedObject, const QSize& size) -{ - ( theWrappedObject->setSizeHint(size)); -} - -void PythonQtWrapper_QTableWidgetItem::setWhatsThis(QTableWidgetItem* theWrappedObject, const QString& whatsThis) -{ - ( theWrappedObject->setWhatsThis(whatsThis)); -} - -Qt::CheckState PythonQtWrapper_QTableWidgetItem::checkState(QTableWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->checkState()); -} - -QString PythonQtWrapper_QTableWidgetItem::whatsThis(QTableWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->whatsThis()); -} - -void PythonQtWrapper_QTableWidgetItem::setFont(QTableWidgetItem* theWrappedObject, const QFont& font) -{ - ( theWrappedObject->setFont(font)); -} - -QString PythonQtWrapper_QTableWidgetItem::toolTip(QTableWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->toolTip()); -} - -Qt::ItemFlags PythonQtWrapper_QTableWidgetItem::flags(QTableWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->flags()); -} - -void PythonQtWrapper_QTableWidgetItem::setCheckState(QTableWidgetItem* theWrappedObject, Qt::CheckState state) -{ - ( theWrappedObject->setCheckState(state)); -} - -QTableWidget* PythonQtWrapper_QTableWidgetItem::tableWidget(QTableWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->tableWidget()); -} - -void PythonQtWrapper_QTableWidgetItem::setForeground(QTableWidgetItem* theWrappedObject, const QBrush& brush) -{ - ( theWrappedObject->setForeground(brush)); -} - -QString PythonQtWrapper_QTableWidgetItem::statusTip(QTableWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->statusTip()); -} - -QTableWidgetItem* PythonQtWrapper_QTableWidgetItem::clone(QTableWidgetItem* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QTableWidgetItem*)theWrappedObject)->promoted_clone()); -} - -int PythonQtWrapper_QTableWidgetItem::textAlignment(QTableWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->textAlignment()); -} - -QSize PythonQtWrapper_QTableWidgetItem::sizeHint(QTableWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->sizeHint()); -} - -int PythonQtWrapper_QTableWidgetItem::column(QTableWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->column()); -} - -void PythonQtWrapper_QTableWidgetItem::readFrom(QTableWidgetItem* theWrappedObject, QDataStream& in) -{ - in >> (*theWrappedObject); -} - -void PythonQtWrapper_QTableWidgetItem::setData(QTableWidgetItem* theWrappedObject, int role, const QVariant& value) -{ - ( ((PythonQtPublicPromoter_QTableWidgetItem*)theWrappedObject)->promoted_setData(role, value)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTableWidgetItem.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTableWidgetItem.h deleted file mode 100644 index 079621d..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTableWidgetItem.h +++ /dev/null @@ -1,89 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QTABLEWIDGETITEM_H -#define PYTHONQTWRAPPER_QTABLEWIDGETITEM_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QTableWidgetItem : public QTableWidgetItem -{ -public: - PythonQtShell_QTableWidgetItem(const QIcon& icon, const QString& text, int type = Type):QTableWidgetItem(icon, text, type),_wrapper(NULL) {}; - PythonQtShell_QTableWidgetItem(const QString& text, int type = Type):QTableWidgetItem(text, type),_wrapper(NULL) {}; - PythonQtShell_QTableWidgetItem(int type = Type):QTableWidgetItem(type),_wrapper(NULL) {}; - -virtual QTableWidgetItem* clone() const; -virtual QVariant data(int role) const; -virtual bool operator_less(const QTableWidgetItem& other) const; -virtual void read(QDataStream& in); -virtual void setData(int role, const QVariant& value); -virtual void write(QDataStream& out) const; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QTableWidgetItem : public QTableWidgetItem -{ public: -inline QVariant promoted_data(int role) const { return QTableWidgetItem::data(role); } -inline QTableWidgetItem* promoted_clone() const { return QTableWidgetItem::clone(); } -inline void promoted_setData(int role, const QVariant& value) { QTableWidgetItem::setData(role, value); } -}; - -class PythonQtWrapper_QTableWidgetItem : public QObject -{ Q_OBJECT -public: -Q_ENUMS(ItemType ) -enum ItemType{ - Type = QTableWidgetItem::Type, UserType = QTableWidgetItem::UserType}; -public slots: -QTableWidgetItem* new_QTableWidgetItem(const QIcon& icon, const QString& text, int type = Type); -QTableWidgetItem* new_QTableWidgetItem(const QString& text, int type = Type); -QTableWidgetItem* new_QTableWidgetItem(int type = Type); -void delete_QTableWidgetItem(QTableWidgetItem* obj) { delete obj; } - QVariant data(QTableWidgetItem* theWrappedObject, int role) const; - void setIcon(QTableWidgetItem* theWrappedObject, const QIcon& icon); - QFont font(QTableWidgetItem* theWrappedObject) const; - void setStatusTip(QTableWidgetItem* theWrappedObject, const QString& statusTip); - QIcon icon(QTableWidgetItem* theWrappedObject) const; - void setBackground(QTableWidgetItem* theWrappedObject, const QBrush& brush); - bool isSelected(QTableWidgetItem* theWrappedObject) const; - void setSelected(QTableWidgetItem* theWrappedObject, bool select); - QBrush background(QTableWidgetItem* theWrappedObject) const; - void setTextAlignment(QTableWidgetItem* theWrappedObject, int alignment); - int row(QTableWidgetItem* theWrappedObject) const; - void setToolTip(QTableWidgetItem* theWrappedObject, const QString& toolTip); - int type(QTableWidgetItem* theWrappedObject) const; - QBrush foreground(QTableWidgetItem* theWrappedObject) const; - void writeTo(QTableWidgetItem* theWrappedObject, QDataStream& out); - QString text(QTableWidgetItem* theWrappedObject) const; - void setText(QTableWidgetItem* theWrappedObject, const QString& text); - void setFlags(QTableWidgetItem* theWrappedObject, Qt::ItemFlags flags); - void setSizeHint(QTableWidgetItem* theWrappedObject, const QSize& size); - void setWhatsThis(QTableWidgetItem* theWrappedObject, const QString& whatsThis); - Qt::CheckState checkState(QTableWidgetItem* theWrappedObject) const; - QString whatsThis(QTableWidgetItem* theWrappedObject) const; - void setFont(QTableWidgetItem* theWrappedObject, const QFont& font); - QString toolTip(QTableWidgetItem* theWrappedObject) const; - Qt::ItemFlags flags(QTableWidgetItem* theWrappedObject) const; - void setCheckState(QTableWidgetItem* theWrappedObject, Qt::CheckState state); - QTableWidget* tableWidget(QTableWidgetItem* theWrappedObject) const; - void setForeground(QTableWidgetItem* theWrappedObject, const QBrush& brush); - QString statusTip(QTableWidgetItem* theWrappedObject) const; - QTableWidgetItem* clone(QTableWidgetItem* theWrappedObject) const; - int textAlignment(QTableWidgetItem* theWrappedObject) const; - QSize sizeHint(QTableWidgetItem* theWrappedObject) const; - int column(QTableWidgetItem* theWrappedObject) const; - void readFrom(QTableWidgetItem* theWrappedObject, QDataStream& in); - void setData(QTableWidgetItem* theWrappedObject, int role, const QVariant& value); -}; - -#endif // PYTHONQTWRAPPER_QTABLEWIDGETITEM_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTableWidgetSelectionRange.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTableWidgetSelectionRange.cpp deleted file mode 100644 index 101183e..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTableWidgetSelectionRange.cpp +++ /dev/null @@ -1,50 +0,0 @@ -#include "PythonQtWrapper_QTableWidgetSelectionRange.h" - -#include -#include -#include -#include -#include - -QTableWidgetSelectionRange* PythonQtWrapper_QTableWidgetSelectionRange::new_QTableWidgetSelectionRange() -{ -return new QTableWidgetSelectionRange(); } - -QTableWidgetSelectionRange* PythonQtWrapper_QTableWidgetSelectionRange::new_QTableWidgetSelectionRange(const QTableWidgetSelectionRange& other) -{ -return new QTableWidgetSelectionRange(other); } - -QTableWidgetSelectionRange* PythonQtWrapper_QTableWidgetSelectionRange::new_QTableWidgetSelectionRange(int top, int left, int bottom, int right) -{ -return new QTableWidgetSelectionRange(top, left, bottom, right); } - -int PythonQtWrapper_QTableWidgetSelectionRange::bottomRow(QTableWidgetSelectionRange* theWrappedObject) const -{ - return ( theWrappedObject->bottomRow()); -} - -int PythonQtWrapper_QTableWidgetSelectionRange::rightColumn(QTableWidgetSelectionRange* theWrappedObject) const -{ - return ( theWrappedObject->rightColumn()); -} - -int PythonQtWrapper_QTableWidgetSelectionRange::columnCount(QTableWidgetSelectionRange* theWrappedObject) const -{ - return ( theWrappedObject->columnCount()); -} - -int PythonQtWrapper_QTableWidgetSelectionRange::rowCount(QTableWidgetSelectionRange* theWrappedObject) const -{ - return ( theWrappedObject->rowCount()); -} - -int PythonQtWrapper_QTableWidgetSelectionRange::topRow(QTableWidgetSelectionRange* theWrappedObject) const -{ - return ( theWrappedObject->topRow()); -} - -int PythonQtWrapper_QTableWidgetSelectionRange::leftColumn(QTableWidgetSelectionRange* theWrappedObject) const -{ - return ( theWrappedObject->leftColumn()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTableWidgetSelectionRange.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTableWidgetSelectionRange.h deleted file mode 100644 index 67a36ab..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTableWidgetSelectionRange.h +++ /dev/null @@ -1,28 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QTABLEWIDGETSELECTIONRANGE_H -#define PYTHONQTWRAPPER_QTABLEWIDGETSELECTIONRANGE_H - -#include -#include - -#include - -#include -#include - -class PythonQtWrapper_QTableWidgetSelectionRange : public QObject -{ Q_OBJECT -public: -public slots: -QTableWidgetSelectionRange* new_QTableWidgetSelectionRange(); -QTableWidgetSelectionRange* new_QTableWidgetSelectionRange(const QTableWidgetSelectionRange& other); -QTableWidgetSelectionRange* new_QTableWidgetSelectionRange(int top, int left, int bottom, int right); -void delete_QTableWidgetSelectionRange(QTableWidgetSelectionRange* obj) { delete obj; } - int bottomRow(QTableWidgetSelectionRange* theWrappedObject) const; - int rightColumn(QTableWidgetSelectionRange* theWrappedObject) const; - int columnCount(QTableWidgetSelectionRange* theWrappedObject) const; - int rowCount(QTableWidgetSelectionRange* theWrappedObject) const; - int topRow(QTableWidgetSelectionRange* theWrappedObject) const; - int leftColumn(QTableWidgetSelectionRange* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QTABLEWIDGETSELECTIONRANGE_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTabletEvent.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTabletEvent.cpp deleted file mode 100644 index 4244d9f..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTabletEvent.cpp +++ /dev/null @@ -1,102 +0,0 @@ -#include "PythonQtWrapper_QTabletEvent.h" - -#include -#include -#include -#include -#include - -QTabletEvent* PythonQtWrapper_QTabletEvent::new_QTabletEvent(QEvent::Type t, const QPoint& pos, const QPoint& globalPos, const QPointF& hiResGlobalPos, int device, int pointerType, qreal pressure, int xTilt, int yTilt, qreal tangentialPressure, qreal rotation, int z, Qt::KeyboardModifiers keyState, qint64 uniqueID) -{ -return new PythonQtShell_QTabletEvent(t, pos, globalPos, hiResGlobalPos, device, pointerType, pressure, xTilt, yTilt, tangentialPressure, rotation, z, keyState, uniqueID); } - -qreal PythonQtWrapper_QTabletEvent::tangentialPressure(QTabletEvent* theWrappedObject) const -{ - return ( theWrappedObject->tangentialPressure()); -} - -QTabletEvent::TabletDevice PythonQtWrapper_QTabletEvent::device(QTabletEvent* theWrappedObject) const -{ - return ( theWrappedObject->device()); -} - -const QPoint* PythonQtWrapper_QTabletEvent::globalPos(QTabletEvent* theWrappedObject) const -{ - return &( theWrappedObject->globalPos()); -} - -int PythonQtWrapper_QTabletEvent::x(QTabletEvent* theWrappedObject) const -{ - return ( theWrappedObject->x()); -} - -int PythonQtWrapper_QTabletEvent::globalX(QTabletEvent* theWrappedObject) const -{ - return ( theWrappedObject->globalX()); -} - -QTabletEvent::PointerType PythonQtWrapper_QTabletEvent::pointerType(QTabletEvent* theWrappedObject) const -{ - return ( theWrappedObject->pointerType()); -} - -const QPointF* PythonQtWrapper_QTabletEvent::hiResGlobalPos(QTabletEvent* theWrappedObject) const -{ - return &( theWrappedObject->hiResGlobalPos()); -} - -qreal PythonQtWrapper_QTabletEvent::hiResGlobalX(QTabletEvent* theWrappedObject) const -{ - return ( theWrappedObject->hiResGlobalX()); -} - -qreal PythonQtWrapper_QTabletEvent::hiResGlobalY(QTabletEvent* theWrappedObject) const -{ - return ( theWrappedObject->hiResGlobalY()); -} - -int PythonQtWrapper_QTabletEvent::xTilt(QTabletEvent* theWrappedObject) const -{ - return ( theWrappedObject->xTilt()); -} - -int PythonQtWrapper_QTabletEvent::z(QTabletEvent* theWrappedObject) const -{ - return ( theWrappedObject->z()); -} - -qreal PythonQtWrapper_QTabletEvent::rotation(QTabletEvent* theWrappedObject) const -{ - return ( theWrappedObject->rotation()); -} - -int PythonQtWrapper_QTabletEvent::yTilt(QTabletEvent* theWrappedObject) const -{ - return ( theWrappedObject->yTilt()); -} - -qreal PythonQtWrapper_QTabletEvent::pressure(QTabletEvent* theWrappedObject) const -{ - return ( theWrappedObject->pressure()); -} - -qint64 PythonQtWrapper_QTabletEvent::uniqueId(QTabletEvent* theWrappedObject) const -{ - return ( theWrappedObject->uniqueId()); -} - -int PythonQtWrapper_QTabletEvent::globalY(QTabletEvent* theWrappedObject) const -{ - return ( theWrappedObject->globalY()); -} - -const QPoint* PythonQtWrapper_QTabletEvent::pos(QTabletEvent* theWrappedObject) const -{ - return &( theWrappedObject->pos()); -} - -int PythonQtWrapper_QTabletEvent::y(QTabletEvent* theWrappedObject) const -{ - return ( theWrappedObject->y()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTabletEvent.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTabletEvent.h deleted file mode 100644 index c2afe23..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTabletEvent.h +++ /dev/null @@ -1,52 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QTABLETEVENT_H -#define PYTHONQTWRAPPER_QTABLETEVENT_H - -#include -#include - -#include - -#include -#include - -class PythonQtShell_QTabletEvent : public QTabletEvent -{ -public: - PythonQtShell_QTabletEvent(QEvent::Type t, const QPoint& pos, const QPoint& globalPos, const QPointF& hiResGlobalPos, int device, int pointerType, qreal pressure, int xTilt, int yTilt, qreal tangentialPressure, qreal rotation, int z, Qt::KeyboardModifiers keyState, qint64 uniqueID):QTabletEvent(t, pos, globalPos, hiResGlobalPos, device, pointerType, pressure, xTilt, yTilt, tangentialPressure, rotation, z, keyState, uniqueID),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QTabletEvent : public QObject -{ Q_OBJECT -public: -Q_ENUMS(TabletDevice PointerType ) -enum TabletDevice{ - NoDevice = QTabletEvent::NoDevice, Puck = QTabletEvent::Puck, Stylus = QTabletEvent::Stylus, Airbrush = QTabletEvent::Airbrush, FourDMouse = QTabletEvent::FourDMouse, XFreeEraser = QTabletEvent::XFreeEraser, RotationStylus = QTabletEvent::RotationStylus}; -enum PointerType{ - UnknownPointer = QTabletEvent::UnknownPointer, Pen = QTabletEvent::Pen, Cursor = QTabletEvent::Cursor, Eraser = QTabletEvent::Eraser}; -public slots: -QTabletEvent* new_QTabletEvent(QEvent::Type t, const QPoint& pos, const QPoint& globalPos, const QPointF& hiResGlobalPos, int device, int pointerType, qreal pressure, int xTilt, int yTilt, qreal tangentialPressure, qreal rotation, int z, Qt::KeyboardModifiers keyState, qint64 uniqueID); -void delete_QTabletEvent(QTabletEvent* obj) { delete obj; } - qreal tangentialPressure(QTabletEvent* theWrappedObject) const; - QTabletEvent::TabletDevice device(QTabletEvent* theWrappedObject) const; - const QPoint* globalPos(QTabletEvent* theWrappedObject) const; - int x(QTabletEvent* theWrappedObject) const; - int globalX(QTabletEvent* theWrappedObject) const; - QTabletEvent::PointerType pointerType(QTabletEvent* theWrappedObject) const; - const QPointF* hiResGlobalPos(QTabletEvent* theWrappedObject) const; - qreal hiResGlobalX(QTabletEvent* theWrappedObject) const; - qreal hiResGlobalY(QTabletEvent* theWrappedObject) const; - int xTilt(QTabletEvent* theWrappedObject) const; - int z(QTabletEvent* theWrappedObject) const; - qreal rotation(QTabletEvent* theWrappedObject) const; - int yTilt(QTabletEvent* theWrappedObject) const; - qreal pressure(QTabletEvent* theWrappedObject) const; - qint64 uniqueId(QTabletEvent* theWrappedObject) const; - int globalY(QTabletEvent* theWrappedObject) const; - const QPoint* pos(QTabletEvent* theWrappedObject) const; - int y(QTabletEvent* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QTABLETEVENT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextBlock.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextBlock.cpp deleted file mode 100644 index ee88eb3..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextBlock.cpp +++ /dev/null @@ -1,161 +0,0 @@ -#include "PythonQtWrapper_QTextBlock.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QTextBlock* PythonQtWrapper_QTextBlock::new_QTextBlock() -{ -return new QTextBlock(); } - -QTextBlock* PythonQtWrapper_QTextBlock::new_QTextBlock(const QTextBlock& o) -{ -return new QTextBlock(o); } - -QString PythonQtWrapper_QTextBlock::text(QTextBlock* theWrappedObject) const -{ - return ( theWrappedObject->text()); -} - -void PythonQtWrapper_QTextBlock::setUserData(QTextBlock* theWrappedObject, QTextBlockUserData* data) -{ - ( theWrappedObject->setUserData(data)); -} - -QTextBlockFormat PythonQtWrapper_QTextBlock::blockFormat(QTextBlock* theWrappedObject) const -{ - return ( theWrappedObject->blockFormat()); -} - -int PythonQtWrapper_QTextBlock::position(QTextBlock* theWrappedObject) const -{ - return ( theWrappedObject->position()); -} - -QTextBlock::iterator PythonQtWrapper_QTextBlock::end(QTextBlock* theWrappedObject) const -{ - return ( theWrappedObject->end()); -} - -QTextBlockUserData* PythonQtWrapper_QTextBlock::userData(QTextBlock* theWrappedObject) const -{ - return ( theWrappedObject->userData()); -} - -bool PythonQtWrapper_QTextBlock::operator_equal(QTextBlock* theWrappedObject, const QTextBlock& o) const -{ - return ( (*theWrappedObject)== o); -} - -QTextBlock::iterator PythonQtWrapper_QTextBlock::begin(QTextBlock* theWrappedObject) const -{ - return ( theWrappedObject->begin()); -} - -int PythonQtWrapper_QTextBlock::revision(QTextBlock* theWrappedObject) const -{ - return ( theWrappedObject->revision()); -} - -void PythonQtWrapper_QTextBlock::setUserState(QTextBlock* theWrappedObject, int state) -{ - ( theWrappedObject->setUserState(state)); -} - -int PythonQtWrapper_QTextBlock::userState(QTextBlock* theWrappedObject) const -{ - return ( theWrappedObject->userState()); -} - -int PythonQtWrapper_QTextBlock::charFormatIndex(QTextBlock* theWrappedObject) const -{ - return ( theWrappedObject->charFormatIndex()); -} - -QTextLayout* PythonQtWrapper_QTextBlock::layout(QTextBlock* theWrappedObject) const -{ - return ( theWrappedObject->layout()); -} - -void PythonQtWrapper_QTextBlock::setRevision(QTextBlock* theWrappedObject, int rev) -{ - ( theWrappedObject->setRevision(rev)); -} - -const QTextDocument* PythonQtWrapper_QTextBlock::document(QTextBlock* theWrappedObject) const -{ - return ( theWrappedObject->document()); -} - -bool PythonQtWrapper_QTextBlock::contains(QTextBlock* theWrappedObject, int position) const -{ - return ( theWrappedObject->contains(position)); -} - -QTextCharFormat PythonQtWrapper_QTextBlock::charFormat(QTextBlock* theWrappedObject) const -{ - return ( theWrappedObject->charFormat()); -} - -bool PythonQtWrapper_QTextBlock::isValid(QTextBlock* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -bool PythonQtWrapper_QTextBlock::operator_less(QTextBlock* theWrappedObject, const QTextBlock& o) const -{ - return ( (*theWrappedObject)< o); -} - -QTextBlock PythonQtWrapper_QTextBlock::previous(QTextBlock* theWrappedObject) const -{ - return ( theWrappedObject->previous()); -} - -void PythonQtWrapper_QTextBlock::setVisible(QTextBlock* theWrappedObject, bool visible) -{ - ( theWrappedObject->setVisible(visible)); -} - -int PythonQtWrapper_QTextBlock::blockNumber(QTextBlock* theWrappedObject) const -{ - return ( theWrappedObject->blockNumber()); -} - -int PythonQtWrapper_QTextBlock::length(QTextBlock* theWrappedObject) const -{ - return ( theWrappedObject->length()); -} - -void PythonQtWrapper_QTextBlock::clearLayout(QTextBlock* theWrappedObject) -{ - ( theWrappedObject->clearLayout()); -} - -bool PythonQtWrapper_QTextBlock::isVisible(QTextBlock* theWrappedObject) const -{ - return ( theWrappedObject->isVisible()); -} - -QTextBlock PythonQtWrapper_QTextBlock::next(QTextBlock* theWrappedObject) const -{ - return ( theWrappedObject->next()); -} - -QTextList* PythonQtWrapper_QTextBlock::textList(QTextBlock* theWrappedObject) const -{ - return ( theWrappedObject->textList()); -} - -int PythonQtWrapper_QTextBlock::blockFormatIndex(QTextBlock* theWrappedObject) const -{ - return ( theWrappedObject->blockFormatIndex()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextBlock.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextBlock.h deleted file mode 100644 index 8f3bff3..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextBlock.h +++ /dev/null @@ -1,54 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QTEXTBLOCK_H -#define PYTHONQTWRAPPER_QTEXTBLOCK_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include - -class PythonQtWrapper_QTextBlock : public QObject -{ Q_OBJECT -public: -public slots: -QTextBlock* new_QTextBlock(); -QTextBlock* new_QTextBlock(const QTextBlock& o); -void delete_QTextBlock(QTextBlock* obj) { delete obj; } - QString text(QTextBlock* theWrappedObject) const; - void setUserData(QTextBlock* theWrappedObject, QTextBlockUserData* data); - QTextBlockFormat blockFormat(QTextBlock* theWrappedObject) const; - int position(QTextBlock* theWrappedObject) const; - QTextBlock::iterator end(QTextBlock* theWrappedObject) const; - QTextBlockUserData* userData(QTextBlock* theWrappedObject) const; - bool operator_equal(QTextBlock* theWrappedObject, const QTextBlock& o) const; - QTextBlock::iterator begin(QTextBlock* theWrappedObject) const; - int revision(QTextBlock* theWrappedObject) const; - void setUserState(QTextBlock* theWrappedObject, int state); - int userState(QTextBlock* theWrappedObject) const; - int charFormatIndex(QTextBlock* theWrappedObject) const; - QTextLayout* layout(QTextBlock* theWrappedObject) const; - void setRevision(QTextBlock* theWrappedObject, int rev); - const QTextDocument* document(QTextBlock* theWrappedObject) const; - bool contains(QTextBlock* theWrappedObject, int position) const; - QTextCharFormat charFormat(QTextBlock* theWrappedObject) const; - bool isValid(QTextBlock* theWrappedObject) const; - bool operator_less(QTextBlock* theWrappedObject, const QTextBlock& o) const; - QTextBlock previous(QTextBlock* theWrappedObject) const; - void setVisible(QTextBlock* theWrappedObject, bool visible); - int blockNumber(QTextBlock* theWrappedObject) const; - int length(QTextBlock* theWrappedObject) const; - void clearLayout(QTextBlock* theWrappedObject); - bool isVisible(QTextBlock* theWrappedObject) const; - QTextBlock next(QTextBlock* theWrappedObject) const; - QTextList* textList(QTextBlock* theWrappedObject) const; - int blockFormatIndex(QTextBlock* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QTEXTBLOCK_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextBlockFormat.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextBlockFormat.cpp deleted file mode 100644 index 904bbed..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextBlockFormat.cpp +++ /dev/null @@ -1,122 +0,0 @@ -#include "PythonQtWrapper_QTextBlockFormat.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QTextBlockFormat* PythonQtWrapper_QTextBlockFormat::new_QTextBlockFormat() -{ -return new PythonQtShell_QTextBlockFormat(); } - -void PythonQtWrapper_QTextBlockFormat::setLeftMargin(QTextBlockFormat* theWrappedObject, qreal margin) -{ - ( theWrappedObject->setLeftMargin(margin)); -} - -void PythonQtWrapper_QTextBlockFormat::setTopMargin(QTextBlockFormat* theWrappedObject, qreal margin) -{ - ( theWrappedObject->setTopMargin(margin)); -} - -void PythonQtWrapper_QTextBlockFormat::setBottomMargin(QTextBlockFormat* theWrappedObject, qreal margin) -{ - ( theWrappedObject->setBottomMargin(margin)); -} - -void PythonQtWrapper_QTextBlockFormat::setRightMargin(QTextBlockFormat* theWrappedObject, qreal margin) -{ - ( theWrappedObject->setRightMargin(margin)); -} - -qreal PythonQtWrapper_QTextBlockFormat::textIndent(QTextBlockFormat* theWrappedObject) const -{ - return ( theWrappedObject->textIndent()); -} - -qreal PythonQtWrapper_QTextBlockFormat::topMargin(QTextBlockFormat* theWrappedObject) const -{ - return ( theWrappedObject->topMargin()); -} - -qreal PythonQtWrapper_QTextBlockFormat::rightMargin(QTextBlockFormat* theWrappedObject) const -{ - return ( theWrappedObject->rightMargin()); -} - -void PythonQtWrapper_QTextBlockFormat::setTextIndent(QTextBlockFormat* theWrappedObject, qreal margin) -{ - ( theWrappedObject->setTextIndent(margin)); -} - -qreal PythonQtWrapper_QTextBlockFormat::bottomMargin(QTextBlockFormat* theWrappedObject) const -{ - return ( theWrappedObject->bottomMargin()); -} - -bool PythonQtWrapper_QTextBlockFormat::isValid(QTextBlockFormat* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -bool PythonQtWrapper_QTextBlockFormat::nonBreakableLines(QTextBlockFormat* theWrappedObject) const -{ - return ( theWrappedObject->nonBreakableLines()); -} - -qreal PythonQtWrapper_QTextBlockFormat::leftMargin(QTextBlockFormat* theWrappedObject) const -{ - return ( theWrappedObject->leftMargin()); -} - -void PythonQtWrapper_QTextBlockFormat::setIndent(QTextBlockFormat* theWrappedObject, int indent) -{ - ( theWrappedObject->setIndent(indent)); -} - -QList PythonQtWrapper_QTextBlockFormat::tabPositions(QTextBlockFormat* theWrappedObject) const -{ - return ( theWrappedObject->tabPositions()); -} - -Qt::Alignment PythonQtWrapper_QTextBlockFormat::alignment(QTextBlockFormat* theWrappedObject) const -{ - return ( theWrappedObject->alignment()); -} - -void PythonQtWrapper_QTextBlockFormat::setTabPositions(QTextBlockFormat* theWrappedObject, const QList& tabs) -{ - ( theWrappedObject->setTabPositions(tabs)); -} - -void PythonQtWrapper_QTextBlockFormat::setAlignment(QTextBlockFormat* theWrappedObject, Qt::Alignment alignment) -{ - ( theWrappedObject->setAlignment(alignment)); -} - -int PythonQtWrapper_QTextBlockFormat::indent(QTextBlockFormat* theWrappedObject) const -{ - return ( theWrappedObject->indent()); -} - -void PythonQtWrapper_QTextBlockFormat::setNonBreakableLines(QTextBlockFormat* theWrappedObject, bool b) -{ - ( theWrappedObject->setNonBreakableLines(b)); -} - -QTextFormat::PageBreakFlags PythonQtWrapper_QTextBlockFormat::pageBreakPolicy(QTextBlockFormat* theWrappedObject) const -{ - return ( theWrappedObject->pageBreakPolicy()); -} - -void PythonQtWrapper_QTextBlockFormat::setPageBreakPolicy(QTextBlockFormat* theWrappedObject, QTextFormat::PageBreakFlags flags) -{ - ( theWrappedObject->setPageBreakPolicy(flags)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextBlockFormat.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextBlockFormat.h deleted file mode 100644 index 96d7252..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextBlockFormat.h +++ /dev/null @@ -1,60 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QTEXTBLOCKFORMAT_H -#define PYTHONQTWRAPPER_QTEXTBLOCKFORMAT_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QTextBlockFormat : public QTextBlockFormat -{ -public: - PythonQtShell_QTextBlockFormat():QTextBlockFormat(),_wrapper(NULL) {}; - PythonQtShell_QTextBlockFormat(const QTextFormat& fmt):QTextBlockFormat(fmt),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QTextBlockFormat : public QObject -{ Q_OBJECT -public: -public slots: -QTextBlockFormat* new_QTextBlockFormat(); -QTextBlockFormat* new_QTextBlockFormat(const QTextBlockFormat& other) { -PythonQtShell_QTextBlockFormat* a = new PythonQtShell_QTextBlockFormat(); -*((QTextBlockFormat*)a) = other; -return a; } -void delete_QTextBlockFormat(QTextBlockFormat* obj) { delete obj; } - void setLeftMargin(QTextBlockFormat* theWrappedObject, qreal margin); - void setTopMargin(QTextBlockFormat* theWrappedObject, qreal margin); - void setBottomMargin(QTextBlockFormat* theWrappedObject, qreal margin); - void setRightMargin(QTextBlockFormat* theWrappedObject, qreal margin); - qreal textIndent(QTextBlockFormat* theWrappedObject) const; - qreal topMargin(QTextBlockFormat* theWrappedObject) const; - qreal rightMargin(QTextBlockFormat* theWrappedObject) const; - void setTextIndent(QTextBlockFormat* theWrappedObject, qreal margin); - qreal bottomMargin(QTextBlockFormat* theWrappedObject) const; - bool isValid(QTextBlockFormat* theWrappedObject) const; - bool nonBreakableLines(QTextBlockFormat* theWrappedObject) const; - qreal leftMargin(QTextBlockFormat* theWrappedObject) const; - void setIndent(QTextBlockFormat* theWrappedObject, int indent); - QList tabPositions(QTextBlockFormat* theWrappedObject) const; - Qt::Alignment alignment(QTextBlockFormat* theWrappedObject) const; - void setTabPositions(QTextBlockFormat* theWrappedObject, const QList& tabs); - void setAlignment(QTextBlockFormat* theWrappedObject, Qt::Alignment alignment); - int indent(QTextBlockFormat* theWrappedObject) const; - void setNonBreakableLines(QTextBlockFormat* theWrappedObject, bool b); - QTextFormat::PageBreakFlags pageBreakPolicy(QTextBlockFormat* theWrappedObject) const; - void setPageBreakPolicy(QTextBlockFormat* theWrappedObject, QTextFormat::PageBreakFlags flags); -}; - -#endif // PYTHONQTWRAPPER_QTEXTBLOCKFORMAT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextBlockGroup.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextBlockGroup.cpp deleted file mode 100644 index fa2c683..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextBlockGroup.cpp +++ /dev/null @@ -1,187 +0,0 @@ -#include "PythonQtWrapper_QTextBlockGroup.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QTextBlockGroup::blockFormatChanged(const QTextBlock& block) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "blockFormatChanged"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QTextBlock&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&block}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTextBlockGroup::blockFormatChanged(block); -} -void PythonQtShell_QTextBlockGroup::blockInserted(const QTextBlock& block) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "blockInserted"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QTextBlock&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&block}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTextBlockGroup::blockInserted(block); -} -void PythonQtShell_QTextBlockGroup::blockRemoved(const QTextBlock& block) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "blockRemoved"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QTextBlock&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&block}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTextBlockGroup::blockRemoved(block); -} -void PythonQtShell_QTextBlockGroup::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; - } -} - QTextBlockGroup::childEvent(arg__1); -} -void PythonQtShell_QTextBlockGroup::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; - } -} - QTextBlockGroup::customEvent(arg__1); -} -bool PythonQtShell_QTextBlockGroup::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTextBlockGroup::event(arg__1); -} -bool PythonQtShell_QTextBlockGroup::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTextBlockGroup::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QTextBlockGroup::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; - } -} - QTextBlockGroup::timerEvent(arg__1); -} -void PythonQtWrapper_QTextBlockGroup::blockInserted(QTextBlockGroup* theWrappedObject, const QTextBlock& block) -{ - ( ((PythonQtPublicPromoter_QTextBlockGroup*)theWrappedObject)->promoted_blockInserted(block)); -} - -void PythonQtWrapper_QTextBlockGroup::blockFormatChanged(QTextBlockGroup* theWrappedObject, const QTextBlock& block) -{ - ( ((PythonQtPublicPromoter_QTextBlockGroup*)theWrappedObject)->promoted_blockFormatChanged(block)); -} - -void PythonQtWrapper_QTextBlockGroup::blockRemoved(QTextBlockGroup* theWrappedObject, const QTextBlock& block) -{ - ( ((PythonQtPublicPromoter_QTextBlockGroup*)theWrappedObject)->promoted_blockRemoved(block)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextBlockGroup.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextBlockGroup.h deleted file mode 100644 index 9156d8f..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextBlockGroup.h +++ /dev/null @@ -1,51 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QTEXTBLOCKGROUP_H -#define PYTHONQTWRAPPER_QTEXTBLOCKGROUP_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QTextBlockGroup : public QTextBlockGroup -{ -public: - PythonQtShell_QTextBlockGroup(QTextDocument* doc):QTextBlockGroup(doc),_wrapper(NULL) {}; - -virtual void blockFormatChanged(const QTextBlock& block); -virtual void blockInserted(const QTextBlock& block); -virtual void blockRemoved(const QTextBlock& block); -virtual void childEvent(QChildEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QTextBlockGroup : public QTextBlockGroup -{ public: -inline void promoted_blockInserted(const QTextBlock& block) { QTextBlockGroup::blockInserted(block); } -inline void promoted_blockFormatChanged(const QTextBlock& block) { QTextBlockGroup::blockFormatChanged(block); } -inline void promoted_blockRemoved(const QTextBlock& block) { QTextBlockGroup::blockRemoved(block); } -}; - -class PythonQtWrapper_QTextBlockGroup : public QObject -{ Q_OBJECT -public: -public slots: - void blockInserted(QTextBlockGroup* theWrappedObject, const QTextBlock& block); - void blockFormatChanged(QTextBlockGroup* theWrappedObject, const QTextBlock& block); - void blockRemoved(QTextBlockGroup* theWrappedObject, const QTextBlock& block); -}; - -#endif // PYTHONQTWRAPPER_QTEXTBLOCKGROUP_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextBlockUserData.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextBlockUserData.cpp deleted file mode 100644 index 91bdb6b..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextBlockUserData.cpp +++ /dev/null @@ -1,11 +0,0 @@ -#include "PythonQtWrapper_QTextBlockUserData.h" - -#include -#include -#include -#include - -QTextBlockUserData* PythonQtWrapper_QTextBlockUserData::new_QTextBlockUserData() -{ -return new PythonQtShell_QTextBlockUserData(); } - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextBlockUserData.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextBlockUserData.h deleted file mode 100644 index 4f0ba5e..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextBlockUserData.h +++ /dev/null @@ -1,28 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QTEXTBLOCKUSERDATA_H -#define PYTHONQTWRAPPER_QTEXTBLOCKUSERDATA_H - -#include -#include - -#include - -#include - -class PythonQtShell_QTextBlockUserData : public QTextBlockUserData -{ -public: - PythonQtShell_QTextBlockUserData():QTextBlockUserData(),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QTextBlockUserData : public QObject -{ Q_OBJECT -public: -public slots: -QTextBlockUserData* new_QTextBlockUserData(); -void delete_QTextBlockUserData(QTextBlockUserData* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QTEXTBLOCKUSERDATA_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextBrowser.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextBrowser.cpp deleted file mode 100644 index 225e823..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextBrowser.cpp +++ /dev/null @@ -1,1128 +0,0 @@ -#include "PythonQtWrapper_QTextBrowser.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QTextBrowser::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QTextBrowser::actionEvent(arg__1); -} -void PythonQtShell_QTextBrowser::backward() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "backward"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTextBrowser::backward(); -} -bool PythonQtShell_QTextBrowser::canInsertFromMimeData(const QMimeData* source) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "canInsertFromMimeData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QMimeData*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&source}; - 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("canInsertFromMimeData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTextBrowser::canInsertFromMimeData(source); -} -void PythonQtShell_QTextBrowser::changeEvent(QEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTextBrowser::changeEvent(e); -} -void PythonQtShell_QTextBrowser::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; - } -} - QTextBrowser::childEvent(arg__1); -} -void PythonQtShell_QTextBrowser::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QTextBrowser::closeEvent(arg__1); -} -void PythonQtShell_QTextBrowser::contextMenuEvent(QContextMenuEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTextBrowser::contextMenuEvent(e); -} -QMimeData* PythonQtShell_QTextBrowser::createMimeDataFromSelection() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "createMimeDataFromSelection"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QMimeData*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QMimeData* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("createMimeDataFromSelection", methodInfo, result); - } else { - returnValue = *((QMimeData**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTextBrowser::createMimeDataFromSelection(); -} -void PythonQtShell_QTextBrowser::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; - } -} - QTextBrowser::customEvent(arg__1); -} -int PythonQtShell_QTextBrowser::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTextBrowser::devType(); -} -void PythonQtShell_QTextBrowser::dragEnterEvent(QDragEnterEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTextBrowser::dragEnterEvent(e); -} -void PythonQtShell_QTextBrowser::dragLeaveEvent(QDragLeaveEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTextBrowser::dragLeaveEvent(e); -} -void PythonQtShell_QTextBrowser::dragMoveEvent(QDragMoveEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTextBrowser::dragMoveEvent(e); -} -void PythonQtShell_QTextBrowser::dropEvent(QDropEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTextBrowser::dropEvent(e); -} -void PythonQtShell_QTextBrowser::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QTextBrowser::enterEvent(arg__1); -} -bool PythonQtShell_QTextBrowser::event(QEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTextBrowser::event(e); -} -bool PythonQtShell_QTextBrowser::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTextBrowser::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QTextBrowser::focusInEvent(QFocusEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTextBrowser::focusInEvent(e); -} -bool PythonQtShell_QTextBrowser::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTextBrowser::focusNextPrevChild(next); -} -void PythonQtShell_QTextBrowser::focusOutEvent(QFocusEvent* ev) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTextBrowser::focusOutEvent(ev); -} -void PythonQtShell_QTextBrowser::forward() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "forward"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTextBrowser::forward(); -} -int PythonQtShell_QTextBrowser::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTextBrowser::heightForWidth(arg__1); -} -void PythonQtShell_QTextBrowser::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QTextBrowser::hideEvent(arg__1); -} -void PythonQtShell_QTextBrowser::home() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "home"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTextBrowser::home(); -} -void PythonQtShell_QTextBrowser::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QTextBrowser::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QTextBrowser::inputMethodQuery(Qt::InputMethodQuery property) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&property}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTextBrowser::inputMethodQuery(property); -} -void PythonQtShell_QTextBrowser::insertFromMimeData(const QMimeData* source) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "insertFromMimeData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QMimeData*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&source}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTextBrowser::insertFromMimeData(source); -} -void PythonQtShell_QTextBrowser::keyPressEvent(QKeyEvent* ev) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTextBrowser::keyPressEvent(ev); -} -void PythonQtShell_QTextBrowser::keyReleaseEvent(QKeyEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTextBrowser::keyReleaseEvent(e); -} -void PythonQtShell_QTextBrowser::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTextBrowser::languageChange(); -} -void PythonQtShell_QTextBrowser::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QTextBrowser::leaveEvent(arg__1); -} -QVariant PythonQtShell_QTextBrowser::loadResource(int type, const QUrl& name) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "loadResource"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "int" , "const QUrl&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&type, (void*)&name}; - 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("loadResource", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTextBrowser::loadResource(type, name); -} -int PythonQtShell_QTextBrowser::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTextBrowser::metric(arg__1); -} -void PythonQtShell_QTextBrowser::mouseDoubleClickEvent(QMouseEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTextBrowser::mouseDoubleClickEvent(e); -} -void PythonQtShell_QTextBrowser::mouseMoveEvent(QMouseEvent* ev) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTextBrowser::mouseMoveEvent(ev); -} -void PythonQtShell_QTextBrowser::mousePressEvent(QMouseEvent* ev) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTextBrowser::mousePressEvent(ev); -} -void PythonQtShell_QTextBrowser::mouseReleaseEvent(QMouseEvent* ev) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTextBrowser::mouseReleaseEvent(ev); -} -void PythonQtShell_QTextBrowser::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTextBrowser::moveEvent(arg__1); -} -QPaintEngine* PythonQtShell_QTextBrowser::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTextBrowser::paintEngine(); -} -void PythonQtShell_QTextBrowser::paintEvent(QPaintEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTextBrowser::paintEvent(e); -} -void PythonQtShell_QTextBrowser::reload() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reload"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTextBrowser::reload(); -} -void PythonQtShell_QTextBrowser::resizeEvent(QResizeEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTextBrowser::resizeEvent(e); -} -void PythonQtShell_QTextBrowser::scrollContentsBy(int dx, int dy) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "scrollContentsBy"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&dx, (void*)&dy}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTextBrowser::scrollContentsBy(dx, dy); -} -void PythonQtShell_QTextBrowser::setSource(const QUrl& name) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setSource"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QUrl&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&name}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTextBrowser::setSource(name); -} -void PythonQtShell_QTextBrowser::showEvent(QShowEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QTextBrowser::showEvent(arg__1); -} -void PythonQtShell_QTextBrowser::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QTextBrowser::tabletEvent(arg__1); -} -void PythonQtShell_QTextBrowser::timerEvent(QTimerEvent* e) -{ -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*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTextBrowser::timerEvent(e); -} -bool PythonQtShell_QTextBrowser::viewportEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "viewportEvent"); - 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("viewportEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTextBrowser::viewportEvent(arg__1); -} -void PythonQtShell_QTextBrowser::wheelEvent(QWheelEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTextBrowser::wheelEvent(e); -} -QTextBrowser* PythonQtWrapper_QTextBrowser::new_QTextBrowser(QWidget* parent) -{ -return new PythonQtShell_QTextBrowser(parent); } - -bool PythonQtWrapper_QTextBrowser::isBackwardAvailable(QTextBrowser* theWrappedObject) const -{ - return ( theWrappedObject->isBackwardAvailable()); -} - -bool PythonQtWrapper_QTextBrowser::openLinks(QTextBrowser* theWrappedObject) const -{ - return ( theWrappedObject->openLinks()); -} - -QString PythonQtWrapper_QTextBrowser::historyTitle(QTextBrowser* theWrappedObject, int arg__1) const -{ - return ( theWrappedObject->historyTitle(arg__1)); -} - -QUrl PythonQtWrapper_QTextBrowser::historyUrl(QTextBrowser* theWrappedObject, int arg__1) const -{ - return ( theWrappedObject->historyUrl(arg__1)); -} - -bool PythonQtWrapper_QTextBrowser::openExternalLinks(QTextBrowser* theWrappedObject) const -{ - return ( theWrappedObject->openExternalLinks()); -} - -void PythonQtWrapper_QTextBrowser::mousePressEvent(QTextBrowser* theWrappedObject, QMouseEvent* ev) -{ - ( ((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->promoted_mousePressEvent(ev)); -} - -void PythonQtWrapper_QTextBrowser::paintEvent(QTextBrowser* theWrappedObject, QPaintEvent* e) -{ - ( ((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->promoted_paintEvent(e)); -} - -void PythonQtWrapper_QTextBrowser::setOpenExternalLinks(QTextBrowser* theWrappedObject, bool open) -{ - ( theWrappedObject->setOpenExternalLinks(open)); -} - -bool PythonQtWrapper_QTextBrowser::isForwardAvailable(QTextBrowser* theWrappedObject) const -{ - return ( theWrappedObject->isForwardAvailable()); -} - -bool PythonQtWrapper_QTextBrowser::focusNextPrevChild(QTextBrowser* theWrappedObject, bool next) -{ - return ( ((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->promoted_focusNextPrevChild(next)); -} - -void PythonQtWrapper_QTextBrowser::setOpenLinks(QTextBrowser* theWrappedObject, bool open) -{ - ( theWrappedObject->setOpenLinks(open)); -} - -void PythonQtWrapper_QTextBrowser::mouseReleaseEvent(QTextBrowser* theWrappedObject, QMouseEvent* ev) -{ - ( ((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->promoted_mouseReleaseEvent(ev)); -} - -int PythonQtWrapper_QTextBrowser::backwardHistoryCount(QTextBrowser* theWrappedObject) const -{ - return ( theWrappedObject->backwardHistoryCount()); -} - -QUrl PythonQtWrapper_QTextBrowser::source(QTextBrowser* theWrappedObject) const -{ - return ( theWrappedObject->source()); -} - -void PythonQtWrapper_QTextBrowser::clearHistory(QTextBrowser* theWrappedObject) -{ - ( theWrappedObject->clearHistory()); -} - -void PythonQtWrapper_QTextBrowser::setSearchPaths(QTextBrowser* theWrappedObject, const QStringList& paths) -{ - ( theWrappedObject->setSearchPaths(paths)); -} - -void PythonQtWrapper_QTextBrowser::focusOutEvent(QTextBrowser* theWrappedObject, QFocusEvent* ev) -{ - ( ((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->promoted_focusOutEvent(ev)); -} - -QVariant PythonQtWrapper_QTextBrowser::loadResource(QTextBrowser* theWrappedObject, int type, const QUrl& name) -{ - return ( ((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->promoted_loadResource(type, name)); -} - -QStringList PythonQtWrapper_QTextBrowser::searchPaths(QTextBrowser* theWrappedObject) const -{ - return ( theWrappedObject->searchPaths()); -} - -void PythonQtWrapper_QTextBrowser::mouseMoveEvent(QTextBrowser* theWrappedObject, QMouseEvent* ev) -{ - ( ((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->promoted_mouseMoveEvent(ev)); -} - -int PythonQtWrapper_QTextBrowser::forwardHistoryCount(QTextBrowser* theWrappedObject) const -{ - return ( theWrappedObject->forwardHistoryCount()); -} - -bool PythonQtWrapper_QTextBrowser::event(QTextBrowser* theWrappedObject, QEvent* e) -{ - return ( ((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->promoted_event(e)); -} - -void PythonQtWrapper_QTextBrowser::keyPressEvent(QTextBrowser* theWrappedObject, QKeyEvent* ev) -{ - ( ((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->promoted_keyPressEvent(ev)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextBrowser.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextBrowser.h deleted file mode 100644 index 835545f..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextBrowser.h +++ /dev/null @@ -1,155 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QTEXTBROWSER_H -#define PYTHONQTWRAPPER_QTEXTBROWSER_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QTextBrowser : public QTextBrowser -{ -public: - PythonQtShell_QTextBrowser(QWidget* parent = 0):QTextBrowser(parent),_wrapper(NULL) {}; - -virtual void actionEvent(QActionEvent* arg__1); -virtual void backward(); -virtual bool canInsertFromMimeData(const QMimeData* source) const; -virtual void changeEvent(QEvent* e); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* e); -virtual QMimeData* createMimeDataFromSelection() const; -virtual void customEvent(QEvent* arg__1); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* e); -virtual void dragLeaveEvent(QDragLeaveEvent* e); -virtual void dragMoveEvent(QDragMoveEvent* e); -virtual void dropEvent(QDropEvent* e); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* e); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* ev); -virtual void forward(); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void home(); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery property) const; -virtual void insertFromMimeData(const QMimeData* source); -virtual void keyPressEvent(QKeyEvent* ev); -virtual void keyReleaseEvent(QKeyEvent* e); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual QVariant loadResource(int type, const QUrl& name); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual void mouseDoubleClickEvent(QMouseEvent* e); -virtual void mouseMoveEvent(QMouseEvent* ev); -virtual void mousePressEvent(QMouseEvent* ev); -virtual void mouseReleaseEvent(QMouseEvent* ev); -virtual void moveEvent(QMoveEvent* arg__1); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* e); -virtual void reload(); -virtual void resizeEvent(QResizeEvent* e); -virtual void scrollContentsBy(int dx, int dy); -virtual void setSource(const QUrl& name); -virtual void showEvent(QShowEvent* arg__1); -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* e); -virtual bool viewportEvent(QEvent* arg__1); -virtual void wheelEvent(QWheelEvent* e); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QTextBrowser : public QTextBrowser -{ public: -inline void promoted_forward() { QTextBrowser::forward(); } -inline void promoted_mousePressEvent(QMouseEvent* ev) { QTextBrowser::mousePressEvent(ev); } -inline void promoted_paintEvent(QPaintEvent* e) { QTextBrowser::paintEvent(e); } -inline bool promoted_focusNextPrevChild(bool next) { return QTextBrowser::focusNextPrevChild(next); } -inline void promoted_setSource(const QUrl& name) { QTextBrowser::setSource(name); } -inline void promoted_mouseReleaseEvent(QMouseEvent* ev) { QTextBrowser::mouseReleaseEvent(ev); } -inline void promoted_home() { QTextBrowser::home(); } -inline void promoted_reload() { QTextBrowser::reload(); } -inline void promoted_backward() { QTextBrowser::backward(); } -inline void promoted_focusOutEvent(QFocusEvent* ev) { QTextBrowser::focusOutEvent(ev); } -inline QVariant promoted_loadResource(int type, const QUrl& name) { return QTextBrowser::loadResource(type, name); } -inline void promoted_mouseMoveEvent(QMouseEvent* ev) { QTextBrowser::mouseMoveEvent(ev); } -inline bool promoted_event(QEvent* e) { return QTextBrowser::event(e); } -inline void promoted_keyPressEvent(QKeyEvent* ev) { QTextBrowser::keyPressEvent(ev); } -}; - -class PythonQtWrapper_QTextBrowser : public QObject -{ Q_OBJECT -public: -public slots: -QTextBrowser* new_QTextBrowser(QWidget* parent = 0); -void delete_QTextBrowser(QTextBrowser* obj) { delete obj; } - bool isBackwardAvailable(QTextBrowser* theWrappedObject) const; - bool openLinks(QTextBrowser* theWrappedObject) const; - QString historyTitle(QTextBrowser* theWrappedObject, int arg__1) const; - QUrl historyUrl(QTextBrowser* theWrappedObject, int arg__1) const; - bool openExternalLinks(QTextBrowser* theWrappedObject) const; - void mousePressEvent(QTextBrowser* theWrappedObject, QMouseEvent* ev); - void paintEvent(QTextBrowser* theWrappedObject, QPaintEvent* e); - void setOpenExternalLinks(QTextBrowser* theWrappedObject, bool open); - bool isForwardAvailable(QTextBrowser* theWrappedObject) const; - bool focusNextPrevChild(QTextBrowser* theWrappedObject, bool next); - void setOpenLinks(QTextBrowser* theWrappedObject, bool open); - void mouseReleaseEvent(QTextBrowser* theWrappedObject, QMouseEvent* ev); - int backwardHistoryCount(QTextBrowser* theWrappedObject) const; - QUrl source(QTextBrowser* theWrappedObject) const; - void clearHistory(QTextBrowser* theWrappedObject); - void setSearchPaths(QTextBrowser* theWrappedObject, const QStringList& paths); - void focusOutEvent(QTextBrowser* theWrappedObject, QFocusEvent* ev); - QVariant loadResource(QTextBrowser* theWrappedObject, int type, const QUrl& name); - QStringList searchPaths(QTextBrowser* theWrappedObject) const; - void mouseMoveEvent(QTextBrowser* theWrappedObject, QMouseEvent* ev); - int forwardHistoryCount(QTextBrowser* theWrappedObject) const; - bool event(QTextBrowser* theWrappedObject, QEvent* e); - void keyPressEvent(QTextBrowser* theWrappedObject, QKeyEvent* ev); -}; - -#endif // PYTHONQTWRAPPER_QTEXTBROWSER_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextCharFormat.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextCharFormat.cpp deleted file mode 100644 index 10cb136..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextCharFormat.cpp +++ /dev/null @@ -1,243 +0,0 @@ -#include "PythonQtWrapper_QTextCharFormat.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QTextCharFormat* PythonQtWrapper_QTextCharFormat::new_QTextCharFormat() -{ -return new PythonQtShell_QTextCharFormat(); } - -int PythonQtWrapper_QTextCharFormat::tableCellRowSpan(QTextCharFormat* theWrappedObject) const -{ - return ( theWrappedObject->tableCellRowSpan()); -} - -void PythonQtWrapper_QTextCharFormat::setTableCellRowSpan(QTextCharFormat* theWrappedObject, int tableCellRowSpan) -{ - ( theWrappedObject->setTableCellRowSpan(tableCellRowSpan)); -} - -void PythonQtWrapper_QTextCharFormat::setUnderlineStyle(QTextCharFormat* theWrappedObject, QTextCharFormat::UnderlineStyle style) -{ - ( theWrappedObject->setUnderlineStyle(style)); -} - -bool PythonQtWrapper_QTextCharFormat::fontUnderline(QTextCharFormat* theWrappedObject) const -{ - return ( theWrappedObject->fontUnderline()); -} - -QFont PythonQtWrapper_QTextCharFormat::font(QTextCharFormat* theWrappedObject) const -{ - return ( theWrappedObject->font()); -} - -void PythonQtWrapper_QTextCharFormat::setAnchorHref(QTextCharFormat* theWrappedObject, const QString& value) -{ - ( theWrappedObject->setAnchorHref(value)); -} - -void PythonQtWrapper_QTextCharFormat::setFontOverline(QTextCharFormat* theWrappedObject, bool overline) -{ - ( theWrappedObject->setFontOverline(overline)); -} - -QString PythonQtWrapper_QTextCharFormat::fontFamily(QTextCharFormat* theWrappedObject) const -{ - return ( theWrappedObject->fontFamily()); -} - -void PythonQtWrapper_QTextCharFormat::setFontCapitalization(QTextCharFormat* theWrappedObject, QFont::Capitalization capitalization) -{ - ( theWrappedObject->setFontCapitalization(capitalization)); -} - -QStringList PythonQtWrapper_QTextCharFormat::anchorNames(QTextCharFormat* theWrappedObject) const -{ - return ( theWrappedObject->anchorNames()); -} - -void PythonQtWrapper_QTextCharFormat::setFontItalic(QTextCharFormat* theWrappedObject, bool italic) -{ - ( theWrappedObject->setFontItalic(italic)); -} - -void PythonQtWrapper_QTextCharFormat::setUnderlineColor(QTextCharFormat* theWrappedObject, const QColor& color) -{ - ( theWrappedObject->setUnderlineColor(color)); -} - -bool PythonQtWrapper_QTextCharFormat::isValid(QTextCharFormat* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -void PythonQtWrapper_QTextCharFormat::setTextOutline(QTextCharFormat* theWrappedObject, const QPen& pen) -{ - ( theWrappedObject->setTextOutline(pen)); -} - -void PythonQtWrapper_QTextCharFormat::setAnchorNames(QTextCharFormat* theWrappedObject, const QStringList& names) -{ - ( theWrappedObject->setAnchorNames(names)); -} - -bool PythonQtWrapper_QTextCharFormat::isAnchor(QTextCharFormat* theWrappedObject) const -{ - return ( theWrappedObject->isAnchor()); -} - -QPen PythonQtWrapper_QTextCharFormat::textOutline(QTextCharFormat* theWrappedObject) const -{ - return ( theWrappedObject->textOutline()); -} - -void PythonQtWrapper_QTextCharFormat::setAnchor(QTextCharFormat* theWrappedObject, bool anchor) -{ - ( theWrappedObject->setAnchor(anchor)); -} - -void PythonQtWrapper_QTextCharFormat::setFontPointSize(QTextCharFormat* theWrappedObject, qreal size) -{ - ( theWrappedObject->setFontPointSize(size)); -} - -int PythonQtWrapper_QTextCharFormat::tableCellColumnSpan(QTextCharFormat* theWrappedObject) const -{ - return ( theWrappedObject->tableCellColumnSpan()); -} - -QFont::Capitalization PythonQtWrapper_QTextCharFormat::fontCapitalization(QTextCharFormat* theWrappedObject) const -{ - return ( theWrappedObject->fontCapitalization()); -} - -bool PythonQtWrapper_QTextCharFormat::fontStrikeOut(QTextCharFormat* theWrappedObject) const -{ - return ( theWrappedObject->fontStrikeOut()); -} - -void PythonQtWrapper_QTextCharFormat::setToolTip(QTextCharFormat* theWrappedObject, const QString& tip) -{ - ( theWrappedObject->setToolTip(tip)); -} - -void PythonQtWrapper_QTextCharFormat::setFontWordSpacing(QTextCharFormat* theWrappedObject, qreal spacing) -{ - ( theWrappedObject->setFontWordSpacing(spacing)); -} - -qreal PythonQtWrapper_QTextCharFormat::fontLetterSpacing(QTextCharFormat* theWrappedObject) const -{ - return ( theWrappedObject->fontLetterSpacing()); -} - -int PythonQtWrapper_QTextCharFormat::fontWeight(QTextCharFormat* theWrappedObject) const -{ - return ( theWrappedObject->fontWeight()); -} - -void PythonQtWrapper_QTextCharFormat::setFont(QTextCharFormat* theWrappedObject, const QFont& font) -{ - ( theWrappedObject->setFont(font)); -} - -void PythonQtWrapper_QTextCharFormat::setFontFixedPitch(QTextCharFormat* theWrappedObject, bool fixedPitch) -{ - ( theWrappedObject->setFontFixedPitch(fixedPitch)); -} - -void PythonQtWrapper_QTextCharFormat::setFontFamily(QTextCharFormat* theWrappedObject, const QString& family) -{ - ( theWrappedObject->setFontFamily(family)); -} - -void PythonQtWrapper_QTextCharFormat::setFontUnderline(QTextCharFormat* theWrappedObject, bool underline) -{ - ( theWrappedObject->setFontUnderline(underline)); -} - -QString PythonQtWrapper_QTextCharFormat::anchorHref(QTextCharFormat* theWrappedObject) const -{ - return ( theWrappedObject->anchorHref()); -} - -QTextCharFormat::VerticalAlignment PythonQtWrapper_QTextCharFormat::verticalAlignment(QTextCharFormat* theWrappedObject) const -{ - return ( theWrappedObject->verticalAlignment()); -} - -QColor PythonQtWrapper_QTextCharFormat::underlineColor(QTextCharFormat* theWrappedObject) const -{ - return ( theWrappedObject->underlineColor()); -} - -void PythonQtWrapper_QTextCharFormat::setFontWeight(QTextCharFormat* theWrappedObject, int weight) -{ - ( theWrappedObject->setFontWeight(weight)); -} - -bool PythonQtWrapper_QTextCharFormat::fontItalic(QTextCharFormat* theWrappedObject) const -{ - return ( theWrappedObject->fontItalic()); -} - -void PythonQtWrapper_QTextCharFormat::setTableCellColumnSpan(QTextCharFormat* theWrappedObject, int tableCellColumnSpan) -{ - ( theWrappedObject->setTableCellColumnSpan(tableCellColumnSpan)); -} - -qreal PythonQtWrapper_QTextCharFormat::fontWordSpacing(QTextCharFormat* theWrappedObject) const -{ - return ( theWrappedObject->fontWordSpacing()); -} - -bool PythonQtWrapper_QTextCharFormat::fontOverline(QTextCharFormat* theWrappedObject) const -{ - return ( theWrappedObject->fontOverline()); -} - -QTextCharFormat::UnderlineStyle PythonQtWrapper_QTextCharFormat::underlineStyle(QTextCharFormat* theWrappedObject) const -{ - return ( theWrappedObject->underlineStyle()); -} - -void PythonQtWrapper_QTextCharFormat::setFontLetterSpacing(QTextCharFormat* theWrappedObject, qreal spacing) -{ - ( theWrappedObject->setFontLetterSpacing(spacing)); -} - -void PythonQtWrapper_QTextCharFormat::setFontStrikeOut(QTextCharFormat* theWrappedObject, bool strikeOut) -{ - ( theWrappedObject->setFontStrikeOut(strikeOut)); -} - -qreal PythonQtWrapper_QTextCharFormat::fontPointSize(QTextCharFormat* theWrappedObject) const -{ - return ( theWrappedObject->fontPointSize()); -} - -bool PythonQtWrapper_QTextCharFormat::fontFixedPitch(QTextCharFormat* theWrappedObject) const -{ - return ( theWrappedObject->fontFixedPitch()); -} - -void PythonQtWrapper_QTextCharFormat::setVerticalAlignment(QTextCharFormat* theWrappedObject, QTextCharFormat::VerticalAlignment alignment) -{ - ( theWrappedObject->setVerticalAlignment(alignment)); -} - -QString PythonQtWrapper_QTextCharFormat::toolTip(QTextCharFormat* theWrappedObject) const -{ - return ( theWrappedObject->toolTip()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextCharFormat.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextCharFormat.h deleted file mode 100644 index f544211..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextCharFormat.h +++ /dev/null @@ -1,90 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QTEXTCHARFORMAT_H -#define PYTHONQTWRAPPER_QTEXTCHARFORMAT_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QTextCharFormat : public QTextCharFormat -{ -public: - PythonQtShell_QTextCharFormat():QTextCharFormat(),_wrapper(NULL) {}; - PythonQtShell_QTextCharFormat(const QTextFormat& fmt):QTextCharFormat(fmt),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QTextCharFormat : public QObject -{ Q_OBJECT -public: -Q_ENUMS(VerticalAlignment UnderlineStyle ) -enum VerticalAlignment{ - AlignNormal = QTextCharFormat::AlignNormal, AlignSuperScript = QTextCharFormat::AlignSuperScript, AlignSubScript = QTextCharFormat::AlignSubScript, AlignMiddle = QTextCharFormat::AlignMiddle, AlignTop = QTextCharFormat::AlignTop, AlignBottom = QTextCharFormat::AlignBottom}; -enum UnderlineStyle{ - NoUnderline = QTextCharFormat::NoUnderline, SingleUnderline = QTextCharFormat::SingleUnderline, DashUnderline = QTextCharFormat::DashUnderline, DotLine = QTextCharFormat::DotLine, DashDotLine = QTextCharFormat::DashDotLine, DashDotDotLine = QTextCharFormat::DashDotDotLine, WaveUnderline = QTextCharFormat::WaveUnderline, SpellCheckUnderline = QTextCharFormat::SpellCheckUnderline}; -public slots: -QTextCharFormat* new_QTextCharFormat(); -QTextCharFormat* new_QTextCharFormat(const QTextCharFormat& other) { -PythonQtShell_QTextCharFormat* a = new PythonQtShell_QTextCharFormat(); -*((QTextCharFormat*)a) = other; -return a; } -void delete_QTextCharFormat(QTextCharFormat* obj) { delete obj; } - int tableCellRowSpan(QTextCharFormat* theWrappedObject) const; - void setTableCellRowSpan(QTextCharFormat* theWrappedObject, int tableCellRowSpan); - void setUnderlineStyle(QTextCharFormat* theWrappedObject, QTextCharFormat::UnderlineStyle style); - bool fontUnderline(QTextCharFormat* theWrappedObject) const; - QFont font(QTextCharFormat* theWrappedObject) const; - void setAnchorHref(QTextCharFormat* theWrappedObject, const QString& value); - void setFontOverline(QTextCharFormat* theWrappedObject, bool overline); - QString fontFamily(QTextCharFormat* theWrappedObject) const; - void setFontCapitalization(QTextCharFormat* theWrappedObject, QFont::Capitalization capitalization); - QStringList anchorNames(QTextCharFormat* theWrappedObject) const; - void setFontItalic(QTextCharFormat* theWrappedObject, bool italic); - void setUnderlineColor(QTextCharFormat* theWrappedObject, const QColor& color); - bool isValid(QTextCharFormat* theWrappedObject) const; - void setTextOutline(QTextCharFormat* theWrappedObject, const QPen& pen); - void setAnchorNames(QTextCharFormat* theWrappedObject, const QStringList& names); - bool isAnchor(QTextCharFormat* theWrappedObject) const; - QPen textOutline(QTextCharFormat* theWrappedObject) const; - void setAnchor(QTextCharFormat* theWrappedObject, bool anchor); - void setFontPointSize(QTextCharFormat* theWrappedObject, qreal size); - int tableCellColumnSpan(QTextCharFormat* theWrappedObject) const; - QFont::Capitalization fontCapitalization(QTextCharFormat* theWrappedObject) const; - bool fontStrikeOut(QTextCharFormat* theWrappedObject) const; - void setToolTip(QTextCharFormat* theWrappedObject, const QString& tip); - void setFontWordSpacing(QTextCharFormat* theWrappedObject, qreal spacing); - qreal fontLetterSpacing(QTextCharFormat* theWrappedObject) const; - int fontWeight(QTextCharFormat* theWrappedObject) const; - void setFont(QTextCharFormat* theWrappedObject, const QFont& font); - void setFontFixedPitch(QTextCharFormat* theWrappedObject, bool fixedPitch); - void setFontFamily(QTextCharFormat* theWrappedObject, const QString& family); - void setFontUnderline(QTextCharFormat* theWrappedObject, bool underline); - QString anchorHref(QTextCharFormat* theWrappedObject) const; - QTextCharFormat::VerticalAlignment verticalAlignment(QTextCharFormat* theWrappedObject) const; - QColor underlineColor(QTextCharFormat* theWrappedObject) const; - void setFontWeight(QTextCharFormat* theWrappedObject, int weight); - bool fontItalic(QTextCharFormat* theWrappedObject) const; - void setTableCellColumnSpan(QTextCharFormat* theWrappedObject, int tableCellColumnSpan); - qreal fontWordSpacing(QTextCharFormat* theWrappedObject) const; - bool fontOverline(QTextCharFormat* theWrappedObject) const; - QTextCharFormat::UnderlineStyle underlineStyle(QTextCharFormat* theWrappedObject) const; - void setFontLetterSpacing(QTextCharFormat* theWrappedObject, qreal spacing); - void setFontStrikeOut(QTextCharFormat* theWrappedObject, bool strikeOut); - qreal fontPointSize(QTextCharFormat* theWrappedObject) const; - bool fontFixedPitch(QTextCharFormat* theWrappedObject) const; - void setVerticalAlignment(QTextCharFormat* theWrappedObject, QTextCharFormat::VerticalAlignment alignment); - QString toolTip(QTextCharFormat* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QTEXTCHARFORMAT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextCursor.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextCursor.cpp deleted file mode 100644 index 2261487..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextCursor.cpp +++ /dev/null @@ -1,341 +0,0 @@ -#include "PythonQtWrapper_QTextCursor.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QTextCursor* PythonQtWrapper_QTextCursor::new_QTextCursor() -{ -return new QTextCursor(); } - -QTextCursor* PythonQtWrapper_QTextCursor::new_QTextCursor(QTextDocument* document) -{ -return new QTextCursor(document); } - -QTextCursor* PythonQtWrapper_QTextCursor::new_QTextCursor(QTextFrame* frame) -{ -return new QTextCursor(frame); } - -QTextCursor* PythonQtWrapper_QTextCursor::new_QTextCursor(const QTextBlock& block) -{ -return new QTextCursor(block); } - -QTextCursor* PythonQtWrapper_QTextCursor::new_QTextCursor(const QTextCursor& cursor) -{ -return new QTextCursor(cursor); } - -void PythonQtWrapper_QTextCursor::insertText(QTextCursor* theWrappedObject, const QString& text, const QTextCharFormat& format) -{ - ( theWrappedObject->insertText(text, format)); -} - -int PythonQtWrapper_QTextCursor::position(QTextCursor* theWrappedObject) const -{ - return ( theWrappedObject->position()); -} - -QTextList* PythonQtWrapper_QTextCursor::createList(QTextCursor* theWrappedObject, QTextListFormat::Style style) -{ - return ( theWrappedObject->createList(style)); -} - -int PythonQtWrapper_QTextCursor::selectionStart(QTextCursor* theWrappedObject) const -{ - return ( theWrappedObject->selectionStart()); -} - -bool PythonQtWrapper_QTextCursor::isNull(QTextCursor* theWrappedObject) const -{ - return ( theWrappedObject->isNull()); -} - -QTextTable* PythonQtWrapper_QTextCursor::insertTable(QTextCursor* theWrappedObject, int rows, int cols, const QTextTableFormat& format) -{ - return ( theWrappedObject->insertTable(rows, cols, format)); -} - -void PythonQtWrapper_QTextCursor::insertText(QTextCursor* theWrappedObject, const QString& text) -{ - ( theWrappedObject->insertText(text)); -} - -QTextCharFormat PythonQtWrapper_QTextCursor::charFormat(QTextCursor* theWrappedObject) const -{ - return ( theWrappedObject->charFormat()); -} - -QTextTable* PythonQtWrapper_QTextCursor::currentTable(QTextCursor* theWrappedObject) const -{ - return ( theWrappedObject->currentTable()); -} - -bool PythonQtWrapper_QTextCursor::atEnd(QTextCursor* theWrappedObject) const -{ - return ( theWrappedObject->atEnd()); -} - -void PythonQtWrapper_QTextCursor::insertHtml(QTextCursor* theWrappedObject, const QString& html) -{ - ( theWrappedObject->insertHtml(html)); -} - -void PythonQtWrapper_QTextCursor::insertBlock(QTextCursor* theWrappedObject, const QTextBlockFormat& format, const QTextCharFormat& charFormat) -{ - ( theWrappedObject->insertBlock(format, charFormat)); -} - -void PythonQtWrapper_QTextCursor::setCharFormat(QTextCursor* theWrappedObject, const QTextCharFormat& format) -{ - ( theWrappedObject->setCharFormat(format)); -} - -bool PythonQtWrapper_QTextCursor::visualNavigation(QTextCursor* theWrappedObject) const -{ - return ( theWrappedObject->visualNavigation()); -} - -void PythonQtWrapper_QTextCursor::insertFragment(QTextCursor* theWrappedObject, const QTextDocumentFragment& fragment) -{ - ( theWrappedObject->insertFragment(fragment)); -} - -void PythonQtWrapper_QTextCursor::setVisualNavigation(QTextCursor* theWrappedObject, bool b) -{ - ( theWrappedObject->setVisualNavigation(b)); -} - -void PythonQtWrapper_QTextCursor::setPosition(QTextCursor* theWrappedObject, int pos, QTextCursor::MoveMode mode) -{ - ( theWrappedObject->setPosition(pos, mode)); -} - -QTextBlock PythonQtWrapper_QTextCursor::block(QTextCursor* theWrappedObject) const -{ - return ( theWrappedObject->block()); -} - -bool PythonQtWrapper_QTextCursor::atBlockStart(QTextCursor* theWrappedObject) const -{ - return ( theWrappedObject->atBlockStart()); -} - -int PythonQtWrapper_QTextCursor::columnNumber(QTextCursor* theWrappedObject) const -{ - return ( theWrappedObject->columnNumber()); -} - -void PythonQtWrapper_QTextCursor::mergeBlockFormat(QTextCursor* theWrappedObject, const QTextBlockFormat& modifier) -{ - ( theWrappedObject->mergeBlockFormat(modifier)); -} - -QTextBlockFormat PythonQtWrapper_QTextCursor::blockFormat(QTextCursor* theWrappedObject) const -{ - return ( theWrappedObject->blockFormat()); -} - -QTextTable* PythonQtWrapper_QTextCursor::insertTable(QTextCursor* theWrappedObject, int rows, int cols) -{ - return ( theWrappedObject->insertTable(rows, cols)); -} - -int PythonQtWrapper_QTextCursor::anchor(QTextCursor* theWrappedObject) const -{ - return ( theWrappedObject->anchor()); -} - -bool PythonQtWrapper_QTextCursor::movePosition(QTextCursor* theWrappedObject, QTextCursor::MoveOperation op, QTextCursor::MoveMode arg__2, int n) -{ - return ( theWrappedObject->movePosition(op, arg__2, n)); -} - -int PythonQtWrapper_QTextCursor::blockNumber(QTextCursor* theWrappedObject) const -{ - return ( theWrappedObject->blockNumber()); -} - -void PythonQtWrapper_QTextCursor::insertBlock(QTextCursor* theWrappedObject) -{ - ( theWrappedObject->insertBlock()); -} - -bool PythonQtWrapper_QTextCursor::isCopyOf(QTextCursor* theWrappedObject, const QTextCursor& other) const -{ - return ( theWrappedObject->isCopyOf(other)); -} - -void PythonQtWrapper_QTextCursor::insertImage(QTextCursor* theWrappedObject, const QTextImageFormat& format, QTextFrameFormat::Position alignment) -{ - ( theWrappedObject->insertImage(format, alignment)); -} - -QString PythonQtWrapper_QTextCursor::selectedText(QTextCursor* theWrappedObject) const -{ - return ( theWrappedObject->selectedText()); -} - -bool PythonQtWrapper_QTextCursor::hasSelection(QTextCursor* theWrappedObject) const -{ - return ( theWrappedObject->hasSelection()); -} - -void PythonQtWrapper_QTextCursor::insertBlock(QTextCursor* theWrappedObject, const QTextBlockFormat& format) -{ - ( theWrappedObject->insertBlock(format)); -} - -void PythonQtWrapper_QTextCursor::insertImage(QTextCursor* theWrappedObject, const QTextImageFormat& format) -{ - ( theWrappedObject->insertImage(format)); -} - -bool PythonQtWrapper_QTextCursor::operator_equal(QTextCursor* theWrappedObject, const QTextCursor& rhs) const -{ - return ( (*theWrappedObject)== rhs); -} - -void PythonQtWrapper_QTextCursor::deleteChar(QTextCursor* theWrappedObject) -{ - ( theWrappedObject->deleteChar()); -} - -void PythonQtWrapper_QTextCursor::insertImage(QTextCursor* theWrappedObject, const QString& name) -{ - ( theWrappedObject->insertImage(name)); -} - -void PythonQtWrapper_QTextCursor::endEditBlock(QTextCursor* theWrappedObject) -{ - ( theWrappedObject->endEditBlock()); -} - -void PythonQtWrapper_QTextCursor::joinPreviousEditBlock(QTextCursor* theWrappedObject) -{ - ( theWrappedObject->joinPreviousEditBlock()); -} - -void PythonQtWrapper_QTextCursor::select(QTextCursor* theWrappedObject, QTextCursor::SelectionType selection) -{ - ( theWrappedObject->select(selection)); -} - -QTextCharFormat PythonQtWrapper_QTextCursor::blockCharFormat(QTextCursor* theWrappedObject) const -{ - return ( theWrappedObject->blockCharFormat()); -} - -bool PythonQtWrapper_QTextCursor::atStart(QTextCursor* theWrappedObject) const -{ - return ( theWrappedObject->atStart()); -} - -bool PythonQtWrapper_QTextCursor::hasComplexSelection(QTextCursor* theWrappedObject) const -{ - return ( theWrappedObject->hasComplexSelection()); -} - -void PythonQtWrapper_QTextCursor::selectedTableCells(QTextCursor* theWrappedObject, int* firstRow, int* numRows, int* firstColumn, int* numColumns) const -{ - ( theWrappedObject->selectedTableCells(firstRow, numRows, firstColumn, numColumns)); -} - -void PythonQtWrapper_QTextCursor::removeSelectedText(QTextCursor* theWrappedObject) -{ - ( theWrappedObject->removeSelectedText()); -} - -QTextList* PythonQtWrapper_QTextCursor::insertList(QTextCursor* theWrappedObject, const QTextListFormat& format) -{ - return ( theWrappedObject->insertList(format)); -} - -QTextFrame* PythonQtWrapper_QTextCursor::insertFrame(QTextCursor* theWrappedObject, const QTextFrameFormat& format) -{ - return ( theWrappedObject->insertFrame(format)); -} - -void PythonQtWrapper_QTextCursor::mergeBlockCharFormat(QTextCursor* theWrappedObject, const QTextCharFormat& modifier) -{ - ( theWrappedObject->mergeBlockCharFormat(modifier)); -} - -bool PythonQtWrapper_QTextCursor::atBlockEnd(QTextCursor* theWrappedObject) const -{ - return ( theWrappedObject->atBlockEnd()); -} - -void PythonQtWrapper_QTextCursor::clearSelection(QTextCursor* theWrappedObject) -{ - ( theWrappedObject->clearSelection()); -} - -void PythonQtWrapper_QTextCursor::setBlockFormat(QTextCursor* theWrappedObject, const QTextBlockFormat& format) -{ - ( theWrappedObject->setBlockFormat(format)); -} - -QTextList* PythonQtWrapper_QTextCursor::currentList(QTextCursor* theWrappedObject) const -{ - return ( theWrappedObject->currentList()); -} - -QTextList* PythonQtWrapper_QTextCursor::createList(QTextCursor* theWrappedObject, const QTextListFormat& format) -{ - return ( theWrappedObject->createList(format)); -} - -QTextFrame* PythonQtWrapper_QTextCursor::currentFrame(QTextCursor* theWrappedObject) const -{ - return ( theWrappedObject->currentFrame()); -} - -void PythonQtWrapper_QTextCursor::deletePreviousChar(QTextCursor* theWrappedObject) -{ - ( theWrappedObject->deletePreviousChar()); -} - -void PythonQtWrapper_QTextCursor::beginEditBlock(QTextCursor* theWrappedObject) -{ - ( theWrappedObject->beginEditBlock()); -} - -void PythonQtWrapper_QTextCursor::mergeCharFormat(QTextCursor* theWrappedObject, const QTextCharFormat& modifier) -{ - ( theWrappedObject->mergeCharFormat(modifier)); -} - -int PythonQtWrapper_QTextCursor::selectionEnd(QTextCursor* theWrappedObject) const -{ - return ( theWrappedObject->selectionEnd()); -} - -QTextList* PythonQtWrapper_QTextCursor::insertList(QTextCursor* theWrappedObject, QTextListFormat::Style style) -{ - return ( theWrappedObject->insertList(style)); -} - -bool PythonQtWrapper_QTextCursor::operator_less(QTextCursor* theWrappedObject, const QTextCursor& rhs) const -{ - return ( (*theWrappedObject)< rhs); -} - -QTextDocumentFragment PythonQtWrapper_QTextCursor::selection(QTextCursor* theWrappedObject) const -{ - return ( theWrappedObject->selection()); -} - -void PythonQtWrapper_QTextCursor::setBlockCharFormat(QTextCursor* theWrappedObject, const QTextCharFormat& format) -{ - ( theWrappedObject->setBlockCharFormat(format)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextCursor.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextCursor.h deleted file mode 100644 index 9b89c01..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextCursor.h +++ /dev/null @@ -1,100 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QTEXTCURSOR_H -#define PYTHONQTWRAPPER_QTEXTCURSOR_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtWrapper_QTextCursor : public QObject -{ Q_OBJECT -public: -Q_ENUMS(MoveMode MoveOperation SelectionType ) -enum MoveMode{ - MoveAnchor = QTextCursor::MoveAnchor, KeepAnchor = QTextCursor::KeepAnchor}; -enum MoveOperation{ - NoMove = QTextCursor::NoMove, Start = QTextCursor::Start, Up = QTextCursor::Up, StartOfLine = QTextCursor::StartOfLine, StartOfBlock = QTextCursor::StartOfBlock, StartOfWord = QTextCursor::StartOfWord, PreviousBlock = QTextCursor::PreviousBlock, PreviousCharacter = QTextCursor::PreviousCharacter, PreviousWord = QTextCursor::PreviousWord, Left = QTextCursor::Left, WordLeft = QTextCursor::WordLeft, End = QTextCursor::End, Down = QTextCursor::Down, EndOfLine = QTextCursor::EndOfLine, EndOfWord = QTextCursor::EndOfWord, EndOfBlock = QTextCursor::EndOfBlock, NextBlock = QTextCursor::NextBlock, NextCharacter = QTextCursor::NextCharacter, NextWord = QTextCursor::NextWord, Right = QTextCursor::Right, WordRight = QTextCursor::WordRight}; -enum SelectionType{ - WordUnderCursor = QTextCursor::WordUnderCursor, LineUnderCursor = QTextCursor::LineUnderCursor, BlockUnderCursor = QTextCursor::BlockUnderCursor, Document = QTextCursor::Document}; -public slots: -QTextCursor* new_QTextCursor(); -QTextCursor* new_QTextCursor(QTextDocument* document); -QTextCursor* new_QTextCursor(QTextFrame* frame); -QTextCursor* new_QTextCursor(const QTextBlock& block); -QTextCursor* new_QTextCursor(const QTextCursor& cursor); -void delete_QTextCursor(QTextCursor* obj) { delete obj; } - void insertText(QTextCursor* theWrappedObject, const QString& text, const QTextCharFormat& format); - int position(QTextCursor* theWrappedObject) const; - QTextList* createList(QTextCursor* theWrappedObject, QTextListFormat::Style style); - int selectionStart(QTextCursor* theWrappedObject) const; - bool isNull(QTextCursor* theWrappedObject) const; - QTextTable* insertTable(QTextCursor* theWrappedObject, int rows, int cols, const QTextTableFormat& format); - void insertText(QTextCursor* theWrappedObject, const QString& text); - QTextCharFormat charFormat(QTextCursor* theWrappedObject) const; - QTextTable* currentTable(QTextCursor* theWrappedObject) const; - bool atEnd(QTextCursor* theWrappedObject) const; - void insertHtml(QTextCursor* theWrappedObject, const QString& html); - void insertBlock(QTextCursor* theWrappedObject, const QTextBlockFormat& format, const QTextCharFormat& charFormat); - void setCharFormat(QTextCursor* theWrappedObject, const QTextCharFormat& format); - bool visualNavigation(QTextCursor* theWrappedObject) const; - void insertFragment(QTextCursor* theWrappedObject, const QTextDocumentFragment& fragment); - void setVisualNavigation(QTextCursor* theWrappedObject, bool b); - void setPosition(QTextCursor* theWrappedObject, int pos, QTextCursor::MoveMode mode = QTextCursor::MoveAnchor); - QTextBlock block(QTextCursor* theWrappedObject) const; - bool atBlockStart(QTextCursor* theWrappedObject) const; - int columnNumber(QTextCursor* theWrappedObject) const; - void mergeBlockFormat(QTextCursor* theWrappedObject, const QTextBlockFormat& modifier); - QTextBlockFormat blockFormat(QTextCursor* theWrappedObject) const; - QTextTable* insertTable(QTextCursor* theWrappedObject, int rows, int cols); - int anchor(QTextCursor* theWrappedObject) const; - bool movePosition(QTextCursor* theWrappedObject, QTextCursor::MoveOperation op, QTextCursor::MoveMode arg__2 = QTextCursor::MoveAnchor, int n = 1); - int blockNumber(QTextCursor* theWrappedObject) const; - void insertBlock(QTextCursor* theWrappedObject); - bool isCopyOf(QTextCursor* theWrappedObject, const QTextCursor& other) const; - void insertImage(QTextCursor* theWrappedObject, const QTextImageFormat& format, QTextFrameFormat::Position alignment); - QString selectedText(QTextCursor* theWrappedObject) const; - bool hasSelection(QTextCursor* theWrappedObject) const; - void insertBlock(QTextCursor* theWrappedObject, const QTextBlockFormat& format); - void insertImage(QTextCursor* theWrappedObject, const QTextImageFormat& format); - bool operator_equal(QTextCursor* theWrappedObject, const QTextCursor& rhs) const; - void deleteChar(QTextCursor* theWrappedObject); - void insertImage(QTextCursor* theWrappedObject, const QString& name); - void endEditBlock(QTextCursor* theWrappedObject); - void joinPreviousEditBlock(QTextCursor* theWrappedObject); - void select(QTextCursor* theWrappedObject, QTextCursor::SelectionType selection); - QTextCharFormat blockCharFormat(QTextCursor* theWrappedObject) const; - bool atStart(QTextCursor* theWrappedObject) const; - bool hasComplexSelection(QTextCursor* theWrappedObject) const; - void selectedTableCells(QTextCursor* theWrappedObject, int* firstRow, int* numRows, int* firstColumn, int* numColumns) const; - void removeSelectedText(QTextCursor* theWrappedObject); - QTextList* insertList(QTextCursor* theWrappedObject, const QTextListFormat& format); - QTextFrame* insertFrame(QTextCursor* theWrappedObject, const QTextFrameFormat& format); - void mergeBlockCharFormat(QTextCursor* theWrappedObject, const QTextCharFormat& modifier); - bool atBlockEnd(QTextCursor* theWrappedObject) const; - void clearSelection(QTextCursor* theWrappedObject); - void setBlockFormat(QTextCursor* theWrappedObject, const QTextBlockFormat& format); - QTextList* currentList(QTextCursor* theWrappedObject) const; - QTextList* createList(QTextCursor* theWrappedObject, const QTextListFormat& format); - QTextFrame* currentFrame(QTextCursor* theWrappedObject) const; - void deletePreviousChar(QTextCursor* theWrappedObject); - void beginEditBlock(QTextCursor* theWrappedObject); - void mergeCharFormat(QTextCursor* theWrappedObject, const QTextCharFormat& modifier); - int selectionEnd(QTextCursor* theWrappedObject) const; - QTextList* insertList(QTextCursor* theWrappedObject, QTextListFormat::Style style); - bool operator_less(QTextCursor* theWrappedObject, const QTextCursor& rhs) const; - QTextDocumentFragment selection(QTextCursor* theWrappedObject) const; - void setBlockCharFormat(QTextCursor* theWrappedObject, const QTextCharFormat& format); -}; - -#endif // PYTHONQTWRAPPER_QTEXTCURSOR_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextDocument.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextDocument.cpp deleted file mode 100644 index fde7d67..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextDocument.cpp +++ /dev/null @@ -1,524 +0,0 @@ -#include "PythonQtWrapper_QTextDocument.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QTextDocument::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; - } -} - QTextDocument::childEvent(arg__1); -} -void PythonQtShell_QTextDocument::clear() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "clear"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTextDocument::clear(); -} -QTextObject* PythonQtShell_QTextDocument::createObject(const QTextFormat& f) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "createObject"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QTextObject*" , "const QTextFormat&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QTextObject* returnValue; - void* args[2] = {NULL, (void*)&f}; - 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("createObject", methodInfo, result); - } else { - returnValue = *((QTextObject**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTextDocument::createObject(f); -} -void PythonQtShell_QTextDocument::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; - } -} - QTextDocument::customEvent(arg__1); -} -bool PythonQtShell_QTextDocument::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTextDocument::event(arg__1); -} -bool PythonQtShell_QTextDocument::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTextDocument::eventFilter(arg__1, arg__2); -} -QVariant PythonQtShell_QTextDocument::loadResource(int type, const QUrl& name) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "loadResource"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "int" , "const QUrl&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&type, (void*)&name}; - 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("loadResource", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTextDocument::loadResource(type, name); -} -void PythonQtShell_QTextDocument::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; - } -} - QTextDocument::timerEvent(arg__1); -} -QTextDocument* PythonQtWrapper_QTextDocument::new_QTextDocument(QObject* parent) -{ -return new PythonQtShell_QTextDocument(parent); } - -QTextDocument* PythonQtWrapper_QTextDocument::new_QTextDocument(const QString& text, QObject* parent) -{ -return new PythonQtShell_QTextDocument(text, parent); } - -QTextFrame* PythonQtWrapper_QTextDocument::frameAt(QTextDocument* theWrappedObject, int pos) const -{ - return ( theWrappedObject->frameAt(pos)); -} - -QSizeF PythonQtWrapper_QTextDocument::pageSize(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->pageSize()); -} - -void PythonQtWrapper_QTextDocument::adjustSize(QTextDocument* theWrappedObject) -{ - ( theWrappedObject->adjustSize()); -} - -QTextBlock PythonQtWrapper_QTextDocument::begin(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->begin()); -} - -qreal PythonQtWrapper_QTextDocument::idealWidth(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->idealWidth()); -} - -qreal PythonQtWrapper_QTextDocument::indentWidth(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->indentWidth()); -} - -void PythonQtWrapper_QTextDocument::setPlainText(QTextDocument* theWrappedObject, const QString& text) -{ - ( theWrappedObject->setPlainText(text)); -} - -void PythonQtWrapper_QTextDocument::setHtml(QTextDocument* theWrappedObject, const QString& html) -{ - ( theWrappedObject->setHtml(html)); -} - -void PythonQtWrapper_QTextDocument::setMaximumBlockCount(QTextDocument* theWrappedObject, int maximum) -{ - ( theWrappedObject->setMaximumBlockCount(maximum)); -} - -QString PythonQtWrapper_QTextDocument::metaInformation(QTextDocument* theWrappedObject, QTextDocument::MetaInformation info) const -{ - return ( theWrappedObject->metaInformation(info)); -} - -QTextBlock PythonQtWrapper_QTextDocument::lastBlock(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->lastBlock()); -} - -QTextBlock PythonQtWrapper_QTextDocument::findBlock(QTextDocument* theWrappedObject, int pos) const -{ - return ( theWrappedObject->findBlock(pos)); -} - -QTextBlock PythonQtWrapper_QTextDocument::end(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->end()); -} - -bool PythonQtWrapper_QTextDocument::isEmpty(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->isEmpty()); -} - -QTextObject* PythonQtWrapper_QTextDocument::objectForFormat(QTextDocument* theWrappedObject, const QTextFormat& arg__1) const -{ - return ( theWrappedObject->objectForFormat(arg__1)); -} - -qreal PythonQtWrapper_QTextDocument::textWidth(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->textWidth()); -} - -QTextObject* PythonQtWrapper_QTextDocument::createObject(QTextDocument* theWrappedObject, const QTextFormat& f) -{ - return ( ((PythonQtPublicPromoter_QTextDocument*)theWrappedObject)->promoted_createObject(f)); -} - -QVector PythonQtWrapper_QTextDocument::allFormats(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->allFormats()); -} - -void PythonQtWrapper_QTextDocument::undo(QTextDocument* theWrappedObject, QTextCursor* cursor) -{ - ( theWrappedObject->undo(cursor)); -} - -QString PythonQtWrapper_QTextDocument::toPlainText(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->toPlainText()); -} - -QString PythonQtWrapper_QTextDocument::defaultStyleSheet(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->defaultStyleSheet()); -} - -QAbstractTextDocumentLayout* PythonQtWrapper_QTextDocument::documentLayout(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->documentLayout()); -} - -void PythonQtWrapper_QTextDocument::drawContents(QTextDocument* theWrappedObject, QPainter* painter, const QRectF& rect) -{ - ( theWrappedObject->drawContents(painter, rect)); -} - -QTextObject* PythonQtWrapper_QTextDocument::object(QTextDocument* theWrappedObject, int objectIndex) const -{ - return ( theWrappedObject->object(objectIndex)); -} - -void PythonQtWrapper_QTextDocument::clear(QTextDocument* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QTextDocument*)theWrappedObject)->promoted_clear()); -} - -void PythonQtWrapper_QTextDocument::markContentsDirty(QTextDocument* theWrappedObject, int from, int length) -{ - ( theWrappedObject->markContentsDirty(from, length)); -} - -int PythonQtWrapper_QTextDocument::pageCount(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->pageCount()); -} - -void PythonQtWrapper_QTextDocument::setDefaultFont(QTextDocument* theWrappedObject, const QFont& font) -{ - ( theWrappedObject->setDefaultFont(font)); -} - -void PythonQtWrapper_QTextDocument::setDefaultStyleSheet(QTextDocument* theWrappedObject, const QString& sheet) -{ - ( theWrappedObject->setDefaultStyleSheet(sheet)); -} - -QVariant PythonQtWrapper_QTextDocument::resource(QTextDocument* theWrappedObject, int type, const QUrl& name) const -{ - return ( theWrappedObject->resource(type, name)); -} - -void PythonQtWrapper_QTextDocument::setUndoRedoEnabled(QTextDocument* theWrappedObject, bool enable) -{ - ( theWrappedObject->setUndoRedoEnabled(enable)); -} - -QTextOption PythonQtWrapper_QTextDocument::defaultTextOption(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->defaultTextOption()); -} - -QTextCursor PythonQtWrapper_QTextDocument::find(QTextDocument* theWrappedObject, const QRegExp& expr, int from, QTextDocument::FindFlags options) const -{ - return ( theWrappedObject->find(expr, from, options)); -} - -bool PythonQtWrapper_QTextDocument::isUndoAvailable(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->isUndoAvailable()); -} - -bool PythonQtWrapper_QTextDocument::isModified(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->isModified()); -} - -void PythonQtWrapper_QTextDocument::setDocumentLayout(QTextDocument* theWrappedObject, QAbstractTextDocumentLayout* layout) -{ - ( theWrappedObject->setDocumentLayout(layout)); -} - -void PythonQtWrapper_QTextDocument::setTextWidth(QTextDocument* theWrappedObject, qreal width) -{ - ( theWrappedObject->setTextWidth(width)); -} - -void PythonQtWrapper_QTextDocument::addResource(QTextDocument* theWrappedObject, int type, const QUrl& name, const QVariant& resource) -{ - ( theWrappedObject->addResource(type, name, resource)); -} - -QTextCursor PythonQtWrapper_QTextDocument::find(QTextDocument* theWrappedObject, const QRegExp& expr, const QTextCursor& from, QTextDocument::FindFlags options) const -{ - return ( theWrappedObject->find(expr, from, options)); -} - -void PythonQtWrapper_QTextDocument::setIndentWidth(QTextDocument* theWrappedObject, qreal width) -{ - ( theWrappedObject->setIndentWidth(width)); -} - -void PythonQtWrapper_QTextDocument::setUseDesignMetrics(QTextDocument* theWrappedObject, bool b) -{ - ( theWrappedObject->setUseDesignMetrics(b)); -} - -void PythonQtWrapper_QTextDocument::setDefaultTextOption(QTextDocument* theWrappedObject, const QTextOption& option) -{ - ( theWrappedObject->setDefaultTextOption(option)); -} - -QTextCursor PythonQtWrapper_QTextDocument::find(QTextDocument* theWrappedObject, const QString& subString, int from, QTextDocument::FindFlags options) const -{ - return ( theWrappedObject->find(subString, from, options)); -} - -QTextDocument* PythonQtWrapper_QTextDocument::clone(QTextDocument* theWrappedObject, QObject* parent) const -{ - return ( theWrappedObject->clone(parent)); -} - -void PythonQtWrapper_QTextDocument::setPageSize(QTextDocument* theWrappedObject, const QSizeF& size) -{ - ( theWrappedObject->setPageSize(size)); -} - -int PythonQtWrapper_QTextDocument::blockCount(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->blockCount()); -} - -int PythonQtWrapper_QTextDocument::revision(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->revision()); -} - -QTextCursor PythonQtWrapper_QTextDocument::find(QTextDocument* theWrappedObject, const QString& subString, const QTextCursor& from, QTextDocument::FindFlags options) const -{ - return ( theWrappedObject->find(subString, from, options)); -} - -QTextBlock PythonQtWrapper_QTextDocument::firstBlock(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->firstBlock()); -} - -QTextBlock PythonQtWrapper_QTextDocument::findBlockByNumber(QTextDocument* theWrappedObject, int blockNumber) const -{ - return ( theWrappedObject->findBlockByNumber(blockNumber)); -} - -void PythonQtWrapper_QTextDocument::print(QTextDocument* theWrappedObject, QPrinter* printer) const -{ - ( theWrappedObject->print(printer)); -} - -void PythonQtWrapper_QTextDocument::redo(QTextDocument* theWrappedObject, QTextCursor* cursor) -{ - ( theWrappedObject->redo(cursor)); -} - -QTextFrame* PythonQtWrapper_QTextDocument::rootFrame(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->rootFrame()); -} - -QSizeF PythonQtWrapper_QTextDocument::size(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->size()); -} - -bool PythonQtWrapper_QTextDocument::isRedoAvailable(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->isRedoAvailable()); -} - -QFont PythonQtWrapper_QTextDocument::defaultFont(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->defaultFont()); -} - -QString PythonQtWrapper_QTextDocument::toHtml(QTextDocument* theWrappedObject, const QByteArray& encoding) const -{ - return ( theWrappedObject->toHtml(encoding)); -} - -bool PythonQtWrapper_QTextDocument::useDesignMetrics(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->useDesignMetrics()); -} - -int PythonQtWrapper_QTextDocument::maximumBlockCount(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->maximumBlockCount()); -} - -void PythonQtWrapper_QTextDocument::setMetaInformation(QTextDocument* theWrappedObject, QTextDocument::MetaInformation info, const QString& arg__2) -{ - ( theWrappedObject->setMetaInformation(info, arg__2)); -} - -QVariant PythonQtWrapper_QTextDocument::loadResource(QTextDocument* theWrappedObject, int type, const QUrl& name) -{ - return ( ((PythonQtPublicPromoter_QTextDocument*)theWrappedObject)->promoted_loadResource(type, name)); -} - -bool PythonQtWrapper_QTextDocument::isUndoRedoEnabled(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->isUndoRedoEnabled()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextDocument.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextDocument.h deleted file mode 100644 index 8e6f977..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextDocument.h +++ /dev/null @@ -1,135 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QTEXTDOCUMENT_H -#define PYTHONQTWRAPPER_QTEXTDOCUMENT_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QTextDocument : public QTextDocument -{ -public: - PythonQtShell_QTextDocument(QObject* parent = 0):QTextDocument(parent),_wrapper(NULL) {}; - PythonQtShell_QTextDocument(const QString& text, QObject* parent = 0):QTextDocument(text, parent),_wrapper(NULL) {}; - -virtual void childEvent(QChildEvent* arg__1); -virtual void clear(); -virtual QTextObject* createObject(const QTextFormat& f); -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual QVariant loadResource(int type, const QUrl& name); -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QTextDocument : public QTextDocument -{ public: -inline QTextObject* promoted_createObject(const QTextFormat& f) { return QTextDocument::createObject(f); } -inline void promoted_clear() { QTextDocument::clear(); } -inline QVariant promoted_loadResource(int type, const QUrl& name) { return QTextDocument::loadResource(type, name); } -}; - -class PythonQtWrapper_QTextDocument : public QObject -{ Q_OBJECT -public: -Q_ENUMS(ResourceType FindFlag MetaInformation ) -Q_FLAGS(FindFlags ) -enum ResourceType{ - HtmlResource = QTextDocument::HtmlResource, ImageResource = QTextDocument::ImageResource, StyleSheetResource = QTextDocument::StyleSheetResource, UserResource = QTextDocument::UserResource}; -enum FindFlag{ - FindBackward = QTextDocument::FindBackward, FindCaseSensitively = QTextDocument::FindCaseSensitively, FindWholeWords = QTextDocument::FindWholeWords}; -enum MetaInformation{ - DocumentTitle = QTextDocument::DocumentTitle, DocumentUrl = QTextDocument::DocumentUrl}; -Q_DECLARE_FLAGS(FindFlags, FindFlag) -public slots: -QTextDocument* new_QTextDocument(QObject* parent = 0); -QTextDocument* new_QTextDocument(const QString& text, QObject* parent = 0); -void delete_QTextDocument(QTextDocument* obj) { delete obj; } - QTextFrame* frameAt(QTextDocument* theWrappedObject, int pos) const; - QSizeF pageSize(QTextDocument* theWrappedObject) const; - void adjustSize(QTextDocument* theWrappedObject); - QTextBlock begin(QTextDocument* theWrappedObject) const; - qreal idealWidth(QTextDocument* theWrappedObject) const; - qreal indentWidth(QTextDocument* theWrappedObject) const; - void setPlainText(QTextDocument* theWrappedObject, const QString& text); - void setHtml(QTextDocument* theWrappedObject, const QString& html); - void setMaximumBlockCount(QTextDocument* theWrappedObject, int maximum); - QString metaInformation(QTextDocument* theWrappedObject, QTextDocument::MetaInformation info) const; - QTextBlock lastBlock(QTextDocument* theWrappedObject) const; - QTextBlock findBlock(QTextDocument* theWrappedObject, int pos) const; - QTextBlock end(QTextDocument* theWrappedObject) const; - bool isEmpty(QTextDocument* theWrappedObject) const; - QTextObject* objectForFormat(QTextDocument* theWrappedObject, const QTextFormat& arg__1) const; - qreal textWidth(QTextDocument* theWrappedObject) const; - QTextObject* createObject(QTextDocument* theWrappedObject, const QTextFormat& f); - QVector allFormats(QTextDocument* theWrappedObject) const; - void undo(QTextDocument* theWrappedObject, QTextCursor* cursor); - QString toPlainText(QTextDocument* theWrappedObject) const; - QString defaultStyleSheet(QTextDocument* theWrappedObject) const; - QAbstractTextDocumentLayout* documentLayout(QTextDocument* theWrappedObject) const; - void drawContents(QTextDocument* theWrappedObject, QPainter* painter, const QRectF& rect = QRectF()); - QTextObject* object(QTextDocument* theWrappedObject, int objectIndex) const; - void clear(QTextDocument* theWrappedObject); - void markContentsDirty(QTextDocument* theWrappedObject, int from, int length); - int pageCount(QTextDocument* theWrappedObject) const; - void setDefaultFont(QTextDocument* theWrappedObject, const QFont& font); - void setDefaultStyleSheet(QTextDocument* theWrappedObject, const QString& sheet); - QVariant resource(QTextDocument* theWrappedObject, int type, const QUrl& name) const; - void setUndoRedoEnabled(QTextDocument* theWrappedObject, bool enable); - QTextOption defaultTextOption(QTextDocument* theWrappedObject) const; - QTextCursor find(QTextDocument* theWrappedObject, const QRegExp& expr, int from = 0, QTextDocument::FindFlags options = 0) const; - bool isUndoAvailable(QTextDocument* theWrappedObject) const; - bool isModified(QTextDocument* theWrappedObject) const; - void setDocumentLayout(QTextDocument* theWrappedObject, QAbstractTextDocumentLayout* layout); - void setTextWidth(QTextDocument* theWrappedObject, qreal width); - void addResource(QTextDocument* theWrappedObject, int type, const QUrl& name, const QVariant& resource); - QTextCursor find(QTextDocument* theWrappedObject, const QRegExp& expr, const QTextCursor& from, QTextDocument::FindFlags options = 0) const; - void setIndentWidth(QTextDocument* theWrappedObject, qreal width); - void setUseDesignMetrics(QTextDocument* theWrappedObject, bool b); - void setDefaultTextOption(QTextDocument* theWrappedObject, const QTextOption& option); - QTextCursor find(QTextDocument* theWrappedObject, const QString& subString, int from = 0, QTextDocument::FindFlags options = 0) const; - QTextDocument* clone(QTextDocument* theWrappedObject, QObject* parent = 0) const; - void setPageSize(QTextDocument* theWrappedObject, const QSizeF& size); - int blockCount(QTextDocument* theWrappedObject) const; - int revision(QTextDocument* theWrappedObject) const; - QTextCursor find(QTextDocument* theWrappedObject, const QString& subString, const QTextCursor& from, QTextDocument::FindFlags options = 0) const; - QTextBlock firstBlock(QTextDocument* theWrappedObject) const; - QTextBlock findBlockByNumber(QTextDocument* theWrappedObject, int blockNumber) const; - void print(QTextDocument* theWrappedObject, QPrinter* printer) const; - void redo(QTextDocument* theWrappedObject, QTextCursor* cursor); - QTextFrame* rootFrame(QTextDocument* theWrappedObject) const; - QSizeF size(QTextDocument* theWrappedObject) const; - bool isRedoAvailable(QTextDocument* theWrappedObject) const; - QFont defaultFont(QTextDocument* theWrappedObject) const; - QString toHtml(QTextDocument* theWrappedObject, const QByteArray& encoding = QByteArray()) const; - bool useDesignMetrics(QTextDocument* theWrappedObject) const; - int maximumBlockCount(QTextDocument* theWrappedObject) const; - void setMetaInformation(QTextDocument* theWrappedObject, QTextDocument::MetaInformation info, const QString& arg__2); - QVariant loadResource(QTextDocument* theWrappedObject, int type, const QUrl& name); - bool isUndoRedoEnabled(QTextDocument* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QTEXTDOCUMENT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextDocumentFragment.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextDocumentFragment.cpp deleted file mode 100644 index 131c15e..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextDocumentFragment.cpp +++ /dev/null @@ -1,62 +0,0 @@ -#include "PythonQtWrapper_QTextDocumentFragment.h" - -#include -#include -#include -#include -#include -#include -#include -#include - -QTextDocumentFragment* PythonQtWrapper_QTextDocumentFragment::new_QTextDocumentFragment() -{ -return new QTextDocumentFragment(); } - -QTextDocumentFragment* PythonQtWrapper_QTextDocumentFragment::new_QTextDocumentFragment(const QTextCursor& range) -{ -return new QTextDocumentFragment(range); } - -QTextDocumentFragment* PythonQtWrapper_QTextDocumentFragment::new_QTextDocumentFragment(const QTextDocument* document) -{ -return new QTextDocumentFragment(document); } - -QTextDocumentFragment* PythonQtWrapper_QTextDocumentFragment::new_QTextDocumentFragment(const QTextDocumentFragment& rhs) -{ -return new QTextDocumentFragment(rhs); } - -QTextDocumentFragment PythonQtWrapper_QTextDocumentFragment::static_QTextDocumentFragment_fromHtml(const QString& html, const QTextDocument* resourceProvider) -{ - return (QTextDocumentFragment::fromHtml(html, resourceProvider)); -} - -QString PythonQtWrapper_QTextDocumentFragment::toPlainText(QTextDocumentFragment* theWrappedObject) const -{ - return ( theWrappedObject->toPlainText()); -} - -QString PythonQtWrapper_QTextDocumentFragment::toHtml(QTextDocumentFragment* theWrappedObject) const -{ - return ( theWrappedObject->toHtml()); -} - -bool PythonQtWrapper_QTextDocumentFragment::isEmpty(QTextDocumentFragment* theWrappedObject) const -{ - return ( theWrappedObject->isEmpty()); -} - -QTextDocumentFragment PythonQtWrapper_QTextDocumentFragment::static_QTextDocumentFragment_fromPlainText(const QString& plainText) -{ - return (QTextDocumentFragment::fromPlainText(plainText)); -} - -QTextDocumentFragment PythonQtWrapper_QTextDocumentFragment::static_QTextDocumentFragment_fromHtml(const QString& html) -{ - return (QTextDocumentFragment::fromHtml(html)); -} - -QString PythonQtWrapper_QTextDocumentFragment::toHtml(QTextDocumentFragment* theWrappedObject, const QByteArray& encoding) const -{ - return ( theWrappedObject->toHtml(encoding)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextDocumentFragment.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextDocumentFragment.h deleted file mode 100644 index d28e706..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextDocumentFragment.h +++ /dev/null @@ -1,33 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QTEXTDOCUMENTFRAGMENT_H -#define PYTHONQTWRAPPER_QTEXTDOCUMENTFRAGMENT_H - -#include -#include - -#include - -#include -#include -#include -#include -#include - -class PythonQtWrapper_QTextDocumentFragment : public QObject -{ Q_OBJECT -public: -public slots: -QTextDocumentFragment* new_QTextDocumentFragment(); -QTextDocumentFragment* new_QTextDocumentFragment(const QTextCursor& range); -QTextDocumentFragment* new_QTextDocumentFragment(const QTextDocument* document); -QTextDocumentFragment* new_QTextDocumentFragment(const QTextDocumentFragment& rhs); -void delete_QTextDocumentFragment(QTextDocumentFragment* obj) { delete obj; } - QTextDocumentFragment static_QTextDocumentFragment_fromHtml(const QString& html, const QTextDocument* resourceProvider); - QString toPlainText(QTextDocumentFragment* theWrappedObject) const; - QString toHtml(QTextDocumentFragment* theWrappedObject) const; - bool isEmpty(QTextDocumentFragment* theWrappedObject) const; - QTextDocumentFragment static_QTextDocumentFragment_fromPlainText(const QString& plainText); - QTextDocumentFragment static_QTextDocumentFragment_fromHtml(const QString& html); - QString toHtml(QTextDocumentFragment* theWrappedObject, const QByteArray& encoding) const; -}; - -#endif // PYTHONQTWRAPPER_QTEXTDOCUMENTFRAGMENT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextEdit.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextEdit.cpp deleted file mode 100644 index ca072f6..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextEdit.cpp +++ /dev/null @@ -1,1357 +0,0 @@ -#include "PythonQtWrapper_QTextEdit.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QTextEdit::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QTextEdit::actionEvent(arg__1); -} -bool PythonQtShell_QTextEdit::canInsertFromMimeData(const QMimeData* source) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "canInsertFromMimeData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QMimeData*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&source}; - 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("canInsertFromMimeData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTextEdit::canInsertFromMimeData(source); -} -void PythonQtShell_QTextEdit::changeEvent(QEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTextEdit::changeEvent(e); -} -void PythonQtShell_QTextEdit::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; - } -} - QTextEdit::childEvent(arg__1); -} -void PythonQtShell_QTextEdit::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QTextEdit::closeEvent(arg__1); -} -void PythonQtShell_QTextEdit::contextMenuEvent(QContextMenuEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTextEdit::contextMenuEvent(e); -} -QMimeData* PythonQtShell_QTextEdit::createMimeDataFromSelection() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "createMimeDataFromSelection"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QMimeData*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QMimeData* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("createMimeDataFromSelection", methodInfo, result); - } else { - returnValue = *((QMimeData**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTextEdit::createMimeDataFromSelection(); -} -void PythonQtShell_QTextEdit::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; - } -} - QTextEdit::customEvent(arg__1); -} -int PythonQtShell_QTextEdit::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTextEdit::devType(); -} -void PythonQtShell_QTextEdit::dragEnterEvent(QDragEnterEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTextEdit::dragEnterEvent(e); -} -void PythonQtShell_QTextEdit::dragLeaveEvent(QDragLeaveEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTextEdit::dragLeaveEvent(e); -} -void PythonQtShell_QTextEdit::dragMoveEvent(QDragMoveEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTextEdit::dragMoveEvent(e); -} -void PythonQtShell_QTextEdit::dropEvent(QDropEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTextEdit::dropEvent(e); -} -void PythonQtShell_QTextEdit::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QTextEdit::enterEvent(arg__1); -} -bool PythonQtShell_QTextEdit::event(QEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTextEdit::event(e); -} -bool PythonQtShell_QTextEdit::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTextEdit::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QTextEdit::focusInEvent(QFocusEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTextEdit::focusInEvent(e); -} -bool PythonQtShell_QTextEdit::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTextEdit::focusNextPrevChild(next); -} -void PythonQtShell_QTextEdit::focusOutEvent(QFocusEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTextEdit::focusOutEvent(e); -} -int PythonQtShell_QTextEdit::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTextEdit::heightForWidth(arg__1); -} -void PythonQtShell_QTextEdit::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QTextEdit::hideEvent(arg__1); -} -void PythonQtShell_QTextEdit::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QTextEdit::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QTextEdit::inputMethodQuery(Qt::InputMethodQuery property) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&property}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTextEdit::inputMethodQuery(property); -} -void PythonQtShell_QTextEdit::insertFromMimeData(const QMimeData* source) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "insertFromMimeData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QMimeData*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&source}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTextEdit::insertFromMimeData(source); -} -void PythonQtShell_QTextEdit::keyPressEvent(QKeyEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTextEdit::keyPressEvent(e); -} -void PythonQtShell_QTextEdit::keyReleaseEvent(QKeyEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTextEdit::keyReleaseEvent(e); -} -void PythonQtShell_QTextEdit::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTextEdit::languageChange(); -} -void PythonQtShell_QTextEdit::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QTextEdit::leaveEvent(arg__1); -} -QVariant PythonQtShell_QTextEdit::loadResource(int type, const QUrl& name) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "loadResource"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "int" , "const QUrl&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&type, (void*)&name}; - 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("loadResource", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTextEdit::loadResource(type, name); -} -int PythonQtShell_QTextEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTextEdit::metric(arg__1); -} -void PythonQtShell_QTextEdit::mouseDoubleClickEvent(QMouseEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTextEdit::mouseDoubleClickEvent(e); -} -void PythonQtShell_QTextEdit::mouseMoveEvent(QMouseEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTextEdit::mouseMoveEvent(e); -} -void PythonQtShell_QTextEdit::mousePressEvent(QMouseEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTextEdit::mousePressEvent(e); -} -void PythonQtShell_QTextEdit::mouseReleaseEvent(QMouseEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTextEdit::mouseReleaseEvent(e); -} -void PythonQtShell_QTextEdit::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTextEdit::moveEvent(arg__1); -} -QPaintEngine* PythonQtShell_QTextEdit::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTextEdit::paintEngine(); -} -void PythonQtShell_QTextEdit::paintEvent(QPaintEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTextEdit::paintEvent(e); -} -void PythonQtShell_QTextEdit::resizeEvent(QResizeEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTextEdit::resizeEvent(e); -} -void PythonQtShell_QTextEdit::scrollContentsBy(int dx, int dy) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "scrollContentsBy"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&dx, (void*)&dy}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTextEdit::scrollContentsBy(dx, dy); -} -void PythonQtShell_QTextEdit::showEvent(QShowEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QTextEdit::showEvent(arg__1); -} -void PythonQtShell_QTextEdit::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QTextEdit::tabletEvent(arg__1); -} -void PythonQtShell_QTextEdit::timerEvent(QTimerEvent* e) -{ -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*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTextEdit::timerEvent(e); -} -bool PythonQtShell_QTextEdit::viewportEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "viewportEvent"); - 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("viewportEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTextEdit::viewportEvent(arg__1); -} -void PythonQtShell_QTextEdit::wheelEvent(QWheelEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTextEdit::wheelEvent(e); -} -QTextEdit* PythonQtWrapper_QTextEdit::new_QTextEdit(QWidget* parent) -{ -return new PythonQtShell_QTextEdit(parent); } - -QTextEdit* PythonQtWrapper_QTextEdit::new_QTextEdit(const QString& text, QWidget* parent) -{ -return new PythonQtShell_QTextEdit(text, parent); } - -void PythonQtWrapper_QTextEdit::insertFromMimeData(QTextEdit* theWrappedObject, const QMimeData* source) -{ - ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_insertFromMimeData(source)); -} - -bool PythonQtWrapper_QTextEdit::isReadOnly(QTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->isReadOnly()); -} - -void PythonQtWrapper_QTextEdit::moveCursor(QTextEdit* theWrappedObject, QTextCursor::MoveOperation operation, QTextCursor::MoveMode mode) -{ - ( theWrappedObject->moveCursor(operation, mode)); -} - -bool PythonQtWrapper_QTextEdit::focusNextPrevChild(QTextEdit* theWrappedObject, bool next) -{ - return ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_focusNextPrevChild(next)); -} - -int PythonQtWrapper_QTextEdit::lineWrapColumnOrWidth(QTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->lineWrapColumnOrWidth()); -} - -void PythonQtWrapper_QTextEdit::print(QTextEdit* theWrappedObject, QPrinter* printer) const -{ - ( theWrappedObject->print(printer)); -} - -void PythonQtWrapper_QTextEdit::keyReleaseEvent(QTextEdit* theWrappedObject, QKeyEvent* e) -{ - ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_keyReleaseEvent(e)); -} - -bool PythonQtWrapper_QTextEdit::overwriteMode(QTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->overwriteMode()); -} - -Qt::Alignment PythonQtWrapper_QTextEdit::alignment(QTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->alignment()); -} - -QString PythonQtWrapper_QTextEdit::documentTitle(QTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->documentTitle()); -} - -QFont PythonQtWrapper_QTextEdit::currentFont(QTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->currentFont()); -} - -void PythonQtWrapper_QTextEdit::wheelEvent(QTextEdit* theWrappedObject, QWheelEvent* e) -{ - ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_wheelEvent(e)); -} - -bool PythonQtWrapper_QTextEdit::canPaste(QTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->canPaste()); -} - -bool PythonQtWrapper_QTextEdit::find(QTextEdit* theWrappedObject, const QString& exp, QTextDocument::FindFlags options) -{ - return ( theWrappedObject->find(exp, options)); -} - -void PythonQtWrapper_QTextEdit::setTabStopWidth(QTextEdit* theWrappedObject, int width) -{ - ( theWrappedObject->setTabStopWidth(width)); -} - -void PythonQtWrapper_QTextEdit::mousePressEvent(QTextEdit* theWrappedObject, QMouseEvent* e) -{ - ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_mousePressEvent(e)); -} - -QString PythonQtWrapper_QTextEdit::fontFamily(QTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->fontFamily()); -} - -bool PythonQtWrapper_QTextEdit::isUndoRedoEnabled(QTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->isUndoRedoEnabled()); -} - -QVariant PythonQtWrapper_QTextEdit::loadResource(QTextEdit* theWrappedObject, int type, const QUrl& name) -{ - return ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_loadResource(type, name)); -} - -void PythonQtWrapper_QTextEdit::setCurrentCharFormat(QTextEdit* theWrappedObject, const QTextCharFormat& format) -{ - ( theWrappedObject->setCurrentCharFormat(format)); -} - -void PythonQtWrapper_QTextEdit::setTextInteractionFlags(QTextEdit* theWrappedObject, Qt::TextInteractionFlags flags) -{ - ( theWrappedObject->setTextInteractionFlags(flags)); -} - -bool PythonQtWrapper_QTextEdit::canInsertFromMimeData(QTextEdit* theWrappedObject, const QMimeData* source) const -{ - return ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_canInsertFromMimeData(source)); -} - -void PythonQtWrapper_QTextEdit::focusInEvent(QTextEdit* theWrappedObject, QFocusEvent* e) -{ - ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_focusInEvent(e)); -} - -bool PythonQtWrapper_QTextEdit::event(QTextEdit* theWrappedObject, QEvent* e) -{ - return ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_event(e)); -} - -void PythonQtWrapper_QTextEdit::keyPressEvent(QTextEdit* theWrappedObject, QKeyEvent* e) -{ - ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_keyPressEvent(e)); -} - -bool PythonQtWrapper_QTextEdit::fontItalic(QTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->fontItalic()); -} - -void PythonQtWrapper_QTextEdit::setOverwriteMode(QTextEdit* theWrappedObject, bool overwrite) -{ - ( theWrappedObject->setOverwriteMode(overwrite)); -} - -void PythonQtWrapper_QTextEdit::setExtraSelections(QTextEdit* theWrappedObject, const QList& selections) -{ - ( theWrappedObject->setExtraSelections(selections)); -} - -void PythonQtWrapper_QTextEdit::paintEvent(QTextEdit* theWrappedObject, QPaintEvent* e) -{ - ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_paintEvent(e)); -} - -QTextOption::WrapMode PythonQtWrapper_QTextEdit::wordWrapMode(QTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->wordWrapMode()); -} - -QRect PythonQtWrapper_QTextEdit::cursorRect(QTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->cursorRect()); -} - -QColor PythonQtWrapper_QTextEdit::textBackgroundColor(QTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->textBackgroundColor()); -} - -void PythonQtWrapper_QTextEdit::resizeEvent(QTextEdit* theWrappedObject, QResizeEvent* e) -{ - ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_resizeEvent(e)); -} - -void PythonQtWrapper_QTextEdit::scrollContentsBy(QTextEdit* theWrappedObject, int dx, int dy) -{ - ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_scrollContentsBy(dx, dy)); -} - -QTextCursor PythonQtWrapper_QTextEdit::cursorForPosition(QTextEdit* theWrappedObject, const QPoint& pos) const -{ - return ( theWrappedObject->cursorForPosition(pos)); -} - -void PythonQtWrapper_QTextEdit::setAutoFormatting(QTextEdit* theWrappedObject, QTextEdit::AutoFormatting features) -{ - ( theWrappedObject->setAutoFormatting(features)); -} - -QString PythonQtWrapper_QTextEdit::toPlainText(QTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->toPlainText()); -} - -void PythonQtWrapper_QTextEdit::setLineWrapMode(QTextEdit* theWrappedObject, QTextEdit::LineWrapMode mode) -{ - ( theWrappedObject->setLineWrapMode(mode)); -} - -QTextCharFormat PythonQtWrapper_QTextEdit::currentCharFormat(QTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->currentCharFormat()); -} - -QMenu* PythonQtWrapper_QTextEdit::createStandardContextMenu(QTextEdit* theWrappedObject) -{ - return ( theWrappedObject->createStandardContextMenu()); -} - -QString PythonQtWrapper_QTextEdit::anchorAt(QTextEdit* theWrappedObject, const QPoint& pos) const -{ - return ( theWrappedObject->anchorAt(pos)); -} - -void PythonQtWrapper_QTextEdit::setTextCursor(QTextEdit* theWrappedObject, const QTextCursor& cursor) -{ - ( theWrappedObject->setTextCursor(cursor)); -} - -int PythonQtWrapper_QTextEdit::fontWeight(QTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->fontWeight()); -} - -bool PythonQtWrapper_QTextEdit::fontUnderline(QTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->fontUnderline()); -} - -void PythonQtWrapper_QTextEdit::mouseMoveEvent(QTextEdit* theWrappedObject, QMouseEvent* e) -{ - ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_mouseMoveEvent(e)); -} - -QList PythonQtWrapper_QTextEdit::extraSelections(QTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->extraSelections()); -} - -QRect PythonQtWrapper_QTextEdit::cursorRect(QTextEdit* theWrappedObject, const QTextCursor& cursor) const -{ - return ( theWrappedObject->cursorRect(cursor)); -} - -QMenu* PythonQtWrapper_QTextEdit::createStandardContextMenu(QTextEdit* theWrappedObject, const QPoint& position) -{ - return ( theWrappedObject->createStandardContextMenu(position)); -} - -void PythonQtWrapper_QTextEdit::contextMenuEvent(QTextEdit* theWrappedObject, QContextMenuEvent* e) -{ - ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_contextMenuEvent(e)); -} - -void PythonQtWrapper_QTextEdit::inputMethodEvent(QTextEdit* theWrappedObject, QInputMethodEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_inputMethodEvent(arg__1)); -} - -QVariant PythonQtWrapper_QTextEdit::inputMethodQuery(QTextEdit* theWrappedObject, Qt::InputMethodQuery property) const -{ - return ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_inputMethodQuery(property)); -} - -Qt::TextInteractionFlags PythonQtWrapper_QTextEdit::textInteractionFlags(QTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->textInteractionFlags()); -} - -void PythonQtWrapper_QTextEdit::mergeCurrentCharFormat(QTextEdit* theWrappedObject, const QTextCharFormat& modifier) -{ - ( theWrappedObject->mergeCurrentCharFormat(modifier)); -} - -void PythonQtWrapper_QTextEdit::setUndoRedoEnabled(QTextEdit* theWrappedObject, bool enable) -{ - ( theWrappedObject->setUndoRedoEnabled(enable)); -} - -void PythonQtWrapper_QTextEdit::dragEnterEvent(QTextEdit* theWrappedObject, QDragEnterEvent* e) -{ - ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_dragEnterEvent(e)); -} - -void PythonQtWrapper_QTextEdit::setWordWrapMode(QTextEdit* theWrappedObject, QTextOption::WrapMode policy) -{ - ( theWrappedObject->setWordWrapMode(policy)); -} - -QTextDocument* PythonQtWrapper_QTextEdit::document(QTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->document()); -} - -void PythonQtWrapper_QTextEdit::timerEvent(QTextEdit* theWrappedObject, QTimerEvent* e) -{ - ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_timerEvent(e)); -} - -void PythonQtWrapper_QTextEdit::setAcceptRichText(QTextEdit* theWrappedObject, bool accept) -{ - ( theWrappedObject->setAcceptRichText(accept)); -} - -QTextEdit::AutoFormatting PythonQtWrapper_QTextEdit::autoFormatting(QTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->autoFormatting()); -} - -void PythonQtWrapper_QTextEdit::setDocumentTitle(QTextEdit* theWrappedObject, const QString& title) -{ - ( theWrappedObject->setDocumentTitle(title)); -} - -qreal PythonQtWrapper_QTextEdit::fontPointSize(QTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->fontPointSize()); -} - -void PythonQtWrapper_QTextEdit::setReadOnly(QTextEdit* theWrappedObject, bool ro) -{ - ( theWrappedObject->setReadOnly(ro)); -} - -void PythonQtWrapper_QTextEdit::focusOutEvent(QTextEdit* theWrappedObject, QFocusEvent* e) -{ - ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_focusOutEvent(e)); -} - -bool PythonQtWrapper_QTextEdit::acceptRichText(QTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->acceptRichText()); -} - -QMimeData* PythonQtWrapper_QTextEdit::createMimeDataFromSelection(QTextEdit* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_createMimeDataFromSelection()); -} - -void PythonQtWrapper_QTextEdit::dragLeaveEvent(QTextEdit* theWrappedObject, QDragLeaveEvent* e) -{ - ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_dragLeaveEvent(e)); -} - -int PythonQtWrapper_QTextEdit::cursorWidth(QTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->cursorWidth()); -} - -void PythonQtWrapper_QTextEdit::mouseReleaseEvent(QTextEdit* theWrappedObject, QMouseEvent* e) -{ - ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_mouseReleaseEvent(e)); -} - -bool PythonQtWrapper_QTextEdit::tabChangesFocus(QTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->tabChangesFocus()); -} - -void PythonQtWrapper_QTextEdit::dropEvent(QTextEdit* theWrappedObject, QDropEvent* e) -{ - ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_dropEvent(e)); -} - -void PythonQtWrapper_QTextEdit::setDocument(QTextEdit* theWrappedObject, QTextDocument* document) -{ - ( theWrappedObject->setDocument(document)); -} - -void PythonQtWrapper_QTextEdit::setCursorWidth(QTextEdit* theWrappedObject, int width) -{ - ( theWrappedObject->setCursorWidth(width)); -} - -QColor PythonQtWrapper_QTextEdit::textColor(QTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->textColor()); -} - -QString PythonQtWrapper_QTextEdit::toHtml(QTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->toHtml()); -} - -void PythonQtWrapper_QTextEdit::showEvent(QTextEdit* theWrappedObject, QShowEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_showEvent(arg__1)); -} - -void PythonQtWrapper_QTextEdit::setTabChangesFocus(QTextEdit* theWrappedObject, bool b) -{ - ( theWrappedObject->setTabChangesFocus(b)); -} - -int PythonQtWrapper_QTextEdit::tabStopWidth(QTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->tabStopWidth()); -} - -QTextCursor PythonQtWrapper_QTextEdit::textCursor(QTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->textCursor()); -} - -void PythonQtWrapper_QTextEdit::mouseDoubleClickEvent(QTextEdit* theWrappedObject, QMouseEvent* e) -{ - ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_mouseDoubleClickEvent(e)); -} - -QTextEdit::LineWrapMode PythonQtWrapper_QTextEdit::lineWrapMode(QTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->lineWrapMode()); -} - -void PythonQtWrapper_QTextEdit::setLineWrapColumnOrWidth(QTextEdit* theWrappedObject, int w) -{ - ( theWrappedObject->setLineWrapColumnOrWidth(w)); -} - -void PythonQtWrapper_QTextEdit::changeEvent(QTextEdit* theWrappedObject, QEvent* e) -{ - ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_changeEvent(e)); -} - -void PythonQtWrapper_QTextEdit::ensureCursorVisible(QTextEdit* theWrappedObject) -{ - ( theWrappedObject->ensureCursorVisible()); -} - -void PythonQtWrapper_QTextEdit::dragMoveEvent(QTextEdit* theWrappedObject, QDragMoveEvent* e) -{ - ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_dragMoveEvent(e)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextEdit.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextEdit.h deleted file mode 100644 index 558a75d..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextEdit.h +++ /dev/null @@ -1,233 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QTEXTEDIT_H -#define PYTHONQTWRAPPER_QTEXTEDIT_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QTextEdit : public QTextEdit -{ -public: - PythonQtShell_QTextEdit(QWidget* parent = 0):QTextEdit(parent),_wrapper(NULL) {}; - PythonQtShell_QTextEdit(const QString& text, QWidget* parent = 0):QTextEdit(text, parent),_wrapper(NULL) {}; - -virtual void actionEvent(QActionEvent* arg__1); -virtual bool canInsertFromMimeData(const QMimeData* source) const; -virtual void changeEvent(QEvent* e); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* e); -virtual QMimeData* createMimeDataFromSelection() const; -virtual void customEvent(QEvent* arg__1); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* e); -virtual void dragLeaveEvent(QDragLeaveEvent* e); -virtual void dragMoveEvent(QDragMoveEvent* e); -virtual void dropEvent(QDropEvent* e); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* e); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* e); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery property) const; -virtual void insertFromMimeData(const QMimeData* source); -virtual void keyPressEvent(QKeyEvent* e); -virtual void keyReleaseEvent(QKeyEvent* e); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual QVariant loadResource(int type, const QUrl& name); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual void mouseDoubleClickEvent(QMouseEvent* e); -virtual void mouseMoveEvent(QMouseEvent* e); -virtual void mousePressEvent(QMouseEvent* e); -virtual void mouseReleaseEvent(QMouseEvent* e); -virtual void moveEvent(QMoveEvent* arg__1); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* e); -virtual void resizeEvent(QResizeEvent* e); -virtual void scrollContentsBy(int dx, int dy); -virtual void showEvent(QShowEvent* arg__1); -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* e); -virtual bool viewportEvent(QEvent* arg__1); -virtual void wheelEvent(QWheelEvent* e); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QTextEdit : public QTextEdit -{ public: -inline void promoted_insertFromMimeData(const QMimeData* source) { QTextEdit::insertFromMimeData(source); } -inline bool promoted_focusNextPrevChild(bool next) { return QTextEdit::focusNextPrevChild(next); } -inline void promoted_keyReleaseEvent(QKeyEvent* e) { QTextEdit::keyReleaseEvent(e); } -inline void promoted_wheelEvent(QWheelEvent* e) { QTextEdit::wheelEvent(e); } -inline void promoted_mousePressEvent(QMouseEvent* e) { QTextEdit::mousePressEvent(e); } -inline QVariant promoted_loadResource(int type, const QUrl& name) { return QTextEdit::loadResource(type, name); } -inline bool promoted_canInsertFromMimeData(const QMimeData* source) const { return QTextEdit::canInsertFromMimeData(source); } -inline void promoted_focusInEvent(QFocusEvent* e) { QTextEdit::focusInEvent(e); } -inline bool promoted_event(QEvent* e) { return QTextEdit::event(e); } -inline void promoted_keyPressEvent(QKeyEvent* e) { QTextEdit::keyPressEvent(e); } -inline void promoted_paintEvent(QPaintEvent* e) { QTextEdit::paintEvent(e); } -inline void promoted_resizeEvent(QResizeEvent* e) { QTextEdit::resizeEvent(e); } -inline void promoted_scrollContentsBy(int dx, int dy) { QTextEdit::scrollContentsBy(dx, dy); } -inline void promoted_mouseMoveEvent(QMouseEvent* e) { QTextEdit::mouseMoveEvent(e); } -inline void promoted_contextMenuEvent(QContextMenuEvent* e) { QTextEdit::contextMenuEvent(e); } -inline void promoted_inputMethodEvent(QInputMethodEvent* arg__1) { QTextEdit::inputMethodEvent(arg__1); } -inline QVariant promoted_inputMethodQuery(Qt::InputMethodQuery property) const { return QTextEdit::inputMethodQuery(property); } -inline void promoted_dragEnterEvent(QDragEnterEvent* e) { QTextEdit::dragEnterEvent(e); } -inline void promoted_timerEvent(QTimerEvent* e) { QTextEdit::timerEvent(e); } -inline void promoted_focusOutEvent(QFocusEvent* e) { QTextEdit::focusOutEvent(e); } -inline QMimeData* promoted_createMimeDataFromSelection() const { return QTextEdit::createMimeDataFromSelection(); } -inline void promoted_dragLeaveEvent(QDragLeaveEvent* e) { QTextEdit::dragLeaveEvent(e); } -inline void promoted_mouseReleaseEvent(QMouseEvent* e) { QTextEdit::mouseReleaseEvent(e); } -inline void promoted_dropEvent(QDropEvent* e) { QTextEdit::dropEvent(e); } -inline void promoted_showEvent(QShowEvent* arg__1) { QTextEdit::showEvent(arg__1); } -inline void promoted_mouseDoubleClickEvent(QMouseEvent* e) { QTextEdit::mouseDoubleClickEvent(e); } -inline void promoted_changeEvent(QEvent* e) { QTextEdit::changeEvent(e); } -inline void promoted_dragMoveEvent(QDragMoveEvent* e) { QTextEdit::dragMoveEvent(e); } -}; - -class PythonQtWrapper_QTextEdit : public QObject -{ Q_OBJECT -public: -Q_ENUMS(AutoFormattingFlag ) -Q_FLAGS(AutoFormatting ) -enum AutoFormattingFlag{ - AutoNone = QTextEdit::AutoNone, AutoBulletList = QTextEdit::AutoBulletList, AutoAll = QTextEdit::AutoAll}; -Q_DECLARE_FLAGS(AutoFormatting, AutoFormattingFlag) -public slots: -QTextEdit* new_QTextEdit(QWidget* parent = 0); -QTextEdit* new_QTextEdit(const QString& text, QWidget* parent = 0); -void delete_QTextEdit(QTextEdit* obj) { delete obj; } - void insertFromMimeData(QTextEdit* theWrappedObject, const QMimeData* source); - bool isReadOnly(QTextEdit* theWrappedObject) const; - void moveCursor(QTextEdit* theWrappedObject, QTextCursor::MoveOperation operation, QTextCursor::MoveMode mode = QTextCursor::MoveAnchor); - bool focusNextPrevChild(QTextEdit* theWrappedObject, bool next); - int lineWrapColumnOrWidth(QTextEdit* theWrappedObject) const; - void print(QTextEdit* theWrappedObject, QPrinter* printer) const; - void keyReleaseEvent(QTextEdit* theWrappedObject, QKeyEvent* e); - bool overwriteMode(QTextEdit* theWrappedObject) const; - Qt::Alignment alignment(QTextEdit* theWrappedObject) const; - QString documentTitle(QTextEdit* theWrappedObject) const; - QFont currentFont(QTextEdit* theWrappedObject) const; - void wheelEvent(QTextEdit* theWrappedObject, QWheelEvent* e); - bool canPaste(QTextEdit* theWrappedObject) const; - bool find(QTextEdit* theWrappedObject, const QString& exp, QTextDocument::FindFlags options = 0); - void setTabStopWidth(QTextEdit* theWrappedObject, int width); - void mousePressEvent(QTextEdit* theWrappedObject, QMouseEvent* e); - QString fontFamily(QTextEdit* theWrappedObject) const; - bool isUndoRedoEnabled(QTextEdit* theWrappedObject) const; - QVariant loadResource(QTextEdit* theWrappedObject, int type, const QUrl& name); - void setCurrentCharFormat(QTextEdit* theWrappedObject, const QTextCharFormat& format); - void setTextInteractionFlags(QTextEdit* theWrappedObject, Qt::TextInteractionFlags flags); - bool canInsertFromMimeData(QTextEdit* theWrappedObject, const QMimeData* source) const; - void focusInEvent(QTextEdit* theWrappedObject, QFocusEvent* e); - bool event(QTextEdit* theWrappedObject, QEvent* e); - void keyPressEvent(QTextEdit* theWrappedObject, QKeyEvent* e); - bool fontItalic(QTextEdit* theWrappedObject) const; - void setOverwriteMode(QTextEdit* theWrappedObject, bool overwrite); - void setExtraSelections(QTextEdit* theWrappedObject, const QList& selections); - void paintEvent(QTextEdit* theWrappedObject, QPaintEvent* e); - QTextOption::WrapMode wordWrapMode(QTextEdit* theWrappedObject) const; - QRect cursorRect(QTextEdit* theWrappedObject) const; - QColor textBackgroundColor(QTextEdit* theWrappedObject) const; - void resizeEvent(QTextEdit* theWrappedObject, QResizeEvent* e); - void scrollContentsBy(QTextEdit* theWrappedObject, int dx, int dy); - QTextCursor cursorForPosition(QTextEdit* theWrappedObject, const QPoint& pos) const; - void setAutoFormatting(QTextEdit* theWrappedObject, QTextEdit::AutoFormatting features); - QString toPlainText(QTextEdit* theWrappedObject) const; - void setLineWrapMode(QTextEdit* theWrappedObject, QTextEdit::LineWrapMode mode); - QTextCharFormat currentCharFormat(QTextEdit* theWrappedObject) const; - QMenu* createStandardContextMenu(QTextEdit* theWrappedObject); - QString anchorAt(QTextEdit* theWrappedObject, const QPoint& pos) const; - void setTextCursor(QTextEdit* theWrappedObject, const QTextCursor& cursor); - int fontWeight(QTextEdit* theWrappedObject) const; - bool fontUnderline(QTextEdit* theWrappedObject) const; - void mouseMoveEvent(QTextEdit* theWrappedObject, QMouseEvent* e); - QList extraSelections(QTextEdit* theWrappedObject) const; - QRect cursorRect(QTextEdit* theWrappedObject, const QTextCursor& cursor) const; - QMenu* createStandardContextMenu(QTextEdit* theWrappedObject, const QPoint& position); - void contextMenuEvent(QTextEdit* theWrappedObject, QContextMenuEvent* e); - void inputMethodEvent(QTextEdit* theWrappedObject, QInputMethodEvent* arg__1); - QVariant inputMethodQuery(QTextEdit* theWrappedObject, Qt::InputMethodQuery property) const; - Qt::TextInteractionFlags textInteractionFlags(QTextEdit* theWrappedObject) const; - void mergeCurrentCharFormat(QTextEdit* theWrappedObject, const QTextCharFormat& modifier); - void setUndoRedoEnabled(QTextEdit* theWrappedObject, bool enable); - void dragEnterEvent(QTextEdit* theWrappedObject, QDragEnterEvent* e); - void setWordWrapMode(QTextEdit* theWrappedObject, QTextOption::WrapMode policy); - QTextDocument* document(QTextEdit* theWrappedObject) const; - void timerEvent(QTextEdit* theWrappedObject, QTimerEvent* e); - void setAcceptRichText(QTextEdit* theWrappedObject, bool accept); - QTextEdit::AutoFormatting autoFormatting(QTextEdit* theWrappedObject) const; - void setDocumentTitle(QTextEdit* theWrappedObject, const QString& title); - qreal fontPointSize(QTextEdit* theWrappedObject) const; - void setReadOnly(QTextEdit* theWrappedObject, bool ro); - void focusOutEvent(QTextEdit* theWrappedObject, QFocusEvent* e); - bool acceptRichText(QTextEdit* theWrappedObject) const; - QMimeData* createMimeDataFromSelection(QTextEdit* theWrappedObject) const; - void dragLeaveEvent(QTextEdit* theWrappedObject, QDragLeaveEvent* e); - int cursorWidth(QTextEdit* theWrappedObject) const; - void mouseReleaseEvent(QTextEdit* theWrappedObject, QMouseEvent* e); - bool tabChangesFocus(QTextEdit* theWrappedObject) const; - void dropEvent(QTextEdit* theWrappedObject, QDropEvent* e); - void setDocument(QTextEdit* theWrappedObject, QTextDocument* document); - void setCursorWidth(QTextEdit* theWrappedObject, int width); - QColor textColor(QTextEdit* theWrappedObject) const; - QString toHtml(QTextEdit* theWrappedObject) const; - void showEvent(QTextEdit* theWrappedObject, QShowEvent* arg__1); - void setTabChangesFocus(QTextEdit* theWrappedObject, bool b); - int tabStopWidth(QTextEdit* theWrappedObject) const; - QTextCursor textCursor(QTextEdit* theWrappedObject) const; - void mouseDoubleClickEvent(QTextEdit* theWrappedObject, QMouseEvent* e); - QTextEdit::LineWrapMode lineWrapMode(QTextEdit* theWrappedObject) const; - void setLineWrapColumnOrWidth(QTextEdit* theWrappedObject, int w); - void changeEvent(QTextEdit* theWrappedObject, QEvent* e); - void ensureCursorVisible(QTextEdit* theWrappedObject); - void dragMoveEvent(QTextEdit* theWrappedObject, QDragMoveEvent* e); -}; - -#endif // PYTHONQTWRAPPER_QTEXTEDIT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextFormat.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextFormat.cpp deleted file mode 100644 index 89f8437..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextFormat.cpp +++ /dev/null @@ -1,265 +0,0 @@ -#include "PythonQtWrapper_QTextFormat.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QTextFormat* PythonQtWrapper_QTextFormat::new_QTextFormat() -{ -return new QTextFormat(); } - -QTextFormat* PythonQtWrapper_QTextFormat::new_QTextFormat(const QTextFormat& rhs) -{ -return new QTextFormat(rhs); } - -QTextFormat* PythonQtWrapper_QTextFormat::new_QTextFormat(int type) -{ -return new QTextFormat(type); } - -int PythonQtWrapper_QTextFormat::type(QTextFormat* theWrappedObject) const -{ - return ( theWrappedObject->type()); -} - -int PythonQtWrapper_QTextFormat::intProperty(QTextFormat* theWrappedObject, int propertyId) const -{ - return ( theWrappedObject->intProperty(propertyId)); -} - -void PythonQtWrapper_QTextFormat::merge(QTextFormat* theWrappedObject, const QTextFormat& other) -{ - ( theWrappedObject->merge(other)); -} - -void PythonQtWrapper_QTextFormat::setObjectType(QTextFormat* theWrappedObject, int type) -{ - ( theWrappedObject->setObjectType(type)); -} - -bool PythonQtWrapper_QTextFormat::isTableCellFormat(QTextFormat* theWrappedObject) const -{ - return ( theWrappedObject->isTableCellFormat()); -} - -Qt::LayoutDirection PythonQtWrapper_QTextFormat::layoutDirection(QTextFormat* theWrappedObject) const -{ - return ( theWrappedObject->layoutDirection()); -} - -int PythonQtWrapper_QTextFormat::objectIndex(QTextFormat* theWrappedObject) const -{ - return ( theWrappedObject->objectIndex()); -} - -void PythonQtWrapper_QTextFormat::clearBackground(QTextFormat* theWrappedObject) -{ - ( theWrappedObject->clearBackground()); -} - -QTextCharFormat PythonQtWrapper_QTextFormat::toCharFormat(QTextFormat* theWrappedObject) const -{ - return ( theWrappedObject->toCharFormat()); -} - -int PythonQtWrapper_QTextFormat::propertyCount(QTextFormat* theWrappedObject) const -{ - return ( theWrappedObject->propertyCount()); -} - -QTextListFormat PythonQtWrapper_QTextFormat::toListFormat(QTextFormat* theWrappedObject) const -{ - return ( theWrappedObject->toListFormat()); -} - -int PythonQtWrapper_QTextFormat::objectType(QTextFormat* theWrappedObject) const -{ - return ( theWrappedObject->objectType()); -} - -QVariant PythonQtWrapper_QTextFormat::property(QTextFormat* theWrappedObject, int propertyId) const -{ - return ( theWrappedObject->property(propertyId)); -} - -bool PythonQtWrapper_QTextFormat::isValid(QTextFormat* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -void PythonQtWrapper_QTextFormat::clearProperty(QTextFormat* theWrappedObject, int propertyId) -{ - ( theWrappedObject->clearProperty(propertyId)); -} - -QMap PythonQtWrapper_QTextFormat::properties(QTextFormat* theWrappedObject) const -{ - return ( theWrappedObject->properties()); -} - -void PythonQtWrapper_QTextFormat::setLayoutDirection(QTextFormat* theWrappedObject, Qt::LayoutDirection direction) -{ - ( theWrappedObject->setLayoutDirection(direction)); -} - -qreal PythonQtWrapper_QTextFormat::doubleProperty(QTextFormat* theWrappedObject, int propertyId) const -{ - return ( theWrappedObject->doubleProperty(propertyId)); -} - -void PythonQtWrapper_QTextFormat::readFrom(QTextFormat* theWrappedObject, QDataStream& arg__1) -{ - arg__1 >> (*theWrappedObject); -} - -void PythonQtWrapper_QTextFormat::writeTo(QTextFormat* theWrappedObject, QDataStream& arg__1) -{ - arg__1 << (*theWrappedObject); -} - -void PythonQtWrapper_QTextFormat::setProperty(QTextFormat* theWrappedObject, int propertyId, const QVariant& value) -{ - ( theWrappedObject->setProperty(propertyId, value)); -} - -bool PythonQtWrapper_QTextFormat::isListFormat(QTextFormat* theWrappedObject) const -{ - return ( theWrappedObject->isListFormat()); -} - -bool PythonQtWrapper_QTextFormat::operator_equal(QTextFormat* theWrappedObject, const QTextFormat& rhs) const -{ - return ( (*theWrappedObject)== rhs); -} - -QColor PythonQtWrapper_QTextFormat::colorProperty(QTextFormat* theWrappedObject, int propertyId) const -{ - return ( theWrappedObject->colorProperty(propertyId)); -} - -bool PythonQtWrapper_QTextFormat::isFrameFormat(QTextFormat* theWrappedObject) const -{ - return ( theWrappedObject->isFrameFormat()); -} - -bool PythonQtWrapper_QTextFormat::isImageFormat(QTextFormat* theWrappedObject) const -{ - return ( theWrappedObject->isImageFormat()); -} - -QString PythonQtWrapper_QTextFormat::stringProperty(QTextFormat* theWrappedObject, int propertyId) const -{ - return ( theWrappedObject->stringProperty(propertyId)); -} - -QBrush PythonQtWrapper_QTextFormat::brushProperty(QTextFormat* theWrappedObject, int propertyId) const -{ - return ( theWrappedObject->brushProperty(propertyId)); -} - -QPen PythonQtWrapper_QTextFormat::penProperty(QTextFormat* theWrappedObject, int propertyId) const -{ - return ( theWrappedObject->penProperty(propertyId)); -} - -bool PythonQtWrapper_QTextFormat::boolProperty(QTextFormat* theWrappedObject, int propertyId) const -{ - return ( theWrappedObject->boolProperty(propertyId)); -} - -QTextFrameFormat PythonQtWrapper_QTextFormat::toFrameFormat(QTextFormat* theWrappedObject) const -{ - return ( theWrappedObject->toFrameFormat()); -} - -QTextImageFormat PythonQtWrapper_QTextFormat::toImageFormat(QTextFormat* theWrappedObject) const -{ - return ( theWrappedObject->toImageFormat()); -} - -bool PythonQtWrapper_QTextFormat::isBlockFormat(QTextFormat* theWrappedObject) const -{ - return ( theWrappedObject->isBlockFormat()); -} - -QBrush PythonQtWrapper_QTextFormat::foreground(QTextFormat* theWrappedObject) const -{ - return ( theWrappedObject->foreground()); -} - -void PythonQtWrapper_QTextFormat::setBackground(QTextFormat* theWrappedObject, const QBrush& brush) -{ - ( theWrappedObject->setBackground(brush)); -} - -bool PythonQtWrapper_QTextFormat::hasProperty(QTextFormat* theWrappedObject, int propertyId) const -{ - return ( theWrappedObject->hasProperty(propertyId)); -} - -void PythonQtWrapper_QTextFormat::setObjectIndex(QTextFormat* theWrappedObject, int object) -{ - ( theWrappedObject->setObjectIndex(object)); -} - -QTextLength PythonQtWrapper_QTextFormat::lengthProperty(QTextFormat* theWrappedObject, int propertyId) const -{ - return ( theWrappedObject->lengthProperty(propertyId)); -} - -QBrush PythonQtWrapper_QTextFormat::background(QTextFormat* theWrappedObject) const -{ - return ( theWrappedObject->background()); -} - -void PythonQtWrapper_QTextFormat::setProperty(QTextFormat* theWrappedObject, int propertyId, const QVector& lengths) -{ - ( theWrappedObject->setProperty(propertyId, lengths)); -} - -void PythonQtWrapper_QTextFormat::clearForeground(QTextFormat* theWrappedObject) -{ - ( theWrappedObject->clearForeground()); -} - -QVector PythonQtWrapper_QTextFormat::lengthVectorProperty(QTextFormat* theWrappedObject, int propertyId) const -{ - return ( theWrappedObject->lengthVectorProperty(propertyId)); -} - -QTextTableCellFormat PythonQtWrapper_QTextFormat::toTableCellFormat(QTextFormat* theWrappedObject) const -{ - return ( theWrappedObject->toTableCellFormat()); -} - -QTextBlockFormat PythonQtWrapper_QTextFormat::toBlockFormat(QTextFormat* theWrappedObject) const -{ - return ( theWrappedObject->toBlockFormat()); -} - -void PythonQtWrapper_QTextFormat::setForeground(QTextFormat* theWrappedObject, const QBrush& brush) -{ - ( theWrappedObject->setForeground(brush)); -} - -bool PythonQtWrapper_QTextFormat::isTableFormat(QTextFormat* theWrappedObject) const -{ - return ( theWrappedObject->isTableFormat()); -} - -QTextTableFormat PythonQtWrapper_QTextFormat::toTableFormat(QTextFormat* theWrappedObject) const -{ - return ( theWrappedObject->toTableFormat()); -} - -bool PythonQtWrapper_QTextFormat::isCharFormat(QTextFormat* theWrappedObject) const -{ - return ( theWrappedObject->isCharFormat()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextFormat.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextFormat.h deleted file mode 100644 index 6bf26fb..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextFormat.h +++ /dev/null @@ -1,86 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QTEXTFORMAT_H -#define PYTHONQTWRAPPER_QTEXTFORMAT_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include - -class PythonQtWrapper_QTextFormat : public QObject -{ Q_OBJECT -public: -Q_ENUMS(Property FormatType ObjectTypes PageBreakFlag ) -Q_FLAGS(PageBreakFlags ) -enum Property{ - ObjectIndex = QTextFormat::ObjectIndex, CssFloat = QTextFormat::CssFloat, LayoutDirection = QTextFormat::LayoutDirection, OutlinePen = QTextFormat::OutlinePen, BackgroundBrush = QTextFormat::BackgroundBrush, ForegroundBrush = QTextFormat::ForegroundBrush, BackgroundImageUrl = QTextFormat::BackgroundImageUrl, BlockAlignment = QTextFormat::BlockAlignment, BlockTopMargin = QTextFormat::BlockTopMargin, BlockBottomMargin = QTextFormat::BlockBottomMargin, BlockLeftMargin = QTextFormat::BlockLeftMargin, BlockRightMargin = QTextFormat::BlockRightMargin, TextIndent = QTextFormat::TextIndent, TabPositions = QTextFormat::TabPositions, BlockIndent = QTextFormat::BlockIndent, BlockNonBreakableLines = QTextFormat::BlockNonBreakableLines, BlockTrailingHorizontalRulerWidth = QTextFormat::BlockTrailingHorizontalRulerWidth, FirstFontProperty = QTextFormat::FirstFontProperty, FontCapitalization = QTextFormat::FontCapitalization, FontLetterSpacing = QTextFormat::FontLetterSpacing, FontWordSpacing = QTextFormat::FontWordSpacing, FontFamily = QTextFormat::FontFamily, FontPointSize = QTextFormat::FontPointSize, FontSizeAdjustment = QTextFormat::FontSizeAdjustment, FontSizeIncrement = QTextFormat::FontSizeIncrement, FontWeight = QTextFormat::FontWeight, FontItalic = QTextFormat::FontItalic, FontUnderline = QTextFormat::FontUnderline, FontOverline = QTextFormat::FontOverline, FontStrikeOut = QTextFormat::FontStrikeOut, FontFixedPitch = QTextFormat::FontFixedPitch, FontPixelSize = QTextFormat::FontPixelSize, LastFontProperty = QTextFormat::LastFontProperty, TextUnderlineColor = QTextFormat::TextUnderlineColor, TextVerticalAlignment = QTextFormat::TextVerticalAlignment, TextOutline = QTextFormat::TextOutline, TextUnderlineStyle = QTextFormat::TextUnderlineStyle, TextToolTip = QTextFormat::TextToolTip, IsAnchor = QTextFormat::IsAnchor, AnchorHref = QTextFormat::AnchorHref, AnchorName = QTextFormat::AnchorName, ObjectType = QTextFormat::ObjectType, ListStyle = QTextFormat::ListStyle, ListIndent = QTextFormat::ListIndent, FrameBorder = QTextFormat::FrameBorder, FrameMargin = QTextFormat::FrameMargin, FramePadding = QTextFormat::FramePadding, FrameWidth = QTextFormat::FrameWidth, FrameHeight = QTextFormat::FrameHeight, FrameTopMargin = QTextFormat::FrameTopMargin, FrameBottomMargin = QTextFormat::FrameBottomMargin, FrameLeftMargin = QTextFormat::FrameLeftMargin, FrameRightMargin = QTextFormat::FrameRightMargin, FrameBorderBrush = QTextFormat::FrameBorderBrush, FrameBorderStyle = QTextFormat::FrameBorderStyle, TableColumns = QTextFormat::TableColumns, TableColumnWidthConstraints = QTextFormat::TableColumnWidthConstraints, TableCellSpacing = QTextFormat::TableCellSpacing, TableCellPadding = QTextFormat::TableCellPadding, TableHeaderRowCount = QTextFormat::TableHeaderRowCount, TableCellRowSpan = QTextFormat::TableCellRowSpan, TableCellColumnSpan = QTextFormat::TableCellColumnSpan, TableCellTopPadding = QTextFormat::TableCellTopPadding, TableCellBottomPadding = QTextFormat::TableCellBottomPadding, TableCellLeftPadding = QTextFormat::TableCellLeftPadding, TableCellRightPadding = QTextFormat::TableCellRightPadding, ImageName = QTextFormat::ImageName, ImageWidth = QTextFormat::ImageWidth, ImageHeight = QTextFormat::ImageHeight, FullWidthSelection = QTextFormat::FullWidthSelection, PageBreakPolicy = QTextFormat::PageBreakPolicy, UserProperty = QTextFormat::UserProperty}; -enum FormatType{ - InvalidFormat = QTextFormat::InvalidFormat, BlockFormat = QTextFormat::BlockFormat, CharFormat = QTextFormat::CharFormat, ListFormat = QTextFormat::ListFormat, TableFormat = QTextFormat::TableFormat, FrameFormat = QTextFormat::FrameFormat, UserFormat = QTextFormat::UserFormat}; -enum ObjectTypes{ - NoObject = QTextFormat::NoObject, ImageObject = QTextFormat::ImageObject, TableObject = QTextFormat::TableObject, TableCellObject = QTextFormat::TableCellObject, UserObject = QTextFormat::UserObject}; -enum PageBreakFlag{ - PageBreak_Auto = QTextFormat::PageBreak_Auto, PageBreak_AlwaysBefore = QTextFormat::PageBreak_AlwaysBefore, PageBreak_AlwaysAfter = QTextFormat::PageBreak_AlwaysAfter}; -Q_DECLARE_FLAGS(PageBreakFlags, PageBreakFlag) -public slots: -QTextFormat* new_QTextFormat(); -QTextFormat* new_QTextFormat(const QTextFormat& rhs); -QTextFormat* new_QTextFormat(int type); -void delete_QTextFormat(QTextFormat* obj) { delete obj; } - int type(QTextFormat* theWrappedObject) const; - int intProperty(QTextFormat* theWrappedObject, int propertyId) const; - void merge(QTextFormat* theWrappedObject, const QTextFormat& other); - void setObjectType(QTextFormat* theWrappedObject, int type); - bool isTableCellFormat(QTextFormat* theWrappedObject) const; - Qt::LayoutDirection layoutDirection(QTextFormat* theWrappedObject) const; - int objectIndex(QTextFormat* theWrappedObject) const; - void clearBackground(QTextFormat* theWrappedObject); - QTextCharFormat toCharFormat(QTextFormat* theWrappedObject) const; - int propertyCount(QTextFormat* theWrappedObject) const; - QTextListFormat toListFormat(QTextFormat* theWrappedObject) const; - int objectType(QTextFormat* theWrappedObject) const; - QVariant property(QTextFormat* theWrappedObject, int propertyId) const; - bool isValid(QTextFormat* theWrappedObject) const; - void clearProperty(QTextFormat* theWrappedObject, int propertyId); - QMap properties(QTextFormat* theWrappedObject) const; - void setLayoutDirection(QTextFormat* theWrappedObject, Qt::LayoutDirection direction); - qreal doubleProperty(QTextFormat* theWrappedObject, int propertyId) const; - void readFrom(QTextFormat* theWrappedObject, QDataStream& arg__1); - void writeTo(QTextFormat* theWrappedObject, QDataStream& arg__1); - void setProperty(QTextFormat* theWrappedObject, int propertyId, const QVariant& value); - bool isListFormat(QTextFormat* theWrappedObject) const; - bool operator_equal(QTextFormat* theWrappedObject, const QTextFormat& rhs) const; - QColor colorProperty(QTextFormat* theWrappedObject, int propertyId) const; - bool isFrameFormat(QTextFormat* theWrappedObject) const; - bool isImageFormat(QTextFormat* theWrappedObject) const; - QString stringProperty(QTextFormat* theWrappedObject, int propertyId) const; - QBrush brushProperty(QTextFormat* theWrappedObject, int propertyId) const; - QPen penProperty(QTextFormat* theWrappedObject, int propertyId) const; - bool boolProperty(QTextFormat* theWrappedObject, int propertyId) const; - QTextFrameFormat toFrameFormat(QTextFormat* theWrappedObject) const; - QTextImageFormat toImageFormat(QTextFormat* theWrappedObject) const; - bool isBlockFormat(QTextFormat* theWrappedObject) const; - QBrush foreground(QTextFormat* theWrappedObject) const; - void setBackground(QTextFormat* theWrappedObject, const QBrush& brush); - bool hasProperty(QTextFormat* theWrappedObject, int propertyId) const; - void setObjectIndex(QTextFormat* theWrappedObject, int object); - QTextLength lengthProperty(QTextFormat* theWrappedObject, int propertyId) const; - QBrush background(QTextFormat* theWrappedObject) const; - void setProperty(QTextFormat* theWrappedObject, int propertyId, const QVector& lengths); - void clearForeground(QTextFormat* theWrappedObject); - QVector lengthVectorProperty(QTextFormat* theWrappedObject, int propertyId) const; - QTextTableCellFormat toTableCellFormat(QTextFormat* theWrappedObject) const; - QTextBlockFormat toBlockFormat(QTextFormat* theWrappedObject) const; - void setForeground(QTextFormat* theWrappedObject, const QBrush& brush); - bool isTableFormat(QTextFormat* theWrappedObject) const; - QTextTableFormat toTableFormat(QTextFormat* theWrappedObject) const; - bool isCharFormat(QTextFormat* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QTEXTFORMAT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextFragment.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextFragment.cpp deleted file mode 100644 index 1a3c6ec..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextFragment.cpp +++ /dev/null @@ -1,62 +0,0 @@ -#include "PythonQtWrapper_QTextFragment.h" - -#include -#include -#include -#include -#include -#include - -QTextFragment* PythonQtWrapper_QTextFragment::new_QTextFragment() -{ -return new QTextFragment(); } - -QTextFragment* PythonQtWrapper_QTextFragment::new_QTextFragment(const QTextFragment& o) -{ -return new QTextFragment(o); } - -bool PythonQtWrapper_QTextFragment::contains(QTextFragment* theWrappedObject, int position) const -{ - return ( theWrappedObject->contains(position)); -} - -int PythonQtWrapper_QTextFragment::charFormatIndex(QTextFragment* theWrappedObject) const -{ - return ( theWrappedObject->charFormatIndex()); -} - -bool PythonQtWrapper_QTextFragment::operator_less(QTextFragment* theWrappedObject, const QTextFragment& o) const -{ - return ( (*theWrappedObject)< o); -} - -int PythonQtWrapper_QTextFragment::length(QTextFragment* theWrappedObject) const -{ - return ( theWrappedObject->length()); -} - -bool PythonQtWrapper_QTextFragment::operator_equal(QTextFragment* theWrappedObject, const QTextFragment& o) const -{ - return ( (*theWrappedObject)== o); -} - -bool PythonQtWrapper_QTextFragment::isValid(QTextFragment* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -int PythonQtWrapper_QTextFragment::position(QTextFragment* theWrappedObject) const -{ - return ( theWrappedObject->position()); -} - -QString PythonQtWrapper_QTextFragment::text(QTextFragment* theWrappedObject) const -{ - return ( theWrappedObject->text()); -} - -QTextCharFormat PythonQtWrapper_QTextFragment::charFormat(QTextFragment* theWrappedObject) const -{ - return ( theWrappedObject->charFormat()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextFragment.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextFragment.h deleted file mode 100644 index 1ac6edc..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextFragment.h +++ /dev/null @@ -1,31 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QTEXTFRAGMENT_H -#define PYTHONQTWRAPPER_QTEXTFRAGMENT_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtWrapper_QTextFragment : public QObject -{ Q_OBJECT -public: -public slots: -QTextFragment* new_QTextFragment(); -QTextFragment* new_QTextFragment(const QTextFragment& o); -void delete_QTextFragment(QTextFragment* obj) { delete obj; } - bool contains(QTextFragment* theWrappedObject, int position) const; - int charFormatIndex(QTextFragment* theWrappedObject) const; - bool operator_less(QTextFragment* theWrappedObject, const QTextFragment& o) const; - int length(QTextFragment* theWrappedObject) const; - bool operator_equal(QTextFragment* theWrappedObject, const QTextFragment& o) const; - bool isValid(QTextFragment* theWrappedObject) const; - int position(QTextFragment* theWrappedObject) const; - QString text(QTextFragment* theWrappedObject) const; - QTextCharFormat charFormat(QTextFragment* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QTEXTFRAGMENT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextFrame.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextFrame.cpp deleted file mode 100644 index 41c07fc..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextFrame.cpp +++ /dev/null @@ -1,178 +0,0 @@ -#include "PythonQtWrapper_QTextFrame.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QTextFrame::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; - } -} - QTextFrame::childEvent(arg__1); -} -void PythonQtShell_QTextFrame::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; - } -} - QTextFrame::customEvent(arg__1); -} -bool PythonQtShell_QTextFrame::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTextFrame::event(arg__1); -} -bool PythonQtShell_QTextFrame::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTextFrame::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QTextFrame::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; - } -} - QTextFrame::timerEvent(arg__1); -} -QTextFrame* PythonQtWrapper_QTextFrame::new_QTextFrame(QTextDocument* doc) -{ -return new PythonQtShell_QTextFrame(doc); } - -void PythonQtWrapper_QTextFrame::setFrameFormat(QTextFrame* theWrappedObject, const QTextFrameFormat& format) -{ - ( theWrappedObject->setFrameFormat(format)); -} - -QTextFrame::iterator PythonQtWrapper_QTextFrame::begin(QTextFrame* theWrappedObject) const -{ - return ( theWrappedObject->begin()); -} - -QTextFrameFormat PythonQtWrapper_QTextFrame::frameFormat(QTextFrame* theWrappedObject) const -{ - return ( theWrappedObject->frameFormat()); -} - -int PythonQtWrapper_QTextFrame::lastPosition(QTextFrame* theWrappedObject) const -{ - return ( theWrappedObject->lastPosition()); -} - -QTextCursor PythonQtWrapper_QTextFrame::lastCursorPosition(QTextFrame* theWrappedObject) const -{ - return ( theWrappedObject->lastCursorPosition()); -} - -QTextFrame* PythonQtWrapper_QTextFrame::parentFrame(QTextFrame* theWrappedObject) const -{ - return ( theWrappedObject->parentFrame()); -} - -QTextFrame::iterator PythonQtWrapper_QTextFrame::end(QTextFrame* theWrappedObject) const -{ - return ( theWrappedObject->end()); -} - -QTextCursor PythonQtWrapper_QTextFrame::firstCursorPosition(QTextFrame* theWrappedObject) const -{ - return ( theWrappedObject->firstCursorPosition()); -} - -int PythonQtWrapper_QTextFrame::firstPosition(QTextFrame* theWrappedObject) const -{ - return ( theWrappedObject->firstPosition()); -} - -QList PythonQtWrapper_QTextFrame::childFrames(QTextFrame* theWrappedObject) const -{ - return ( theWrappedObject->childFrames()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextFrame.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextFrame.h deleted file mode 100644 index c039ae3..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextFrame.h +++ /dev/null @@ -1,53 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QTEXTFRAME_H -#define PYTHONQTWRAPPER_QTEXTFRAME_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QTextFrame : public QTextFrame -{ -public: - PythonQtShell_QTextFrame(QTextDocument* doc):QTextFrame(doc),_wrapper(NULL) {}; - -virtual void childEvent(QChildEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QTextFrame : public QObject -{ Q_OBJECT -public: -public slots: -QTextFrame* new_QTextFrame(QTextDocument* doc); -void delete_QTextFrame(QTextFrame* obj) { delete obj; } - void setFrameFormat(QTextFrame* theWrappedObject, const QTextFrameFormat& format); - QTextFrame::iterator begin(QTextFrame* theWrappedObject) const; - QTextFrameFormat frameFormat(QTextFrame* theWrappedObject) const; - int lastPosition(QTextFrame* theWrappedObject) const; - QTextCursor lastCursorPosition(QTextFrame* theWrappedObject) const; - QTextFrame* parentFrame(QTextFrame* theWrappedObject) const; - QTextFrame::iterator end(QTextFrame* theWrappedObject) const; - QTextCursor firstCursorPosition(QTextFrame* theWrappedObject) const; - int firstPosition(QTextFrame* theWrappedObject) const; - QList childFrames(QTextFrame* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QTEXTFRAME_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextFrameFormat.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextFrameFormat.cpp deleted file mode 100644 index 7dd664d..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextFrameFormat.cpp +++ /dev/null @@ -1,161 +0,0 @@ -#include "PythonQtWrapper_QTextFrameFormat.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QTextFrameFormat* PythonQtWrapper_QTextFrameFormat::new_QTextFrameFormat() -{ -return new PythonQtShell_QTextFrameFormat(); } - -QTextLength PythonQtWrapper_QTextFrameFormat::width(QTextFrameFormat* theWrappedObject) const -{ - return ( theWrappedObject->width()); -} - -void PythonQtWrapper_QTextFrameFormat::setWidth(QTextFrameFormat* theWrappedObject, const QTextLength& length) -{ - ( theWrappedObject->setWidth(length)); -} - -qreal PythonQtWrapper_QTextFrameFormat::margin(QTextFrameFormat* theWrappedObject) const -{ - return ( theWrappedObject->margin()); -} - -qreal PythonQtWrapper_QTextFrameFormat::padding(QTextFrameFormat* theWrappedObject) const -{ - return ( theWrappedObject->padding()); -} - -QBrush PythonQtWrapper_QTextFrameFormat::borderBrush(QTextFrameFormat* theWrappedObject) const -{ - return ( theWrappedObject->borderBrush()); -} - -void PythonQtWrapper_QTextFrameFormat::setPosition(QTextFrameFormat* theWrappedObject, QTextFrameFormat::Position f) -{ - ( theWrappedObject->setPosition(f)); -} - -bool PythonQtWrapper_QTextFrameFormat::isValid(QTextFrameFormat* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -void PythonQtWrapper_QTextFrameFormat::setBorderBrush(QTextFrameFormat* theWrappedObject, const QBrush& brush) -{ - ( theWrappedObject->setBorderBrush(brush)); -} - -qreal PythonQtWrapper_QTextFrameFormat::rightMargin(QTextFrameFormat* theWrappedObject) const -{ - return ( theWrappedObject->rightMargin()); -} - -void PythonQtWrapper_QTextFrameFormat::setBorder(QTextFrameFormat* theWrappedObject, qreal border) -{ - ( theWrappedObject->setBorder(border)); -} - -void PythonQtWrapper_QTextFrameFormat::setWidth(QTextFrameFormat* theWrappedObject, qreal width) -{ - ( theWrappedObject->setWidth(width)); -} - -void PythonQtWrapper_QTextFrameFormat::setHeight(QTextFrameFormat* theWrappedObject, qreal height) -{ - ( theWrappedObject->setHeight(height)); -} - -void PythonQtWrapper_QTextFrameFormat::setHeight(QTextFrameFormat* theWrappedObject, const QTextLength& height) -{ - ( theWrappedObject->setHeight(height)); -} - -QTextFrameFormat::BorderStyle PythonQtWrapper_QTextFrameFormat::borderStyle(QTextFrameFormat* theWrappedObject) const -{ - return ( theWrappedObject->borderStyle()); -} - -QTextFrameFormat::Position PythonQtWrapper_QTextFrameFormat::position(QTextFrameFormat* theWrappedObject) const -{ - return ( theWrappedObject->position()); -} - -void PythonQtWrapper_QTextFrameFormat::setLeftMargin(QTextFrameFormat* theWrappedObject, qreal margin) -{ - ( theWrappedObject->setLeftMargin(margin)); -} - -qreal PythonQtWrapper_QTextFrameFormat::topMargin(QTextFrameFormat* theWrappedObject) const -{ - return ( theWrappedObject->topMargin()); -} - -qreal PythonQtWrapper_QTextFrameFormat::leftMargin(QTextFrameFormat* theWrappedObject) const -{ - return ( theWrappedObject->leftMargin()); -} - -void PythonQtWrapper_QTextFrameFormat::setTopMargin(QTextFrameFormat* theWrappedObject, qreal margin) -{ - ( theWrappedObject->setTopMargin(margin)); -} - -void PythonQtWrapper_QTextFrameFormat::setPadding(QTextFrameFormat* theWrappedObject, qreal padding) -{ - ( theWrappedObject->setPadding(padding)); -} - -void PythonQtWrapper_QTextFrameFormat::setBorderStyle(QTextFrameFormat* theWrappedObject, QTextFrameFormat::BorderStyle style) -{ - ( theWrappedObject->setBorderStyle(style)); -} - -QTextLength PythonQtWrapper_QTextFrameFormat::height(QTextFrameFormat* theWrappedObject) const -{ - return ( theWrappedObject->height()); -} - -QTextFormat::PageBreakFlags PythonQtWrapper_QTextFrameFormat::pageBreakPolicy(QTextFrameFormat* theWrappedObject) const -{ - return ( theWrappedObject->pageBreakPolicy()); -} - -void PythonQtWrapper_QTextFrameFormat::setMargin(QTextFrameFormat* theWrappedObject, qreal margin) -{ - ( theWrappedObject->setMargin(margin)); -} - -qreal PythonQtWrapper_QTextFrameFormat::border(QTextFrameFormat* theWrappedObject) const -{ - return ( theWrappedObject->border()); -} - -qreal PythonQtWrapper_QTextFrameFormat::bottomMargin(QTextFrameFormat* theWrappedObject) const -{ - return ( theWrappedObject->bottomMargin()); -} - -void PythonQtWrapper_QTextFrameFormat::setPageBreakPolicy(QTextFrameFormat* theWrappedObject, QTextFormat::PageBreakFlags flags) -{ - ( theWrappedObject->setPageBreakPolicy(flags)); -} - -void PythonQtWrapper_QTextFrameFormat::setRightMargin(QTextFrameFormat* theWrappedObject, qreal margin) -{ - ( theWrappedObject->setRightMargin(margin)); -} - -void PythonQtWrapper_QTextFrameFormat::setBottomMargin(QTextFrameFormat* theWrappedObject, qreal margin) -{ - ( theWrappedObject->setBottomMargin(margin)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextFrameFormat.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextFrameFormat.h deleted file mode 100644 index b781e93..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextFrameFormat.h +++ /dev/null @@ -1,72 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QTEXTFRAMEFORMAT_H -#define PYTHONQTWRAPPER_QTEXTFRAMEFORMAT_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QTextFrameFormat : public QTextFrameFormat -{ -public: - PythonQtShell_QTextFrameFormat():QTextFrameFormat(),_wrapper(NULL) {}; - PythonQtShell_QTextFrameFormat(const QTextFormat& fmt):QTextFrameFormat(fmt),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QTextFrameFormat : public QObject -{ Q_OBJECT -public: -Q_ENUMS(Position BorderStyle ) -enum Position{ - InFlow = QTextFrameFormat::InFlow, FloatLeft = QTextFrameFormat::FloatLeft, FloatRight = QTextFrameFormat::FloatRight}; -enum BorderStyle{ - BorderStyle_None = QTextFrameFormat::BorderStyle_None, BorderStyle_Dotted = QTextFrameFormat::BorderStyle_Dotted, BorderStyle_Dashed = QTextFrameFormat::BorderStyle_Dashed, BorderStyle_Solid = QTextFrameFormat::BorderStyle_Solid, BorderStyle_Double = QTextFrameFormat::BorderStyle_Double, BorderStyle_DotDash = QTextFrameFormat::BorderStyle_DotDash, BorderStyle_DotDotDash = QTextFrameFormat::BorderStyle_DotDotDash, BorderStyle_Groove = QTextFrameFormat::BorderStyle_Groove, BorderStyle_Ridge = QTextFrameFormat::BorderStyle_Ridge, BorderStyle_Inset = QTextFrameFormat::BorderStyle_Inset, BorderStyle_Outset = QTextFrameFormat::BorderStyle_Outset}; -public slots: -QTextFrameFormat* new_QTextFrameFormat(); -QTextFrameFormat* new_QTextFrameFormat(const QTextFrameFormat& other) { -PythonQtShell_QTextFrameFormat* a = new PythonQtShell_QTextFrameFormat(); -*((QTextFrameFormat*)a) = other; -return a; } -void delete_QTextFrameFormat(QTextFrameFormat* obj) { delete obj; } - QTextLength width(QTextFrameFormat* theWrappedObject) const; - void setWidth(QTextFrameFormat* theWrappedObject, const QTextLength& length); - qreal margin(QTextFrameFormat* theWrappedObject) const; - qreal padding(QTextFrameFormat* theWrappedObject) const; - QBrush borderBrush(QTextFrameFormat* theWrappedObject) const; - void setPosition(QTextFrameFormat* theWrappedObject, QTextFrameFormat::Position f); - bool isValid(QTextFrameFormat* theWrappedObject) const; - void setBorderBrush(QTextFrameFormat* theWrappedObject, const QBrush& brush); - qreal rightMargin(QTextFrameFormat* theWrappedObject) const; - void setBorder(QTextFrameFormat* theWrappedObject, qreal border); - void setWidth(QTextFrameFormat* theWrappedObject, qreal width); - void setHeight(QTextFrameFormat* theWrappedObject, qreal height); - void setHeight(QTextFrameFormat* theWrappedObject, const QTextLength& height); - QTextFrameFormat::BorderStyle borderStyle(QTextFrameFormat* theWrappedObject) const; - QTextFrameFormat::Position position(QTextFrameFormat* theWrappedObject) const; - void setLeftMargin(QTextFrameFormat* theWrappedObject, qreal margin); - qreal topMargin(QTextFrameFormat* theWrappedObject) const; - qreal leftMargin(QTextFrameFormat* theWrappedObject) const; - void setTopMargin(QTextFrameFormat* theWrappedObject, qreal margin); - void setPadding(QTextFrameFormat* theWrappedObject, qreal padding); - void setBorderStyle(QTextFrameFormat* theWrappedObject, QTextFrameFormat::BorderStyle style); - QTextLength height(QTextFrameFormat* theWrappedObject) const; - QTextFormat::PageBreakFlags pageBreakPolicy(QTextFrameFormat* theWrappedObject) const; - void setMargin(QTextFrameFormat* theWrappedObject, qreal margin); - qreal border(QTextFrameFormat* theWrappedObject) const; - qreal bottomMargin(QTextFrameFormat* theWrappedObject) const; - void setPageBreakPolicy(QTextFrameFormat* theWrappedObject, QTextFormat::PageBreakFlags flags); - void setRightMargin(QTextFrameFormat* theWrappedObject, qreal margin); - void setBottomMargin(QTextFrameFormat* theWrappedObject, qreal margin); -}; - -#endif // PYTHONQTWRAPPER_QTEXTFRAMEFORMAT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextImageFormat.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextImageFormat.cpp deleted file mode 100644 index 151a49d..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextImageFormat.cpp +++ /dev/null @@ -1,53 +0,0 @@ -#include "PythonQtWrapper_QTextImageFormat.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QTextImageFormat* PythonQtWrapper_QTextImageFormat::new_QTextImageFormat() -{ -return new PythonQtShell_QTextImageFormat(); } - -qreal PythonQtWrapper_QTextImageFormat::width(QTextImageFormat* theWrappedObject) const -{ - return ( theWrappedObject->width()); -} - -void PythonQtWrapper_QTextImageFormat::setHeight(QTextImageFormat* theWrappedObject, qreal height) -{ - ( theWrappedObject->setHeight(height)); -} - -bool PythonQtWrapper_QTextImageFormat::isValid(QTextImageFormat* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -void PythonQtWrapper_QTextImageFormat::setName(QTextImageFormat* theWrappedObject, const QString& name) -{ - ( theWrappedObject->setName(name)); -} - -void PythonQtWrapper_QTextImageFormat::setWidth(QTextImageFormat* theWrappedObject, qreal width) -{ - ( theWrappedObject->setWidth(width)); -} - -qreal PythonQtWrapper_QTextImageFormat::height(QTextImageFormat* theWrappedObject) const -{ - return ( theWrappedObject->height()); -} - -QString PythonQtWrapper_QTextImageFormat::name(QTextImageFormat* theWrappedObject) const -{ - return ( theWrappedObject->name()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextImageFormat.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextImageFormat.h deleted file mode 100644 index 41603fb..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextImageFormat.h +++ /dev/null @@ -1,47 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QTEXTIMAGEFORMAT_H -#define PYTHONQTWRAPPER_QTEXTIMAGEFORMAT_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QTextImageFormat : public QTextImageFormat -{ -public: - PythonQtShell_QTextImageFormat():QTextImageFormat(),_wrapper(NULL) {}; - PythonQtShell_QTextImageFormat(const QTextFormat& format):QTextImageFormat(format),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QTextImageFormat : public QObject -{ Q_OBJECT -public: -public slots: -QTextImageFormat* new_QTextImageFormat(); -QTextImageFormat* new_QTextImageFormat(const QTextImageFormat& other) { -PythonQtShell_QTextImageFormat* a = new PythonQtShell_QTextImageFormat(); -*((QTextImageFormat*)a) = other; -return a; } -void delete_QTextImageFormat(QTextImageFormat* obj) { delete obj; } - qreal width(QTextImageFormat* theWrappedObject) const; - void setHeight(QTextImageFormat* theWrappedObject, qreal height); - bool isValid(QTextImageFormat* theWrappedObject) const; - void setName(QTextImageFormat* theWrappedObject, const QString& name); - void setWidth(QTextImageFormat* theWrappedObject, qreal width); - qreal height(QTextImageFormat* theWrappedObject) const; - QString name(QTextImageFormat* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QTEXTIMAGEFORMAT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextInlineObject.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextInlineObject.cpp deleted file mode 100644 index 8f828db..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextInlineObject.cpp +++ /dev/null @@ -1,78 +0,0 @@ -#include "PythonQtWrapper_QTextInlineObject.h" - -#include -#include -#include -#include -#include -#include - -QTextInlineObject* PythonQtWrapper_QTextInlineObject::new_QTextInlineObject() -{ -return new QTextInlineObject(); } - -qreal PythonQtWrapper_QTextInlineObject::descent(QTextInlineObject* theWrappedObject) const -{ - return ( theWrappedObject->descent()); -} - -bool PythonQtWrapper_QTextInlineObject::isValid(QTextInlineObject* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -Qt::LayoutDirection PythonQtWrapper_QTextInlineObject::textDirection(QTextInlineObject* theWrappedObject) const -{ - return ( theWrappedObject->textDirection()); -} - -void PythonQtWrapper_QTextInlineObject::setWidth(QTextInlineObject* theWrappedObject, qreal w) -{ - ( theWrappedObject->setWidth(w)); -} - -int PythonQtWrapper_QTextInlineObject::formatIndex(QTextInlineObject* theWrappedObject) const -{ - return ( theWrappedObject->formatIndex()); -} - -QRectF PythonQtWrapper_QTextInlineObject::rect(QTextInlineObject* theWrappedObject) const -{ - return ( theWrappedObject->rect()); -} - -void PythonQtWrapper_QTextInlineObject::setAscent(QTextInlineObject* theWrappedObject, qreal a) -{ - ( theWrappedObject->setAscent(a)); -} - -QTextFormat PythonQtWrapper_QTextInlineObject::format(QTextInlineObject* theWrappedObject) const -{ - return ( theWrappedObject->format()); -} - -qreal PythonQtWrapper_QTextInlineObject::width(QTextInlineObject* theWrappedObject) const -{ - return ( theWrappedObject->width()); -} - -qreal PythonQtWrapper_QTextInlineObject::height(QTextInlineObject* theWrappedObject) const -{ - return ( theWrappedObject->height()); -} - -qreal PythonQtWrapper_QTextInlineObject::ascent(QTextInlineObject* theWrappedObject) const -{ - return ( theWrappedObject->ascent()); -} - -void PythonQtWrapper_QTextInlineObject::setDescent(QTextInlineObject* theWrappedObject, qreal d) -{ - ( theWrappedObject->setDescent(d)); -} - -int PythonQtWrapper_QTextInlineObject::textPosition(QTextInlineObject* theWrappedObject) const -{ - return ( theWrappedObject->textPosition()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextInlineObject.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextInlineObject.h deleted file mode 100644 index b2291cb..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextInlineObject.h +++ /dev/null @@ -1,38 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QTEXTINLINEOBJECT_H -#define PYTHONQTWRAPPER_QTEXTINLINEOBJECT_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtWrapper_QTextInlineObject : public QObject -{ Q_OBJECT -public: -public slots: -QTextInlineObject* new_QTextInlineObject(); -QTextInlineObject* new_QTextInlineObject(const QTextInlineObject& other) { -QTextInlineObject* a = new QTextInlineObject(); -*((QTextInlineObject*)a) = other; -return a; } -void delete_QTextInlineObject(QTextInlineObject* obj) { delete obj; } - qreal descent(QTextInlineObject* theWrappedObject) const; - bool isValid(QTextInlineObject* theWrappedObject) const; - Qt::LayoutDirection textDirection(QTextInlineObject* theWrappedObject) const; - void setWidth(QTextInlineObject* theWrappedObject, qreal w); - int formatIndex(QTextInlineObject* theWrappedObject) const; - QRectF rect(QTextInlineObject* theWrappedObject) const; - void setAscent(QTextInlineObject* theWrappedObject, qreal a); - QTextFormat format(QTextInlineObject* theWrappedObject) const; - qreal width(QTextInlineObject* theWrappedObject) const; - qreal height(QTextInlineObject* theWrappedObject) const; - qreal ascent(QTextInlineObject* theWrappedObject) const; - void setDescent(QTextInlineObject* theWrappedObject, qreal d); - int textPosition(QTextInlineObject* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QTEXTINLINEOBJECT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextItem.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextItem.cpp deleted file mode 100644 index bf9b59d..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextItem.cpp +++ /dev/null @@ -1,42 +0,0 @@ -#include "PythonQtWrapper_QTextItem.h" - -#include -#include -#include -#include -#include - -QTextItem* PythonQtWrapper_QTextItem::new_QTextItem() -{ -return new PythonQtShell_QTextItem(); } - -qreal PythonQtWrapper_QTextItem::descent(QTextItem* theWrappedObject) const -{ - return ( theWrappedObject->descent()); -} - -QString PythonQtWrapper_QTextItem::text(QTextItem* theWrappedObject) const -{ - return ( theWrappedObject->text()); -} - -QTextItem::RenderFlags PythonQtWrapper_QTextItem::renderFlags(QTextItem* theWrappedObject) const -{ - return ( theWrappedObject->renderFlags()); -} - -QFont PythonQtWrapper_QTextItem::font(QTextItem* theWrappedObject) const -{ - return ( theWrappedObject->font()); -} - -qreal PythonQtWrapper_QTextItem::ascent(QTextItem* theWrappedObject) const -{ - return ( theWrappedObject->ascent()); -} - -qreal PythonQtWrapper_QTextItem::width(QTextItem* theWrappedObject) const -{ - return ( theWrappedObject->width()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextItem.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextItem.h deleted file mode 100644 index 011f1c2..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextItem.h +++ /dev/null @@ -1,40 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QTEXTITEM_H -#define PYTHONQTWRAPPER_QTEXTITEM_H - -#include -#include - -#include - -#include -#include - -class PythonQtShell_QTextItem : public QTextItem -{ -public: - PythonQtShell_QTextItem():QTextItem(),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QTextItem : public QObject -{ Q_OBJECT -public: -Q_ENUMS(RenderFlag ) -Q_FLAGS(RenderFlags ) -enum RenderFlag{ - RightToLeft = QTextItem::RightToLeft, Overline = QTextItem::Overline, Underline = QTextItem::Underline, StrikeOut = QTextItem::StrikeOut, Dummy = QTextItem::Dummy}; -Q_DECLARE_FLAGS(RenderFlags, RenderFlag) -public slots: -QTextItem* new_QTextItem(); -void delete_QTextItem(QTextItem* obj) { delete obj; } - qreal descent(QTextItem* theWrappedObject) const; - QString text(QTextItem* theWrappedObject) const; - QTextItem::RenderFlags renderFlags(QTextItem* theWrappedObject) const; - QFont font(QTextItem* theWrappedObject) const; - qreal ascent(QTextItem* theWrappedObject) const; - qreal width(QTextItem* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QTEXTITEM_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextLength.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextLength.cpp deleted file mode 100644 index b6a038e..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextLength.cpp +++ /dev/null @@ -1,47 +0,0 @@ -#include "PythonQtWrapper_QTextLength.h" - -#include -#include -#include -#include -#include -#include - -QTextLength* PythonQtWrapper_QTextLength::new_QTextLength() -{ -return new QTextLength(); } - -QTextLength* PythonQtWrapper_QTextLength::new_QTextLength(QTextLength::Type type, qreal value) -{ -return new QTextLength(type, value); } - -void PythonQtWrapper_QTextLength::writeTo(QTextLength* theWrappedObject, QDataStream& arg__1) -{ - arg__1 << (*theWrappedObject); -} - -bool PythonQtWrapper_QTextLength::operator_equal(QTextLength* theWrappedObject, const QTextLength& other) const -{ - return ( (*theWrappedObject)== other); -} - -void PythonQtWrapper_QTextLength::readFrom(QTextLength* theWrappedObject, QDataStream& arg__1) -{ - arg__1 >> (*theWrappedObject); -} - -qreal PythonQtWrapper_QTextLength::rawValue(QTextLength* theWrappedObject) const -{ - return ( theWrappedObject->rawValue()); -} - -qreal PythonQtWrapper_QTextLength::value(QTextLength* theWrappedObject, qreal maximumLength) const -{ - return ( theWrappedObject->value(maximumLength)); -} - -QTextLength::Type PythonQtWrapper_QTextLength::type(QTextLength* theWrappedObject) const -{ - return ( theWrappedObject->type()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextLength.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextLength.h deleted file mode 100644 index 76eb064..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextLength.h +++ /dev/null @@ -1,35 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QTEXTLENGTH_H -#define PYTHONQTWRAPPER_QTEXTLENGTH_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtWrapper_QTextLength : public QObject -{ Q_OBJECT -public: -Q_ENUMS(Type ) -enum Type{ - VariableLength = QTextLength::VariableLength, FixedLength = QTextLength::FixedLength, PercentageLength = QTextLength::PercentageLength}; -public slots: -QTextLength* new_QTextLength(); -QTextLength* new_QTextLength(QTextLength::Type type, qreal value); -QTextLength* new_QTextLength(const QTextLength& other) { -QTextLength* a = new QTextLength(); -*((QTextLength*)a) = other; -return a; } -void delete_QTextLength(QTextLength* obj) { delete obj; } - void writeTo(QTextLength* theWrappedObject, QDataStream& arg__1); - bool operator_equal(QTextLength* theWrappedObject, const QTextLength& other) const; - void readFrom(QTextLength* theWrappedObject, QDataStream& arg__1); - qreal rawValue(QTextLength* theWrappedObject) const; - qreal value(QTextLength* theWrappedObject, qreal maximumLength) const; - QTextLength::Type type(QTextLength* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QTEXTLENGTH_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextLine.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextLine.cpp deleted file mode 100644 index 7e4a768..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextLine.cpp +++ /dev/null @@ -1,120 +0,0 @@ -#include "PythonQtWrapper_QTextLine.h" - -#include -#include -#include -#include -#include -#include -#include -#include - -QTextLine* PythonQtWrapper_QTextLine::new_QTextLine() -{ -return new QTextLine(); } - -qreal PythonQtWrapper_QTextLine::height(QTextLine* theWrappedObject) const -{ - return ( theWrappedObject->height()); -} - -void PythonQtWrapper_QTextLine::setNumColumns(QTextLine* theWrappedObject, int columns, qreal alignmentWidth) -{ - ( theWrappedObject->setNumColumns(columns, alignmentWidth)); -} - -qreal PythonQtWrapper_QTextLine::width(QTextLine* theWrappedObject) const -{ - return ( theWrappedObject->width()); -} - -qreal PythonQtWrapper_QTextLine::y(QTextLine* theWrappedObject) const -{ - return ( theWrappedObject->y()); -} - -void PythonQtWrapper_QTextLine::setNumColumns(QTextLine* theWrappedObject, int columns) -{ - ( theWrappedObject->setNumColumns(columns)); -} - -qreal PythonQtWrapper_QTextLine::x(QTextLine* theWrappedObject) const -{ - return ( theWrappedObject->x()); -} - -qreal PythonQtWrapper_QTextLine::descent(QTextLine* theWrappedObject) const -{ - return ( theWrappedObject->descent()); -} - -QRectF PythonQtWrapper_QTextLine::rect(QTextLine* theWrappedObject) const -{ - return ( theWrappedObject->rect()); -} - -QRectF PythonQtWrapper_QTextLine::naturalTextRect(QTextLine* theWrappedObject) const -{ - return ( theWrappedObject->naturalTextRect()); -} - -qreal PythonQtWrapper_QTextLine::ascent(QTextLine* theWrappedObject) const -{ - return ( theWrappedObject->ascent()); -} - -QPointF PythonQtWrapper_QTextLine::position(QTextLine* theWrappedObject) const -{ - return ( theWrappedObject->position()); -} - -int PythonQtWrapper_QTextLine::textStart(QTextLine* theWrappedObject) const -{ - return ( theWrappedObject->textStart()); -} - -int PythonQtWrapper_QTextLine::xToCursor(QTextLine* theWrappedObject, qreal x, QTextLine::CursorPosition arg__2) const -{ - return ( theWrappedObject->xToCursor(x, arg__2)); -} - -qreal PythonQtWrapper_QTextLine::cursorToX(QTextLine* theWrappedObject, int cursorPos, QTextLine::Edge edge) const -{ - return ( theWrappedObject->cursorToX(cursorPos, edge)); -} - -int PythonQtWrapper_QTextLine::textLength(QTextLine* theWrappedObject) const -{ - return ( theWrappedObject->textLength()); -} - -void PythonQtWrapper_QTextLine::setPosition(QTextLine* theWrappedObject, const QPointF& pos) -{ - ( theWrappedObject->setPosition(pos)); -} - -int PythonQtWrapper_QTextLine::lineNumber(QTextLine* theWrappedObject) const -{ - return ( theWrappedObject->lineNumber()); -} - -bool PythonQtWrapper_QTextLine::isValid(QTextLine* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -qreal PythonQtWrapper_QTextLine::naturalTextWidth(QTextLine* theWrappedObject) const -{ - return ( theWrappedObject->naturalTextWidth()); -} - -void PythonQtWrapper_QTextLine::setLineWidth(QTextLine* theWrappedObject, qreal width) -{ - ( theWrappedObject->setLineWidth(width)); -} - -void PythonQtWrapper_QTextLine::draw(QTextLine* theWrappedObject, QPainter* p, const QPointF& point, const QTextLayout::FormatRange* selection) const -{ - ( theWrappedObject->draw(p, point, selection)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextLine.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextLine.h deleted file mode 100644 index 8b9082d..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextLine.h +++ /dev/null @@ -1,53 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QTEXTLINE_H -#define PYTHONQTWRAPPER_QTEXTLINE_H - -#include -#include - -#include - -#include -#include -#include -#include -#include - -class PythonQtWrapper_QTextLine : public QObject -{ Q_OBJECT -public: -Q_ENUMS(Edge CursorPosition ) -enum Edge{ - Leading = QTextLine::Leading, Trailing = QTextLine::Trailing}; -enum CursorPosition{ - CursorBetweenCharacters = QTextLine::CursorBetweenCharacters, CursorOnCharacter = QTextLine::CursorOnCharacter}; -public slots: -QTextLine* new_QTextLine(); -QTextLine* new_QTextLine(const QTextLine& other) { -QTextLine* a = new QTextLine(); -*((QTextLine*)a) = other; -return a; } -void delete_QTextLine(QTextLine* obj) { delete obj; } - qreal height(QTextLine* theWrappedObject) const; - void setNumColumns(QTextLine* theWrappedObject, int columns, qreal alignmentWidth); - qreal width(QTextLine* theWrappedObject) const; - qreal y(QTextLine* theWrappedObject) const; - void setNumColumns(QTextLine* theWrappedObject, int columns); - qreal x(QTextLine* theWrappedObject) const; - qreal descent(QTextLine* theWrappedObject) const; - QRectF rect(QTextLine* theWrappedObject) const; - QRectF naturalTextRect(QTextLine* theWrappedObject) const; - qreal ascent(QTextLine* theWrappedObject) const; - QPointF position(QTextLine* theWrappedObject) const; - int textStart(QTextLine* theWrappedObject) const; - int xToCursor(QTextLine* theWrappedObject, qreal x, QTextLine::CursorPosition arg__2 = QTextLine::CursorBetweenCharacters) const; - qreal cursorToX(QTextLine* theWrappedObject, int cursorPos, QTextLine::Edge edge = QTextLine::Leading) const; - int textLength(QTextLine* theWrappedObject) const; - void setPosition(QTextLine* theWrappedObject, const QPointF& pos); - int lineNumber(QTextLine* theWrappedObject) const; - bool isValid(QTextLine* theWrappedObject) const; - qreal naturalTextWidth(QTextLine* theWrappedObject) const; - void setLineWidth(QTextLine* theWrappedObject, qreal width); - void draw(QTextLine* theWrappedObject, QPainter* p, const QPointF& point, const QTextLayout::FormatRange* selection = 0) const; -}; - -#endif // PYTHONQTWRAPPER_QTEXTLINE_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextList.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextList.cpp deleted file mode 100644 index 8fe2530..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextList.cpp +++ /dev/null @@ -1,222 +0,0 @@ -#include "PythonQtWrapper_QTextList.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QTextList::blockFormatChanged(const QTextBlock& block) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "blockFormatChanged"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QTextBlock&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&block}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTextList::blockFormatChanged(block); -} -void PythonQtShell_QTextList::blockInserted(const QTextBlock& block) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "blockInserted"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QTextBlock&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&block}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTextList::blockInserted(block); -} -void PythonQtShell_QTextList::blockRemoved(const QTextBlock& block) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "blockRemoved"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QTextBlock&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&block}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTextList::blockRemoved(block); -} -void PythonQtShell_QTextList::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; - } -} - QTextList::childEvent(arg__1); -} -void PythonQtShell_QTextList::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; - } -} - QTextList::customEvent(arg__1); -} -bool PythonQtShell_QTextList::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTextList::event(arg__1); -} -bool PythonQtShell_QTextList::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTextList::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QTextList::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; - } -} - QTextList::timerEvent(arg__1); -} -QTextList* PythonQtWrapper_QTextList::new_QTextList(QTextDocument* doc) -{ -return new PythonQtShell_QTextList(doc); } - -QTextBlock PythonQtWrapper_QTextList::item(QTextList* theWrappedObject, int i) const -{ - return ( theWrappedObject->item(i)); -} - -void PythonQtWrapper_QTextList::add(QTextList* theWrappedObject, const QTextBlock& block) -{ - ( theWrappedObject->add(block)); -} - -int PythonQtWrapper_QTextList::itemNumber(QTextList* theWrappedObject, const QTextBlock& arg__1) const -{ - return ( theWrappedObject->itemNumber(arg__1)); -} - -void PythonQtWrapper_QTextList::setFormat(QTextList* theWrappedObject, const QTextListFormat& format) -{ - ( theWrappedObject->setFormat(format)); -} - -QString PythonQtWrapper_QTextList::itemText(QTextList* theWrappedObject, const QTextBlock& arg__1) const -{ - return ( theWrappedObject->itemText(arg__1)); -} - -QTextListFormat PythonQtWrapper_QTextList::format(QTextList* theWrappedObject) const -{ - return ( theWrappedObject->format()); -} - -void PythonQtWrapper_QTextList::remove(QTextList* theWrappedObject, const QTextBlock& arg__1) -{ - ( theWrappedObject->remove(arg__1)); -} - -void PythonQtWrapper_QTextList::removeItem(QTextList* theWrappedObject, int i) -{ - ( theWrappedObject->removeItem(i)); -} - -int PythonQtWrapper_QTextList::count(QTextList* theWrappedObject) const -{ - return ( theWrappedObject->count()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextList.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextList.h deleted file mode 100644 index 74b35d4..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextList.h +++ /dev/null @@ -1,53 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QTEXTLIST_H -#define PYTHONQTWRAPPER_QTEXTLIST_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QTextList : public QTextList -{ -public: - PythonQtShell_QTextList(QTextDocument* doc):QTextList(doc),_wrapper(NULL) {}; - -virtual void blockFormatChanged(const QTextBlock& block); -virtual void blockInserted(const QTextBlock& block); -virtual void blockRemoved(const QTextBlock& block); -virtual void childEvent(QChildEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QTextList : public QObject -{ Q_OBJECT -public: -public slots: -QTextList* new_QTextList(QTextDocument* doc); -void delete_QTextList(QTextList* obj) { delete obj; } - QTextBlock item(QTextList* theWrappedObject, int i) const; - void add(QTextList* theWrappedObject, const QTextBlock& block); - int itemNumber(QTextList* theWrappedObject, const QTextBlock& arg__1) const; - void setFormat(QTextList* theWrappedObject, const QTextListFormat& format); - QString itemText(QTextList* theWrappedObject, const QTextBlock& arg__1) const; - QTextListFormat format(QTextList* theWrappedObject) const; - void remove(QTextList* theWrappedObject, const QTextBlock& arg__1); - void removeItem(QTextList* theWrappedObject, int i); - int count(QTextList* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QTEXTLIST_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextListFormat.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextListFormat.cpp deleted file mode 100644 index 2ccbf1e..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextListFormat.cpp +++ /dev/null @@ -1,41 +0,0 @@ -#include "PythonQtWrapper_QTextListFormat.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QTextListFormat* PythonQtWrapper_QTextListFormat::new_QTextListFormat() -{ -return new PythonQtShell_QTextListFormat(); } - -void PythonQtWrapper_QTextListFormat::setStyle(QTextListFormat* theWrappedObject, QTextListFormat::Style style) -{ - ( theWrappedObject->setStyle(style)); -} - -void PythonQtWrapper_QTextListFormat::setIndent(QTextListFormat* theWrappedObject, int indent) -{ - ( theWrappedObject->setIndent(indent)); -} - -bool PythonQtWrapper_QTextListFormat::isValid(QTextListFormat* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -QTextListFormat::Style PythonQtWrapper_QTextListFormat::style(QTextListFormat* theWrappedObject) const -{ - return ( theWrappedObject->style()); -} - -int PythonQtWrapper_QTextListFormat::indent(QTextListFormat* theWrappedObject) const -{ - return ( theWrappedObject->indent()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextListFormat.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextListFormat.h deleted file mode 100644 index 30fef45..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextListFormat.h +++ /dev/null @@ -1,46 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QTEXTLISTFORMAT_H -#define PYTHONQTWRAPPER_QTEXTLISTFORMAT_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QTextListFormat : public QTextListFormat -{ -public: - PythonQtShell_QTextListFormat():QTextListFormat(),_wrapper(NULL) {}; - PythonQtShell_QTextListFormat(const QTextFormat& fmt):QTextListFormat(fmt),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QTextListFormat : public QObject -{ Q_OBJECT -public: -Q_ENUMS(Style ) -enum Style{ - ListDisc = QTextListFormat::ListDisc, ListCircle = QTextListFormat::ListCircle, ListSquare = QTextListFormat::ListSquare, ListDecimal = QTextListFormat::ListDecimal, ListLowerAlpha = QTextListFormat::ListLowerAlpha, ListUpperAlpha = QTextListFormat::ListUpperAlpha, ListStyleUndefined = QTextListFormat::ListStyleUndefined}; -public slots: -QTextListFormat* new_QTextListFormat(); -QTextListFormat* new_QTextListFormat(const QTextListFormat& other) { -PythonQtShell_QTextListFormat* a = new PythonQtShell_QTextListFormat(); -*((QTextListFormat*)a) = other; -return a; } -void delete_QTextListFormat(QTextListFormat* obj) { delete obj; } - void setStyle(QTextListFormat* theWrappedObject, QTextListFormat::Style style); - void setIndent(QTextListFormat* theWrappedObject, int indent); - bool isValid(QTextListFormat* theWrappedObject) const; - QTextListFormat::Style style(QTextListFormat* theWrappedObject) const; - int indent(QTextListFormat* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QTEXTLISTFORMAT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextObject.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextObject.cpp deleted file mode 100644 index 7b9db32..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextObject.cpp +++ /dev/null @@ -1,141 +0,0 @@ -#include "PythonQtWrapper_QTextObject.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QTextObject::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; - } -} - QTextObject::childEvent(arg__1); -} -void PythonQtShell_QTextObject::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; - } -} - QTextObject::customEvent(arg__1); -} -bool PythonQtShell_QTextObject::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTextObject::event(arg__1); -} -bool PythonQtShell_QTextObject::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTextObject::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QTextObject::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; - } -} - QTextObject::timerEvent(arg__1); -} -int PythonQtWrapper_QTextObject::objectIndex(QTextObject* theWrappedObject) const -{ - return ( theWrappedObject->objectIndex()); -} - -QTextDocument* PythonQtWrapper_QTextObject::document(QTextObject* theWrappedObject) const -{ - return ( theWrappedObject->document()); -} - -QTextFormat PythonQtWrapper_QTextObject::format(QTextObject* theWrappedObject) const -{ - return ( theWrappedObject->format()); -} - -int PythonQtWrapper_QTextObject::formatIndex(QTextObject* theWrappedObject) const -{ - return ( theWrappedObject->formatIndex()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextObject.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextObject.h deleted file mode 100644 index 534e899..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextObject.h +++ /dev/null @@ -1,42 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QTEXTOBJECT_H -#define PYTHONQTWRAPPER_QTEXTOBJECT_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QTextObject : public QTextObject -{ -public: - PythonQtShell_QTextObject(QTextDocument* doc):QTextObject(doc),_wrapper(NULL) {}; - -virtual void childEvent(QChildEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QTextObject : public QObject -{ Q_OBJECT -public: -public slots: - int objectIndex(QTextObject* theWrappedObject) const; - QTextDocument* document(QTextObject* theWrappedObject) const; - QTextFormat format(QTextObject* theWrappedObject) const; - int formatIndex(QTextObject* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QTEXTOBJECT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextObjectInterface.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextObjectInterface.cpp deleted file mode 100644 index bf4f1b0..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextObjectInterface.cpp +++ /dev/null @@ -1,62 +0,0 @@ -#include "PythonQtWrapper_QTextObjectInterface.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QTextObjectInterface::drawObject(QPainter* painter, const QRectF& rect, QTextDocument* doc, int posInDocument, const QTextFormat& format) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawObject"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPainter*" , "const QRectF&" , "QTextDocument*" , "int" , "const QTextFormat&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - void* args[6] = {NULL, (void*)&painter, (void*)&rect, (void*)&doc, (void*)&posInDocument, (void*)&format}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - -} -QSizeF PythonQtShell_QTextObjectInterface::intrinsicSize(QTextDocument* doc, int posInDocument, const QTextFormat& format) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "intrinsicSize"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSizeF" , "QTextDocument*" , "int" , "const QTextFormat&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QSizeF returnValue; - void* args[4] = {NULL, (void*)&doc, (void*)&posInDocument, (void*)&format}; - 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("intrinsicSize", methodInfo, result); - } else { - returnValue = *((QSizeF*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QSizeF result; -return result; -} -QTextObjectInterface* PythonQtWrapper_QTextObjectInterface::new_QTextObjectInterface() -{ -return new PythonQtShell_QTextObjectInterface(); } - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextObjectInterface.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextObjectInterface.h deleted file mode 100644 index 6e12ed3..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextObjectInterface.h +++ /dev/null @@ -1,35 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QTEXTOBJECTINTERFACE_H -#define PYTHONQTWRAPPER_QTEXTOBJECTINTERFACE_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QTextObjectInterface : public QTextObjectInterface -{ -public: - PythonQtShell_QTextObjectInterface():QTextObjectInterface(),_wrapper(NULL) {}; - -virtual void drawObject(QPainter* painter, const QRectF& rect, QTextDocument* doc, int posInDocument, const QTextFormat& format); -virtual QSizeF intrinsicSize(QTextDocument* doc, int posInDocument, const QTextFormat& format); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QTextObjectInterface : public QObject -{ Q_OBJECT -public: -public slots: -QTextObjectInterface* new_QTextObjectInterface(); -void delete_QTextObjectInterface(QTextObjectInterface* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QTEXTOBJECTINTERFACE_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextTable.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextTable.cpp deleted file mode 100644 index b831ed4..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextTable.cpp +++ /dev/null @@ -1,214 +0,0 @@ -#include "PythonQtWrapper_QTextTable.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QTextTable::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; - } -} - QTextTable::childEvent(arg__1); -} -void PythonQtShell_QTextTable::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; - } -} - QTextTable::customEvent(arg__1); -} -bool PythonQtShell_QTextTable::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTextTable::event(arg__1); -} -bool PythonQtShell_QTextTable::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTextTable::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QTextTable::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; - } -} - QTextTable::timerEvent(arg__1); -} -QTextTable* PythonQtWrapper_QTextTable::new_QTextTable(QTextDocument* doc) -{ -return new PythonQtShell_QTextTable(doc); } - -QTextTableCell PythonQtWrapper_QTextTable::cellAt(QTextTable* theWrappedObject, const QTextCursor& c) const -{ - return ( theWrappedObject->cellAt(c)); -} - -int PythonQtWrapper_QTextTable::rows(QTextTable* theWrappedObject) const -{ - return ( theWrappedObject->rows()); -} - -void PythonQtWrapper_QTextTable::insertRows(QTextTable* theWrappedObject, int pos, int num) -{ - ( theWrappedObject->insertRows(pos, num)); -} - -void PythonQtWrapper_QTextTable::mergeCells(QTextTable* theWrappedObject, int row, int col, int numRows, int numCols) -{ - ( theWrappedObject->mergeCells(row, col, numRows, numCols)); -} - -int PythonQtWrapper_QTextTable::columns(QTextTable* theWrappedObject) const -{ - return ( theWrappedObject->columns()); -} - -QTextCursor PythonQtWrapper_QTextTable::rowStart(QTextTable* theWrappedObject, const QTextCursor& c) const -{ - return ( theWrappedObject->rowStart(c)); -} - -QTextTableFormat PythonQtWrapper_QTextTable::format(QTextTable* theWrappedObject) const -{ - return ( theWrappedObject->format()); -} - -void PythonQtWrapper_QTextTable::insertColumns(QTextTable* theWrappedObject, int pos, int num) -{ - ( theWrappedObject->insertColumns(pos, num)); -} - -QTextCursor PythonQtWrapper_QTextTable::rowEnd(QTextTable* theWrappedObject, const QTextCursor& c) const -{ - return ( theWrappedObject->rowEnd(c)); -} - -void PythonQtWrapper_QTextTable::setFormat(QTextTable* theWrappedObject, const QTextTableFormat& format) -{ - ( theWrappedObject->setFormat(format)); -} - -void PythonQtWrapper_QTextTable::splitCell(QTextTable* theWrappedObject, int row, int col, int numRows, int numCols) -{ - ( theWrappedObject->splitCell(row, col, numRows, numCols)); -} - -QTextTableCell PythonQtWrapper_QTextTable::cellAt(QTextTable* theWrappedObject, int position) const -{ - return ( theWrappedObject->cellAt(position)); -} - -void PythonQtWrapper_QTextTable::removeColumns(QTextTable* theWrappedObject, int pos, int num) -{ - ( theWrappedObject->removeColumns(pos, num)); -} - -void PythonQtWrapper_QTextTable::removeRows(QTextTable* theWrappedObject, int pos, int num) -{ - ( theWrappedObject->removeRows(pos, num)); -} - -void PythonQtWrapper_QTextTable::resize(QTextTable* theWrappedObject, int rows, int cols) -{ - ( theWrappedObject->resize(rows, cols)); -} - -QTextTableCell PythonQtWrapper_QTextTable::cellAt(QTextTable* theWrappedObject, int row, int col) const -{ - return ( theWrappedObject->cellAt(row, col)); -} - -void PythonQtWrapper_QTextTable::mergeCells(QTextTable* theWrappedObject, const QTextCursor& cursor) -{ - ( theWrappedObject->mergeCells(cursor)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextTable.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextTable.h deleted file mode 100644 index a4e467d..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextTable.h +++ /dev/null @@ -1,61 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QTEXTTABLE_H -#define PYTHONQTWRAPPER_QTEXTTABLE_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QTextTable : public QTextTable -{ -public: - PythonQtShell_QTextTable(QTextDocument* doc):QTextTable(doc),_wrapper(NULL) {}; - -virtual void childEvent(QChildEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QTextTable : public QObject -{ Q_OBJECT -public: -public slots: -QTextTable* new_QTextTable(QTextDocument* doc); -void delete_QTextTable(QTextTable* obj) { delete obj; } - QTextTableCell cellAt(QTextTable* theWrappedObject, const QTextCursor& c) const; - int rows(QTextTable* theWrappedObject) const; - void insertRows(QTextTable* theWrappedObject, int pos, int num); - void mergeCells(QTextTable* theWrappedObject, int row, int col, int numRows, int numCols); - int columns(QTextTable* theWrappedObject) const; - QTextCursor rowStart(QTextTable* theWrappedObject, const QTextCursor& c) const; - QTextTableFormat format(QTextTable* theWrappedObject) const; - void insertColumns(QTextTable* theWrappedObject, int pos, int num); - QTextCursor rowEnd(QTextTable* theWrappedObject, const QTextCursor& c) const; - void setFormat(QTextTable* theWrappedObject, const QTextTableFormat& format); - void splitCell(QTextTable* theWrappedObject, int row, int col, int numRows, int numCols); - QTextTableCell cellAt(QTextTable* theWrappedObject, int position) const; - void removeColumns(QTextTable* theWrappedObject, int pos, int num); - void removeRows(QTextTable* theWrappedObject, int pos, int num); - void resize(QTextTable* theWrappedObject, int rows, int cols); - QTextTableCell cellAt(QTextTable* theWrappedObject, int row, int col) const; - void mergeCells(QTextTable* theWrappedObject, const QTextCursor& cursor); -}; - -#endif // PYTHONQTWRAPPER_QTEXTTABLE_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextTableCell.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextTableCell.cpp deleted file mode 100644 index 293f481..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextTableCell.cpp +++ /dev/null @@ -1,90 +0,0 @@ -#include "PythonQtWrapper_QTextTableCell.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QTextTableCell* PythonQtWrapper_QTextTableCell::new_QTextTableCell() -{ -return new QTextTableCell(); } - -QTextTableCell* PythonQtWrapper_QTextTableCell::new_QTextTableCell(const QTextTableCell& o) -{ -return new QTextTableCell(o); } - -QTextFrame::iterator PythonQtWrapper_QTextTableCell::end(QTextTableCell* theWrappedObject) const -{ - return ( theWrappedObject->end()); -} - -int PythonQtWrapper_QTextTableCell::rowSpan(QTextTableCell* theWrappedObject) const -{ - return ( theWrappedObject->rowSpan()); -} - -QTextFrame::iterator PythonQtWrapper_QTextTableCell::begin(QTextTableCell* theWrappedObject) const -{ - return ( theWrappedObject->begin()); -} - -int PythonQtWrapper_QTextTableCell::row(QTextTableCell* theWrappedObject) const -{ - return ( theWrappedObject->row()); -} - -bool PythonQtWrapper_QTextTableCell::isValid(QTextTableCell* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -QTextCharFormat PythonQtWrapper_QTextTableCell::format(QTextTableCell* theWrappedObject) const -{ - return ( theWrappedObject->format()); -} - -int PythonQtWrapper_QTextTableCell::column(QTextTableCell* theWrappedObject) const -{ - return ( theWrappedObject->column()); -} - -QTextCursor PythonQtWrapper_QTextTableCell::lastCursorPosition(QTextTableCell* theWrappedObject) const -{ - return ( theWrappedObject->lastCursorPosition()); -} - -int PythonQtWrapper_QTextTableCell::columnSpan(QTextTableCell* theWrappedObject) const -{ - return ( theWrappedObject->columnSpan()); -} - -int PythonQtWrapper_QTextTableCell::lastPosition(QTextTableCell* theWrappedObject) const -{ - return ( theWrappedObject->lastPosition()); -} - -int PythonQtWrapper_QTextTableCell::firstPosition(QTextTableCell* theWrappedObject) const -{ - return ( theWrappedObject->firstPosition()); -} - -bool PythonQtWrapper_QTextTableCell::operator_equal(QTextTableCell* theWrappedObject, const QTextTableCell& other) const -{ - return ( (*theWrappedObject)== other); -} - -void PythonQtWrapper_QTextTableCell::setFormat(QTextTableCell* theWrappedObject, const QTextCharFormat& format) -{ - ( theWrappedObject->setFormat(format)); -} - -QTextCursor PythonQtWrapper_QTextTableCell::firstCursorPosition(QTextTableCell* theWrappedObject) const -{ - return ( theWrappedObject->firstCursorPosition()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextTableCell.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextTableCell.h deleted file mode 100644 index 14fd652..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextTableCell.h +++ /dev/null @@ -1,39 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QTEXTTABLECELL_H -#define PYTHONQTWRAPPER_QTEXTTABLECELL_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include - -class PythonQtWrapper_QTextTableCell : public QObject -{ Q_OBJECT -public: -public slots: -QTextTableCell* new_QTextTableCell(); -QTextTableCell* new_QTextTableCell(const QTextTableCell& o); -void delete_QTextTableCell(QTextTableCell* obj) { delete obj; } - QTextFrame::iterator end(QTextTableCell* theWrappedObject) const; - int rowSpan(QTextTableCell* theWrappedObject) const; - QTextFrame::iterator begin(QTextTableCell* theWrappedObject) const; - int row(QTextTableCell* theWrappedObject) const; - bool isValid(QTextTableCell* theWrappedObject) const; - QTextCharFormat format(QTextTableCell* theWrappedObject) const; - int column(QTextTableCell* theWrappedObject) const; - QTextCursor lastCursorPosition(QTextTableCell* theWrappedObject) const; - int columnSpan(QTextTableCell* theWrappedObject) const; - int lastPosition(QTextTableCell* theWrappedObject) const; - int firstPosition(QTextTableCell* theWrappedObject) const; - bool operator_equal(QTextTableCell* theWrappedObject, const QTextTableCell& other) const; - void setFormat(QTextTableCell* theWrappedObject, const QTextCharFormat& format); - QTextCursor firstCursorPosition(QTextTableCell* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QTEXTTABLECELL_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextTableCellFormat.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextTableCellFormat.cpp deleted file mode 100644 index 094bbfc..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextTableCellFormat.cpp +++ /dev/null @@ -1,68 +0,0 @@ -#include "PythonQtWrapper_QTextTableCellFormat.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QTextTableCellFormat* PythonQtWrapper_QTextTableCellFormat::new_QTextTableCellFormat() -{ -return new PythonQtShell_QTextTableCellFormat(); } - -bool PythonQtWrapper_QTextTableCellFormat::isValid(QTextTableCellFormat* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -void PythonQtWrapper_QTextTableCellFormat::setBottomPadding(QTextTableCellFormat* theWrappedObject, qreal padding) -{ - ( theWrappedObject->setBottomPadding(padding)); -} - -qreal PythonQtWrapper_QTextTableCellFormat::topPadding(QTextTableCellFormat* theWrappedObject) const -{ - return ( theWrappedObject->topPadding()); -} - -qreal PythonQtWrapper_QTextTableCellFormat::rightPadding(QTextTableCellFormat* theWrappedObject) const -{ - return ( theWrappedObject->rightPadding()); -} - -qreal PythonQtWrapper_QTextTableCellFormat::leftPadding(QTextTableCellFormat* theWrappedObject) const -{ - return ( theWrappedObject->leftPadding()); -} - -qreal PythonQtWrapper_QTextTableCellFormat::bottomPadding(QTextTableCellFormat* theWrappedObject) const -{ - return ( theWrappedObject->bottomPadding()); -} - -void PythonQtWrapper_QTextTableCellFormat::setRightPadding(QTextTableCellFormat* theWrappedObject, qreal padding) -{ - ( theWrappedObject->setRightPadding(padding)); -} - -void PythonQtWrapper_QTextTableCellFormat::setTopPadding(QTextTableCellFormat* theWrappedObject, qreal padding) -{ - ( theWrappedObject->setTopPadding(padding)); -} - -void PythonQtWrapper_QTextTableCellFormat::setLeftPadding(QTextTableCellFormat* theWrappedObject, qreal padding) -{ - ( theWrappedObject->setLeftPadding(padding)); -} - -void PythonQtWrapper_QTextTableCellFormat::setPadding(QTextTableCellFormat* theWrappedObject, qreal padding) -{ - ( theWrappedObject->setPadding(padding)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextTableCellFormat.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextTableCellFormat.h deleted file mode 100644 index 7b89683..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextTableCellFormat.h +++ /dev/null @@ -1,50 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QTEXTTABLECELLFORMAT_H -#define PYTHONQTWRAPPER_QTEXTTABLECELLFORMAT_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QTextTableCellFormat : public QTextTableCellFormat -{ -public: - PythonQtShell_QTextTableCellFormat():QTextTableCellFormat(),_wrapper(NULL) {}; - PythonQtShell_QTextTableCellFormat(const QTextFormat& fmt):QTextTableCellFormat(fmt),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QTextTableCellFormat : public QObject -{ Q_OBJECT -public: -public slots: -QTextTableCellFormat* new_QTextTableCellFormat(); -QTextTableCellFormat* new_QTextTableCellFormat(const QTextTableCellFormat& other) { -PythonQtShell_QTextTableCellFormat* a = new PythonQtShell_QTextTableCellFormat(); -*((QTextTableCellFormat*)a) = other; -return a; } -void delete_QTextTableCellFormat(QTextTableCellFormat* obj) { delete obj; } - bool isValid(QTextTableCellFormat* theWrappedObject) const; - void setBottomPadding(QTextTableCellFormat* theWrappedObject, qreal padding); - qreal topPadding(QTextTableCellFormat* theWrappedObject) const; - qreal rightPadding(QTextTableCellFormat* theWrappedObject) const; - qreal leftPadding(QTextTableCellFormat* theWrappedObject) const; - qreal bottomPadding(QTextTableCellFormat* theWrappedObject) const; - void setRightPadding(QTextTableCellFormat* theWrappedObject, qreal padding); - void setTopPadding(QTextTableCellFormat* theWrappedObject, qreal padding); - void setLeftPadding(QTextTableCellFormat* theWrappedObject, qreal padding); - void setPadding(QTextTableCellFormat* theWrappedObject, qreal padding); -}; - -#endif // PYTHONQTWRAPPER_QTEXTTABLECELLFORMAT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextTableFormat.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextTableFormat.cpp deleted file mode 100644 index d230453..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextTableFormat.cpp +++ /dev/null @@ -1,86 +0,0 @@ -#include "PythonQtWrapper_QTextTableFormat.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QTextTableFormat* PythonQtWrapper_QTextTableFormat::new_QTextTableFormat() -{ -return new PythonQtShell_QTextTableFormat(); } - -QVector PythonQtWrapper_QTextTableFormat::columnWidthConstraints(QTextTableFormat* theWrappedObject) const -{ - return ( theWrappedObject->columnWidthConstraints()); -} - -void PythonQtWrapper_QTextTableFormat::setCellPadding(QTextTableFormat* theWrappedObject, qreal padding) -{ - ( theWrappedObject->setCellPadding(padding)); -} - -int PythonQtWrapper_QTextTableFormat::headerRowCount(QTextTableFormat* theWrappedObject) const -{ - return ( theWrappedObject->headerRowCount()); -} - -bool PythonQtWrapper_QTextTableFormat::isValid(QTextTableFormat* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -void PythonQtWrapper_QTextTableFormat::setHeaderRowCount(QTextTableFormat* theWrappedObject, int count) -{ - ( theWrappedObject->setHeaderRowCount(count)); -} - -void PythonQtWrapper_QTextTableFormat::setAlignment(QTextTableFormat* theWrappedObject, Qt::Alignment alignment) -{ - ( theWrappedObject->setAlignment(alignment)); -} - -void PythonQtWrapper_QTextTableFormat::setColumnWidthConstraints(QTextTableFormat* theWrappedObject, const QVector& constraints) -{ - ( theWrappedObject->setColumnWidthConstraints(constraints)); -} - -void PythonQtWrapper_QTextTableFormat::setCellSpacing(QTextTableFormat* theWrappedObject, qreal spacing) -{ - ( theWrappedObject->setCellSpacing(spacing)); -} - -Qt::Alignment PythonQtWrapper_QTextTableFormat::alignment(QTextTableFormat* theWrappedObject) const -{ - return ( theWrappedObject->alignment()); -} - -void PythonQtWrapper_QTextTableFormat::setColumns(QTextTableFormat* theWrappedObject, int columns) -{ - ( theWrappedObject->setColumns(columns)); -} - -qreal PythonQtWrapper_QTextTableFormat::cellSpacing(QTextTableFormat* theWrappedObject) const -{ - return ( theWrappedObject->cellSpacing()); -} - -void PythonQtWrapper_QTextTableFormat::clearColumnWidthConstraints(QTextTableFormat* theWrappedObject) -{ - ( theWrappedObject->clearColumnWidthConstraints()); -} - -qreal PythonQtWrapper_QTextTableFormat::cellPadding(QTextTableFormat* theWrappedObject) const -{ - return ( theWrappedObject->cellPadding()); -} - -int PythonQtWrapper_QTextTableFormat::columns(QTextTableFormat* theWrappedObject) const -{ - return ( theWrappedObject->columns()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextTableFormat.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextTableFormat.h deleted file mode 100644 index 1192246..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextTableFormat.h +++ /dev/null @@ -1,52 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QTEXTTABLEFORMAT_H -#define PYTHONQTWRAPPER_QTEXTTABLEFORMAT_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QTextTableFormat : public QTextTableFormat -{ -public: - PythonQtShell_QTextTableFormat():QTextTableFormat(),_wrapper(NULL) {}; - PythonQtShell_QTextTableFormat(const QTextFormat& fmt):QTextTableFormat(fmt),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QTextTableFormat : public QObject -{ Q_OBJECT -public: -public slots: -QTextTableFormat* new_QTextTableFormat(); -QTextTableFormat* new_QTextTableFormat(const QTextTableFormat& other) { -PythonQtShell_QTextTableFormat* a = new PythonQtShell_QTextTableFormat(); -*((QTextTableFormat*)a) = other; -return a; } -void delete_QTextTableFormat(QTextTableFormat* obj) { delete obj; } - QVector columnWidthConstraints(QTextTableFormat* theWrappedObject) const; - void setCellPadding(QTextTableFormat* theWrappedObject, qreal padding); - int headerRowCount(QTextTableFormat* theWrappedObject) const; - bool isValid(QTextTableFormat* theWrappedObject) const; - void setHeaderRowCount(QTextTableFormat* theWrappedObject, int count); - void setAlignment(QTextTableFormat* theWrappedObject, Qt::Alignment alignment); - void setColumnWidthConstraints(QTextTableFormat* theWrappedObject, const QVector& constraints); - void setCellSpacing(QTextTableFormat* theWrappedObject, qreal spacing); - Qt::Alignment alignment(QTextTableFormat* theWrappedObject) const; - void setColumns(QTextTableFormat* theWrappedObject, int columns); - qreal cellSpacing(QTextTableFormat* theWrappedObject) const; - void clearColumnWidthConstraints(QTextTableFormat* theWrappedObject); - qreal cellPadding(QTextTableFormat* theWrappedObject) const; - int columns(QTextTableFormat* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QTEXTTABLEFORMAT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTimeEdit.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTimeEdit.cpp deleted file mode 100644 index b284e5e..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTimeEdit.cpp +++ /dev/null @@ -1,942 +0,0 @@ -#include "PythonQtWrapper_QTimeEdit.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QTimeEdit::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QTimeEdit::actionEvent(arg__1); -} -void PythonQtShell_QTimeEdit::changeEvent(QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTimeEdit::changeEvent(event); -} -void PythonQtShell_QTimeEdit::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; - } -} - QTimeEdit::childEvent(arg__1); -} -void PythonQtShell_QTimeEdit::clear() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "clear"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTimeEdit::clear(); -} -void PythonQtShell_QTimeEdit::closeEvent(QCloseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QTimeEdit::closeEvent(event); -} -void PythonQtShell_QTimeEdit::contextMenuEvent(QContextMenuEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - 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; - } -} - QTimeEdit::contextMenuEvent(event); -} -void PythonQtShell_QTimeEdit::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; - } -} - QTimeEdit::customEvent(arg__1); -} -QDateTime PythonQtShell_QTimeEdit::dateTimeFromText(const QString& text) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dateTimeFromText"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QDateTime" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QDateTime returnValue; - void* args[2] = {NULL, (void*)&text}; - 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("dateTimeFromText", methodInfo, result); - } else { - returnValue = *((QDateTime*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTimeEdit::dateTimeFromText(text); -} -int PythonQtShell_QTimeEdit::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTimeEdit::devType(); -} -void PythonQtShell_QTimeEdit::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QTimeEdit::dragEnterEvent(arg__1); -} -void PythonQtShell_QTimeEdit::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QTimeEdit::dragLeaveEvent(arg__1); -} -void PythonQtShell_QTimeEdit::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QTimeEdit::dragMoveEvent(arg__1); -} -void PythonQtShell_QTimeEdit::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QTimeEdit::dropEvent(arg__1); -} -void PythonQtShell_QTimeEdit::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QTimeEdit::enterEvent(arg__1); -} -bool PythonQtShell_QTimeEdit::event(QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTimeEdit::event(event); -} -bool PythonQtShell_QTimeEdit::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTimeEdit::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QTimeEdit::fixup(QString& input) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "fixup"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&input}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTimeEdit::fixup(input); -} -void PythonQtShell_QTimeEdit::focusInEvent(QFocusEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QTimeEdit::focusInEvent(event); -} -bool PythonQtShell_QTimeEdit::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTimeEdit::focusNextPrevChild(next); -} -void PythonQtShell_QTimeEdit::focusOutEvent(QFocusEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QTimeEdit::focusOutEvent(event); -} -int PythonQtShell_QTimeEdit::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTimeEdit::heightForWidth(arg__1); -} -void PythonQtShell_QTimeEdit::hideEvent(QHideEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QTimeEdit::hideEvent(event); -} -void PythonQtShell_QTimeEdit::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QTimeEdit::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QTimeEdit::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTimeEdit::inputMethodQuery(arg__1); -} -void PythonQtShell_QTimeEdit::keyPressEvent(QKeyEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTimeEdit::keyPressEvent(event); -} -void PythonQtShell_QTimeEdit::keyReleaseEvent(QKeyEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTimeEdit::keyReleaseEvent(event); -} -void PythonQtShell_QTimeEdit::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTimeEdit::languageChange(); -} -void PythonQtShell_QTimeEdit::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QTimeEdit::leaveEvent(arg__1); -} -int PythonQtShell_QTimeEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTimeEdit::metric(arg__1); -} -void PythonQtShell_QTimeEdit::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QTimeEdit::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QTimeEdit::mouseMoveEvent(QMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QTimeEdit::mouseMoveEvent(event); -} -void PythonQtShell_QTimeEdit::mousePressEvent(QMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QTimeEdit::mousePressEvent(event); -} -void PythonQtShell_QTimeEdit::mouseReleaseEvent(QMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QTimeEdit::mouseReleaseEvent(event); -} -void PythonQtShell_QTimeEdit::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTimeEdit::moveEvent(arg__1); -} -QPaintEngine* PythonQtShell_QTimeEdit::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTimeEdit::paintEngine(); -} -void PythonQtShell_QTimeEdit::paintEvent(QPaintEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - 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; - } -} - QTimeEdit::paintEvent(event); -} -void PythonQtShell_QTimeEdit::resizeEvent(QResizeEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - 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; - } -} - QTimeEdit::resizeEvent(event); -} -void PythonQtShell_QTimeEdit::showEvent(QShowEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QTimeEdit::showEvent(event); -} -void PythonQtShell_QTimeEdit::stepBy(int steps) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "stepBy"); - 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*)&steps}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTimeEdit::stepBy(steps); -} -QAbstractSpinBox::StepEnabled PythonQtShell_QTimeEdit::stepEnabled() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "stepEnabled"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QAbstractSpinBox::StepEnabled"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QAbstractSpinBox::StepEnabled returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("stepEnabled", methodInfo, result); - } else { - returnValue = *((QAbstractSpinBox::StepEnabled*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTimeEdit::stepEnabled(); -} -void PythonQtShell_QTimeEdit::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QTimeEdit::tabletEvent(arg__1); -} -QString PythonQtShell_QTimeEdit::textFromDateTime(const QDateTime& dt) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "textFromDateTime"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QString" , "const QDateTime&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QString returnValue; - void* args[2] = {NULL, (void*)&dt}; - 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("textFromDateTime", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTimeEdit::textFromDateTime(dt); -} -void PythonQtShell_QTimeEdit::timerEvent(QTimerEvent* event) -{ -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*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTimeEdit::timerEvent(event); -} -QValidator::State PythonQtShell_QTimeEdit::validate(QString& input, int& pos) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "validate"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QValidator::State returnValue; - void* args[3] = {NULL, (void*)&input, (void*)&pos}; - 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("validate", methodInfo, result); - } else { - returnValue = *((QValidator::State*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTimeEdit::validate(input, pos); -} -void PythonQtShell_QTimeEdit::wheelEvent(QWheelEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTimeEdit::wheelEvent(event); -} -QTimeEdit* PythonQtWrapper_QTimeEdit::new_QTimeEdit(QWidget* parent) -{ -return new PythonQtShell_QTimeEdit(parent); } - -QTimeEdit* PythonQtWrapper_QTimeEdit::new_QTimeEdit(const QTime& time, QWidget* parent) -{ -return new PythonQtShell_QTimeEdit(time, parent); } - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTimeEdit.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTimeEdit.h deleted file mode 100644 index d279144..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTimeEdit.h +++ /dev/null @@ -1,105 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QTIMEEDIT_H -#define PYTHONQTWRAPPER_QTIMEEDIT_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QTimeEdit : public QTimeEdit -{ -public: - PythonQtShell_QTimeEdit(QWidget* parent = 0):QTimeEdit(parent),_wrapper(NULL) {}; - PythonQtShell_QTimeEdit(const QTime& time, QWidget* parent = 0):QTimeEdit(time, parent),_wrapper(NULL) {}; - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* event); -virtual void childEvent(QChildEvent* arg__1); -virtual void clear(); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual void customEvent(QEvent* arg__1); -virtual QDateTime dateTimeFromText(const QString& text) const; -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void fixup(QString& input) const; -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* arg__1); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual void resizeEvent(QResizeEvent* event); -virtual void showEvent(QShowEvent* event); -virtual void stepBy(int steps); -virtual QAbstractSpinBox::StepEnabled stepEnabled() const; -virtual void tabletEvent(QTabletEvent* arg__1); -virtual QString textFromDateTime(const QDateTime& dt) const; -virtual void timerEvent(QTimerEvent* event); -virtual QValidator::State validate(QString& input, int& pos) const; -virtual void wheelEvent(QWheelEvent* event); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QTimeEdit : public QObject -{ Q_OBJECT -public: -public slots: -QTimeEdit* new_QTimeEdit(QWidget* parent = 0); -QTimeEdit* new_QTimeEdit(const QTime& time, QWidget* parent = 0); -void delete_QTimeEdit(QTimeEdit* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QTIMEEDIT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QToolBar.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QToolBar.cpp deleted file mode 100644 index c933c63..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QToolBar.cpp +++ /dev/null @@ -1,982 +0,0 @@ -#include "PythonQtWrapper_QToolBar.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QToolBar::actionEvent(QActionEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QToolBar::actionEvent(event); -} -void PythonQtShell_QToolBar::changeEvent(QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QToolBar::changeEvent(event); -} -void PythonQtShell_QToolBar::childEvent(QChildEvent* event) -{ -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*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QToolBar::childEvent(event); -} -void PythonQtShell_QToolBar::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QToolBar::closeEvent(arg__1); -} -void PythonQtShell_QToolBar::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QToolBar::contextMenuEvent(arg__1); -} -void PythonQtShell_QToolBar::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; - } -} - QToolBar::customEvent(arg__1); -} -int PythonQtShell_QToolBar::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QToolBar::devType(); -} -void PythonQtShell_QToolBar::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QToolBar::dragEnterEvent(arg__1); -} -void PythonQtShell_QToolBar::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QToolBar::dragLeaveEvent(arg__1); -} -void PythonQtShell_QToolBar::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QToolBar::dragMoveEvent(arg__1); -} -void PythonQtShell_QToolBar::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QToolBar::dropEvent(arg__1); -} -void PythonQtShell_QToolBar::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QToolBar::enterEvent(arg__1); -} -bool PythonQtShell_QToolBar::event(QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QToolBar::event(event); -} -bool PythonQtShell_QToolBar::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QToolBar::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QToolBar::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QToolBar::focusInEvent(arg__1); -} -bool PythonQtShell_QToolBar::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QToolBar::focusNextPrevChild(next); -} -void PythonQtShell_QToolBar::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QToolBar::focusOutEvent(arg__1); -} -int PythonQtShell_QToolBar::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QToolBar::heightForWidth(arg__1); -} -void PythonQtShell_QToolBar::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QToolBar::hideEvent(arg__1); -} -void PythonQtShell_QToolBar::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QToolBar::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QToolBar::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QToolBar::inputMethodQuery(arg__1); -} -void PythonQtShell_QToolBar::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QToolBar::keyPressEvent(arg__1); -} -void PythonQtShell_QToolBar::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QToolBar::keyReleaseEvent(arg__1); -} -void PythonQtShell_QToolBar::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QToolBar::languageChange(); -} -void PythonQtShell_QToolBar::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QToolBar::leaveEvent(arg__1); -} -int PythonQtShell_QToolBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QToolBar::metric(arg__1); -} -QSize PythonQtShell_QToolBar::minimumSizeHint() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QToolBar::minimumSizeHint(); -} -void PythonQtShell_QToolBar::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QToolBar::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QToolBar::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QToolBar::mouseMoveEvent(arg__1); -} -void PythonQtShell_QToolBar::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QToolBar::mousePressEvent(arg__1); -} -void PythonQtShell_QToolBar::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QToolBar::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QToolBar::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QToolBar::moveEvent(arg__1); -} -QPaintEngine* PythonQtShell_QToolBar::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QToolBar::paintEngine(); -} -void PythonQtShell_QToolBar::paintEvent(QPaintEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - 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; - } -} - QToolBar::paintEvent(event); -} -void PythonQtShell_QToolBar::resizeEvent(QResizeEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - 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; - } -} - QToolBar::resizeEvent(event); -} -void PythonQtShell_QToolBar::showEvent(QShowEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QToolBar::showEvent(arg__1); -} -QSize PythonQtShell_QToolBar::sizeHint() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getSizeHint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QToolBar::sizeHint(); -} -void PythonQtShell_QToolBar::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QToolBar::tabletEvent(arg__1); -} -void PythonQtShell_QToolBar::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; - } -} - QToolBar::timerEvent(arg__1); -} -void PythonQtShell_QToolBar::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QToolBar::wheelEvent(arg__1); -} -QToolBar* PythonQtWrapper_QToolBar::new_QToolBar(QWidget* parent) -{ -return new PythonQtShell_QToolBar(parent); } - -QToolBar* PythonQtWrapper_QToolBar::new_QToolBar(const QString& title, QWidget* parent) -{ -return new PythonQtShell_QToolBar(title, parent); } - -void PythonQtWrapper_QToolBar::paintEvent(QToolBar* theWrappedObject, QPaintEvent* event) -{ - ( ((PythonQtPublicPromoter_QToolBar*)theWrappedObject)->promoted_paintEvent(event)); -} - -void PythonQtWrapper_QToolBar::setMovable(QToolBar* theWrappedObject, bool movable) -{ - ( theWrappedObject->setMovable(movable)); -} - -QAction* PythonQtWrapper_QToolBar::actionAt(QToolBar* theWrappedObject, const QPoint& p) const -{ - return ( theWrappedObject->actionAt(p)); -} - -QSize PythonQtWrapper_QToolBar::iconSize(QToolBar* theWrappedObject) const -{ - return ( theWrappedObject->iconSize()); -} - -bool PythonQtWrapper_QToolBar::isAreaAllowed(QToolBar* theWrappedObject, Qt::ToolBarArea area) const -{ - return ( theWrappedObject->isAreaAllowed(area)); -} - -QAction* PythonQtWrapper_QToolBar::insertSeparator(QToolBar* theWrappedObject, QAction* before) -{ - return ( theWrappedObject->insertSeparator(before)); -} - -bool PythonQtWrapper_QToolBar::isMovable(QToolBar* theWrappedObject) const -{ - return ( theWrappedObject->isMovable()); -} - -QAction* PythonQtWrapper_QToolBar::toggleViewAction(QToolBar* theWrappedObject) const -{ - return ( theWrappedObject->toggleViewAction()); -} - -QAction* PythonQtWrapper_QToolBar::addSeparator(QToolBar* theWrappedObject) -{ - return ( theWrappedObject->addSeparator()); -} - -void PythonQtWrapper_QToolBar::clear(QToolBar* theWrappedObject) -{ - ( theWrappedObject->clear()); -} - -QAction* PythonQtWrapper_QToolBar::insertWidget(QToolBar* theWrappedObject, QAction* before, QWidget* widget) -{ - return ( theWrappedObject->insertWidget(before, widget)); -} - -void PythonQtWrapper_QToolBar::setFloatable(QToolBar* theWrappedObject, bool floatable) -{ - ( theWrappedObject->setFloatable(floatable)); -} - -bool PythonQtWrapper_QToolBar::isFloatable(QToolBar* theWrappedObject) const -{ - return ( theWrappedObject->isFloatable()); -} - -void PythonQtWrapper_QToolBar::setAllowedAreas(QToolBar* theWrappedObject, Qt::ToolBarAreas areas) -{ - ( theWrappedObject->setAllowedAreas(areas)); -} - -QAction* PythonQtWrapper_QToolBar::addAction(QToolBar* theWrappedObject, const QString& text) -{ - return ( theWrappedObject->addAction(text)); -} - -void PythonQtWrapper_QToolBar::setOrientation(QToolBar* theWrappedObject, Qt::Orientation orientation) -{ - ( theWrappedObject->setOrientation(orientation)); -} - -bool PythonQtWrapper_QToolBar::event(QToolBar* theWrappedObject, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QToolBar*)theWrappedObject)->promoted_event(event)); -} - -Qt::ToolButtonStyle PythonQtWrapper_QToolBar::toolButtonStyle(QToolBar* theWrappedObject) const -{ - return ( theWrappedObject->toolButtonStyle()); -} - -void PythonQtWrapper_QToolBar::changeEvent(QToolBar* theWrappedObject, QEvent* event) -{ - ( ((PythonQtPublicPromoter_QToolBar*)theWrappedObject)->promoted_changeEvent(event)); -} - -bool PythonQtWrapper_QToolBar::isFloating(QToolBar* theWrappedObject) const -{ - return ( theWrappedObject->isFloating()); -} - -QRect PythonQtWrapper_QToolBar::actionGeometry(QToolBar* theWrappedObject, QAction* action) const -{ - return ( theWrappedObject->actionGeometry(action)); -} - -Qt::Orientation PythonQtWrapper_QToolBar::orientation(QToolBar* theWrappedObject) const -{ - return ( theWrappedObject->orientation()); -} - -QAction* PythonQtWrapper_QToolBar::addAction(QToolBar* theWrappedObject, const QIcon& icon, const QString& text) -{ - return ( theWrappedObject->addAction(icon, text)); -} - -void PythonQtWrapper_QToolBar::childEvent(QToolBar* theWrappedObject, QChildEvent* event) -{ - ( ((PythonQtPublicPromoter_QToolBar*)theWrappedObject)->promoted_childEvent(event)); -} - -QAction* PythonQtWrapper_QToolBar::addWidget(QToolBar* theWrappedObject, QWidget* widget) -{ - return ( theWrappedObject->addWidget(widget)); -} - -void PythonQtWrapper_QToolBar::actionEvent(QToolBar* theWrappedObject, QActionEvent* event) -{ - ( ((PythonQtPublicPromoter_QToolBar*)theWrappedObject)->promoted_actionEvent(event)); -} - -QAction* PythonQtWrapper_QToolBar::actionAt(QToolBar* theWrappedObject, int x, int y) const -{ - return ( theWrappedObject->actionAt(x, y)); -} - -Qt::ToolBarAreas PythonQtWrapper_QToolBar::allowedAreas(QToolBar* theWrappedObject) const -{ - return ( theWrappedObject->allowedAreas()); -} - -void PythonQtWrapper_QToolBar::resizeEvent(QToolBar* theWrappedObject, QResizeEvent* event) -{ - ( ((PythonQtPublicPromoter_QToolBar*)theWrappedObject)->promoted_resizeEvent(event)); -} - -QWidget* PythonQtWrapper_QToolBar::widgetForAction(QToolBar* theWrappedObject, QAction* action) const -{ - return ( theWrappedObject->widgetForAction(action)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QToolBar.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QToolBar.h deleted file mode 100644 index d2e99eb..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QToolBar.h +++ /dev/null @@ -1,137 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QTOOLBAR_H -#define PYTHONQTWRAPPER_QTOOLBAR_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QToolBar : public QToolBar -{ -public: - PythonQtShell_QToolBar(QWidget* parent = 0):QToolBar(parent),_wrapper(NULL) {}; - PythonQtShell_QToolBar(const QString& title, QWidget* parent = 0):QToolBar(title, parent),_wrapper(NULL) {}; - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* event); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* arg__1); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual void resizeEvent(QResizeEvent* event); -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QToolBar : public QToolBar -{ public: -inline void promoted_paintEvent(QPaintEvent* event) { QToolBar::paintEvent(event); } -inline bool promoted_event(QEvent* event) { return QToolBar::event(event); } -inline void promoted_changeEvent(QEvent* event) { QToolBar::changeEvent(event); } -inline void promoted_childEvent(QChildEvent* event) { QToolBar::childEvent(event); } -inline void promoted_actionEvent(QActionEvent* event) { QToolBar::actionEvent(event); } -inline void promoted_resizeEvent(QResizeEvent* event) { QToolBar::resizeEvent(event); } -}; - -class PythonQtWrapper_QToolBar : public QObject -{ Q_OBJECT -public: -public slots: -QToolBar* new_QToolBar(QWidget* parent = 0); -QToolBar* new_QToolBar(const QString& title, QWidget* parent = 0); -void delete_QToolBar(QToolBar* obj) { delete obj; } - void paintEvent(QToolBar* theWrappedObject, QPaintEvent* event); - void setMovable(QToolBar* theWrappedObject, bool movable); - QAction* actionAt(QToolBar* theWrappedObject, const QPoint& p) const; - QSize iconSize(QToolBar* theWrappedObject) const; - bool isAreaAllowed(QToolBar* theWrappedObject, Qt::ToolBarArea area) const; - QAction* insertSeparator(QToolBar* theWrappedObject, QAction* before); - bool isMovable(QToolBar* theWrappedObject) const; - QAction* toggleViewAction(QToolBar* theWrappedObject) const; - QAction* addSeparator(QToolBar* theWrappedObject); - void clear(QToolBar* theWrappedObject); - QAction* insertWidget(QToolBar* theWrappedObject, QAction* before, QWidget* widget); - void setFloatable(QToolBar* theWrappedObject, bool floatable); - bool isFloatable(QToolBar* theWrappedObject) const; - void setAllowedAreas(QToolBar* theWrappedObject, Qt::ToolBarAreas areas); - QAction* addAction(QToolBar* theWrappedObject, const QString& text); - void setOrientation(QToolBar* theWrappedObject, Qt::Orientation orientation); - bool event(QToolBar* theWrappedObject, QEvent* event); - Qt::ToolButtonStyle toolButtonStyle(QToolBar* theWrappedObject) const; - void changeEvent(QToolBar* theWrappedObject, QEvent* event); - bool isFloating(QToolBar* theWrappedObject) const; - QRect actionGeometry(QToolBar* theWrappedObject, QAction* action) const; - Qt::Orientation orientation(QToolBar* theWrappedObject) const; - QAction* addAction(QToolBar* theWrappedObject, const QIcon& icon, const QString& text); - void childEvent(QToolBar* theWrappedObject, QChildEvent* event); - QAction* addWidget(QToolBar* theWrappedObject, QWidget* widget); - void actionEvent(QToolBar* theWrappedObject, QActionEvent* event); - QAction* actionAt(QToolBar* theWrappedObject, int x, int y) const; - Qt::ToolBarAreas allowedAreas(QToolBar* theWrappedObject) const; - void resizeEvent(QToolBar* theWrappedObject, QResizeEvent* event); - QWidget* widgetForAction(QToolBar* theWrappedObject, QAction* action) const; -}; - -#endif // PYTHONQTWRAPPER_QTOOLBAR_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QToolBarChangeEvent.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QToolBarChangeEvent.cpp deleted file mode 100644 index 638187c..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QToolBarChangeEvent.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include "PythonQtWrapper_QToolBarChangeEvent.h" - -#include -#include -#include -#include - -QToolBarChangeEvent* PythonQtWrapper_QToolBarChangeEvent::new_QToolBarChangeEvent(bool t) -{ -return new QToolBarChangeEvent(t); } - -bool PythonQtWrapper_QToolBarChangeEvent::toggle(QToolBarChangeEvent* theWrappedObject) const -{ - return ( theWrappedObject->toggle()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QToolBarChangeEvent.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QToolBarChangeEvent.h deleted file mode 100644 index d14ae7e..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QToolBarChangeEvent.h +++ /dev/null @@ -1,20 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QTOOLBARCHANGEEVENT_H -#define PYTHONQTWRAPPER_QTOOLBARCHANGEEVENT_H - -#include -#include - -#include - -#include - -class PythonQtWrapper_QToolBarChangeEvent : public QObject -{ Q_OBJECT -public: -public slots: -QToolBarChangeEvent* new_QToolBarChangeEvent(bool t); -void delete_QToolBarChangeEvent(QToolBarChangeEvent* obj) { delete obj; } - bool toggle(QToolBarChangeEvent* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QTOOLBARCHANGEEVENT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QToolBox.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QToolBox.cpp deleted file mode 100644 index ed72e7d..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QToolBox.cpp +++ /dev/null @@ -1,948 +0,0 @@ -#include "PythonQtWrapper_QToolBox.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QToolBox::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QToolBox::actionEvent(arg__1); -} -void PythonQtShell_QToolBox::changeEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QToolBox::changeEvent(arg__1); -} -void PythonQtShell_QToolBox::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; - } -} - QToolBox::childEvent(arg__1); -} -void PythonQtShell_QToolBox::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QToolBox::closeEvent(arg__1); -} -void PythonQtShell_QToolBox::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QToolBox::contextMenuEvent(arg__1); -} -void PythonQtShell_QToolBox::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; - } -} - QToolBox::customEvent(arg__1); -} -int PythonQtShell_QToolBox::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QToolBox::devType(); -} -void PythonQtShell_QToolBox::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QToolBox::dragEnterEvent(arg__1); -} -void PythonQtShell_QToolBox::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QToolBox::dragLeaveEvent(arg__1); -} -void PythonQtShell_QToolBox::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QToolBox::dragMoveEvent(arg__1); -} -void PythonQtShell_QToolBox::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QToolBox::dropEvent(arg__1); -} -void PythonQtShell_QToolBox::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QToolBox::enterEvent(arg__1); -} -bool PythonQtShell_QToolBox::event(QEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QToolBox::event(e); -} -bool PythonQtShell_QToolBox::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QToolBox::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QToolBox::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QToolBox::focusInEvent(arg__1); -} -bool PythonQtShell_QToolBox::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QToolBox::focusNextPrevChild(next); -} -void PythonQtShell_QToolBox::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QToolBox::focusOutEvent(arg__1); -} -int PythonQtShell_QToolBox::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QToolBox::heightForWidth(arg__1); -} -void PythonQtShell_QToolBox::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QToolBox::hideEvent(arg__1); -} -void PythonQtShell_QToolBox::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QToolBox::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QToolBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QToolBox::inputMethodQuery(arg__1); -} -void PythonQtShell_QToolBox::itemInserted(int index) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemInserted"); - 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*)&index}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QToolBox::itemInserted(index); -} -void PythonQtShell_QToolBox::itemRemoved(int index) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemRemoved"); - 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*)&index}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QToolBox::itemRemoved(index); -} -void PythonQtShell_QToolBox::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QToolBox::keyPressEvent(arg__1); -} -void PythonQtShell_QToolBox::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QToolBox::keyReleaseEvent(arg__1); -} -void PythonQtShell_QToolBox::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QToolBox::languageChange(); -} -void PythonQtShell_QToolBox::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QToolBox::leaveEvent(arg__1); -} -int PythonQtShell_QToolBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QToolBox::metric(arg__1); -} -QSize PythonQtShell_QToolBox::minimumSizeHint() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QToolBox::minimumSizeHint(); -} -void PythonQtShell_QToolBox::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QToolBox::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QToolBox::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QToolBox::mouseMoveEvent(arg__1); -} -void PythonQtShell_QToolBox::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QToolBox::mousePressEvent(arg__1); -} -void PythonQtShell_QToolBox::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QToolBox::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QToolBox::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QToolBox::moveEvent(arg__1); -} -QPaintEngine* PythonQtShell_QToolBox::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QToolBox::paintEngine(); -} -void PythonQtShell_QToolBox::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - 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; - } -} - QToolBox::paintEvent(arg__1); -} -void PythonQtShell_QToolBox::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - 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; - } -} - QToolBox::resizeEvent(arg__1); -} -void PythonQtShell_QToolBox::showEvent(QShowEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QToolBox::showEvent(e); -} -void PythonQtShell_QToolBox::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QToolBox::tabletEvent(arg__1); -} -void PythonQtShell_QToolBox::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; - } -} - QToolBox::timerEvent(arg__1); -} -void PythonQtShell_QToolBox::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QToolBox::wheelEvent(arg__1); -} -QToolBox* PythonQtWrapper_QToolBox::new_QToolBox(QWidget* parent, Qt::WindowFlags f) -{ -return new PythonQtShell_QToolBox(parent, f); } - -int PythonQtWrapper_QToolBox::addItem(QToolBox* theWrappedObject, QWidget* widget, const QString& text) -{ - return ( theWrappedObject->addItem(widget, text)); -} - -void PythonQtWrapper_QToolBox::showEvent(QToolBox* theWrappedObject, QShowEvent* e) -{ - ( ((PythonQtPublicPromoter_QToolBox*)theWrappedObject)->promoted_showEvent(e)); -} - -QWidget* PythonQtWrapper_QToolBox::currentWidget(QToolBox* theWrappedObject) const -{ - return ( theWrappedObject->currentWidget()); -} - -void PythonQtWrapper_QToolBox::setItemToolTip(QToolBox* theWrappedObject, int index, const QString& toolTip) -{ - ( theWrappedObject->setItemToolTip(index, toolTip)); -} - -bool PythonQtWrapper_QToolBox::isItemEnabled(QToolBox* theWrappedObject, int index) const -{ - return ( theWrappedObject->isItemEnabled(index)); -} - -void PythonQtWrapper_QToolBox::itemInserted(QToolBox* theWrappedObject, int index) -{ - ( ((PythonQtPublicPromoter_QToolBox*)theWrappedObject)->promoted_itemInserted(index)); -} - -QIcon PythonQtWrapper_QToolBox::itemIcon(QToolBox* theWrappedObject, int index) const -{ - return ( theWrappedObject->itemIcon(index)); -} - -QString PythonQtWrapper_QToolBox::itemToolTip(QToolBox* theWrappedObject, int index) const -{ - return ( theWrappedObject->itemToolTip(index)); -} - -int PythonQtWrapper_QToolBox::count(QToolBox* theWrappedObject) const -{ - return ( theWrappedObject->count()); -} - -void PythonQtWrapper_QToolBox::itemRemoved(QToolBox* theWrappedObject, int index) -{ - ( ((PythonQtPublicPromoter_QToolBox*)theWrappedObject)->promoted_itemRemoved(index)); -} - -int PythonQtWrapper_QToolBox::addItem(QToolBox* theWrappedObject, QWidget* widget, const QIcon& icon, const QString& text) -{ - return ( theWrappedObject->addItem(widget, icon, text)); -} - -int PythonQtWrapper_QToolBox::insertItem(QToolBox* theWrappedObject, int index, QWidget* widget, const QIcon& icon, const QString& text) -{ - return ( theWrappedObject->insertItem(index, widget, icon, text)); -} - -void PythonQtWrapper_QToolBox::setItemText(QToolBox* theWrappedObject, int index, const QString& text) -{ - ( theWrappedObject->setItemText(index, text)); -} - -bool PythonQtWrapper_QToolBox::event(QToolBox* theWrappedObject, QEvent* e) -{ - return ( ((PythonQtPublicPromoter_QToolBox*)theWrappedObject)->promoted_event(e)); -} - -QString PythonQtWrapper_QToolBox::itemText(QToolBox* theWrappedObject, int index) const -{ - return ( theWrappedObject->itemText(index)); -} - -int PythonQtWrapper_QToolBox::insertItem(QToolBox* theWrappedObject, int index, QWidget* widget, const QString& text) -{ - return ( theWrappedObject->insertItem(index, widget, text)); -} - -int PythonQtWrapper_QToolBox::currentIndex(QToolBox* theWrappedObject) const -{ - return ( theWrappedObject->currentIndex()); -} - -QWidget* PythonQtWrapper_QToolBox::widget(QToolBox* theWrappedObject, int index) const -{ - return ( theWrappedObject->widget(index)); -} - -void PythonQtWrapper_QToolBox::setItemIcon(QToolBox* theWrappedObject, int index, const QIcon& icon) -{ - ( theWrappedObject->setItemIcon(index, icon)); -} - -int PythonQtWrapper_QToolBox::indexOf(QToolBox* theWrappedObject, QWidget* widget) const -{ - return ( theWrappedObject->indexOf(widget)); -} - -void PythonQtWrapper_QToolBox::setItemEnabled(QToolBox* theWrappedObject, int index, bool enabled) -{ - ( theWrappedObject->setItemEnabled(index, enabled)); -} - -void PythonQtWrapper_QToolBox::removeItem(QToolBox* theWrappedObject, int index) -{ - ( theWrappedObject->removeItem(index)); -} - -void PythonQtWrapper_QToolBox::changeEvent(QToolBox* theWrappedObject, QEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QToolBox*)theWrappedObject)->promoted_changeEvent(arg__1)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QToolBox.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QToolBox.h deleted file mode 100644 index 6ff1f76..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QToolBox.h +++ /dev/null @@ -1,127 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QTOOLBOX_H -#define PYTHONQTWRAPPER_QTOOLBOX_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QToolBox : public QToolBox -{ -public: - PythonQtShell_QToolBox(QWidget* parent = 0, Qt::WindowFlags f = 0):QToolBox(parent, f),_wrapper(NULL) {}; - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void itemInserted(int index); -virtual void itemRemoved(int index); -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* arg__1); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void showEvent(QShowEvent* e); -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QToolBox : public QToolBox -{ public: -inline void promoted_showEvent(QShowEvent* e) { QToolBox::showEvent(e); } -inline void promoted_itemInserted(int index) { QToolBox::itemInserted(index); } -inline void promoted_itemRemoved(int index) { QToolBox::itemRemoved(index); } -inline bool promoted_event(QEvent* e) { return QToolBox::event(e); } -inline void promoted_changeEvent(QEvent* arg__1) { QToolBox::changeEvent(arg__1); } -}; - -class PythonQtWrapper_QToolBox : public QObject -{ Q_OBJECT -public: -public slots: -QToolBox* new_QToolBox(QWidget* parent = 0, Qt::WindowFlags f = 0); -void delete_QToolBox(QToolBox* obj) { delete obj; } - int addItem(QToolBox* theWrappedObject, QWidget* widget, const QString& text); - void showEvent(QToolBox* theWrappedObject, QShowEvent* e); - QWidget* currentWidget(QToolBox* theWrappedObject) const; - void setItemToolTip(QToolBox* theWrappedObject, int index, const QString& toolTip); - bool isItemEnabled(QToolBox* theWrappedObject, int index) const; - void itemInserted(QToolBox* theWrappedObject, int index); - QIcon itemIcon(QToolBox* theWrappedObject, int index) const; - QString itemToolTip(QToolBox* theWrappedObject, int index) const; - int count(QToolBox* theWrappedObject) const; - void itemRemoved(QToolBox* theWrappedObject, int index); - int addItem(QToolBox* theWrappedObject, QWidget* widget, const QIcon& icon, const QString& text); - int insertItem(QToolBox* theWrappedObject, int index, QWidget* widget, const QIcon& icon, const QString& text); - void setItemText(QToolBox* theWrappedObject, int index, const QString& text); - bool event(QToolBox* theWrappedObject, QEvent* e); - QString itemText(QToolBox* theWrappedObject, int index) const; - int insertItem(QToolBox* theWrappedObject, int index, QWidget* widget, const QString& text); - int currentIndex(QToolBox* theWrappedObject) const; - QWidget* widget(QToolBox* theWrappedObject, int index) const; - void setItemIcon(QToolBox* theWrappedObject, int index, const QIcon& icon); - int indexOf(QToolBox* theWrappedObject, QWidget* widget) const; - void setItemEnabled(QToolBox* theWrappedObject, int index, bool enabled); - void removeItem(QToolBox* theWrappedObject, int index); - void changeEvent(QToolBox* theWrappedObject, QEvent* arg__1); -}; - -#endif // PYTHONQTWRAPPER_QTOOLBOX_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QToolButton.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QToolButton.cpp deleted file mode 100644 index 3d5c6c4..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QToolButton.cpp +++ /dev/null @@ -1,951 +0,0 @@ -#include "PythonQtWrapper_QToolButton.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QToolButton::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QToolButton::actionEvent(arg__1); -} -void PythonQtShell_QToolButton::changeEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QToolButton::changeEvent(arg__1); -} -void PythonQtShell_QToolButton::checkStateSet() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "checkStateSet"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QToolButton::checkStateSet(); -} -void PythonQtShell_QToolButton::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; - } -} - QToolButton::childEvent(arg__1); -} -void PythonQtShell_QToolButton::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QToolButton::closeEvent(arg__1); -} -void PythonQtShell_QToolButton::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QToolButton::contextMenuEvent(arg__1); -} -void PythonQtShell_QToolButton::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; - } -} - QToolButton::customEvent(arg__1); -} -int PythonQtShell_QToolButton::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QToolButton::devType(); -} -void PythonQtShell_QToolButton::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QToolButton::dragEnterEvent(arg__1); -} -void PythonQtShell_QToolButton::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QToolButton::dragLeaveEvent(arg__1); -} -void PythonQtShell_QToolButton::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QToolButton::dragMoveEvent(arg__1); -} -void PythonQtShell_QToolButton::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QToolButton::dropEvent(arg__1); -} -void PythonQtShell_QToolButton::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QToolButton::enterEvent(arg__1); -} -bool PythonQtShell_QToolButton::event(QEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QToolButton::event(e); -} -bool PythonQtShell_QToolButton::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QToolButton::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QToolButton::focusInEvent(QFocusEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QToolButton::focusInEvent(e); -} -bool PythonQtShell_QToolButton::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QToolButton::focusNextPrevChild(next); -} -void PythonQtShell_QToolButton::focusOutEvent(QFocusEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QToolButton::focusOutEvent(e); -} -int PythonQtShell_QToolButton::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QToolButton::heightForWidth(arg__1); -} -void PythonQtShell_QToolButton::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QToolButton::hideEvent(arg__1); -} -bool PythonQtShell_QToolButton::hitButton(const QPoint& pos) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hitButton"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QPoint&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&pos}; - 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("hitButton", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QToolButton::hitButton(pos); -} -void PythonQtShell_QToolButton::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QToolButton::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QToolButton::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QToolButton::inputMethodQuery(arg__1); -} -void PythonQtShell_QToolButton::keyPressEvent(QKeyEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QToolButton::keyPressEvent(e); -} -void PythonQtShell_QToolButton::keyReleaseEvent(QKeyEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QToolButton::keyReleaseEvent(e); -} -void PythonQtShell_QToolButton::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QToolButton::languageChange(); -} -void PythonQtShell_QToolButton::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QToolButton::leaveEvent(arg__1); -} -int PythonQtShell_QToolButton::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QToolButton::metric(arg__1); -} -void PythonQtShell_QToolButton::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QToolButton::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QToolButton::mouseMoveEvent(QMouseEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QToolButton::mouseMoveEvent(e); -} -void PythonQtShell_QToolButton::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QToolButton::mousePressEvent(arg__1); -} -void PythonQtShell_QToolButton::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QToolButton::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QToolButton::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QToolButton::moveEvent(arg__1); -} -void PythonQtShell_QToolButton::nextCheckState() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "nextCheckState"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QToolButton::nextCheckState(); -} -QPaintEngine* PythonQtShell_QToolButton::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QToolButton::paintEngine(); -} -void PythonQtShell_QToolButton::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - 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; - } -} - QToolButton::paintEvent(arg__1); -} -void PythonQtShell_QToolButton::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - 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; - } -} - QToolButton::resizeEvent(arg__1); -} -void PythonQtShell_QToolButton::showEvent(QShowEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QToolButton::showEvent(arg__1); -} -void PythonQtShell_QToolButton::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QToolButton::tabletEvent(arg__1); -} -void PythonQtShell_QToolButton::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; - } -} - QToolButton::timerEvent(arg__1); -} -void PythonQtShell_QToolButton::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QToolButton::wheelEvent(arg__1); -} -QToolButton* PythonQtWrapper_QToolButton::new_QToolButton(QWidget* parent) -{ -return new PythonQtShell_QToolButton(parent); } - -bool PythonQtWrapper_QToolButton::autoRaise(QToolButton* theWrappedObject) const -{ - return ( theWrappedObject->autoRaise()); -} - -void PythonQtWrapper_QToolButton::timerEvent(QToolButton* theWrappedObject, QTimerEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->promoted_timerEvent(arg__1)); -} - -Qt::ArrowType PythonQtWrapper_QToolButton::arrowType(QToolButton* theWrappedObject) const -{ - return ( theWrappedObject->arrowType()); -} - -void PythonQtWrapper_QToolButton::mousePressEvent(QToolButton* theWrappedObject, QMouseEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->promoted_mousePressEvent(arg__1)); -} - -QSize PythonQtWrapper_QToolButton::sizeHint(QToolButton* theWrappedObject) const -{ - return ( theWrappedObject->sizeHint()); -} - -void PythonQtWrapper_QToolButton::nextCheckState(QToolButton* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->promoted_nextCheckState()); -} - -bool PythonQtWrapper_QToolButton::event(QToolButton* theWrappedObject, QEvent* e) -{ - return ( ((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->promoted_event(e)); -} - -QAction* PythonQtWrapper_QToolButton::defaultAction(QToolButton* theWrappedObject) const -{ - return ( theWrappedObject->defaultAction()); -} - -void PythonQtWrapper_QToolButton::setPopupMode(QToolButton* theWrappedObject, QToolButton::ToolButtonPopupMode mode) -{ - ( theWrappedObject->setPopupMode(mode)); -} - -bool PythonQtWrapper_QToolButton::hitButton(QToolButton* theWrappedObject, const QPoint& pos) const -{ - return ( ((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->promoted_hitButton(pos)); -} - -QSize PythonQtWrapper_QToolButton::minimumSizeHint(QToolButton* theWrappedObject) const -{ - return ( theWrappedObject->minimumSizeHint()); -} - -QToolButton::ToolButtonPopupMode PythonQtWrapper_QToolButton::popupMode(QToolButton* theWrappedObject) const -{ - return ( theWrappedObject->popupMode()); -} - -void PythonQtWrapper_QToolButton::paintEvent(QToolButton* theWrappedObject, QPaintEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->promoted_paintEvent(arg__1)); -} - -void PythonQtWrapper_QToolButton::enterEvent(QToolButton* theWrappedObject, QEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->promoted_enterEvent(arg__1)); -} - -void PythonQtWrapper_QToolButton::actionEvent(QToolButton* theWrappedObject, QActionEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->promoted_actionEvent(arg__1)); -} - -void PythonQtWrapper_QToolButton::setAutoRaise(QToolButton* theWrappedObject, bool enable) -{ - ( theWrappedObject->setAutoRaise(enable)); -} - -void PythonQtWrapper_QToolButton::setArrowType(QToolButton* theWrappedObject, Qt::ArrowType type) -{ - ( theWrappedObject->setArrowType(type)); -} - -void PythonQtWrapper_QToolButton::changeEvent(QToolButton* theWrappedObject, QEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->promoted_changeEvent(arg__1)); -} - -Qt::ToolButtonStyle PythonQtWrapper_QToolButton::toolButtonStyle(QToolButton* theWrappedObject) const -{ - return ( theWrappedObject->toolButtonStyle()); -} - -QMenu* PythonQtWrapper_QToolButton::menu(QToolButton* theWrappedObject) const -{ - return ( theWrappedObject->menu()); -} - -void PythonQtWrapper_QToolButton::setMenu(QToolButton* theWrappedObject, QMenu* menu) -{ - ( theWrappedObject->setMenu(menu)); -} - -void PythonQtWrapper_QToolButton::leaveEvent(QToolButton* theWrappedObject, QEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->promoted_leaveEvent(arg__1)); -} - -void PythonQtWrapper_QToolButton::mouseReleaseEvent(QToolButton* theWrappedObject, QMouseEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->promoted_mouseReleaseEvent(arg__1)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QToolButton.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QToolButton.h deleted file mode 100644 index 4669a6c..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QToolButton.h +++ /dev/null @@ -1,136 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QTOOLBUTTON_H -#define PYTHONQTWRAPPER_QTOOLBUTTON_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QToolButton : public QToolButton -{ -public: - PythonQtShell_QToolButton(QWidget* parent = 0):QToolButton(parent),_wrapper(NULL) {}; - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* arg__1); -virtual void checkStateSet(); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* e); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* e); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual bool hitButton(const QPoint& pos) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* e); -virtual void keyReleaseEvent(QKeyEvent* e); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* e); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* arg__1); -virtual void nextCheckState(); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void showEvent(QShowEvent* arg__1); -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QToolButton : public QToolButton -{ public: -inline void promoted_timerEvent(QTimerEvent* arg__1) { QToolButton::timerEvent(arg__1); } -inline void promoted_mousePressEvent(QMouseEvent* arg__1) { QToolButton::mousePressEvent(arg__1); } -inline void promoted_nextCheckState() { QToolButton::nextCheckState(); } -inline bool promoted_event(QEvent* e) { return QToolButton::event(e); } -inline bool promoted_hitButton(const QPoint& pos) const { return QToolButton::hitButton(pos); } -inline void promoted_paintEvent(QPaintEvent* arg__1) { QToolButton::paintEvent(arg__1); } -inline void promoted_enterEvent(QEvent* arg__1) { QToolButton::enterEvent(arg__1); } -inline void promoted_actionEvent(QActionEvent* arg__1) { QToolButton::actionEvent(arg__1); } -inline void promoted_changeEvent(QEvent* arg__1) { QToolButton::changeEvent(arg__1); } -inline void promoted_leaveEvent(QEvent* arg__1) { QToolButton::leaveEvent(arg__1); } -inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { QToolButton::mouseReleaseEvent(arg__1); } -}; - -class PythonQtWrapper_QToolButton : public QObject -{ Q_OBJECT -public: -public slots: -QToolButton* new_QToolButton(QWidget* parent = 0); -void delete_QToolButton(QToolButton* obj) { delete obj; } - bool autoRaise(QToolButton* theWrappedObject) const; - void timerEvent(QToolButton* theWrappedObject, QTimerEvent* arg__1); - Qt::ArrowType arrowType(QToolButton* theWrappedObject) const; - void mousePressEvent(QToolButton* theWrappedObject, QMouseEvent* arg__1); - QSize sizeHint(QToolButton* theWrappedObject) const; - void nextCheckState(QToolButton* theWrappedObject); - bool event(QToolButton* theWrappedObject, QEvent* e); - QAction* defaultAction(QToolButton* theWrappedObject) const; - void setPopupMode(QToolButton* theWrappedObject, QToolButton::ToolButtonPopupMode mode); - bool hitButton(QToolButton* theWrappedObject, const QPoint& pos) const; - QSize minimumSizeHint(QToolButton* theWrappedObject) const; - QToolButton::ToolButtonPopupMode popupMode(QToolButton* theWrappedObject) const; - void paintEvent(QToolButton* theWrappedObject, QPaintEvent* arg__1); - void enterEvent(QToolButton* theWrappedObject, QEvent* arg__1); - void actionEvent(QToolButton* theWrappedObject, QActionEvent* arg__1); - void setAutoRaise(QToolButton* theWrappedObject, bool enable); - void setArrowType(QToolButton* theWrappedObject, Qt::ArrowType type); - void changeEvent(QToolButton* theWrappedObject, QEvent* arg__1); - Qt::ToolButtonStyle toolButtonStyle(QToolButton* theWrappedObject) const; - QMenu* menu(QToolButton* theWrappedObject) const; - void setMenu(QToolButton* theWrappedObject, QMenu* menu); - void leaveEvent(QToolButton* theWrappedObject, QEvent* arg__1); - void mouseReleaseEvent(QToolButton* theWrappedObject, QMouseEvent* arg__1); -}; - -#endif // PYTHONQTWRAPPER_QTOOLBUTTON_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QToolTip.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QToolTip.cpp deleted file mode 100644 index ed87809..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QToolTip.cpp +++ /dev/null @@ -1,57 +0,0 @@ -#include "PythonQtWrapper_QToolTip.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtWrapper_QToolTip::static_QToolTip_hideText() -{ - (QToolTip::hideText()); -} - -bool PythonQtWrapper_QToolTip::static_QToolTip_isVisible() -{ - return (QToolTip::isVisible()); -} - -void PythonQtWrapper_QToolTip::static_QToolTip_setPalette(const QPalette& arg__1) -{ - (QToolTip::setPalette(arg__1)); -} - -void PythonQtWrapper_QToolTip::static_QToolTip_showText(const QPoint& pos, const QString& text, QWidget* w, const QRect& rect) -{ - (QToolTip::showText(pos, text, w, rect)); -} - -QFont PythonQtWrapper_QToolTip::static_QToolTip_font() -{ - return (QToolTip::font()); -} - -void PythonQtWrapper_QToolTip::static_QToolTip_setFont(const QFont& arg__1) -{ - (QToolTip::setFont(arg__1)); -} - -void PythonQtWrapper_QToolTip::static_QToolTip_showText(const QPoint& pos, const QString& text, QWidget* w) -{ - (QToolTip::showText(pos, text, w)); -} - -QPalette PythonQtWrapper_QToolTip::static_QToolTip_palette() -{ - return (QToolTip::palette()); -} - -QString PythonQtWrapper_QToolTip::static_QToolTip_text() -{ - return (QToolTip::text()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QToolTip.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QToolTip.h deleted file mode 100644 index 91f1974..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QToolTip.h +++ /dev/null @@ -1,32 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QTOOLTIP_H -#define PYTHONQTWRAPPER_QTOOLTIP_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include - -class PythonQtWrapper_QToolTip : public QObject -{ Q_OBJECT -public: -public slots: -void delete_QToolTip(QToolTip* obj) { delete obj; } - void static_QToolTip_hideText(); - bool static_QToolTip_isVisible(); - void static_QToolTip_setPalette(const QPalette& arg__1); - void static_QToolTip_showText(const QPoint& pos, const QString& text, QWidget* w, const QRect& rect); - QFont static_QToolTip_font(); - void static_QToolTip_setFont(const QFont& arg__1); - void static_QToolTip_showText(const QPoint& pos, const QString& text, QWidget* w = 0); - QPalette static_QToolTip_palette(); - QString static_QToolTip_text(); -}; - -#endif // PYTHONQTWRAPPER_QTOOLTIP_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTransform.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTransform.cpp deleted file mode 100644 index 977467c..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTransform.cpp +++ /dev/null @@ -1,309 +0,0 @@ -#include "PythonQtWrapper_QTransform.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QTransform* PythonQtWrapper_QTransform::new_QTransform() -{ -return new QTransform(); } - -QTransform* PythonQtWrapper_QTransform::new_QTransform(const QMatrix& mtx) -{ -return new QTransform(mtx); } - -QTransform* PythonQtWrapper_QTransform::new_QTransform(qreal h11, qreal h12, qreal h13, qreal h21, qreal h22, qreal h23) -{ -return new QTransform(h11, h12, h13, h21, h22, h23); } - -QTransform* PythonQtWrapper_QTransform::new_QTransform(qreal h11, qreal h12, qreal h13, qreal h21, qreal h22, qreal h23, qreal h31, qreal h32, qreal h33) -{ -return new QTransform(h11, h12, h13, h21, h22, h23, h31, h32, h33); } - -bool PythonQtWrapper_QTransform::isTranslating(QTransform* theWrappedObject) const -{ - return ( theWrappedObject->isTranslating()); -} - -bool PythonQtWrapper_QTransform::isScaling(QTransform* theWrappedObject) const -{ - return ( theWrappedObject->isScaling()); -} - -qreal PythonQtWrapper_QTransform::m32(QTransform* theWrappedObject) const -{ - return ( theWrappedObject->m32()); -} - -QRect PythonQtWrapper_QTransform::mapRect(QTransform* theWrappedObject, const QRect& arg__1) const -{ - return ( theWrappedObject->mapRect(arg__1)); -} - -qreal PythonQtWrapper_QTransform::determinant(QTransform* theWrappedObject) const -{ - return ( theWrappedObject->determinant()); -} - -QTransform* PythonQtWrapper_QTransform::rotateRadians(QTransform* theWrappedObject, qreal a, Qt::Axis axis) -{ - return &( theWrappedObject->rotateRadians(a, axis)); -} - -qreal PythonQtWrapper_QTransform::dy(QTransform* theWrappedObject) const -{ - return ( theWrappedObject->dy()); -} - -void PythonQtWrapper_QTransform::setMatrix(QTransform* theWrappedObject, qreal m11, qreal m12, qreal m13, qreal m21, qreal m22, qreal m23, qreal m31, qreal m32, qreal m33) -{ - ( theWrappedObject->setMatrix(m11, m12, m13, m21, m22, m23, m31, m32, m33)); -} - -QRectF PythonQtWrapper_QTransform::mapRect(QTransform* theWrappedObject, const QRectF& arg__1) const -{ - return ( theWrappedObject->mapRect(arg__1)); -} - -void PythonQtWrapper_QTransform::writeTo(QTransform* theWrappedObject, QDataStream& arg__1) -{ - arg__1 << (*theWrappedObject); -} - -const QMatrix* PythonQtWrapper_QTransform::toAffine(QTransform* theWrappedObject) const -{ - return &( theWrappedObject->toAffine()); -} - -bool PythonQtWrapper_QTransform::isIdentity(QTransform* theWrappedObject) const -{ - return ( theWrappedObject->isIdentity()); -} - -qreal PythonQtWrapper_QTransform::m11(QTransform* theWrappedObject) const -{ - return ( theWrappedObject->m11()); -} - -bool PythonQtWrapper_QTransform::isAffine(QTransform* theWrappedObject) const -{ - return ( theWrappedObject->isAffine()); -} - -QPainterPath PythonQtWrapper_QTransform::map(QTransform* theWrappedObject, const QPainterPath& p) const -{ - return ( theWrappedObject->map(p)); -} - -QTransform PythonQtWrapper_QTransform::transposed(QTransform* theWrappedObject) const -{ - return ( theWrappedObject->transposed()); -} - -QTransform PythonQtWrapper_QTransform::inverted(QTransform* theWrappedObject, bool* invertible) const -{ - return ( theWrappedObject->inverted(invertible)); -} - -qreal PythonQtWrapper_QTransform::det(QTransform* theWrappedObject) const -{ - return ( theWrappedObject->det()); -} - -QTransform* PythonQtWrapper_QTransform::operator_multiply_assign(QTransform* theWrappedObject, qreal div) -{ - return &( (*theWrappedObject)*= div); -} - -bool PythonQtWrapper_QTransform::static_QTransform_quadToSquare(const QPolygonF& quad, QTransform& result) -{ - return (QTransform::quadToSquare(quad, result)); -} - -QTransform* PythonQtWrapper_QTransform::operator_multiply_assign(QTransform* theWrappedObject, const QTransform& arg__1) -{ - return &( (*theWrappedObject)*= arg__1); -} - -QTransform* PythonQtWrapper_QTransform::scale(QTransform* theWrappedObject, qreal sx, qreal sy) -{ - return &( theWrappedObject->scale(sx, sy)); -} - -QTransform* PythonQtWrapper_QTransform::shear(QTransform* theWrappedObject, qreal sh, qreal sv) -{ - return &( theWrappedObject->shear(sh, sv)); -} - -qreal PythonQtWrapper_QTransform::m31(QTransform* theWrappedObject) const -{ - return ( theWrappedObject->m31()); -} - -QTransform* PythonQtWrapper_QTransform::translate(QTransform* theWrappedObject, qreal dx, qreal dy) -{ - return &( theWrappedObject->translate(dx, dy)); -} - -QTransform::TransformationType PythonQtWrapper_QTransform::type(QTransform* theWrappedObject) const -{ - return ( theWrappedObject->type()); -} - -bool PythonQtWrapper_QTransform::static_QTransform_quadToQuad(const QPolygonF& one, const QPolygonF& two, QTransform& result) -{ - return (QTransform::quadToQuad(one, two, result)); -} - -qreal PythonQtWrapper_QTransform::m13(QTransform* theWrappedObject) const -{ - return ( theWrappedObject->m13()); -} - -QTransform* PythonQtWrapper_QTransform::operator_add_assign(QTransform* theWrappedObject, qreal div) -{ - return &( (*theWrappedObject)+= div); -} - -QPoint PythonQtWrapper_QTransform::map(QTransform* theWrappedObject, const QPoint& p) const -{ - return ( theWrappedObject->map(p)); -} - -qreal PythonQtWrapper_QTransform::dx(QTransform* theWrappedObject) const -{ - return ( theWrappedObject->dx()); -} - -QLine PythonQtWrapper_QTransform::map(QTransform* theWrappedObject, const QLine& l) const -{ - return ( theWrappedObject->map(l)); -} - -QLineF PythonQtWrapper_QTransform::map(QTransform* theWrappedObject, const QLineF& l) const -{ - return ( theWrappedObject->map(l)); -} - -qreal PythonQtWrapper_QTransform::m22(QTransform* theWrappedObject) const -{ - return ( theWrappedObject->m22()); -} - -QPointF PythonQtWrapper_QTransform::map(QTransform* theWrappedObject, const QPointF& p) const -{ - return ( theWrappedObject->map(p)); -} - -QTransform* PythonQtWrapper_QTransform::operator_divide_assign(QTransform* theWrappedObject, qreal div) -{ - return &( (*theWrappedObject)/= div); -} - -bool PythonQtWrapper_QTransform::isInvertible(QTransform* theWrappedObject) const -{ - return ( theWrappedObject->isInvertible()); -} - -QTransform PythonQtWrapper_QTransform::multiplied(QTransform* theWrappedObject, const QTransform& o) const -{ - return ( (*theWrappedObject)* o); -} - -qreal PythonQtWrapper_QTransform::m12(QTransform* theWrappedObject) const -{ - return ( theWrappedObject->m12()); -} - -QPolygonF PythonQtWrapper_QTransform::map(QTransform* theWrappedObject, const QPolygonF& a) const -{ - return ( theWrappedObject->map(a)); -} - -bool PythonQtWrapper_QTransform::static_QTransform_squareToQuad(const QPolygonF& square, QTransform& result) -{ - return (QTransform::squareToQuad(square, result)); -} - -qreal PythonQtWrapper_QTransform::m21(QTransform* theWrappedObject) const -{ - return ( theWrappedObject->m21()); -} - -void PythonQtWrapper_QTransform::reset(QTransform* theWrappedObject) -{ - ( theWrappedObject->reset()); -} - -void PythonQtWrapper_QTransform::readFrom(QTransform* theWrappedObject, QDataStream& arg__1) -{ - arg__1 >> (*theWrappedObject); -} - -QTransform PythonQtWrapper_QTransform::adjoint(QTransform* theWrappedObject) const -{ - return ( theWrappedObject->adjoint()); -} - -QPolygon PythonQtWrapper_QTransform::map(QTransform* theWrappedObject, const QPolygon& a) const -{ - return ( theWrappedObject->map(a)); -} - -QPolygon PythonQtWrapper_QTransform::mapToPolygon(QTransform* theWrappedObject, const QRect& r) const -{ - return ( theWrappedObject->mapToPolygon(r)); -} - -QTransform* PythonQtWrapper_QTransform::rotate(QTransform* theWrappedObject, qreal a, Qt::Axis axis) -{ - return &( theWrappedObject->rotate(a, axis)); -} - -qreal PythonQtWrapper_QTransform::m33(QTransform* theWrappedObject) const -{ - return ( theWrappedObject->m33()); -} - -QRegion PythonQtWrapper_QTransform::map(QTransform* theWrappedObject, const QRegion& r) const -{ - return ( theWrappedObject->map(r)); -} - -qreal PythonQtWrapper_QTransform::m23(QTransform* theWrappedObject) const -{ - return ( theWrappedObject->m23()); -} - -bool PythonQtWrapper_QTransform::isRotating(QTransform* theWrappedObject) const -{ - return ( theWrappedObject->isRotating()); -} - -QTransform* PythonQtWrapper_QTransform::operator_subtract_assign(QTransform* theWrappedObject, qreal div) -{ - return &( (*theWrappedObject)-= div); -} - -bool PythonQtWrapper_QTransform::operator_equal(QTransform* theWrappedObject, const QTransform& arg__1) const -{ - return ( (*theWrappedObject)== arg__1); -} - -QString PythonQtWrapper_QTransform::toString(QTransform* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTransform.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTransform.h deleted file mode 100644 index d8bbd3f..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTransform.h +++ /dev/null @@ -1,93 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QTRANSFORM_H -#define PYTHONQTWRAPPER_QTRANSFORM_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtWrapper_QTransform : public QObject -{ Q_OBJECT -public: -Q_ENUMS(TransformationType ) -enum TransformationType{ - TxNone = QTransform::TxNone, TxTranslate = QTransform::TxTranslate, TxScale = QTransform::TxScale, TxRotate = QTransform::TxRotate, TxShear = QTransform::TxShear, TxProject = QTransform::TxProject}; -public slots: -QTransform* new_QTransform(); -QTransform* new_QTransform(const QMatrix& mtx); -QTransform* new_QTransform(qreal h11, qreal h12, qreal h13, qreal h21, qreal h22, qreal h23); -QTransform* new_QTransform(qreal h11, qreal h12, qreal h13, qreal h21, qreal h22, qreal h23, qreal h31, qreal h32, qreal h33 = 1.0); -QTransform* new_QTransform(const QTransform& other) { -QTransform* a = new QTransform(); -*((QTransform*)a) = other; -return a; } -void delete_QTransform(QTransform* obj) { delete obj; } - bool isTranslating(QTransform* theWrappedObject) const; - bool isScaling(QTransform* theWrappedObject) const; - qreal m32(QTransform* theWrappedObject) const; - QRect mapRect(QTransform* theWrappedObject, const QRect& arg__1) const; - qreal determinant(QTransform* theWrappedObject) const; - QTransform* rotateRadians(QTransform* theWrappedObject, qreal a, Qt::Axis axis = Qt::ZAxis); - qreal dy(QTransform* theWrappedObject) const; - void setMatrix(QTransform* theWrappedObject, qreal m11, qreal m12, qreal m13, qreal m21, qreal m22, qreal m23, qreal m31, qreal m32, qreal m33); - QRectF mapRect(QTransform* theWrappedObject, const QRectF& arg__1) const; - void writeTo(QTransform* theWrappedObject, QDataStream& arg__1); - const QMatrix* toAffine(QTransform* theWrappedObject) const; - bool isIdentity(QTransform* theWrappedObject) const; - qreal m11(QTransform* theWrappedObject) const; - bool isAffine(QTransform* theWrappedObject) const; - QPainterPath map(QTransform* theWrappedObject, const QPainterPath& p) const; - QTransform transposed(QTransform* theWrappedObject) const; - QTransform inverted(QTransform* theWrappedObject, bool* invertible = 0) const; - qreal det(QTransform* theWrappedObject) const; - QTransform* operator_multiply_assign(QTransform* theWrappedObject, qreal div); - bool static_QTransform_quadToSquare(const QPolygonF& quad, QTransform& result); - QTransform* operator_multiply_assign(QTransform* theWrappedObject, const QTransform& arg__1); - QTransform* scale(QTransform* theWrappedObject, qreal sx, qreal sy); - QTransform* shear(QTransform* theWrappedObject, qreal sh, qreal sv); - qreal m31(QTransform* theWrappedObject) const; - QTransform* translate(QTransform* theWrappedObject, qreal dx, qreal dy); - QTransform::TransformationType type(QTransform* theWrappedObject) const; - bool static_QTransform_quadToQuad(const QPolygonF& one, const QPolygonF& two, QTransform& result); - qreal m13(QTransform* theWrappedObject) const; - QTransform* operator_add_assign(QTransform* theWrappedObject, qreal div); - QPoint map(QTransform* theWrappedObject, const QPoint& p) const; - qreal dx(QTransform* theWrappedObject) const; - QLine map(QTransform* theWrappedObject, const QLine& l) const; - QLineF map(QTransform* theWrappedObject, const QLineF& l) const; - qreal m22(QTransform* theWrappedObject) const; - QPointF map(QTransform* theWrappedObject, const QPointF& p) const; - QTransform* operator_divide_assign(QTransform* theWrappedObject, qreal div); - bool isInvertible(QTransform* theWrappedObject) const; - QTransform multiplied(QTransform* theWrappedObject, const QTransform& o) const; - qreal m12(QTransform* theWrappedObject) const; - QPolygonF map(QTransform* theWrappedObject, const QPolygonF& a) const; - bool static_QTransform_squareToQuad(const QPolygonF& square, QTransform& result); - qreal m21(QTransform* theWrappedObject) const; - void reset(QTransform* theWrappedObject); - void readFrom(QTransform* theWrappedObject, QDataStream& arg__1); - QTransform adjoint(QTransform* theWrappedObject) const; - QPolygon map(QTransform* theWrappedObject, const QPolygon& a) const; - QPolygon mapToPolygon(QTransform* theWrappedObject, const QRect& r) const; - QTransform* rotate(QTransform* theWrappedObject, qreal a, Qt::Axis axis = Qt::ZAxis); - qreal m33(QTransform* theWrappedObject) const; - QRegion map(QTransform* theWrappedObject, const QRegion& r) const; - qreal m23(QTransform* theWrappedObject) const; - bool isRotating(QTransform* theWrappedObject) const; - QTransform* operator_subtract_assign(QTransform* theWrappedObject, qreal div); - bool operator_equal(QTransform* theWrappedObject, const QTransform& arg__1) const; - QString toString(QTransform*); -}; - -#endif // PYTHONQTWRAPPER_QTRANSFORM_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTreeView.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTreeView.cpp deleted file mode 100644 index 943bcd3..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTreeView.cpp +++ /dev/null @@ -1,1982 +0,0 @@ -#include "PythonQtWrapper_QTreeView.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QTreeView::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QTreeView::actionEvent(arg__1); -} -void PythonQtShell_QTreeView::changeEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeView::changeEvent(arg__1); -} -void PythonQtShell_QTreeView::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; - } -} - QTreeView::childEvent(arg__1); -} -void PythonQtShell_QTreeView::closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEditor"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&editor, (void*)&hint}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeView::closeEditor(editor, hint); -} -void PythonQtShell_QTreeView::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QTreeView::closeEvent(arg__1); -} -void PythonQtShell_QTreeView::commitData(QWidget* editor) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "commitData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeView::commitData(editor); -} -void PythonQtShell_QTreeView::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeView::contextMenuEvent(arg__1); -} -void PythonQtShell_QTreeView::currentChanged(const QModelIndex& current, const QModelIndex& previous) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "currentChanged"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)¤t, (void*)&previous}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeView::currentChanged(current, previous); -} -void PythonQtShell_QTreeView::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; - } -} - QTreeView::customEvent(arg__1); -} -void PythonQtShell_QTreeView::dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dataChanged"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&topLeft, (void*)&bottomRight}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeView::dataChanged(topLeft, bottomRight); -} -int PythonQtShell_QTreeView::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTreeView::devType(); -} -void PythonQtShell_QTreeView::doItemsLayout() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "doItemsLayout"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeView::doItemsLayout(); -} -void PythonQtShell_QTreeView::dragEnterEvent(QDragEnterEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QTreeView::dragEnterEvent(event); -} -void PythonQtShell_QTreeView::dragLeaveEvent(QDragLeaveEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QTreeView::dragLeaveEvent(event); -} -void PythonQtShell_QTreeView::dragMoveEvent(QDragMoveEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QTreeView::dragMoveEvent(event); -} -void PythonQtShell_QTreeView::drawBranches(QPainter* painter, const QRect& rect, const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawBranches"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter, (void*)&rect, (void*)&index}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeView::drawBranches(painter, rect, index); -} -void PythonQtShell_QTreeView::drawRow(QPainter* painter, const QStyleOptionViewItem& options, const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawRow"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter, (void*)&options, (void*)&index}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeView::drawRow(painter, options, index); -} -void PythonQtShell_QTreeView::dropEvent(QDropEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QTreeView::dropEvent(event); -} -bool PythonQtShell_QTreeView::edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "edit"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&index, (void*)&trigger, (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("edit", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTreeView::edit(index, trigger, event); -} -void PythonQtShell_QTreeView::editorDestroyed(QObject* editor) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "editorDestroyed"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QObject*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeView::editorDestroyed(editor); -} -void PythonQtShell_QTreeView::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QTreeView::enterEvent(arg__1); -} -bool PythonQtShell_QTreeView::event(QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTreeView::event(event); -} -bool PythonQtShell_QTreeView::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTreeView::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QTreeView::focusInEvent(QFocusEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QTreeView::focusInEvent(event); -} -bool PythonQtShell_QTreeView::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTreeView::focusNextPrevChild(next); -} -void PythonQtShell_QTreeView::focusOutEvent(QFocusEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QTreeView::focusOutEvent(event); -} -int PythonQtShell_QTreeView::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTreeView::heightForWidth(arg__1); -} -void PythonQtShell_QTreeView::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QTreeView::hideEvent(arg__1); -} -int PythonQtShell_QTreeView::horizontalOffset() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "horizontalOffset"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTreeView::horizontalOffset(); -} -void PythonQtShell_QTreeView::horizontalScrollbarAction(int action) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "horizontalScrollbarAction"); - 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*)&action}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeView::horizontalScrollbarAction(action); -} -void PythonQtShell_QTreeView::horizontalScrollbarValueChanged(int value) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "horizontalScrollbarValueChanged"); - 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*)&value}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeView::horizontalScrollbarValueChanged(value); -} -QModelIndex PythonQtShell_QTreeView::indexAt(const QPoint& p) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "indexAt"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&p}; - 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("indexAt", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTreeView::indexAt(p); -} -void PythonQtShell_QTreeView::inputMethodEvent(QInputMethodEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QTreeView::inputMethodEvent(event); -} -QVariant PythonQtShell_QTreeView::inputMethodQuery(Qt::InputMethodQuery query) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&query}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTreeView::inputMethodQuery(query); -} -bool PythonQtShell_QTreeView::isIndexHidden(const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isIndexHidden"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool 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) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTreeView::isIndexHidden(index); -} -void PythonQtShell_QTreeView::keyPressEvent(QKeyEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeView::keyPressEvent(event); -} -void PythonQtShell_QTreeView::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeView::keyReleaseEvent(arg__1); -} -void PythonQtShell_QTreeView::keyboardSearch(const QString& search) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyboardSearch"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&search}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeView::keyboardSearch(search); -} -void PythonQtShell_QTreeView::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeView::languageChange(); -} -void PythonQtShell_QTreeView::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QTreeView::leaveEvent(arg__1); -} -int PythonQtShell_QTreeView::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTreeView::metric(arg__1); -} -void PythonQtShell_QTreeView::mouseDoubleClickEvent(QMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QTreeView::mouseDoubleClickEvent(event); -} -void PythonQtShell_QTreeView::mouseMoveEvent(QMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QTreeView::mouseMoveEvent(event); -} -void PythonQtShell_QTreeView::mousePressEvent(QMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QTreeView::mousePressEvent(event); -} -void PythonQtShell_QTreeView::mouseReleaseEvent(QMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QTreeView::mouseReleaseEvent(event); -} -void PythonQtShell_QTreeView::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeView::moveEvent(arg__1); -} -QPaintEngine* PythonQtShell_QTreeView::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTreeView::paintEngine(); -} -void PythonQtShell_QTreeView::paintEvent(QPaintEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - 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; - } -} - QTreeView::paintEvent(event); -} -void PythonQtShell_QTreeView::reset() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reset"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeView::reset(); -} -void PythonQtShell_QTreeView::resizeEvent(QResizeEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - 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; - } -} - QTreeView::resizeEvent(event); -} -void PythonQtShell_QTreeView::rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowsAboutToBeRemoved"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent, (void*)&start, (void*)&end}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeView::rowsAboutToBeRemoved(parent, start, end); -} -void PythonQtShell_QTreeView::rowsInserted(const QModelIndex& parent, int start, int end) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowsInserted"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent, (void*)&start, (void*)&end}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeView::rowsInserted(parent, start, end); -} -void PythonQtShell_QTreeView::scrollContentsBy(int dx, int dy) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "scrollContentsBy"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&dx, (void*)&dy}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeView::scrollContentsBy(dx, dy); -} -void PythonQtShell_QTreeView::scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "scrollTo"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&index, (void*)&hint}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeView::scrollTo(index, hint); -} -void PythonQtShell_QTreeView::selectAll() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectAll"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeView::selectAll(); -} -QList PythonQtShell_QTreeView::selectedIndexes() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectedIndexes"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QList returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); - } else { - returnValue = *((QList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTreeView::selectedIndexes(); -} -void PythonQtShell_QTreeView::selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectionChanged"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&selected, (void*)&deselected}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeView::selectionChanged(selected, deselected); -} -QItemSelectionModel::SelectionFlags PythonQtShell_QTreeView::selectionCommand(const QModelIndex& index, const QEvent* event) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectionCommand"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QItemSelectionModel::SelectionFlags" , "const QModelIndex&" , "const QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QItemSelectionModel::SelectionFlags returnValue; - void* args[3] = {NULL, (void*)&index, (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("selectionCommand", methodInfo, result); - } else { - returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTreeView::selectionCommand(index, event); -} -void PythonQtShell_QTreeView::setModel(QAbstractItemModel* model) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setModel"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QAbstractItemModel*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&model}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeView::setModel(model); -} -void PythonQtShell_QTreeView::setRootIndex(const QModelIndex& index) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setRootIndex"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeView::setRootIndex(index); -} -void PythonQtShell_QTreeView::setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setSelection"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&rect, (void*)&command}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeView::setSelection(rect, command); -} -void PythonQtShell_QTreeView::setSelectionModel(QItemSelectionModel* selectionModel) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setSelectionModel"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QItemSelectionModel*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&selectionModel}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeView::setSelectionModel(selectionModel); -} -void PythonQtShell_QTreeView::showEvent(QShowEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QTreeView::showEvent(arg__1); -} -int PythonQtShell_QTreeView::sizeHintForColumn(int column) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeHintForColumn"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&column}; - 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("sizeHintForColumn", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTreeView::sizeHintForColumn(column); -} -int PythonQtShell_QTreeView::sizeHintForRow(int row) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeHintForRow"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&row}; - 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("sizeHintForRow", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTreeView::sizeHintForRow(row); -} -void PythonQtShell_QTreeView::startDrag(Qt::DropActions supportedActions) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "startDrag"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "Qt::DropActions"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&supportedActions}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeView::startDrag(supportedActions); -} -void PythonQtShell_QTreeView::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QTreeView::tabletEvent(arg__1); -} -void PythonQtShell_QTreeView::timerEvent(QTimerEvent* event) -{ -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*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeView::timerEvent(event); -} -void PythonQtShell_QTreeView::updateEditorData() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateEditorData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeView::updateEditorData(); -} -void PythonQtShell_QTreeView::updateEditorGeometries() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateEditorGeometries"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeView::updateEditorGeometries(); -} -void PythonQtShell_QTreeView::updateGeometries() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateGeometries"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeView::updateGeometries(); -} -int PythonQtShell_QTreeView::verticalOffset() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "verticalOffset"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTreeView::verticalOffset(); -} -void PythonQtShell_QTreeView::verticalScrollbarAction(int action) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "verticalScrollbarAction"); - 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*)&action}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeView::verticalScrollbarAction(action); -} -void PythonQtShell_QTreeView::verticalScrollbarValueChanged(int value) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "verticalScrollbarValueChanged"); - 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*)&value}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeView::verticalScrollbarValueChanged(value); -} -QStyleOptionViewItem PythonQtShell_QTreeView::viewOptions() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "viewOptions"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QStyleOptionViewItem"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStyleOptionViewItem returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); - } else { - returnValue = *((QStyleOptionViewItem*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTreeView::viewOptions(); -} -bool PythonQtShell_QTreeView::viewportEvent(QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "viewportEvent"); - 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("viewportEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTreeView::viewportEvent(event); -} -QRect PythonQtShell_QTreeView::visualRect(const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "visualRect"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRect 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) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTreeView::visualRect(index); -} -QRegion PythonQtShell_QTreeView::visualRegionForSelection(const QItemSelection& selection) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "visualRegionForSelection"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRegion returnValue; - void* args[2] = {NULL, (void*)&selection}; - 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("visualRegionForSelection", methodInfo, result); - } else { - returnValue = *((QRegion*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTreeView::visualRegionForSelection(selection); -} -void PythonQtShell_QTreeView::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeView::wheelEvent(arg__1); -} -QTreeView* PythonQtWrapper_QTreeView::new_QTreeView(QWidget* parent) -{ -return new PythonQtShell_QTreeView(parent); } - -void PythonQtWrapper_QTreeView::setWordWrap(QTreeView* theWrappedObject, bool on) -{ - ( theWrappedObject->setWordWrap(on)); -} - -void PythonQtWrapper_QTreeView::setExpandsOnDoubleClick(QTreeView* theWrappedObject, bool enable) -{ - ( theWrappedObject->setExpandsOnDoubleClick(enable)); -} - -bool PythonQtWrapper_QTreeView::isAnimated(QTreeView* theWrappedObject) const -{ - return ( theWrappedObject->isAnimated()); -} - -bool PythonQtWrapper_QTreeView::expandsOnDoubleClick(QTreeView* theWrappedObject) const -{ - return ( theWrappedObject->expandsOnDoubleClick()); -} - -void PythonQtWrapper_QTreeView::mouseReleaseEvent(QTreeView* theWrappedObject, QMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_mouseReleaseEvent(event)); -} - -void PythonQtWrapper_QTreeView::setModel(QTreeView* theWrappedObject, QAbstractItemModel* model) -{ - ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_setModel(model)); -} - -bool PythonQtWrapper_QTreeView::wordWrap(QTreeView* theWrappedObject) const -{ - return ( theWrappedObject->wordWrap()); -} - -void PythonQtWrapper_QTreeView::setUniformRowHeights(QTreeView* theWrappedObject, bool uniform) -{ - ( theWrappedObject->setUniformRowHeights(uniform)); -} - -void PythonQtWrapper_QTreeView::doItemsLayout(QTreeView* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_doItemsLayout()); -} - -bool PythonQtWrapper_QTreeView::isSortingEnabled(QTreeView* theWrappedObject) const -{ - return ( theWrappedObject->isSortingEnabled()); -} - -void PythonQtWrapper_QTreeView::scrollContentsBy(QTreeView* theWrappedObject, int dx, int dy) -{ - ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_scrollContentsBy(dx, dy)); -} - -bool PythonQtWrapper_QTreeView::allColumnsShowFocus(QTreeView* theWrappedObject) const -{ - return ( theWrappedObject->allColumnsShowFocus()); -} - -int PythonQtWrapper_QTreeView::verticalOffset(QTreeView* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_verticalOffset()); -} - -bool PythonQtWrapper_QTreeView::isFirstColumnSpanned(QTreeView* theWrappedObject, int row, const QModelIndex& parent) const -{ - return ( theWrappedObject->isFirstColumnSpanned(row, parent)); -} - -void PythonQtWrapper_QTreeView::drawRow(QTreeView* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& options, const QModelIndex& index) const -{ - ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_drawRow(painter, options, index)); -} - -void PythonQtWrapper_QTreeView::setRowHidden(QTreeView* theWrappedObject, int row, const QModelIndex& parent, bool hide) -{ - ( theWrappedObject->setRowHidden(row, parent, hide)); -} - -void PythonQtWrapper_QTreeView::mouseMoveEvent(QTreeView* theWrappedObject, QMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_mouseMoveEvent(event)); -} - -int PythonQtWrapper_QTreeView::autoExpandDelay(QTreeView* theWrappedObject) const -{ - return ( theWrappedObject->autoExpandDelay()); -} - -void PythonQtWrapper_QTreeView::setSelection(QTreeView* theWrappedObject, const QRect& rect, QItemSelectionModel::SelectionFlags command) -{ - ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_setSelection(rect, command)); -} - -void PythonQtWrapper_QTreeView::horizontalScrollbarAction(QTreeView* theWrappedObject, int action) -{ - ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_horizontalScrollbarAction(action)); -} - -QRegion PythonQtWrapper_QTreeView::visualRegionForSelection(QTreeView* theWrappedObject, const QItemSelection& selection) const -{ - return ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_visualRegionForSelection(selection)); -} - -void PythonQtWrapper_QTreeView::setColumnWidth(QTreeView* theWrappedObject, int column, int width) -{ - ( theWrappedObject->setColumnWidth(column, width)); -} - -void PythonQtWrapper_QTreeView::setAnimated(QTreeView* theWrappedObject, bool enable) -{ - ( theWrappedObject->setAnimated(enable)); -} - -void PythonQtWrapper_QTreeView::rowsInserted(QTreeView* theWrappedObject, const QModelIndex& parent, int start, int end) -{ - ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_rowsInserted(parent, start, end)); -} - -void PythonQtWrapper_QTreeView::mouseDoubleClickEvent(QTreeView* theWrappedObject, QMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_mouseDoubleClickEvent(event)); -} - -QList PythonQtWrapper_QTreeView::selectedIndexes(QTreeView* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_selectedIndexes()); -} - -bool PythonQtWrapper_QTreeView::isColumnHidden(QTreeView* theWrappedObject, int column) const -{ - return ( theWrappedObject->isColumnHidden(column)); -} - -bool PythonQtWrapper_QTreeView::viewportEvent(QTreeView* theWrappedObject, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_viewportEvent(event)); -} - -void PythonQtWrapper_QTreeView::mousePressEvent(QTreeView* theWrappedObject, QMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_mousePressEvent(event)); -} - -QModelIndex PythonQtWrapper_QTreeView::indexBelow(QTreeView* theWrappedObject, const QModelIndex& index) const -{ - return ( theWrappedObject->indexBelow(index)); -} - -void PythonQtWrapper_QTreeView::updateGeometries(QTreeView* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_updateGeometries()); -} - -void PythonQtWrapper_QTreeView::scrollTo(QTreeView* theWrappedObject, const QModelIndex& index, QAbstractItemView::ScrollHint hint) -{ - ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_scrollTo(index, hint)); -} - -int PythonQtWrapper_QTreeView::columnViewportPosition(QTreeView* theWrappedObject, int column) const -{ - return ( theWrappedObject->columnViewportPosition(column)); -} - -void PythonQtWrapper_QTreeView::setHeaderHidden(QTreeView* theWrappedObject, bool hide) -{ - ( theWrappedObject->setHeaderHidden(hide)); -} - -void PythonQtWrapper_QTreeView::rowsAboutToBeRemoved(QTreeView* theWrappedObject, const QModelIndex& parent, int start, int end) -{ - ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_rowsAboutToBeRemoved(parent, start, end)); -} - -void PythonQtWrapper_QTreeView::selectionChanged(QTreeView* theWrappedObject, const QItemSelection& selected, const QItemSelection& deselected) -{ - ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_selectionChanged(selected, deselected)); -} - -void PythonQtWrapper_QTreeView::reset(QTreeView* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_reset()); -} - -void PythonQtWrapper_QTreeView::setHeader(QTreeView* theWrappedObject, QHeaderView* header) -{ - ( theWrappedObject->setHeader(header)); -} - -bool PythonQtWrapper_QTreeView::rootIsDecorated(QTreeView* theWrappedObject) const -{ - return ( theWrappedObject->rootIsDecorated()); -} - -void PythonQtWrapper_QTreeView::setRootIsDecorated(QTreeView* theWrappedObject, bool show) -{ - ( theWrappedObject->setRootIsDecorated(show)); -} - -void PythonQtWrapper_QTreeView::keyPressEvent(QTreeView* theWrappedObject, QKeyEvent* event) -{ - ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_keyPressEvent(event)); -} - -void PythonQtWrapper_QTreeView::dragMoveEvent(QTreeView* theWrappedObject, QDragMoveEvent* event) -{ - ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_dragMoveEvent(event)); -} - -int PythonQtWrapper_QTreeView::columnWidth(QTreeView* theWrappedObject, int column) const -{ - return ( theWrappedObject->columnWidth(column)); -} - -int PythonQtWrapper_QTreeView::columnAt(QTreeView* theWrappedObject, int x) const -{ - return ( theWrappedObject->columnAt(x)); -} - -void PythonQtWrapper_QTreeView::setItemsExpandable(QTreeView* theWrappedObject, bool enable) -{ - ( theWrappedObject->setItemsExpandable(enable)); -} - -bool PythonQtWrapper_QTreeView::isExpanded(QTreeView* theWrappedObject, const QModelIndex& index) const -{ - return ( theWrappedObject->isExpanded(index)); -} - -bool PythonQtWrapper_QTreeView::isIndexHidden(QTreeView* theWrappedObject, const QModelIndex& index) const -{ - return ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_isIndexHidden(index)); -} - -void PythonQtWrapper_QTreeView::paintEvent(QTreeView* theWrappedObject, QPaintEvent* event) -{ - ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_paintEvent(event)); -} - -bool PythonQtWrapper_QTreeView::isRowHidden(QTreeView* theWrappedObject, int row, const QModelIndex& parent) const -{ - return ( theWrappedObject->isRowHidden(row, parent)); -} - -QHeaderView* PythonQtWrapper_QTreeView::header(QTreeView* theWrappedObject) const -{ - return ( theWrappedObject->header()); -} - -void PythonQtWrapper_QTreeView::setSortingEnabled(QTreeView* theWrappedObject, bool enable) -{ - ( theWrappedObject->setSortingEnabled(enable)); -} - -QModelIndex PythonQtWrapper_QTreeView::indexAt(QTreeView* theWrappedObject, const QPoint& p) const -{ - return ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_indexAt(p)); -} - -void PythonQtWrapper_QTreeView::sortByColumn(QTreeView* theWrappedObject, int column, Qt::SortOrder order) -{ - ( theWrappedObject->sortByColumn(column, order)); -} - -void PythonQtWrapper_QTreeView::setColumnHidden(QTreeView* theWrappedObject, int column, bool hide) -{ - ( theWrappedObject->setColumnHidden(column, hide)); -} - -int PythonQtWrapper_QTreeView::sizeHintForColumn(QTreeView* theWrappedObject, int column) const -{ - return ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_sizeHintForColumn(column)); -} - -bool PythonQtWrapper_QTreeView::uniformRowHeights(QTreeView* theWrappedObject) const -{ - return ( theWrappedObject->uniformRowHeights()); -} - -bool PythonQtWrapper_QTreeView::itemsExpandable(QTreeView* theWrappedObject) const -{ - return ( theWrappedObject->itemsExpandable()); -} - -void PythonQtWrapper_QTreeView::setFirstColumnSpanned(QTreeView* theWrappedObject, int row, const QModelIndex& parent, bool span) -{ - ( theWrappedObject->setFirstColumnSpanned(row, parent, span)); -} - -QModelIndex PythonQtWrapper_QTreeView::indexAbove(QTreeView* theWrappedObject, const QModelIndex& index) const -{ - return ( theWrappedObject->indexAbove(index)); -} - -void PythonQtWrapper_QTreeView::setSelectionModel(QTreeView* theWrappedObject, QItemSelectionModel* selectionModel) -{ - ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_setSelectionModel(selectionModel)); -} - -void PythonQtWrapper_QTreeView::setRootIndex(QTreeView* theWrappedObject, const QModelIndex& index) -{ - ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_setRootIndex(index)); -} - -int PythonQtWrapper_QTreeView::horizontalOffset(QTreeView* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_horizontalOffset()); -} - -void PythonQtWrapper_QTreeView::timerEvent(QTreeView* theWrappedObject, QTimerEvent* event) -{ - ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_timerEvent(event)); -} - -QRect PythonQtWrapper_QTreeView::visualRect(QTreeView* theWrappedObject, const QModelIndex& index) const -{ - return ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_visualRect(index)); -} - -void PythonQtWrapper_QTreeView::currentChanged(QTreeView* theWrappedObject, const QModelIndex& current, const QModelIndex& previous) -{ - ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_currentChanged(current, previous)); -} - -void PythonQtWrapper_QTreeView::setAutoExpandDelay(QTreeView* theWrappedObject, int delay) -{ - ( theWrappedObject->setAutoExpandDelay(delay)); -} - -void PythonQtWrapper_QTreeView::setIndentation(QTreeView* theWrappedObject, int i) -{ - ( theWrappedObject->setIndentation(i)); -} - -void PythonQtWrapper_QTreeView::setExpanded(QTreeView* theWrappedObject, const QModelIndex& index, bool expand) -{ - ( theWrappedObject->setExpanded(index, expand)); -} - -bool PythonQtWrapper_QTreeView::isHeaderHidden(QTreeView* theWrappedObject) const -{ - return ( theWrappedObject->isHeaderHidden()); -} - -void PythonQtWrapper_QTreeView::keyboardSearch(QTreeView* theWrappedObject, const QString& search) -{ - ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_keyboardSearch(search)); -} - -void PythonQtWrapper_QTreeView::setAllColumnsShowFocus(QTreeView* theWrappedObject, bool enable) -{ - ( theWrappedObject->setAllColumnsShowFocus(enable)); -} - -int PythonQtWrapper_QTreeView::indentation(QTreeView* theWrappedObject) const -{ - return ( theWrappedObject->indentation()); -} - -void PythonQtWrapper_QTreeView::drawBranches(QTreeView* theWrappedObject, QPainter* painter, const QRect& rect, const QModelIndex& index) const -{ - ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_drawBranches(painter, rect, index)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTreeView.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTreeView.h deleted file mode 100644 index a7eae36..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTreeView.h +++ /dev/null @@ -1,252 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QTREEVIEW_H -#define PYTHONQTWRAPPER_QTREEVIEW_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QTreeView : public QTreeView -{ -public: - PythonQtShell_QTreeView(QWidget* parent = 0):QTreeView(parent),_wrapper(NULL) {}; - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void commitData(QWidget* editor); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void currentChanged(const QModelIndex& current, const QModelIndex& previous); -virtual void customEvent(QEvent* arg__1); -virtual void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight); -virtual int devType() const; -virtual void doItemsLayout(); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void drawBranches(QPainter* painter, const QRect& rect, const QModelIndex& index) const; -virtual void drawRow(QPainter* painter, const QStyleOptionViewItem& options, const QModelIndex& index) const; -virtual void dropEvent(QDropEvent* event); -virtual bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event); -virtual void editorDestroyed(QObject* editor); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual int horizontalOffset() const; -virtual void horizontalScrollbarAction(int action); -virtual void horizontalScrollbarValueChanged(int value); -virtual QModelIndex indexAt(const QPoint& p) const; -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual bool isIndexHidden(const QModelIndex& index) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void keyboardSearch(const QString& search); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* arg__1); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual void reset(); -virtual void resizeEvent(QResizeEvent* event); -virtual void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end); -virtual void rowsInserted(const QModelIndex& parent, int start, int end); -virtual void scrollContentsBy(int dx, int dy); -virtual void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible); -virtual void selectAll(); -virtual QList selectedIndexes() const; -virtual void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected); -virtual QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event) const; -virtual void setModel(QAbstractItemModel* model); -virtual void setRootIndex(const QModelIndex& index); -virtual void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command); -virtual void setSelectionModel(QItemSelectionModel* selectionModel); -virtual void showEvent(QShowEvent* arg__1); -virtual int sizeHintForColumn(int column) const; -virtual int sizeHintForRow(int row) const; -virtual void startDrag(Qt::DropActions supportedActions); -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* event); -virtual void updateEditorData(); -virtual void updateEditorGeometries(); -virtual void updateGeometries(); -virtual int verticalOffset() const; -virtual void verticalScrollbarAction(int action); -virtual void verticalScrollbarValueChanged(int value); -virtual QStyleOptionViewItem viewOptions() const; -virtual bool viewportEvent(QEvent* event); -virtual QRect visualRect(const QModelIndex& index) const; -virtual QRegion visualRegionForSelection(const QItemSelection& selection) const; -virtual void wheelEvent(QWheelEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QTreeView : public QTreeView -{ public: -inline void promoted_mouseReleaseEvent(QMouseEvent* event) { QTreeView::mouseReleaseEvent(event); } -inline void promoted_setModel(QAbstractItemModel* model) { QTreeView::setModel(model); } -inline void promoted_doItemsLayout() { QTreeView::doItemsLayout(); } -inline void promoted_scrollContentsBy(int dx, int dy) { QTreeView::scrollContentsBy(dx, dy); } -inline int promoted_verticalOffset() const { return QTreeView::verticalOffset(); } -inline void promoted_drawRow(QPainter* painter, const QStyleOptionViewItem& options, const QModelIndex& index) const { QTreeView::drawRow(painter, options, index); } -inline void promoted_mouseMoveEvent(QMouseEvent* event) { QTreeView::mouseMoveEvent(event); } -inline void promoted_setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) { QTreeView::setSelection(rect, command); } -inline void promoted_horizontalScrollbarAction(int action) { QTreeView::horizontalScrollbarAction(action); } -inline QRegion promoted_visualRegionForSelection(const QItemSelection& selection) const { return QTreeView::visualRegionForSelection(selection); } -inline void promoted_rowsInserted(const QModelIndex& parent, int start, int end) { QTreeView::rowsInserted(parent, start, end); } -inline void promoted_mouseDoubleClickEvent(QMouseEvent* event) { QTreeView::mouseDoubleClickEvent(event); } -inline QList promoted_selectedIndexes() const { return QTreeView::selectedIndexes(); } -inline bool promoted_viewportEvent(QEvent* event) { return QTreeView::viewportEvent(event); } -inline void promoted_mousePressEvent(QMouseEvent* event) { QTreeView::mousePressEvent(event); } -inline void promoted_updateGeometries() { QTreeView::updateGeometries(); } -inline void promoted_scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible) { QTreeView::scrollTo(index, hint); } -inline void promoted_rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) { QTreeView::rowsAboutToBeRemoved(parent, start, end); } -inline void promoted_selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) { QTreeView::selectionChanged(selected, deselected); } -inline void promoted_reset() { QTreeView::reset(); } -inline void promoted_dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight) { QTreeView::dataChanged(topLeft, bottomRight); } -inline void promoted_keyPressEvent(QKeyEvent* event) { QTreeView::keyPressEvent(event); } -inline void promoted_dragMoveEvent(QDragMoveEvent* event) { QTreeView::dragMoveEvent(event); } -inline bool promoted_isIndexHidden(const QModelIndex& index) const { return QTreeView::isIndexHidden(index); } -inline void promoted_paintEvent(QPaintEvent* event) { QTreeView::paintEvent(event); } -inline void promoted_selectAll() { QTreeView::selectAll(); } -inline QModelIndex promoted_indexAt(const QPoint& p) const { return QTreeView::indexAt(p); } -inline int promoted_sizeHintForColumn(int column) const { return QTreeView::sizeHintForColumn(column); } -inline void promoted_setSelectionModel(QItemSelectionModel* selectionModel) { QTreeView::setSelectionModel(selectionModel); } -inline void promoted_setRootIndex(const QModelIndex& index) { QTreeView::setRootIndex(index); } -inline int promoted_horizontalOffset() const { return QTreeView::horizontalOffset(); } -inline void promoted_timerEvent(QTimerEvent* event) { QTreeView::timerEvent(event); } -inline QRect promoted_visualRect(const QModelIndex& index) const { return QTreeView::visualRect(index); } -inline void promoted_currentChanged(const QModelIndex& current, const QModelIndex& previous) { QTreeView::currentChanged(current, previous); } -inline void promoted_keyboardSearch(const QString& search) { QTreeView::keyboardSearch(search); } -inline void promoted_drawBranches(QPainter* painter, const QRect& rect, const QModelIndex& index) const { QTreeView::drawBranches(painter, rect, index); } -}; - -class PythonQtWrapper_QTreeView : public QObject -{ Q_OBJECT -public: -public slots: -QTreeView* new_QTreeView(QWidget* parent = 0); -void delete_QTreeView(QTreeView* obj) { delete obj; } - void setWordWrap(QTreeView* theWrappedObject, bool on); - void setExpandsOnDoubleClick(QTreeView* theWrappedObject, bool enable); - bool isAnimated(QTreeView* theWrappedObject) const; - bool expandsOnDoubleClick(QTreeView* theWrappedObject) const; - void mouseReleaseEvent(QTreeView* theWrappedObject, QMouseEvent* event); - void setModel(QTreeView* theWrappedObject, QAbstractItemModel* model); - bool wordWrap(QTreeView* theWrappedObject) const; - void setUniformRowHeights(QTreeView* theWrappedObject, bool uniform); - void doItemsLayout(QTreeView* theWrappedObject); - bool isSortingEnabled(QTreeView* theWrappedObject) const; - void scrollContentsBy(QTreeView* theWrappedObject, int dx, int dy); - bool allColumnsShowFocus(QTreeView* theWrappedObject) const; - int verticalOffset(QTreeView* theWrappedObject) const; - bool isFirstColumnSpanned(QTreeView* theWrappedObject, int row, const QModelIndex& parent) const; - void drawRow(QTreeView* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& options, const QModelIndex& index) const; - void setRowHidden(QTreeView* theWrappedObject, int row, const QModelIndex& parent, bool hide); - void mouseMoveEvent(QTreeView* theWrappedObject, QMouseEvent* event); - int autoExpandDelay(QTreeView* theWrappedObject) const; - void setSelection(QTreeView* theWrappedObject, const QRect& rect, QItemSelectionModel::SelectionFlags command); - void horizontalScrollbarAction(QTreeView* theWrappedObject, int action); - QRegion visualRegionForSelection(QTreeView* theWrappedObject, const QItemSelection& selection) const; - void setColumnWidth(QTreeView* theWrappedObject, int column, int width); - void setAnimated(QTreeView* theWrappedObject, bool enable); - void rowsInserted(QTreeView* theWrappedObject, const QModelIndex& parent, int start, int end); - void mouseDoubleClickEvent(QTreeView* theWrappedObject, QMouseEvent* event); - QList selectedIndexes(QTreeView* theWrappedObject) const; - bool isColumnHidden(QTreeView* theWrappedObject, int column) const; - bool viewportEvent(QTreeView* theWrappedObject, QEvent* event); - void mousePressEvent(QTreeView* theWrappedObject, QMouseEvent* event); - QModelIndex indexBelow(QTreeView* theWrappedObject, const QModelIndex& index) const; - void updateGeometries(QTreeView* theWrappedObject); - void scrollTo(QTreeView* theWrappedObject, const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible); - int columnViewportPosition(QTreeView* theWrappedObject, int column) const; - void setHeaderHidden(QTreeView* theWrappedObject, bool hide); - void rowsAboutToBeRemoved(QTreeView* theWrappedObject, const QModelIndex& parent, int start, int end); - void selectionChanged(QTreeView* theWrappedObject, const QItemSelection& selected, const QItemSelection& deselected); - void reset(QTreeView* theWrappedObject); - void setHeader(QTreeView* theWrappedObject, QHeaderView* header); - bool rootIsDecorated(QTreeView* theWrappedObject) const; - void setRootIsDecorated(QTreeView* theWrappedObject, bool show); - void keyPressEvent(QTreeView* theWrappedObject, QKeyEvent* event); - void dragMoveEvent(QTreeView* theWrappedObject, QDragMoveEvent* event); - int columnWidth(QTreeView* theWrappedObject, int column) const; - int columnAt(QTreeView* theWrappedObject, int x) const; - void setItemsExpandable(QTreeView* theWrappedObject, bool enable); - bool isExpanded(QTreeView* theWrappedObject, const QModelIndex& index) const; - bool isIndexHidden(QTreeView* theWrappedObject, const QModelIndex& index) const; - void paintEvent(QTreeView* theWrappedObject, QPaintEvent* event); - bool isRowHidden(QTreeView* theWrappedObject, int row, const QModelIndex& parent) const; - QHeaderView* header(QTreeView* theWrappedObject) const; - void setSortingEnabled(QTreeView* theWrappedObject, bool enable); - QModelIndex indexAt(QTreeView* theWrappedObject, const QPoint& p) const; - void sortByColumn(QTreeView* theWrappedObject, int column, Qt::SortOrder order); - void setColumnHidden(QTreeView* theWrappedObject, int column, bool hide); - int sizeHintForColumn(QTreeView* theWrappedObject, int column) const; - bool uniformRowHeights(QTreeView* theWrappedObject) const; - bool itemsExpandable(QTreeView* theWrappedObject) const; - void setFirstColumnSpanned(QTreeView* theWrappedObject, int row, const QModelIndex& parent, bool span); - QModelIndex indexAbove(QTreeView* theWrappedObject, const QModelIndex& index) const; - void setSelectionModel(QTreeView* theWrappedObject, QItemSelectionModel* selectionModel); - void setRootIndex(QTreeView* theWrappedObject, const QModelIndex& index); - int horizontalOffset(QTreeView* theWrappedObject) const; - void timerEvent(QTreeView* theWrappedObject, QTimerEvent* event); - QRect visualRect(QTreeView* theWrappedObject, const QModelIndex& index) const; - void currentChanged(QTreeView* theWrappedObject, const QModelIndex& current, const QModelIndex& previous); - void setAutoExpandDelay(QTreeView* theWrappedObject, int delay); - void setIndentation(QTreeView* theWrappedObject, int i); - void setExpanded(QTreeView* theWrappedObject, const QModelIndex& index, bool expand); - bool isHeaderHidden(QTreeView* theWrappedObject) const; - void keyboardSearch(QTreeView* theWrappedObject, const QString& search); - void setAllColumnsShowFocus(QTreeView* theWrappedObject, bool enable); - int indentation(QTreeView* theWrappedObject) const; - void drawBranches(QTreeView* theWrappedObject, QPainter* painter, const QRect& rect, const QModelIndex& index) const; -}; - -#endif // PYTHONQTWRAPPER_QTREEVIEW_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTreeWidget.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTreeWidget.cpp deleted file mode 100644 index 73b8abe..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTreeWidget.cpp +++ /dev/null @@ -1,1924 +0,0 @@ -#include "PythonQtWrapper_QTreeWidget.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QTreeWidget::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QTreeWidget::actionEvent(arg__1); -} -void PythonQtShell_QTreeWidget::changeEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeWidget::changeEvent(arg__1); -} -void PythonQtShell_QTreeWidget::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; - } -} - QTreeWidget::childEvent(arg__1); -} -void PythonQtShell_QTreeWidget::closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEditor"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&editor, (void*)&hint}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeWidget::closeEditor(editor, hint); -} -void PythonQtShell_QTreeWidget::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QTreeWidget::closeEvent(arg__1); -} -void PythonQtShell_QTreeWidget::commitData(QWidget* editor) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "commitData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeWidget::commitData(editor); -} -void PythonQtShell_QTreeWidget::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeWidget::contextMenuEvent(arg__1); -} -void PythonQtShell_QTreeWidget::currentChanged(const QModelIndex& current, const QModelIndex& previous) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "currentChanged"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)¤t, (void*)&previous}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeWidget::currentChanged(current, previous); -} -void PythonQtShell_QTreeWidget::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; - } -} - QTreeWidget::customEvent(arg__1); -} -void PythonQtShell_QTreeWidget::dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dataChanged"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&topLeft, (void*)&bottomRight}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeWidget::dataChanged(topLeft, bottomRight); -} -int PythonQtShell_QTreeWidget::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTreeWidget::devType(); -} -void PythonQtShell_QTreeWidget::doItemsLayout() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "doItemsLayout"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeWidget::doItemsLayout(); -} -void PythonQtShell_QTreeWidget::dragEnterEvent(QDragEnterEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QTreeWidget::dragEnterEvent(event); -} -void PythonQtShell_QTreeWidget::dragLeaveEvent(QDragLeaveEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QTreeWidget::dragLeaveEvent(event); -} -void PythonQtShell_QTreeWidget::dragMoveEvent(QDragMoveEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QTreeWidget::dragMoveEvent(event); -} -void PythonQtShell_QTreeWidget::drawBranches(QPainter* painter, const QRect& rect, const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawBranches"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter, (void*)&rect, (void*)&index}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeWidget::drawBranches(painter, rect, index); -} -void PythonQtShell_QTreeWidget::drawRow(QPainter* painter, const QStyleOptionViewItem& options, const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawRow"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter, (void*)&options, (void*)&index}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeWidget::drawRow(painter, options, index); -} -void PythonQtShell_QTreeWidget::dropEvent(QDropEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QTreeWidget::dropEvent(event); -} -bool PythonQtShell_QTreeWidget::dropMimeData(QTreeWidgetItem* parent, int index, const QMimeData* data, Qt::DropAction action) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropMimeData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QTreeWidgetItem*" , "int" , "const QMimeData*" , "Qt::DropAction"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - bool returnValue; - void* args[5] = {NULL, (void*)&parent, (void*)&index, (void*)&data, (void*)&action}; - 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("dropMimeData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTreeWidget::dropMimeData(parent, index, data, action); -} -bool PythonQtShell_QTreeWidget::edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "edit"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&index, (void*)&trigger, (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("edit", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTreeWidget::edit(index, trigger, event); -} -void PythonQtShell_QTreeWidget::editorDestroyed(QObject* editor) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "editorDestroyed"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QObject*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeWidget::editorDestroyed(editor); -} -void PythonQtShell_QTreeWidget::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QTreeWidget::enterEvent(arg__1); -} -bool PythonQtShell_QTreeWidget::event(QEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTreeWidget::event(e); -} -bool PythonQtShell_QTreeWidget::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTreeWidget::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QTreeWidget::focusInEvent(QFocusEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QTreeWidget::focusInEvent(event); -} -bool PythonQtShell_QTreeWidget::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTreeWidget::focusNextPrevChild(next); -} -void PythonQtShell_QTreeWidget::focusOutEvent(QFocusEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QTreeWidget::focusOutEvent(event); -} -int PythonQtShell_QTreeWidget::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTreeWidget::heightForWidth(arg__1); -} -void PythonQtShell_QTreeWidget::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QTreeWidget::hideEvent(arg__1); -} -int PythonQtShell_QTreeWidget::horizontalOffset() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "horizontalOffset"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTreeWidget::horizontalOffset(); -} -void PythonQtShell_QTreeWidget::horizontalScrollbarAction(int action) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "horizontalScrollbarAction"); - 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*)&action}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeWidget::horizontalScrollbarAction(action); -} -void PythonQtShell_QTreeWidget::horizontalScrollbarValueChanged(int value) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "horizontalScrollbarValueChanged"); - 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*)&value}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeWidget::horizontalScrollbarValueChanged(value); -} -QModelIndex PythonQtShell_QTreeWidget::indexAt(const QPoint& p) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "indexAt"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&p}; - 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("indexAt", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTreeWidget::indexAt(p); -} -void PythonQtShell_QTreeWidget::inputMethodEvent(QInputMethodEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QTreeWidget::inputMethodEvent(event); -} -QVariant PythonQtShell_QTreeWidget::inputMethodQuery(Qt::InputMethodQuery query) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&query}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTreeWidget::inputMethodQuery(query); -} -bool PythonQtShell_QTreeWidget::isIndexHidden(const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isIndexHidden"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool 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) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTreeWidget::isIndexHidden(index); -} -void PythonQtShell_QTreeWidget::keyPressEvent(QKeyEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeWidget::keyPressEvent(event); -} -void PythonQtShell_QTreeWidget::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeWidget::keyReleaseEvent(arg__1); -} -void PythonQtShell_QTreeWidget::keyboardSearch(const QString& search) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyboardSearch"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&search}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeWidget::keyboardSearch(search); -} -void PythonQtShell_QTreeWidget::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeWidget::languageChange(); -} -void PythonQtShell_QTreeWidget::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QTreeWidget::leaveEvent(arg__1); -} -int PythonQtShell_QTreeWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTreeWidget::metric(arg__1); -} -QMimeData* PythonQtShell_QTreeWidget::mimeData(const QList items) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mimeData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QMimeData*" , "const QList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMimeData* returnValue; - void* args[2] = {NULL, (void*)&items}; - 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("mimeData", methodInfo, result); - } else { - returnValue = *((QMimeData**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTreeWidget::mimeData(items); -} -QStringList PythonQtShell_QTreeWidget::mimeTypes() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mimeTypes"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QStringList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStringList returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); - } else { - returnValue = *((QStringList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTreeWidget::mimeTypes(); -} -void PythonQtShell_QTreeWidget::mouseDoubleClickEvent(QMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QTreeWidget::mouseDoubleClickEvent(event); -} -void PythonQtShell_QTreeWidget::mouseMoveEvent(QMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QTreeWidget::mouseMoveEvent(event); -} -void PythonQtShell_QTreeWidget::mousePressEvent(QMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QTreeWidget::mousePressEvent(event); -} -void PythonQtShell_QTreeWidget::mouseReleaseEvent(QMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QTreeWidget::mouseReleaseEvent(event); -} -void PythonQtShell_QTreeWidget::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeWidget::moveEvent(arg__1); -} -QPaintEngine* PythonQtShell_QTreeWidget::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTreeWidget::paintEngine(); -} -void PythonQtShell_QTreeWidget::paintEvent(QPaintEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - 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; - } -} - QTreeWidget::paintEvent(event); -} -void PythonQtShell_QTreeWidget::reset() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reset"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeWidget::reset(); -} -void PythonQtShell_QTreeWidget::resizeEvent(QResizeEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - 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; - } -} - QTreeWidget::resizeEvent(event); -} -void PythonQtShell_QTreeWidget::rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowsAboutToBeRemoved"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent, (void*)&start, (void*)&end}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeWidget::rowsAboutToBeRemoved(parent, start, end); -} -void PythonQtShell_QTreeWidget::rowsInserted(const QModelIndex& parent, int start, int end) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowsInserted"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent, (void*)&start, (void*)&end}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeWidget::rowsInserted(parent, start, end); -} -void PythonQtShell_QTreeWidget::scrollContentsBy(int dx, int dy) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "scrollContentsBy"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&dx, (void*)&dy}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeWidget::scrollContentsBy(dx, dy); -} -void PythonQtShell_QTreeWidget::scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "scrollTo"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&index, (void*)&hint}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeWidget::scrollTo(index, hint); -} -void PythonQtShell_QTreeWidget::selectAll() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectAll"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeWidget::selectAll(); -} -QList PythonQtShell_QTreeWidget::selectedIndexes() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectedIndexes"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QList returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); - } else { - returnValue = *((QList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTreeWidget::selectedIndexes(); -} -void PythonQtShell_QTreeWidget::selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectionChanged"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&selected, (void*)&deselected}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeWidget::selectionChanged(selected, deselected); -} -QItemSelectionModel::SelectionFlags PythonQtShell_QTreeWidget::selectionCommand(const QModelIndex& index, const QEvent* event) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectionCommand"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QItemSelectionModel::SelectionFlags" , "const QModelIndex&" , "const QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QItemSelectionModel::SelectionFlags returnValue; - void* args[3] = {NULL, (void*)&index, (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("selectionCommand", methodInfo, result); - } else { - returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTreeWidget::selectionCommand(index, event); -} -void PythonQtShell_QTreeWidget::setRootIndex(const QModelIndex& index) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setRootIndex"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeWidget::setRootIndex(index); -} -void PythonQtShell_QTreeWidget::setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setSelection"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&rect, (void*)&command}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeWidget::setSelection(rect, command); -} -void PythonQtShell_QTreeWidget::setSelectionModel(QItemSelectionModel* selectionModel) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setSelectionModel"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QItemSelectionModel*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&selectionModel}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeWidget::setSelectionModel(selectionModel); -} -void PythonQtShell_QTreeWidget::showEvent(QShowEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QTreeWidget::showEvent(arg__1); -} -int PythonQtShell_QTreeWidget::sizeHintForColumn(int column) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeHintForColumn"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&column}; - 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("sizeHintForColumn", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTreeWidget::sizeHintForColumn(column); -} -int PythonQtShell_QTreeWidget::sizeHintForRow(int row) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeHintForRow"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&row}; - 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("sizeHintForRow", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTreeWidget::sizeHintForRow(row); -} -void PythonQtShell_QTreeWidget::startDrag(Qt::DropActions supportedActions) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "startDrag"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "Qt::DropActions"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&supportedActions}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeWidget::startDrag(supportedActions); -} -Qt::DropActions PythonQtShell_QTreeWidget::supportedDropActions() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "supportedDropActions"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"Qt::DropActions"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); - } else { - returnValue = *((Qt::DropActions*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTreeWidget::supportedDropActions(); -} -void PythonQtShell_QTreeWidget::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QTreeWidget::tabletEvent(arg__1); -} -void PythonQtShell_QTreeWidget::timerEvent(QTimerEvent* event) -{ -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*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeWidget::timerEvent(event); -} -void PythonQtShell_QTreeWidget::updateEditorData() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateEditorData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeWidget::updateEditorData(); -} -void PythonQtShell_QTreeWidget::updateEditorGeometries() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateEditorGeometries"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeWidget::updateEditorGeometries(); -} -void PythonQtShell_QTreeWidget::updateGeometries() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateGeometries"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeWidget::updateGeometries(); -} -int PythonQtShell_QTreeWidget::verticalOffset() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "verticalOffset"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTreeWidget::verticalOffset(); -} -void PythonQtShell_QTreeWidget::verticalScrollbarAction(int action) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "verticalScrollbarAction"); - 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*)&action}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeWidget::verticalScrollbarAction(action); -} -void PythonQtShell_QTreeWidget::verticalScrollbarValueChanged(int value) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "verticalScrollbarValueChanged"); - 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*)&value}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeWidget::verticalScrollbarValueChanged(value); -} -QStyleOptionViewItem PythonQtShell_QTreeWidget::viewOptions() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "viewOptions"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QStyleOptionViewItem"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStyleOptionViewItem returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); - } else { - returnValue = *((QStyleOptionViewItem*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTreeWidget::viewOptions(); -} -bool PythonQtShell_QTreeWidget::viewportEvent(QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "viewportEvent"); - 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("viewportEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTreeWidget::viewportEvent(event); -} -QRect PythonQtShell_QTreeWidget::visualRect(const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "visualRect"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRect 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) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTreeWidget::visualRect(index); -} -QRegion PythonQtShell_QTreeWidget::visualRegionForSelection(const QItemSelection& selection) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "visualRegionForSelection"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRegion returnValue; - void* args[2] = {NULL, (void*)&selection}; - 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("visualRegionForSelection", methodInfo, result); - } else { - returnValue = *((QRegion*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTreeWidget::visualRegionForSelection(selection); -} -void PythonQtShell_QTreeWidget::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeWidget::wheelEvent(arg__1); -} -QTreeWidget* PythonQtWrapper_QTreeWidget::new_QTreeWidget(QWidget* parent) -{ -return new PythonQtShell_QTreeWidget(parent); } - -QStringList PythonQtWrapper_QTreeWidget::mimeTypes(QTreeWidget* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->promoted_mimeTypes()); -} - -QTreeWidgetItem* PythonQtWrapper_QTreeWidget::itemAbove(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item) const -{ - return ( theWrappedObject->itemAbove(item)); -} - -int PythonQtWrapper_QTreeWidget::indexOfTopLevelItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item) const -{ - return ( theWrappedObject->indexOfTopLevelItem(item)); -} - -void PythonQtWrapper_QTreeWidget::setFirstItemColumnSpanned(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item, bool span) -{ - ( theWrappedObject->setFirstItemColumnSpanned(item, span)); -} - -void PythonQtWrapper_QTreeWidget::setHeaderLabels(QTreeWidget* theWrappedObject, const QStringList& labels) -{ - ( theWrappedObject->setHeaderLabels(labels)); -} - -int PythonQtWrapper_QTreeWidget::sortColumn(QTreeWidget* theWrappedObject) const -{ - return ( theWrappedObject->sortColumn()); -} - -QList PythonQtWrapper_QTreeWidget::selectedItems(QTreeWidget* theWrappedObject) const -{ - return ( theWrappedObject->selectedItems()); -} - -int PythonQtWrapper_QTreeWidget::columnCount(QTreeWidget* theWrappedObject) const -{ - return ( theWrappedObject->columnCount()); -} - -void PythonQtWrapper_QTreeWidget::addTopLevelItems(QTreeWidget* theWrappedObject, const QList& items) -{ - ( theWrappedObject->addTopLevelItems(items)); -} - -int PythonQtWrapper_QTreeWidget::currentColumn(QTreeWidget* theWrappedObject) const -{ - return ( theWrappedObject->currentColumn()); -} - -QTreeWidgetItem* PythonQtWrapper_QTreeWidget::invisibleRootItem(QTreeWidget* theWrappedObject) const -{ - return ( theWrappedObject->invisibleRootItem()); -} - -QTreeWidgetItem* PythonQtWrapper_QTreeWidget::takeTopLevelItem(QTreeWidget* theWrappedObject, int index) -{ - return ( theWrappedObject->takeTopLevelItem(index)); -} - -bool PythonQtWrapper_QTreeWidget::dropMimeData(QTreeWidget* theWrappedObject, QTreeWidgetItem* parent, int index, const QMimeData* data, Qt::DropAction action) -{ - return ( ((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->promoted_dropMimeData(parent, index, data, action)); -} - -Qt::DropActions PythonQtWrapper_QTreeWidget::supportedDropActions(QTreeWidget* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->promoted_supportedDropActions()); -} - -bool PythonQtWrapper_QTreeWidget::isFirstItemColumnSpanned(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item) const -{ - return ( theWrappedObject->isFirstItemColumnSpanned(item)); -} - -QTreeWidgetItem* PythonQtWrapper_QTreeWidget::itemAt(QTreeWidget* theWrappedObject, int x, int y) const -{ - return ( theWrappedObject->itemAt(x, y)); -} - -QTreeWidgetItem* PythonQtWrapper_QTreeWidget::currentItem(QTreeWidget* theWrappedObject) const -{ - return ( theWrappedObject->currentItem()); -} - -void PythonQtWrapper_QTreeWidget::setCurrentItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) -{ - ( theWrappedObject->setCurrentItem(item, column)); -} - -void PythonQtWrapper_QTreeWidget::sortItems(QTreeWidget* theWrappedObject, int column, Qt::SortOrder order) -{ - ( theWrappedObject->sortItems(column, order)); -} - -void PythonQtWrapper_QTreeWidget::dropEvent(QTreeWidget* theWrappedObject, QDropEvent* event) -{ - ( ((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->promoted_dropEvent(event)); -} - -void PythonQtWrapper_QTreeWidget::closePersistentEditor(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) -{ - ( theWrappedObject->closePersistentEditor(item, column)); -} - -void PythonQtWrapper_QTreeWidget::openPersistentEditor(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) -{ - ( theWrappedObject->openPersistentEditor(item, column)); -} - -void PythonQtWrapper_QTreeWidget::setCurrentItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item) -{ - ( theWrappedObject->setCurrentItem(item)); -} - -QTreeWidgetItem* PythonQtWrapper_QTreeWidget::headerItem(QTreeWidget* theWrappedObject) const -{ - return ( theWrappedObject->headerItem()); -} - -void PythonQtWrapper_QTreeWidget::setHeaderLabel(QTreeWidget* theWrappedObject, const QString& label) -{ - ( theWrappedObject->setHeaderLabel(label)); -} - -void PythonQtWrapper_QTreeWidget::setItemWidget(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column, QWidget* widget) -{ - ( theWrappedObject->setItemWidget(item, column, widget)); -} - -void PythonQtWrapper_QTreeWidget::insertTopLevelItem(QTreeWidget* theWrappedObject, int index, QTreeWidgetItem* item) -{ - ( theWrappedObject->insertTopLevelItem(index, item)); -} - -void PythonQtWrapper_QTreeWidget::insertTopLevelItems(QTreeWidget* theWrappedObject, int index, const QList& items) -{ - ( theWrappedObject->insertTopLevelItems(index, items)); -} - -void PythonQtWrapper_QTreeWidget::setColumnCount(QTreeWidget* theWrappedObject, int columns) -{ - ( theWrappedObject->setColumnCount(columns)); -} - -QTreeWidgetItem* PythonQtWrapper_QTreeWidget::itemAt(QTreeWidget* theWrappedObject, const QPoint& p) const -{ - return ( theWrappedObject->itemAt(p)); -} - -void PythonQtWrapper_QTreeWidget::removeItemWidget(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) -{ - ( theWrappedObject->removeItemWidget(item, column)); -} - -void PythonQtWrapper_QTreeWidget::editItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) -{ - ( theWrappedObject->editItem(item, column)); -} - -void PythonQtWrapper_QTreeWidget::setCurrentItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column, QItemSelectionModel::SelectionFlags command) -{ - ( theWrappedObject->setCurrentItem(item, column, command)); -} - -bool PythonQtWrapper_QTreeWidget::event(QTreeWidget* theWrappedObject, QEvent* e) -{ - return ( ((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->promoted_event(e)); -} - -void PythonQtWrapper_QTreeWidget::addTopLevelItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item) -{ - ( theWrappedObject->addTopLevelItem(item)); -} - -int PythonQtWrapper_QTreeWidget::topLevelItemCount(QTreeWidget* theWrappedObject) const -{ - return ( theWrappedObject->topLevelItemCount()); -} - -QTreeWidgetItem* PythonQtWrapper_QTreeWidget::itemBelow(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item) const -{ - return ( theWrappedObject->itemBelow(item)); -} - -QWidget* PythonQtWrapper_QTreeWidget::itemWidget(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) const -{ - return ( theWrappedObject->itemWidget(item, column)); -} - -QTreeWidgetItem* PythonQtWrapper_QTreeWidget::topLevelItem(QTreeWidget* theWrappedObject, int index) const -{ - return ( theWrappedObject->topLevelItem(index)); -} - -QList PythonQtWrapper_QTreeWidget::findItems(QTreeWidget* theWrappedObject, const QString& text, Qt::MatchFlags flags, int column) const -{ - return ( theWrappedObject->findItems(text, flags, column)); -} - -void PythonQtWrapper_QTreeWidget::setHeaderItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item) -{ - ( theWrappedObject->setHeaderItem(item)); -} - -QRect PythonQtWrapper_QTreeWidget::visualItemRect(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item) const -{ - return ( theWrappedObject->visualItemRect(item)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTreeWidget.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTreeWidget.h deleted file mode 100644 index 38928b9..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTreeWidget.h +++ /dev/null @@ -1,195 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QTREEWIDGET_H -#define PYTHONQTWRAPPER_QTREEWIDGET_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QTreeWidget : public QTreeWidget -{ -public: - PythonQtShell_QTreeWidget(QWidget* parent = 0):QTreeWidget(parent),_wrapper(NULL) {}; - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void commitData(QWidget* editor); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void currentChanged(const QModelIndex& current, const QModelIndex& previous); -virtual void customEvent(QEvent* arg__1); -virtual void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight); -virtual int devType() const; -virtual void doItemsLayout(); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void drawBranches(QPainter* painter, const QRect& rect, const QModelIndex& index) const; -virtual void drawRow(QPainter* painter, const QStyleOptionViewItem& options, const QModelIndex& index) const; -virtual void dropEvent(QDropEvent* event); -virtual bool dropMimeData(QTreeWidgetItem* parent, int index, const QMimeData* data, Qt::DropAction action); -virtual bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event); -virtual void editorDestroyed(QObject* editor); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual int horizontalOffset() const; -virtual void horizontalScrollbarAction(int action); -virtual void horizontalScrollbarValueChanged(int value); -virtual QModelIndex indexAt(const QPoint& p) const; -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual bool isIndexHidden(const QModelIndex& index) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void keyboardSearch(const QString& search); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QMimeData* mimeData(const QList items) const; -virtual QStringList mimeTypes() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* arg__1); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual void reset(); -virtual void resizeEvent(QResizeEvent* event); -virtual void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end); -virtual void rowsInserted(const QModelIndex& parent, int start, int end); -virtual void scrollContentsBy(int dx, int dy); -virtual void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint); -virtual void selectAll(); -virtual QList selectedIndexes() const; -virtual void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected); -virtual QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event) const; -virtual void setRootIndex(const QModelIndex& index); -virtual void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command); -virtual void setSelectionModel(QItemSelectionModel* selectionModel); -virtual void showEvent(QShowEvent* arg__1); -virtual int sizeHintForColumn(int column) const; -virtual int sizeHintForRow(int row) const; -virtual void startDrag(Qt::DropActions supportedActions); -virtual Qt::DropActions supportedDropActions() const; -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* event); -virtual void updateEditorData(); -virtual void updateEditorGeometries(); -virtual void updateGeometries(); -virtual int verticalOffset() const; -virtual void verticalScrollbarAction(int action); -virtual void verticalScrollbarValueChanged(int value); -virtual QStyleOptionViewItem viewOptions() const; -virtual bool viewportEvent(QEvent* event); -virtual QRect visualRect(const QModelIndex& index) const; -virtual QRegion visualRegionForSelection(const QItemSelection& selection) const; -virtual void wheelEvent(QWheelEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QTreeWidget : public QTreeWidget -{ public: -inline QStringList promoted_mimeTypes() const { return QTreeWidget::mimeTypes(); } -inline bool promoted_dropMimeData(QTreeWidgetItem* parent, int index, const QMimeData* data, Qt::DropAction action) { return QTreeWidget::dropMimeData(parent, index, data, action); } -inline Qt::DropActions promoted_supportedDropActions() const { return QTreeWidget::supportedDropActions(); } -inline void promoted_dropEvent(QDropEvent* event) { QTreeWidget::dropEvent(event); } -inline bool promoted_event(QEvent* e) { return QTreeWidget::event(e); } -}; - -class PythonQtWrapper_QTreeWidget : public QObject -{ Q_OBJECT -public: -public slots: -QTreeWidget* new_QTreeWidget(QWidget* parent = 0); -void delete_QTreeWidget(QTreeWidget* obj) { delete obj; } - QStringList mimeTypes(QTreeWidget* theWrappedObject) const; - QTreeWidgetItem* itemAbove(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item) const; - int indexOfTopLevelItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item) const; - void setFirstItemColumnSpanned(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item, bool span); - void setHeaderLabels(QTreeWidget* theWrappedObject, const QStringList& labels); - int sortColumn(QTreeWidget* theWrappedObject) const; - QList selectedItems(QTreeWidget* theWrappedObject) const; - int columnCount(QTreeWidget* theWrappedObject) const; - void addTopLevelItems(QTreeWidget* theWrappedObject, const QList& items); - int currentColumn(QTreeWidget* theWrappedObject) const; - QTreeWidgetItem* invisibleRootItem(QTreeWidget* theWrappedObject) const; - QTreeWidgetItem* takeTopLevelItem(QTreeWidget* theWrappedObject, int index); - bool dropMimeData(QTreeWidget* theWrappedObject, QTreeWidgetItem* parent, int index, const QMimeData* data, Qt::DropAction action); - Qt::DropActions supportedDropActions(QTreeWidget* theWrappedObject) const; - bool isFirstItemColumnSpanned(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item) const; - QTreeWidgetItem* itemAt(QTreeWidget* theWrappedObject, int x, int y) const; - QTreeWidgetItem* currentItem(QTreeWidget* theWrappedObject) const; - void setCurrentItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column); - void sortItems(QTreeWidget* theWrappedObject, int column, Qt::SortOrder order); - void dropEvent(QTreeWidget* theWrappedObject, QDropEvent* event); - void closePersistentEditor(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column = 0); - void openPersistentEditor(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column = 0); - void setCurrentItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item); - QTreeWidgetItem* headerItem(QTreeWidget* theWrappedObject) const; - void setHeaderLabel(QTreeWidget* theWrappedObject, const QString& label); - void setItemWidget(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column, QWidget* widget); - void insertTopLevelItem(QTreeWidget* theWrappedObject, int index, QTreeWidgetItem* item); - void insertTopLevelItems(QTreeWidget* theWrappedObject, int index, const QList& items); - void setColumnCount(QTreeWidget* theWrappedObject, int columns); - QTreeWidgetItem* itemAt(QTreeWidget* theWrappedObject, const QPoint& p) const; - void removeItemWidget(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column); - void editItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column = 0); - void setCurrentItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column, QItemSelectionModel::SelectionFlags command); - bool event(QTreeWidget* theWrappedObject, QEvent* e); - void addTopLevelItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item); - int topLevelItemCount(QTreeWidget* theWrappedObject) const; - QTreeWidgetItem* itemBelow(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item) const; - QWidget* itemWidget(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) const; - QTreeWidgetItem* topLevelItem(QTreeWidget* theWrappedObject, int index) const; - QList findItems(QTreeWidget* theWrappedObject, const QString& text, Qt::MatchFlags flags, int column = 0) const; - void setHeaderItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item); - QRect visualItemRect(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item) const; -}; - -#endif // PYTHONQTWRAPPER_QTREEWIDGET_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTreeWidgetItem.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTreeWidgetItem.cpp deleted file mode 100644 index 14ee790..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTreeWidgetItem.cpp +++ /dev/null @@ -1,462 +0,0 @@ -#include "PythonQtWrapper_QTreeWidgetItem.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QTreeWidgetItem* PythonQtShell_QTreeWidgetItem::clone() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "clone"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QTreeWidgetItem*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QTreeWidgetItem* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("clone", methodInfo, result); - } else { - returnValue = *((QTreeWidgetItem**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTreeWidgetItem::clone(); -} -QVariant PythonQtShell_QTreeWidgetItem::data(int column, int role) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "data"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&column, (void*)&role}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTreeWidgetItem::data(column, role); -} -bool PythonQtShell_QTreeWidgetItem::operator_less(const QTreeWidgetItem& other) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "operator_less"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QTreeWidgetItem&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&other}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("operator_less", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTreeWidgetItem::operator<(other); -} -void PythonQtShell_QTreeWidgetItem::read(QDataStream& in) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "read"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDataStream&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&in}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeWidgetItem::read(in); -} -void PythonQtShell_QTreeWidgetItem::setData(int column, int role, const QVariant& value) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "int" , "int" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&column, (void*)&role, (void*)&value}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeWidgetItem::setData(column, role, value); -} -void PythonQtShell_QTreeWidgetItem::write(QDataStream& out) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "write"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDataStream&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&out}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTreeWidgetItem::write(out); -} -QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(QTreeWidget* view, QTreeWidgetItem* after, int type) -{ -return new PythonQtShell_QTreeWidgetItem(view, after, type); } - -QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(QTreeWidget* view, const QStringList& strings, int type) -{ -return new PythonQtShell_QTreeWidgetItem(view, strings, type); } - -QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(QTreeWidget* view, int type) -{ -return new PythonQtShell_QTreeWidgetItem(view, type); } - -QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(QTreeWidgetItem* parent, QTreeWidgetItem* after, int type) -{ -return new PythonQtShell_QTreeWidgetItem(parent, after, type); } - -QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(QTreeWidgetItem* parent, const QStringList& strings, int type) -{ -return new PythonQtShell_QTreeWidgetItem(parent, strings, type); } - -QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(QTreeWidgetItem* parent, int type) -{ -return new PythonQtShell_QTreeWidgetItem(parent, type); } - -QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(const QStringList& strings, int type) -{ -return new PythonQtShell_QTreeWidgetItem(strings, type); } - -QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(int type) -{ -return new PythonQtShell_QTreeWidgetItem(type); } - -void PythonQtWrapper_QTreeWidgetItem::setDisabled(QTreeWidgetItem* theWrappedObject, bool disabled) -{ - ( theWrappedObject->setDisabled(disabled)); -} - -void PythonQtWrapper_QTreeWidgetItem::insertChild(QTreeWidgetItem* theWrappedObject, int index, QTreeWidgetItem* child) -{ - ( theWrappedObject->insertChild(index, child)); -} - -QBrush PythonQtWrapper_QTreeWidgetItem::background(QTreeWidgetItem* theWrappedObject, int column) const -{ - return ( theWrappedObject->background(column)); -} - -void PythonQtWrapper_QTreeWidgetItem::readFrom(QTreeWidgetItem* theWrappedObject, QDataStream& in) -{ - in >> (*theWrappedObject); -} - -bool PythonQtWrapper_QTreeWidgetItem::isFirstColumnSpanned(QTreeWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->isFirstColumnSpanned()); -} - -QString PythonQtWrapper_QTreeWidgetItem::text(QTreeWidgetItem* theWrappedObject, int column) const -{ - return ( theWrappedObject->text(column)); -} - -void PythonQtWrapper_QTreeWidgetItem::setWhatsThis(QTreeWidgetItem* theWrappedObject, int column, const QString& whatsThis) -{ - ( theWrappedObject->setWhatsThis(column, whatsThis)); -} - -bool PythonQtWrapper_QTreeWidgetItem::isSelected(QTreeWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->isSelected()); -} - -void PythonQtWrapper_QTreeWidgetItem::setData(QTreeWidgetItem* theWrappedObject, int column, int role, const QVariant& value) -{ - ( ((PythonQtPublicPromoter_QTreeWidgetItem*)theWrappedObject)->promoted_setData(column, role, value)); -} - -int PythonQtWrapper_QTreeWidgetItem::textAlignment(QTreeWidgetItem* theWrappedObject, int column) const -{ - return ( theWrappedObject->textAlignment(column)); -} - -QIcon PythonQtWrapper_QTreeWidgetItem::icon(QTreeWidgetItem* theWrappedObject, int column) const -{ - return ( theWrappedObject->icon(column)); -} - -void PythonQtWrapper_QTreeWidgetItem::setExpanded(QTreeWidgetItem* theWrappedObject, bool expand) -{ - ( theWrappedObject->setExpanded(expand)); -} - -void PythonQtWrapper_QTreeWidgetItem::setFirstColumnSpanned(QTreeWidgetItem* theWrappedObject, bool span) -{ - ( theWrappedObject->setFirstColumnSpanned(span)); -} - -void PythonQtWrapper_QTreeWidgetItem::addChild(QTreeWidgetItem* theWrappedObject, QTreeWidgetItem* child) -{ - ( theWrappedObject->addChild(child)); -} - -void PythonQtWrapper_QTreeWidgetItem::writeTo(QTreeWidgetItem* theWrappedObject, QDataStream& out) -{ - out << (*theWrappedObject); -} - -void PythonQtWrapper_QTreeWidgetItem::sortChildren(QTreeWidgetItem* theWrappedObject, int column, Qt::SortOrder order) -{ - ( theWrappedObject->sortChildren(column, order)); -} - -void PythonQtWrapper_QTreeWidgetItem::setIcon(QTreeWidgetItem* theWrappedObject, int column, const QIcon& icon) -{ - ( theWrappedObject->setIcon(column, icon)); -} - -QFont PythonQtWrapper_QTreeWidgetItem::font(QTreeWidgetItem* theWrappedObject, int column) const -{ - return ( theWrappedObject->font(column)); -} - -void PythonQtWrapper_QTreeWidgetItem::insertChildren(QTreeWidgetItem* theWrappedObject, int index, const QList& children) -{ - ( theWrappedObject->insertChildren(index, children)); -} - -QSize PythonQtWrapper_QTreeWidgetItem::sizeHint(QTreeWidgetItem* theWrappedObject, int column) const -{ - return ( theWrappedObject->sizeHint(column)); -} - -QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::child(QTreeWidgetItem* theWrappedObject, int index) const -{ - return ( theWrappedObject->child(index)); -} - -void PythonQtWrapper_QTreeWidgetItem::setBackground(QTreeWidgetItem* theWrappedObject, int column, const QBrush& brush) -{ - ( theWrappedObject->setBackground(column, brush)); -} - -QList PythonQtWrapper_QTreeWidgetItem::takeChildren(QTreeWidgetItem* theWrappedObject) -{ - return ( theWrappedObject->takeChildren()); -} - -void PythonQtWrapper_QTreeWidgetItem::setToolTip(QTreeWidgetItem* theWrappedObject, int column, const QString& toolTip) -{ - ( theWrappedObject->setToolTip(column, toolTip)); -} - -void PythonQtWrapper_QTreeWidgetItem::addChildren(QTreeWidgetItem* theWrappedObject, const QList& children) -{ - ( theWrappedObject->addChildren(children)); -} - -void PythonQtWrapper_QTreeWidgetItem::setForeground(QTreeWidgetItem* theWrappedObject, int column, const QBrush& brush) -{ - ( theWrappedObject->setForeground(column, brush)); -} - -int PythonQtWrapper_QTreeWidgetItem::indexOfChild(QTreeWidgetItem* theWrappedObject, QTreeWidgetItem* child) const -{ - return ( theWrappedObject->indexOfChild(child)); -} - -int PythonQtWrapper_QTreeWidgetItem::childCount(QTreeWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->childCount()); -} - -void PythonQtWrapper_QTreeWidgetItem::setHidden(QTreeWidgetItem* theWrappedObject, bool hide) -{ - ( theWrappedObject->setHidden(hide)); -} - -QString PythonQtWrapper_QTreeWidgetItem::toolTip(QTreeWidgetItem* theWrappedObject, int column) const -{ - return ( theWrappedObject->toolTip(column)); -} - -void PythonQtWrapper_QTreeWidgetItem::setFont(QTreeWidgetItem* theWrappedObject, int column, const QFont& font) -{ - ( theWrappedObject->setFont(column, font)); -} - -QTreeWidget* PythonQtWrapper_QTreeWidgetItem::treeWidget(QTreeWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->treeWidget()); -} - -bool PythonQtWrapper_QTreeWidgetItem::isDisabled(QTreeWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->isDisabled()); -} - -void PythonQtWrapper_QTreeWidgetItem::setTextAlignment(QTreeWidgetItem* theWrappedObject, int column, int alignment) -{ - ( theWrappedObject->setTextAlignment(column, alignment)); -} - -Qt::CheckState PythonQtWrapper_QTreeWidgetItem::checkState(QTreeWidgetItem* theWrappedObject, int column) const -{ - return ( theWrappedObject->checkState(column)); -} - -QTreeWidgetItem::ChildIndicatorPolicy PythonQtWrapper_QTreeWidgetItem::childIndicatorPolicy(QTreeWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->childIndicatorPolicy()); -} - -Qt::ItemFlags PythonQtWrapper_QTreeWidgetItem::flags(QTreeWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->flags()); -} - -QVariant PythonQtWrapper_QTreeWidgetItem::data(QTreeWidgetItem* theWrappedObject, int column, int role) const -{ - return ( ((PythonQtPublicPromoter_QTreeWidgetItem*)theWrappedObject)->promoted_data(column, role)); -} - -void PythonQtWrapper_QTreeWidgetItem::setFlags(QTreeWidgetItem* theWrappedObject, Qt::ItemFlags flags) -{ - ( theWrappedObject->setFlags(flags)); -} - -int PythonQtWrapper_QTreeWidgetItem::type(QTreeWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->type()); -} - -int PythonQtWrapper_QTreeWidgetItem::columnCount(QTreeWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->columnCount()); -} - -void PythonQtWrapper_QTreeWidgetItem::setSelected(QTreeWidgetItem* theWrappedObject, bool select) -{ - ( theWrappedObject->setSelected(select)); -} - -QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::clone(QTreeWidgetItem* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QTreeWidgetItem*)theWrappedObject)->promoted_clone()); -} - -void PythonQtWrapper_QTreeWidgetItem::setCheckState(QTreeWidgetItem* theWrappedObject, int column, Qt::CheckState state) -{ - ( theWrappedObject->setCheckState(column, state)); -} - -void PythonQtWrapper_QTreeWidgetItem::removeChild(QTreeWidgetItem* theWrappedObject, QTreeWidgetItem* child) -{ - ( theWrappedObject->removeChild(child)); -} - -QBrush PythonQtWrapper_QTreeWidgetItem::foreground(QTreeWidgetItem* theWrappedObject, int column) const -{ - return ( theWrappedObject->foreground(column)); -} - -void PythonQtWrapper_QTreeWidgetItem::setText(QTreeWidgetItem* theWrappedObject, int column, const QString& text) -{ - ( theWrappedObject->setText(column, text)); -} - -bool PythonQtWrapper_QTreeWidgetItem::isHidden(QTreeWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->isHidden()); -} - -QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::takeChild(QTreeWidgetItem* theWrappedObject, int index) -{ - return ( theWrappedObject->takeChild(index)); -} - -void PythonQtWrapper_QTreeWidgetItem::setChildIndicatorPolicy(QTreeWidgetItem* theWrappedObject, QTreeWidgetItem::ChildIndicatorPolicy policy) -{ - ( theWrappedObject->setChildIndicatorPolicy(policy)); -} - -QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::parent(QTreeWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->parent()); -} - -bool PythonQtWrapper_QTreeWidgetItem::isExpanded(QTreeWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->isExpanded()); -} - -void PythonQtWrapper_QTreeWidgetItem::setSizeHint(QTreeWidgetItem* theWrappedObject, int column, const QSize& size) -{ - ( theWrappedObject->setSizeHint(column, size)); -} - -void PythonQtWrapper_QTreeWidgetItem::setStatusTip(QTreeWidgetItem* theWrappedObject, int column, const QString& statusTip) -{ - ( theWrappedObject->setStatusTip(column, statusTip)); -} - -QString PythonQtWrapper_QTreeWidgetItem::statusTip(QTreeWidgetItem* theWrappedObject, int column) const -{ - return ( theWrappedObject->statusTip(column)); -} - -QString PythonQtWrapper_QTreeWidgetItem::whatsThis(QTreeWidgetItem* theWrappedObject, int column) const -{ - return ( theWrappedObject->whatsThis(column)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTreeWidgetItem.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTreeWidgetItem.h deleted file mode 100644 index 57d2922..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTreeWidgetItem.h +++ /dev/null @@ -1,125 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QTREEWIDGETITEM_H -#define PYTHONQTWRAPPER_QTREEWIDGETITEM_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QTreeWidgetItem : public QTreeWidgetItem -{ -public: - PythonQtShell_QTreeWidgetItem(QTreeWidget* view, QTreeWidgetItem* after, int type = Type):QTreeWidgetItem(view, after, type),_wrapper(NULL) {}; - PythonQtShell_QTreeWidgetItem(QTreeWidget* view, const QStringList& strings, int type = Type):QTreeWidgetItem(view, strings, type),_wrapper(NULL) {}; - PythonQtShell_QTreeWidgetItem(QTreeWidget* view, int type = Type):QTreeWidgetItem(view, type),_wrapper(NULL) {}; - PythonQtShell_QTreeWidgetItem(QTreeWidgetItem* parent, QTreeWidgetItem* after, int type = Type):QTreeWidgetItem(parent, after, type),_wrapper(NULL) {}; - PythonQtShell_QTreeWidgetItem(QTreeWidgetItem* parent, const QStringList& strings, int type = Type):QTreeWidgetItem(parent, strings, type),_wrapper(NULL) {}; - PythonQtShell_QTreeWidgetItem(QTreeWidgetItem* parent, int type = Type):QTreeWidgetItem(parent, type),_wrapper(NULL) {}; - PythonQtShell_QTreeWidgetItem(const QStringList& strings, int type = Type):QTreeWidgetItem(strings, type),_wrapper(NULL) {}; - PythonQtShell_QTreeWidgetItem(int type = Type):QTreeWidgetItem(type),_wrapper(NULL) {}; - -virtual QTreeWidgetItem* clone() const; -virtual QVariant data(int column, int role) const; -virtual bool operator_less(const QTreeWidgetItem& other) const; -virtual void read(QDataStream& in); -virtual void setData(int column, int role, const QVariant& value); -virtual void write(QDataStream& out) const; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QTreeWidgetItem : public QTreeWidgetItem -{ public: -inline void promoted_setData(int column, int role, const QVariant& value) { QTreeWidgetItem::setData(column, role, value); } -inline QVariant promoted_data(int column, int role) const { return QTreeWidgetItem::data(column, role); } -inline QTreeWidgetItem* promoted_clone() const { return QTreeWidgetItem::clone(); } -}; - -class PythonQtWrapper_QTreeWidgetItem : public QObject -{ Q_OBJECT -public: -Q_ENUMS(ItemType ChildIndicatorPolicy ) -enum ItemType{ - Type = QTreeWidgetItem::Type, UserType = QTreeWidgetItem::UserType}; -enum ChildIndicatorPolicy{ - ShowIndicator = QTreeWidgetItem::ShowIndicator, DontShowIndicator = QTreeWidgetItem::DontShowIndicator, DontShowIndicatorWhenChildless = QTreeWidgetItem::DontShowIndicatorWhenChildless}; -public slots: -QTreeWidgetItem* new_QTreeWidgetItem(QTreeWidget* view, QTreeWidgetItem* after, int type = Type); -QTreeWidgetItem* new_QTreeWidgetItem(QTreeWidget* view, const QStringList& strings, int type = Type); -QTreeWidgetItem* new_QTreeWidgetItem(QTreeWidget* view, int type = Type); -QTreeWidgetItem* new_QTreeWidgetItem(QTreeWidgetItem* parent, QTreeWidgetItem* after, int type = Type); -QTreeWidgetItem* new_QTreeWidgetItem(QTreeWidgetItem* parent, const QStringList& strings, int type = Type); -QTreeWidgetItem* new_QTreeWidgetItem(QTreeWidgetItem* parent, int type = Type); -QTreeWidgetItem* new_QTreeWidgetItem(const QStringList& strings, int type = Type); -QTreeWidgetItem* new_QTreeWidgetItem(int type = Type); -void delete_QTreeWidgetItem(QTreeWidgetItem* obj) { delete obj; } -bool hasOwner(QTreeWidgetItem* theWrappedObject) { return theWrappedObject->treeWidget()!=NULL || theWrappedObject->parent()!=NULL; } - void setDisabled(QTreeWidgetItem* theWrappedObject, bool disabled); - void insertChild(QTreeWidgetItem* theWrappedObject, int index, QTreeWidgetItem* child); - QBrush background(QTreeWidgetItem* theWrappedObject, int column) const; - void readFrom(QTreeWidgetItem* theWrappedObject, QDataStream& in); - bool isFirstColumnSpanned(QTreeWidgetItem* theWrappedObject) const; - QString text(QTreeWidgetItem* theWrappedObject, int column) const; - void setWhatsThis(QTreeWidgetItem* theWrappedObject, int column, const QString& whatsThis); - bool isSelected(QTreeWidgetItem* theWrappedObject) const; - void setData(QTreeWidgetItem* theWrappedObject, int column, int role, const QVariant& value); - int textAlignment(QTreeWidgetItem* theWrappedObject, int column) const; - QIcon icon(QTreeWidgetItem* theWrappedObject, int column) const; - void setExpanded(QTreeWidgetItem* theWrappedObject, bool expand); - void setFirstColumnSpanned(QTreeWidgetItem* theWrappedObject, bool span); - void addChild(QTreeWidgetItem* theWrappedObject, QTreeWidgetItem* child); - void writeTo(QTreeWidgetItem* theWrappedObject, QDataStream& out); - void sortChildren(QTreeWidgetItem* theWrappedObject, int column, Qt::SortOrder order); - void setIcon(QTreeWidgetItem* theWrappedObject, int column, const QIcon& icon); - QFont font(QTreeWidgetItem* theWrappedObject, int column) const; - void insertChildren(QTreeWidgetItem* theWrappedObject, int index, const QList& children); - QSize sizeHint(QTreeWidgetItem* theWrappedObject, int column) const; - QTreeWidgetItem* child(QTreeWidgetItem* theWrappedObject, int index) const; - void setBackground(QTreeWidgetItem* theWrappedObject, int column, const QBrush& brush); - QList takeChildren(QTreeWidgetItem* theWrappedObject); - void setToolTip(QTreeWidgetItem* theWrappedObject, int column, const QString& toolTip); - void addChildren(QTreeWidgetItem* theWrappedObject, const QList& children); - void setForeground(QTreeWidgetItem* theWrappedObject, int column, const QBrush& brush); - int indexOfChild(QTreeWidgetItem* theWrappedObject, QTreeWidgetItem* child) const; - int childCount(QTreeWidgetItem* theWrappedObject) const; - void setHidden(QTreeWidgetItem* theWrappedObject, bool hide); - QString toolTip(QTreeWidgetItem* theWrappedObject, int column) const; - void setFont(QTreeWidgetItem* theWrappedObject, int column, const QFont& font); - QTreeWidget* treeWidget(QTreeWidgetItem* theWrappedObject) const; - bool isDisabled(QTreeWidgetItem* theWrappedObject) const; - void setTextAlignment(QTreeWidgetItem* theWrappedObject, int column, int alignment); - Qt::CheckState checkState(QTreeWidgetItem* theWrappedObject, int column) const; - QTreeWidgetItem::ChildIndicatorPolicy childIndicatorPolicy(QTreeWidgetItem* theWrappedObject) const; - Qt::ItemFlags flags(QTreeWidgetItem* theWrappedObject) const; - QVariant data(QTreeWidgetItem* theWrappedObject, int column, int role) const; - void setFlags(QTreeWidgetItem* theWrappedObject, Qt::ItemFlags flags); - int type(QTreeWidgetItem* theWrappedObject) const; - int columnCount(QTreeWidgetItem* theWrappedObject) const; - void setSelected(QTreeWidgetItem* theWrappedObject, bool select); - QTreeWidgetItem* clone(QTreeWidgetItem* theWrappedObject) const; - void setCheckState(QTreeWidgetItem* theWrappedObject, int column, Qt::CheckState state); - void removeChild(QTreeWidgetItem* theWrappedObject, QTreeWidgetItem* child); - QBrush foreground(QTreeWidgetItem* theWrappedObject, int column) const; - void setText(QTreeWidgetItem* theWrappedObject, int column, const QString& text); - bool isHidden(QTreeWidgetItem* theWrappedObject) const; - QTreeWidgetItem* takeChild(QTreeWidgetItem* theWrappedObject, int index); - void setChildIndicatorPolicy(QTreeWidgetItem* theWrappedObject, QTreeWidgetItem::ChildIndicatorPolicy policy); - QTreeWidgetItem* parent(QTreeWidgetItem* theWrappedObject) const; - bool isExpanded(QTreeWidgetItem* theWrappedObject) const; - void setSizeHint(QTreeWidgetItem* theWrappedObject, int column, const QSize& size); - void setStatusTip(QTreeWidgetItem* theWrappedObject, int column, const QString& statusTip); - QString statusTip(QTreeWidgetItem* theWrappedObject, int column) const; - QString whatsThis(QTreeWidgetItem* theWrappedObject, int column) const; -}; - -#endif // PYTHONQTWRAPPER_QTREEWIDGETITEM_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QUndoCommand.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QUndoCommand.cpp deleted file mode 100644 index c2a969d..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QUndoCommand.cpp +++ /dev/null @@ -1,146 +0,0 @@ -#include "PythonQtWrapper_QUndoCommand.h" - -#include -#include -#include -#include -#include - -int PythonQtShell_QUndoCommand::id() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "id"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("id", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QUndoCommand::id(); -} -bool PythonQtShell_QUndoCommand::mergeWith(const QUndoCommand* other) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mergeWith"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QUndoCommand*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&other}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mergeWith", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QUndoCommand::mergeWith(other); -} -void PythonQtShell_QUndoCommand::redo() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "redo"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QUndoCommand::redo(); -} -void PythonQtShell_QUndoCommand::undo() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "undo"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QUndoCommand::undo(); -} -QUndoCommand* PythonQtWrapper_QUndoCommand::new_QUndoCommand(QUndoCommand* parent) -{ -return new PythonQtShell_QUndoCommand(parent); } - -QUndoCommand* PythonQtWrapper_QUndoCommand::new_QUndoCommand(const QString& text, QUndoCommand* parent) -{ -return new PythonQtShell_QUndoCommand(text, parent); } - -void PythonQtWrapper_QUndoCommand::setText(QUndoCommand* theWrappedObject, const QString& text) -{ - ( theWrappedObject->setText(text)); -} - -QString PythonQtWrapper_QUndoCommand::text(QUndoCommand* theWrappedObject) const -{ - return ( theWrappedObject->text()); -} - -bool PythonQtWrapper_QUndoCommand::mergeWith(QUndoCommand* theWrappedObject, const QUndoCommand* other) -{ - return ( ((PythonQtPublicPromoter_QUndoCommand*)theWrappedObject)->promoted_mergeWith(other)); -} - -void PythonQtWrapper_QUndoCommand::redo(QUndoCommand* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QUndoCommand*)theWrappedObject)->promoted_redo()); -} - -const QUndoCommand* PythonQtWrapper_QUndoCommand::child(QUndoCommand* theWrappedObject, int index) const -{ - return ( theWrappedObject->child(index)); -} - -int PythonQtWrapper_QUndoCommand::childCount(QUndoCommand* theWrappedObject) const -{ - return ( theWrappedObject->childCount()); -} - -int PythonQtWrapper_QUndoCommand::id(QUndoCommand* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QUndoCommand*)theWrappedObject)->promoted_id()); -} - -void PythonQtWrapper_QUndoCommand::undo(QUndoCommand* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QUndoCommand*)theWrappedObject)->promoted_undo()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QUndoCommand.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QUndoCommand.h deleted file mode 100644 index 164a6fa..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QUndoCommand.h +++ /dev/null @@ -1,51 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QUNDOCOMMAND_H -#define PYTHONQTWRAPPER_QUNDOCOMMAND_H - -#include -#include - -#include - -#include -#include - -class PythonQtShell_QUndoCommand : public QUndoCommand -{ -public: - PythonQtShell_QUndoCommand(QUndoCommand* parent = 0):QUndoCommand(parent),_wrapper(NULL) {}; - PythonQtShell_QUndoCommand(const QString& text, QUndoCommand* parent = 0):QUndoCommand(text, parent),_wrapper(NULL) {}; - -virtual int id() const; -virtual bool mergeWith(const QUndoCommand* other); -virtual void redo(); -virtual void undo(); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QUndoCommand : public QUndoCommand -{ public: -inline bool promoted_mergeWith(const QUndoCommand* other) { return QUndoCommand::mergeWith(other); } -inline void promoted_redo() { QUndoCommand::redo(); } -inline int promoted_id() const { return QUndoCommand::id(); } -inline void promoted_undo() { QUndoCommand::undo(); } -}; - -class PythonQtWrapper_QUndoCommand : public QObject -{ Q_OBJECT -public: -public slots: -QUndoCommand* new_QUndoCommand(QUndoCommand* parent = 0); -QUndoCommand* new_QUndoCommand(const QString& text, QUndoCommand* parent = 0); -void delete_QUndoCommand(QUndoCommand* obj) { delete obj; } - void setText(QUndoCommand* theWrappedObject, const QString& text); - QString text(QUndoCommand* theWrappedObject) const; - bool mergeWith(QUndoCommand* theWrappedObject, const QUndoCommand* other); - void redo(QUndoCommand* theWrappedObject); - const QUndoCommand* child(QUndoCommand* theWrappedObject, int index) const; - int childCount(QUndoCommand* theWrappedObject) const; - int id(QUndoCommand* theWrappedObject) const; - void undo(QUndoCommand* theWrappedObject); -}; - -#endif // PYTHONQTWRAPPER_QUNDOCOMMAND_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QUndoGroup.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QUndoGroup.cpp deleted file mode 100644 index aba106e..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QUndoGroup.cpp +++ /dev/null @@ -1,180 +0,0 @@ -#include "PythonQtWrapper_QUndoGroup.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QUndoGroup::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; - } -} - QUndoGroup::childEvent(arg__1); -} -void PythonQtShell_QUndoGroup::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; - } -} - QUndoGroup::customEvent(arg__1); -} -bool PythonQtShell_QUndoGroup::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QUndoGroup::event(arg__1); -} -bool PythonQtShell_QUndoGroup::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QUndoGroup::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QUndoGroup::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; - } -} - QUndoGroup::timerEvent(arg__1); -} -QUndoGroup* PythonQtWrapper_QUndoGroup::new_QUndoGroup(QObject* parent) -{ -return new PythonQtShell_QUndoGroup(parent); } - -bool PythonQtWrapper_QUndoGroup::canUndo(QUndoGroup* theWrappedObject) const -{ - return ( theWrappedObject->canUndo()); -} - -QAction* PythonQtWrapper_QUndoGroup::createRedoAction(QUndoGroup* theWrappedObject, QObject* parent, const QString& prefix) const -{ - return ( theWrappedObject->createRedoAction(parent, prefix)); -} - -void PythonQtWrapper_QUndoGroup::removeStack(QUndoGroup* theWrappedObject, QUndoStack* stack) -{ - ( theWrappedObject->removeStack(stack)); -} - -QUndoStack* PythonQtWrapper_QUndoGroup::activeStack(QUndoGroup* theWrappedObject) const -{ - return ( theWrappedObject->activeStack()); -} - -bool PythonQtWrapper_QUndoGroup::canRedo(QUndoGroup* theWrappedObject) const -{ - return ( theWrappedObject->canRedo()); -} - -QString PythonQtWrapper_QUndoGroup::redoText(QUndoGroup* theWrappedObject) const -{ - return ( theWrappedObject->redoText()); -} - -QList PythonQtWrapper_QUndoGroup::stacks(QUndoGroup* theWrappedObject) const -{ - return ( theWrappedObject->stacks()); -} - -void PythonQtWrapper_QUndoGroup::addStack(QUndoGroup* theWrappedObject, QUndoStack* stack) -{ - ( theWrappedObject->addStack(stack)); -} - -QString PythonQtWrapper_QUndoGroup::undoText(QUndoGroup* theWrappedObject) const -{ - return ( theWrappedObject->undoText()); -} - -bool PythonQtWrapper_QUndoGroup::isClean(QUndoGroup* theWrappedObject) const -{ - return ( theWrappedObject->isClean()); -} - -QAction* PythonQtWrapper_QUndoGroup::createUndoAction(QUndoGroup* theWrappedObject, QObject* parent, const QString& prefix) const -{ - return ( theWrappedObject->createUndoAction(parent, prefix)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QUndoGroup.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QUndoGroup.h deleted file mode 100644 index 6afea79..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QUndoGroup.h +++ /dev/null @@ -1,51 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QUNDOGROUP_H -#define PYTHONQTWRAPPER_QUNDOGROUP_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QUndoGroup : public QUndoGroup -{ -public: - PythonQtShell_QUndoGroup(QObject* parent = 0):QUndoGroup(parent),_wrapper(NULL) {}; - -virtual void childEvent(QChildEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QUndoGroup : public QObject -{ Q_OBJECT -public: -public slots: -QUndoGroup* new_QUndoGroup(QObject* parent = 0); -void delete_QUndoGroup(QUndoGroup* obj) { delete obj; } - bool canUndo(QUndoGroup* theWrappedObject) const; - QAction* createRedoAction(QUndoGroup* theWrappedObject, QObject* parent, const QString& prefix = QString()) const; - void removeStack(QUndoGroup* theWrappedObject, QUndoStack* stack); - QUndoStack* activeStack(QUndoGroup* theWrappedObject) const; - bool canRedo(QUndoGroup* theWrappedObject) const; - QString redoText(QUndoGroup* theWrappedObject) const; - QList stacks(QUndoGroup* theWrappedObject) const; - void addStack(QUndoGroup* theWrappedObject, QUndoStack* stack); - QString undoText(QUndoGroup* theWrappedObject) const; - bool isClean(QUndoGroup* theWrappedObject) const; - QAction* createUndoAction(QUndoGroup* theWrappedObject, QObject* parent, const QString& prefix = QString()) const; -}; - -#endif // PYTHONQTWRAPPER_QUNDOGROUP_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QUndoStack.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QUndoStack.cpp deleted file mode 100644 index 45e813f..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QUndoStack.cpp +++ /dev/null @@ -1,219 +0,0 @@ -#include "PythonQtWrapper_QUndoStack.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QUndoStack::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; - } -} - QUndoStack::childEvent(arg__1); -} -void PythonQtShell_QUndoStack::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; - } -} - QUndoStack::customEvent(arg__1); -} -bool PythonQtShell_QUndoStack::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QUndoStack::event(arg__1); -} -bool PythonQtShell_QUndoStack::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QUndoStack::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QUndoStack::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; - } -} - QUndoStack::timerEvent(arg__1); -} -QUndoStack* PythonQtWrapper_QUndoStack::new_QUndoStack(QObject* parent) -{ -return new PythonQtShell_QUndoStack(parent); } - -const QUndoCommand* PythonQtWrapper_QUndoStack::command(QUndoStack* theWrappedObject, int index) const -{ - return ( theWrappedObject->command(index)); -} - -QAction* PythonQtWrapper_QUndoStack::createUndoAction(QUndoStack* theWrappedObject, QObject* parent, const QString& prefix) const -{ - return ( theWrappedObject->createUndoAction(parent, prefix)); -} - -bool PythonQtWrapper_QUndoStack::isActive(QUndoStack* theWrappedObject) const -{ - return ( theWrappedObject->isActive()); -} - -bool PythonQtWrapper_QUndoStack::canRedo(QUndoStack* theWrappedObject) const -{ - return ( theWrappedObject->canRedo()); -} - -int PythonQtWrapper_QUndoStack::index(QUndoStack* theWrappedObject) const -{ - return ( theWrappedObject->index()); -} - -void PythonQtWrapper_QUndoStack::push(QUndoStack* theWrappedObject, QUndoCommand* cmd) -{ - ( theWrappedObject->push(cmd)); -} - -int PythonQtWrapper_QUndoStack::count(QUndoStack* theWrappedObject) const -{ - return ( theWrappedObject->count()); -} - -QString PythonQtWrapper_QUndoStack::redoText(QUndoStack* theWrappedObject) const -{ - return ( theWrappedObject->redoText()); -} - -int PythonQtWrapper_QUndoStack::cleanIndex(QUndoStack* theWrappedObject) const -{ - return ( theWrappedObject->cleanIndex()); -} - -void PythonQtWrapper_QUndoStack::clear(QUndoStack* theWrappedObject) -{ - ( theWrappedObject->clear()); -} - -QAction* PythonQtWrapper_QUndoStack::createRedoAction(QUndoStack* theWrappedObject, QObject* parent, const QString& prefix) const -{ - return ( theWrappedObject->createRedoAction(parent, prefix)); -} - -int PythonQtWrapper_QUndoStack::undoLimit(QUndoStack* theWrappedObject) const -{ - return ( theWrappedObject->undoLimit()); -} - -bool PythonQtWrapper_QUndoStack::isClean(QUndoStack* theWrappedObject) const -{ - return ( theWrappedObject->isClean()); -} - -void PythonQtWrapper_QUndoStack::setUndoLimit(QUndoStack* theWrappedObject, int limit) -{ - ( theWrappedObject->setUndoLimit(limit)); -} - -bool PythonQtWrapper_QUndoStack::canUndo(QUndoStack* theWrappedObject) const -{ - return ( theWrappedObject->canUndo()); -} - -void PythonQtWrapper_QUndoStack::beginMacro(QUndoStack* theWrappedObject, const QString& text) -{ - ( theWrappedObject->beginMacro(text)); -} - -void PythonQtWrapper_QUndoStack::endMacro(QUndoStack* theWrappedObject) -{ - ( theWrappedObject->endMacro()); -} - -QString PythonQtWrapper_QUndoStack::undoText(QUndoStack* theWrappedObject) const -{ - return ( theWrappedObject->undoText()); -} - -QString PythonQtWrapper_QUndoStack::text(QUndoStack* theWrappedObject, int idx) const -{ - return ( theWrappedObject->text(idx)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QUndoStack.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QUndoStack.h deleted file mode 100644 index d55be51..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QUndoStack.h +++ /dev/null @@ -1,58 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QUNDOSTACK_H -#define PYTHONQTWRAPPER_QUNDOSTACK_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QUndoStack : public QUndoStack -{ -public: - PythonQtShell_QUndoStack(QObject* parent = 0):QUndoStack(parent),_wrapper(NULL) {}; - -virtual void childEvent(QChildEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QUndoStack : public QObject -{ Q_OBJECT -public: -public slots: -QUndoStack* new_QUndoStack(QObject* parent = 0); -void delete_QUndoStack(QUndoStack* obj) { delete obj; } - const QUndoCommand* command(QUndoStack* theWrappedObject, int index) const; - QAction* createUndoAction(QUndoStack* theWrappedObject, QObject* parent, const QString& prefix = QString()) const; - bool isActive(QUndoStack* theWrappedObject) const; - bool canRedo(QUndoStack* theWrappedObject) const; - int index(QUndoStack* theWrappedObject) const; - void push(QUndoStack* theWrappedObject, QUndoCommand* cmd); - int count(QUndoStack* theWrappedObject) const; - QString redoText(QUndoStack* theWrappedObject) const; - int cleanIndex(QUndoStack* theWrappedObject) const; - void clear(QUndoStack* theWrappedObject); - QAction* createRedoAction(QUndoStack* theWrappedObject, QObject* parent, const QString& prefix = QString()) const; - int undoLimit(QUndoStack* theWrappedObject) const; - bool isClean(QUndoStack* theWrappedObject) const; - void setUndoLimit(QUndoStack* theWrappedObject, int limit); - bool canUndo(QUndoStack* theWrappedObject) const; - void beginMacro(QUndoStack* theWrappedObject, const QString& text); - void endMacro(QUndoStack* theWrappedObject); - QString undoText(QUndoStack* theWrappedObject) const; - QString text(QUndoStack* theWrappedObject, int idx) const; -}; - -#endif // PYTHONQTWRAPPER_QUNDOSTACK_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QUndoView.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QUndoView.cpp deleted file mode 100644 index a27c6e4..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QUndoView.cpp +++ /dev/null @@ -1,1622 +0,0 @@ -#include "PythonQtWrapper_QUndoView.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QUndoView::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QUndoView::actionEvent(arg__1); -} -void PythonQtShell_QUndoView::changeEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QUndoView::changeEvent(arg__1); -} -void PythonQtShell_QUndoView::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; - } -} - QUndoView::childEvent(arg__1); -} -void PythonQtShell_QUndoView::closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEditor"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&editor, (void*)&hint}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QUndoView::closeEditor(editor, hint); -} -void PythonQtShell_QUndoView::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QUndoView::closeEvent(arg__1); -} -void PythonQtShell_QUndoView::commitData(QWidget* editor) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "commitData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QUndoView::commitData(editor); -} -void PythonQtShell_QUndoView::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QUndoView::contextMenuEvent(arg__1); -} -void PythonQtShell_QUndoView::currentChanged(const QModelIndex& current, const QModelIndex& previous) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "currentChanged"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)¤t, (void*)&previous}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QUndoView::currentChanged(current, previous); -} -void PythonQtShell_QUndoView::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; - } -} - QUndoView::customEvent(arg__1); -} -void PythonQtShell_QUndoView::dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dataChanged"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&topLeft, (void*)&bottomRight}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QUndoView::dataChanged(topLeft, bottomRight); -} -int PythonQtShell_QUndoView::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QUndoView::devType(); -} -void PythonQtShell_QUndoView::doItemsLayout() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "doItemsLayout"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QUndoView::doItemsLayout(); -} -void PythonQtShell_QUndoView::dragEnterEvent(QDragEnterEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QUndoView::dragEnterEvent(event); -} -void PythonQtShell_QUndoView::dragLeaveEvent(QDragLeaveEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QUndoView::dragLeaveEvent(e); -} -void PythonQtShell_QUndoView::dragMoveEvent(QDragMoveEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QUndoView::dragMoveEvent(e); -} -void PythonQtShell_QUndoView::dropEvent(QDropEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QUndoView::dropEvent(e); -} -bool PythonQtShell_QUndoView::edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "edit"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&index, (void*)&trigger, (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("edit", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QUndoView::edit(index, trigger, event); -} -void PythonQtShell_QUndoView::editorDestroyed(QObject* editor) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "editorDestroyed"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QObject*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QUndoView::editorDestroyed(editor); -} -void PythonQtShell_QUndoView::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QUndoView::enterEvent(arg__1); -} -bool PythonQtShell_QUndoView::event(QEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QUndoView::event(e); -} -bool PythonQtShell_QUndoView::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QUndoView::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QUndoView::focusInEvent(QFocusEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QUndoView::focusInEvent(event); -} -bool PythonQtShell_QUndoView::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QUndoView::focusNextPrevChild(next); -} -void PythonQtShell_QUndoView::focusOutEvent(QFocusEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QUndoView::focusOutEvent(event); -} -int PythonQtShell_QUndoView::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QUndoView::heightForWidth(arg__1); -} -void PythonQtShell_QUndoView::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QUndoView::hideEvent(arg__1); -} -int PythonQtShell_QUndoView::horizontalOffset() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "horizontalOffset"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QUndoView::horizontalOffset(); -} -void PythonQtShell_QUndoView::horizontalScrollbarAction(int action) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "horizontalScrollbarAction"); - 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*)&action}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QUndoView::horizontalScrollbarAction(action); -} -void PythonQtShell_QUndoView::horizontalScrollbarValueChanged(int value) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "horizontalScrollbarValueChanged"); - 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*)&value}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QUndoView::horizontalScrollbarValueChanged(value); -} -QModelIndex PythonQtShell_QUndoView::indexAt(const QPoint& p) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "indexAt"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&p}; - 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("indexAt", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QUndoView::indexAt(p); -} -void PythonQtShell_QUndoView::inputMethodEvent(QInputMethodEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QUndoView::inputMethodEvent(event); -} -QVariant PythonQtShell_QUndoView::inputMethodQuery(Qt::InputMethodQuery query) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&query}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QUndoView::inputMethodQuery(query); -} -bool PythonQtShell_QUndoView::isIndexHidden(const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isIndexHidden"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool 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) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QUndoView::isIndexHidden(index); -} -void PythonQtShell_QUndoView::keyPressEvent(QKeyEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QUndoView::keyPressEvent(event); -} -void PythonQtShell_QUndoView::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QUndoView::keyReleaseEvent(arg__1); -} -void PythonQtShell_QUndoView::keyboardSearch(const QString& search) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyboardSearch"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&search}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QUndoView::keyboardSearch(search); -} -void PythonQtShell_QUndoView::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QUndoView::languageChange(); -} -void PythonQtShell_QUndoView::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QUndoView::leaveEvent(arg__1); -} -int PythonQtShell_QUndoView::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QUndoView::metric(arg__1); -} -void PythonQtShell_QUndoView::mouseDoubleClickEvent(QMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QUndoView::mouseDoubleClickEvent(event); -} -void PythonQtShell_QUndoView::mouseMoveEvent(QMouseEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QUndoView::mouseMoveEvent(e); -} -void PythonQtShell_QUndoView::mousePressEvent(QMouseEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QUndoView::mousePressEvent(event); -} -void PythonQtShell_QUndoView::mouseReleaseEvent(QMouseEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QUndoView::mouseReleaseEvent(e); -} -void PythonQtShell_QUndoView::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QUndoView::moveEvent(arg__1); -} -QPaintEngine* PythonQtShell_QUndoView::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QUndoView::paintEngine(); -} -void PythonQtShell_QUndoView::paintEvent(QPaintEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QUndoView::paintEvent(e); -} -void PythonQtShell_QUndoView::reset() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reset"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QUndoView::reset(); -} -void PythonQtShell_QUndoView::resizeEvent(QResizeEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QUndoView::resizeEvent(e); -} -void PythonQtShell_QUndoView::rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowsAboutToBeRemoved"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent, (void*)&start, (void*)&end}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QUndoView::rowsAboutToBeRemoved(parent, start, end); -} -void PythonQtShell_QUndoView::rowsInserted(const QModelIndex& parent, int start, int end) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowsInserted"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent, (void*)&start, (void*)&end}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QUndoView::rowsInserted(parent, start, end); -} -void PythonQtShell_QUndoView::scrollContentsBy(int dx, int dy) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "scrollContentsBy"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&dx, (void*)&dy}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QUndoView::scrollContentsBy(dx, dy); -} -void PythonQtShell_QUndoView::scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "scrollTo"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&index, (void*)&hint}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QUndoView::scrollTo(index, hint); -} -void PythonQtShell_QUndoView::selectAll() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectAll"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QUndoView::selectAll(); -} -QList PythonQtShell_QUndoView::selectedIndexes() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectedIndexes"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QList returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); - } else { - returnValue = *((QList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QUndoView::selectedIndexes(); -} -void PythonQtShell_QUndoView::selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectionChanged"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&selected, (void*)&deselected}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QUndoView::selectionChanged(selected, deselected); -} -QItemSelectionModel::SelectionFlags PythonQtShell_QUndoView::selectionCommand(const QModelIndex& index, const QEvent* event) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectionCommand"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QItemSelectionModel::SelectionFlags" , "const QModelIndex&" , "const QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QItemSelectionModel::SelectionFlags returnValue; - void* args[3] = {NULL, (void*)&index, (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("selectionCommand", methodInfo, result); - } else { - returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QUndoView::selectionCommand(index, event); -} -void PythonQtShell_QUndoView::setModel(QAbstractItemModel* model) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setModel"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QAbstractItemModel*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&model}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QUndoView::setModel(model); -} -void PythonQtShell_QUndoView::setRootIndex(const QModelIndex& index) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setRootIndex"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QUndoView::setRootIndex(index); -} -void PythonQtShell_QUndoView::setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setSelection"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&rect, (void*)&command}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QUndoView::setSelection(rect, command); -} -void PythonQtShell_QUndoView::setSelectionModel(QItemSelectionModel* selectionModel) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setSelectionModel"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QItemSelectionModel*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&selectionModel}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QUndoView::setSelectionModel(selectionModel); -} -void PythonQtShell_QUndoView::showEvent(QShowEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QUndoView::showEvent(arg__1); -} -int PythonQtShell_QUndoView::sizeHintForColumn(int column) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeHintForColumn"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&column}; - 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("sizeHintForColumn", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QUndoView::sizeHintForColumn(column); -} -int PythonQtShell_QUndoView::sizeHintForRow(int row) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeHintForRow"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&row}; - 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("sizeHintForRow", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QUndoView::sizeHintForRow(row); -} -void PythonQtShell_QUndoView::startDrag(Qt::DropActions supportedActions) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "startDrag"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "Qt::DropActions"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&supportedActions}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QUndoView::startDrag(supportedActions); -} -void PythonQtShell_QUndoView::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QUndoView::tabletEvent(arg__1); -} -void PythonQtShell_QUndoView::timerEvent(QTimerEvent* e) -{ -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*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QUndoView::timerEvent(e); -} -void PythonQtShell_QUndoView::updateEditorData() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateEditorData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QUndoView::updateEditorData(); -} -void PythonQtShell_QUndoView::updateEditorGeometries() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateEditorGeometries"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QUndoView::updateEditorGeometries(); -} -void PythonQtShell_QUndoView::updateGeometries() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateGeometries"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QUndoView::updateGeometries(); -} -int PythonQtShell_QUndoView::verticalOffset() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "verticalOffset"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QUndoView::verticalOffset(); -} -void PythonQtShell_QUndoView::verticalScrollbarAction(int action) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "verticalScrollbarAction"); - 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*)&action}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QUndoView::verticalScrollbarAction(action); -} -void PythonQtShell_QUndoView::verticalScrollbarValueChanged(int value) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "verticalScrollbarValueChanged"); - 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*)&value}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QUndoView::verticalScrollbarValueChanged(value); -} -QStyleOptionViewItem PythonQtShell_QUndoView::viewOptions() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "viewOptions"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QStyleOptionViewItem"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStyleOptionViewItem returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); - } else { - returnValue = *((QStyleOptionViewItem*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QUndoView::viewOptions(); -} -bool PythonQtShell_QUndoView::viewportEvent(QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "viewportEvent"); - 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("viewportEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QUndoView::viewportEvent(event); -} -QRect PythonQtShell_QUndoView::visualRect(const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "visualRect"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRect 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) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QUndoView::visualRect(index); -} -QRegion PythonQtShell_QUndoView::visualRegionForSelection(const QItemSelection& selection) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "visualRegionForSelection"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRegion returnValue; - void* args[2] = {NULL, (void*)&selection}; - 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("visualRegionForSelection", methodInfo, result); - } else { - returnValue = *((QRegion*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QUndoView::visualRegionForSelection(selection); -} -void PythonQtShell_QUndoView::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QUndoView::wheelEvent(arg__1); -} -QUndoView* PythonQtWrapper_QUndoView::new_QUndoView(QUndoGroup* group, QWidget* parent) -{ -return new PythonQtShell_QUndoView(group, parent); } - -QUndoView* PythonQtWrapper_QUndoView::new_QUndoView(QUndoStack* stack, QWidget* parent) -{ -return new PythonQtShell_QUndoView(stack, parent); } - -QUndoView* PythonQtWrapper_QUndoView::new_QUndoView(QWidget* parent) -{ -return new PythonQtShell_QUndoView(parent); } - -QUndoGroup* PythonQtWrapper_QUndoView::group(QUndoView* theWrappedObject) const -{ - return ( theWrappedObject->group()); -} - -QString PythonQtWrapper_QUndoView::emptyLabel(QUndoView* theWrappedObject) const -{ - return ( theWrappedObject->emptyLabel()); -} - -QUndoStack* PythonQtWrapper_QUndoView::stack(QUndoView* theWrappedObject) const -{ - return ( theWrappedObject->stack()); -} - -QIcon PythonQtWrapper_QUndoView::cleanIcon(QUndoView* theWrappedObject) const -{ - return ( theWrappedObject->cleanIcon()); -} - -void PythonQtWrapper_QUndoView::setCleanIcon(QUndoView* theWrappedObject, const QIcon& icon) -{ - ( theWrappedObject->setCleanIcon(icon)); -} - -void PythonQtWrapper_QUndoView::setEmptyLabel(QUndoView* theWrappedObject, const QString& label) -{ - ( theWrappedObject->setEmptyLabel(label)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QUndoView.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QUndoView.h deleted file mode 100644 index c8eb044..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QUndoView.h +++ /dev/null @@ -1,148 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QUNDOVIEW_H -#define PYTHONQTWRAPPER_QUNDOVIEW_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QUndoView : public QUndoView -{ -public: - PythonQtShell_QUndoView(QUndoGroup* group, QWidget* parent = 0):QUndoView(group, parent),_wrapper(NULL) {}; - PythonQtShell_QUndoView(QUndoStack* stack, QWidget* parent = 0):QUndoView(stack, parent),_wrapper(NULL) {}; - PythonQtShell_QUndoView(QWidget* parent = 0):QUndoView(parent),_wrapper(NULL) {}; - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void commitData(QWidget* editor); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void currentChanged(const QModelIndex& current, const QModelIndex& previous); -virtual void customEvent(QEvent* arg__1); -virtual void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight); -virtual int devType() const; -virtual void doItemsLayout(); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* e); -virtual void dragMoveEvent(QDragMoveEvent* e); -virtual void dropEvent(QDropEvent* e); -virtual bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event); -virtual void editorDestroyed(QObject* editor); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual int horizontalOffset() const; -virtual void horizontalScrollbarAction(int action); -virtual void horizontalScrollbarValueChanged(int value); -virtual QModelIndex indexAt(const QPoint& p) const; -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual bool isIndexHidden(const QModelIndex& index) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void keyboardSearch(const QString& search); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* e); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* e); -virtual void moveEvent(QMoveEvent* arg__1); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* e); -virtual void reset(); -virtual void resizeEvent(QResizeEvent* e); -virtual void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end); -virtual void rowsInserted(const QModelIndex& parent, int start, int end); -virtual void scrollContentsBy(int dx, int dy); -virtual void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint); -virtual void selectAll(); -virtual QList selectedIndexes() const; -virtual void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected); -virtual QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event) const; -virtual void setModel(QAbstractItemModel* model); -virtual void setRootIndex(const QModelIndex& index); -virtual void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command); -virtual void setSelectionModel(QItemSelectionModel* selectionModel); -virtual void showEvent(QShowEvent* arg__1); -virtual int sizeHintForColumn(int column) const; -virtual int sizeHintForRow(int row) const; -virtual void startDrag(Qt::DropActions supportedActions); -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* e); -virtual void updateEditorData(); -virtual void updateEditorGeometries(); -virtual void updateGeometries(); -virtual int verticalOffset() const; -virtual void verticalScrollbarAction(int action); -virtual void verticalScrollbarValueChanged(int value); -virtual QStyleOptionViewItem viewOptions() const; -virtual bool viewportEvent(QEvent* event); -virtual QRect visualRect(const QModelIndex& index) const; -virtual QRegion visualRegionForSelection(const QItemSelection& selection) const; -virtual void wheelEvent(QWheelEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QUndoView : public QObject -{ Q_OBJECT -public: -public slots: -QUndoView* new_QUndoView(QUndoGroup* group, QWidget* parent = 0); -QUndoView* new_QUndoView(QUndoStack* stack, QWidget* parent = 0); -QUndoView* new_QUndoView(QWidget* parent = 0); -void delete_QUndoView(QUndoView* obj) { delete obj; } - QUndoGroup* group(QUndoView* theWrappedObject) const; - QString emptyLabel(QUndoView* theWrappedObject) const; - QUndoStack* stack(QUndoView* theWrappedObject) const; - QIcon cleanIcon(QUndoView* theWrappedObject) const; - void setCleanIcon(QUndoView* theWrappedObject, const QIcon& icon); - void setEmptyLabel(QUndoView* theWrappedObject, const QString& label); -}; - -#endif // PYTHONQTWRAPPER_QUNDOVIEW_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QVBoxLayout.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QVBoxLayout.cpp deleted file mode 100644 index 13c1c5f..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QVBoxLayout.cpp +++ /dev/null @@ -1,463 +0,0 @@ -#include "PythonQtWrapper_QVBoxLayout.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QVBoxLayout::addItem(QLayoutItem* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "addItem"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QLayoutItem*"}; - 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; - } -} - QVBoxLayout::addItem(arg__1); -} -void PythonQtShell_QVBoxLayout::childEvent(QChildEvent* e) -{ -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*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QVBoxLayout::childEvent(e); -} -int PythonQtShell_QVBoxLayout::count() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "count"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QVBoxLayout::count(); -} -void PythonQtShell_QVBoxLayout::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; - } -} - QVBoxLayout::customEvent(arg__1); -} -bool PythonQtShell_QVBoxLayout::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QVBoxLayout::event(arg__1); -} -bool PythonQtShell_QVBoxLayout::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QVBoxLayout::eventFilter(arg__1, arg__2); -} -Qt::Orientations PythonQtShell_QVBoxLayout::expandingDirections() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "expandingDirections"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"Qt::Orientations"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::Orientations returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); - } else { - returnValue = *((Qt::Orientations*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QVBoxLayout::expandingDirections(); -} -QRect PythonQtShell_QVBoxLayout::geometry() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "geometry"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QRect"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRect returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QVBoxLayout::geometry(); -} -int PythonQtShell_QVBoxLayout::indexOf(QWidget* arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "indexOf"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("indexOf", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QVBoxLayout::indexOf(arg__1); -} -void PythonQtShell_QVBoxLayout::invalidate() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "invalidate"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QVBoxLayout::invalidate(); -} -bool PythonQtShell_QVBoxLayout::isEmpty() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isEmpty"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QVBoxLayout::isEmpty(); -} -QLayoutItem* PythonQtShell_QVBoxLayout::itemAt(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemAt"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QLayoutItem*" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QLayoutItem* 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("itemAt", methodInfo, result); - } else { - returnValue = *((QLayoutItem**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QVBoxLayout::itemAt(arg__1); -} -QLayout* PythonQtShell_QVBoxLayout::layout() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "layout"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QLayout*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QLayout* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("layout", methodInfo, result); - } else { - returnValue = *((QLayout**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QVBoxLayout::layout(); -} -QSize PythonQtShell_QVBoxLayout::maximumSize() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "maximumSize"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QVBoxLayout::maximumSize(); -} -QSize PythonQtShell_QVBoxLayout::minimumSize() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "minimumSize"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QVBoxLayout::minimumSize(); -} -void PythonQtShell_QVBoxLayout::setGeometry(const QRect& arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setGeometry"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QRect&"}; - 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; - } -} - QVBoxLayout::setGeometry(arg__1); -} -QLayoutItem* PythonQtShell_QVBoxLayout::takeAt(int arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "takeAt"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QLayoutItem*" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QLayoutItem* 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("takeAt", methodInfo, result); - } else { - returnValue = *((QLayoutItem**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QVBoxLayout::takeAt(arg__1); -} -void PythonQtShell_QVBoxLayout::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; - } -} - QVBoxLayout::timerEvent(arg__1); -} -QVBoxLayout* PythonQtWrapper_QVBoxLayout::new_QVBoxLayout() -{ -return new PythonQtShell_QVBoxLayout(); } - -QVBoxLayout* PythonQtWrapper_QVBoxLayout::new_QVBoxLayout(QWidget* parent) -{ -return new PythonQtShell_QVBoxLayout(parent); } - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QVBoxLayout.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QVBoxLayout.h deleted file mode 100644 index 57d81a4..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QVBoxLayout.h +++ /dev/null @@ -1,58 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QVBOXLAYOUT_H -#define PYTHONQTWRAPPER_QVBOXLAYOUT_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QVBoxLayout : public QVBoxLayout -{ -public: - PythonQtShell_QVBoxLayout():QVBoxLayout(),_wrapper(NULL) {}; - PythonQtShell_QVBoxLayout(QWidget* parent):QVBoxLayout(parent),_wrapper(NULL) {}; - -virtual void addItem(QLayoutItem* arg__1); -virtual void childEvent(QChildEvent* e); -virtual int count() const; -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual Qt::Orientations expandingDirections() const; -virtual QRect geometry() const; -virtual int indexOf(QWidget* arg__1) const; -virtual void invalidate(); -virtual bool isEmpty() const; -virtual QLayoutItem* itemAt(int arg__1) const; -virtual QLayout* layout(); -virtual QSize maximumSize() const; -virtual QSize minimumSize() const; -virtual void setGeometry(const QRect& arg__1); -virtual QLayoutItem* takeAt(int arg__1); -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QVBoxLayout : public QObject -{ Q_OBJECT -public: -public slots: -QVBoxLayout* new_QVBoxLayout(); -QVBoxLayout* new_QVBoxLayout(QWidget* parent); -void delete_QVBoxLayout(QVBoxLayout* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QVBOXLAYOUT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QValidator.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QValidator.cpp deleted file mode 100644 index 991e631..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QValidator.cpp +++ /dev/null @@ -1,185 +0,0 @@ -#include "PythonQtWrapper_QValidator.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QValidator::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; - } -} - QValidator::childEvent(arg__1); -} -void PythonQtShell_QValidator::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; - } -} - QValidator::customEvent(arg__1); -} -bool PythonQtShell_QValidator::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QValidator::event(arg__1); -} -bool PythonQtShell_QValidator::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QValidator::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QValidator::fixup(QString& arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "fixup"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QString&"}; - 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; - } -} - QValidator::fixup(arg__1); -} -void PythonQtShell_QValidator::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; - } -} - QValidator::timerEvent(arg__1); -} -QValidator::State PythonQtShell_QValidator::validate(QString& arg__1, int& arg__2) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "validate"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QValidator::State 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("validate", methodInfo, result); - } else { - returnValue = *((QValidator::State*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QValidator::State result; -return result; -} -QValidator* PythonQtWrapper_QValidator::new_QValidator(QObject* parent) -{ -return new PythonQtShell_QValidator(parent); } - -void PythonQtWrapper_QValidator::fixup(QValidator* theWrappedObject, QString& arg__1) const -{ - ( ((PythonQtPublicPromoter_QValidator*)theWrappedObject)->promoted_fixup(arg__1)); -} - -void PythonQtWrapper_QValidator::setLocale(QValidator* theWrappedObject, const QLocale& locale) -{ - ( theWrappedObject->setLocale(locale)); -} - -QLocale PythonQtWrapper_QValidator::locale(QValidator* theWrappedObject) const -{ - return ( theWrappedObject->locale()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QValidator.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QValidator.h deleted file mode 100644 index 2c5a190..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QValidator.h +++ /dev/null @@ -1,52 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QVALIDATOR_H -#define PYTHONQTWRAPPER_QVALIDATOR_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QValidator : public QValidator -{ -public: - PythonQtShell_QValidator(QObject* parent):QValidator(parent),_wrapper(NULL) {}; - -virtual void childEvent(QChildEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void fixup(QString& arg__1) const; -virtual void timerEvent(QTimerEvent* arg__1); -virtual QValidator::State validate(QString& arg__1, int& arg__2) const; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QValidator : public QValidator -{ public: -inline void promoted_fixup(QString& arg__1) const { QValidator::fixup(arg__1); } -}; - -class PythonQtWrapper_QValidator : public QObject -{ Q_OBJECT -public: -Q_ENUMS(State ) -enum State{ - Invalid = QValidator::Invalid, Intermediate = QValidator::Intermediate, Acceptable = QValidator::Acceptable}; -public slots: -QValidator* new_QValidator(QObject* parent); -void delete_QValidator(QValidator* obj) { delete obj; } - void fixup(QValidator* theWrappedObject, QString& arg__1) const; - void setLocale(QValidator* theWrappedObject, const QLocale& locale); - QLocale locale(QValidator* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QVALIDATOR_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QWhatsThis.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QWhatsThis.cpp deleted file mode 100644 index acd240e..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QWhatsThis.cpp +++ /dev/null @@ -1,41 +0,0 @@ -#include "PythonQtWrapper_QWhatsThis.h" - -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtWrapper_QWhatsThis::static_QWhatsThis_hideText() -{ - (QWhatsThis::hideText()); -} - -bool PythonQtWrapper_QWhatsThis::static_QWhatsThis_inWhatsThisMode() -{ - return (QWhatsThis::inWhatsThisMode()); -} - -void PythonQtWrapper_QWhatsThis::static_QWhatsThis_showText(const QPoint& pos, const QString& text, QWidget* w) -{ - (QWhatsThis::showText(pos, text, w)); -} - -QAction* PythonQtWrapper_QWhatsThis::static_QWhatsThis_createAction(QObject* parent) -{ - return (QWhatsThis::createAction(parent)); -} - -void PythonQtWrapper_QWhatsThis::static_QWhatsThis_enterWhatsThisMode() -{ - (QWhatsThis::enterWhatsThisMode()); -} - -void PythonQtWrapper_QWhatsThis::static_QWhatsThis_leaveWhatsThisMode() -{ - (QWhatsThis::leaveWhatsThisMode()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QWhatsThis.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QWhatsThis.h deleted file mode 100644 index 5c990ab..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QWhatsThis.h +++ /dev/null @@ -1,28 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QWHATSTHIS_H -#define PYTHONQTWRAPPER_QWHATSTHIS_H - -#include -#include - -#include - -#include -#include -#include -#include -#include - -class PythonQtWrapper_QWhatsThis : public QObject -{ Q_OBJECT -public: -public slots: -void delete_QWhatsThis(QWhatsThis* obj) { delete obj; } - void static_QWhatsThis_hideText(); - bool static_QWhatsThis_inWhatsThisMode(); - void static_QWhatsThis_showText(const QPoint& pos, const QString& text, QWidget* w = 0); - QAction* static_QWhatsThis_createAction(QObject* parent = 0); - void static_QWhatsThis_enterWhatsThisMode(); - void static_QWhatsThis_leaveWhatsThisMode(); -}; - -#endif // PYTHONQTWRAPPER_QWHATSTHIS_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QWhatsThisClickedEvent.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QWhatsThisClickedEvent.cpp deleted file mode 100644 index 4601f08..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QWhatsThisClickedEvent.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include "PythonQtWrapper_QWhatsThisClickedEvent.h" - -#include -#include -#include -#include - -QWhatsThisClickedEvent* PythonQtWrapper_QWhatsThisClickedEvent::new_QWhatsThisClickedEvent(const QString& href) -{ -return new QWhatsThisClickedEvent(href); } - -QString PythonQtWrapper_QWhatsThisClickedEvent::href(QWhatsThisClickedEvent* theWrappedObject) const -{ - return ( theWrappedObject->href()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QWhatsThisClickedEvent.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QWhatsThisClickedEvent.h deleted file mode 100644 index 8ec426c..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QWhatsThisClickedEvent.h +++ /dev/null @@ -1,20 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QWHATSTHISCLICKEDEVENT_H -#define PYTHONQTWRAPPER_QWHATSTHISCLICKEDEVENT_H - -#include -#include - -#include - -#include - -class PythonQtWrapper_QWhatsThisClickedEvent : public QObject -{ Q_OBJECT -public: -public slots: -QWhatsThisClickedEvent* new_QWhatsThisClickedEvent(const QString& href); -void delete_QWhatsThisClickedEvent(QWhatsThisClickedEvent* obj) { delete obj; } - QString href(QWhatsThisClickedEvent* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QWHATSTHISCLICKEDEVENT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QWheelEvent.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QWheelEvent.cpp deleted file mode 100644 index 9fd76b3..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QWheelEvent.cpp +++ /dev/null @@ -1,61 +0,0 @@ -#include "PythonQtWrapper_QWheelEvent.h" - -#include -#include -#include -#include -#include - -QWheelEvent* PythonQtWrapper_QWheelEvent::new_QWheelEvent(const QPoint& pos, const QPoint& globalPos, int delta, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::Orientation orient) -{ -return new PythonQtShell_QWheelEvent(pos, globalPos, delta, buttons, modifiers, orient); } - -QWheelEvent* PythonQtWrapper_QWheelEvent::new_QWheelEvent(const QPoint& pos, int delta, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::Orientation orient) -{ -return new PythonQtShell_QWheelEvent(pos, delta, buttons, modifiers, orient); } - -int PythonQtWrapper_QWheelEvent::globalY(QWheelEvent* theWrappedObject) const -{ - return ( theWrappedObject->globalY()); -} - -const QPoint* PythonQtWrapper_QWheelEvent::pos(QWheelEvent* theWrappedObject) const -{ - return &( theWrappedObject->pos()); -} - -int PythonQtWrapper_QWheelEvent::x(QWheelEvent* theWrappedObject) const -{ - return ( theWrappedObject->x()); -} - -const QPoint* PythonQtWrapper_QWheelEvent::globalPos(QWheelEvent* theWrappedObject) const -{ - return &( theWrappedObject->globalPos()); -} - -Qt::Orientation PythonQtWrapper_QWheelEvent::orientation(QWheelEvent* theWrappedObject) const -{ - return ( theWrappedObject->orientation()); -} - -int PythonQtWrapper_QWheelEvent::y(QWheelEvent* theWrappedObject) const -{ - return ( theWrappedObject->y()); -} - -Qt::MouseButtons PythonQtWrapper_QWheelEvent::buttons(QWheelEvent* theWrappedObject) const -{ - return ( theWrappedObject->buttons()); -} - -int PythonQtWrapper_QWheelEvent::globalX(QWheelEvent* theWrappedObject) const -{ - return ( theWrappedObject->globalX()); -} - -int PythonQtWrapper_QWheelEvent::delta(QWheelEvent* theWrappedObject) const -{ - return ( theWrappedObject->delta()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QWheelEvent.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QWheelEvent.h deleted file mode 100644 index f53678b..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QWheelEvent.h +++ /dev/null @@ -1,40 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QWHEELEVENT_H -#define PYTHONQTWRAPPER_QWHEELEVENT_H - -#include -#include - -#include - -#include -#include - -class PythonQtShell_QWheelEvent : public QWheelEvent -{ -public: - PythonQtShell_QWheelEvent(const QPoint& pos, const QPoint& globalPos, int delta, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::Orientation orient = Qt::Vertical):QWheelEvent(pos, globalPos, delta, buttons, modifiers, orient),_wrapper(NULL) {}; - PythonQtShell_QWheelEvent(const QPoint& pos, int delta, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::Orientation orient = Qt::Vertical):QWheelEvent(pos, delta, buttons, modifiers, orient),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QWheelEvent : public QObject -{ Q_OBJECT -public: -public slots: -QWheelEvent* new_QWheelEvent(const QPoint& pos, const QPoint& globalPos, int delta, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::Orientation orient = Qt::Vertical); -QWheelEvent* new_QWheelEvent(const QPoint& pos, int delta, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::Orientation orient = Qt::Vertical); -void delete_QWheelEvent(QWheelEvent* obj) { delete obj; } - int globalY(QWheelEvent* theWrappedObject) const; - const QPoint* pos(QWheelEvent* theWrappedObject) const; - int x(QWheelEvent* theWrappedObject) const; - const QPoint* globalPos(QWheelEvent* theWrappedObject) const; - Qt::Orientation orientation(QWheelEvent* theWrappedObject) const; - int y(QWheelEvent* theWrappedObject) const; - Qt::MouseButtons buttons(QWheelEvent* theWrappedObject) const; - int globalX(QWheelEvent* theWrappedObject) const; - int delta(QWheelEvent* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QWHEELEVENT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QWidget.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QWidget.cpp deleted file mode 100644 index b4ee8fa..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QWidget.cpp +++ /dev/null @@ -1,2073 +0,0 @@ -#include "PythonQtWrapper_QWidget.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QWidget::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QWidget::actionEvent(arg__1); -} -void PythonQtShell_QWidget::changeEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWidget::changeEvent(arg__1); -} -void PythonQtShell_QWidget::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; - } -} - QWidget::childEvent(arg__1); -} -void PythonQtShell_QWidget::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QWidget::closeEvent(arg__1); -} -void PythonQtShell_QWidget::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWidget::contextMenuEvent(arg__1); -} -void PythonQtShell_QWidget::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; - } -} - QWidget::customEvent(arg__1); -} -int PythonQtShell_QWidget::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWidget::devType(); -} -void PythonQtShell_QWidget::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QWidget::dragEnterEvent(arg__1); -} -void PythonQtShell_QWidget::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QWidget::dragLeaveEvent(arg__1); -} -void PythonQtShell_QWidget::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QWidget::dragMoveEvent(arg__1); -} -void PythonQtShell_QWidget::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QWidget::dropEvent(arg__1); -} -void PythonQtShell_QWidget::enabledChange(bool arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enabledChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "bool"}; - 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; - } -} - QWidget::enabledChange(arg__1); -} -void PythonQtShell_QWidget::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QWidget::enterEvent(arg__1); -} -bool PythonQtShell_QWidget::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWidget::event(arg__1); -} -bool PythonQtShell_QWidget::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWidget::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QWidget::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QWidget::focusInEvent(arg__1); -} -bool PythonQtShell_QWidget::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWidget::focusNextPrevChild(next); -} -void PythonQtShell_QWidget::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QWidget::focusOutEvent(arg__1); -} -void PythonQtShell_QWidget::fontChange(const QFont& arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "fontChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QFont&"}; - 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; - } -} - QWidget::fontChange(arg__1); -} -int PythonQtShell_QWidget::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWidget::heightForWidth(arg__1); -} -void PythonQtShell_QWidget::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QWidget::hideEvent(arg__1); -} -void PythonQtShell_QWidget::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QWidget::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWidget::inputMethodQuery(arg__1); -} -void PythonQtShell_QWidget::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWidget::keyPressEvent(arg__1); -} -void PythonQtShell_QWidget::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWidget::keyReleaseEvent(arg__1); -} -void PythonQtShell_QWidget::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWidget::languageChange(); -} -void PythonQtShell_QWidget::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QWidget::leaveEvent(arg__1); -} -int PythonQtShell_QWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWidget::metric(arg__1); -} -QSize PythonQtShell_QWidget::minimumSizeHint() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWidget::minimumSizeHint(); -} -void PythonQtShell_QWidget::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QWidget::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QWidget::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QWidget::mouseMoveEvent(arg__1); -} -void PythonQtShell_QWidget::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QWidget::mousePressEvent(arg__1); -} -void PythonQtShell_QWidget::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QWidget::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QWidget::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWidget::moveEvent(arg__1); -} -QPaintEngine* PythonQtShell_QWidget::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWidget::paintEngine(); -} -void PythonQtShell_QWidget::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - 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; - } -} - QWidget::paintEvent(arg__1); -} -void PythonQtShell_QWidget::paletteChange(const QPalette& arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paletteChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QPalette&"}; - 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; - } -} - QWidget::paletteChange(arg__1); -} -void PythonQtShell_QWidget::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - 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; - } -} - QWidget::resizeEvent(arg__1); -} -void PythonQtShell_QWidget::setVisible(bool visible) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setVisible"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWidget::setVisible(visible); -} -void PythonQtShell_QWidget::showEvent(QShowEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QWidget::showEvent(arg__1); -} -QSize PythonQtShell_QWidget::sizeHint() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getSizeHint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWidget::sizeHint(); -} -void PythonQtShell_QWidget::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QWidget::tabletEvent(arg__1); -} -void PythonQtShell_QWidget::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; - } -} - QWidget::timerEvent(arg__1); -} -void PythonQtShell_QWidget::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWidget::wheelEvent(arg__1); -} -void PythonQtShell_QWidget::windowActivationChange(bool arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "windowActivationChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "bool"}; - 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; - } -} - QWidget::windowActivationChange(arg__1); -} -QWidget* PythonQtWrapper_QWidget::new_QWidget(QWidget* parent, Qt::WindowFlags f) -{ -return new PythonQtShell_QWidget(parent, f); } - -void PythonQtWrapper_QWidget::repaint(QWidget* theWrappedObject, int x, int y, int w, int h) -{ - ( theWrappedObject->repaint(x, y, w, h)); -} - -bool PythonQtWrapper_QWidget::hasFocus(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->hasFocus()); -} - -QPoint PythonQtWrapper_QWidget::mapFrom(QWidget* theWrappedObject, QWidget* arg__1, const QPoint& arg__2) const -{ - return ( theWrappedObject->mapFrom(arg__1, arg__2)); -} - -void PythonQtWrapper_QWidget::paintEvent(QWidget* theWrappedObject, QPaintEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_paintEvent(arg__1)); -} - -void PythonQtWrapper_QWidget::grabMouse(QWidget* theWrappedObject) -{ - ( theWrappedObject->grabMouse()); -} - -QRect PythonQtWrapper_QWidget::contentsRect(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->contentsRect()); -} - -void PythonQtWrapper_QWidget::setAccessibleDescription(QWidget* theWrappedObject, const QString& description) -{ - ( theWrappedObject->setAccessibleDescription(description)); -} - -void PythonQtWrapper_QWidget::resizeEvent(QWidget* theWrappedObject, QResizeEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_resizeEvent(arg__1)); -} - -void PythonQtWrapper_QWidget::move(QWidget* theWrappedObject, const QPoint& arg__1) -{ - ( theWrappedObject->move(arg__1)); -} - -QInputContext* PythonQtWrapper_QWidget::inputContext(QWidget* theWrappedObject) -{ - return ( theWrappedObject->inputContext()); -} - -bool PythonQtWrapper_QWidget::isFullScreen(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->isFullScreen()); -} - -Qt::WindowModality PythonQtWrapper_QWidget::windowModality(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->windowModality()); -} - -void PythonQtWrapper_QWidget::scroll(QWidget* theWrappedObject, int dx, int dy) -{ - ( theWrappedObject->scroll(dx, dy)); -} - -void PythonQtWrapper_QWidget::changeEvent(QWidget* theWrappedObject, QEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_changeEvent(arg__1)); -} - -bool PythonQtWrapper_QWidget::focusNextPrevChild(QWidget* theWrappedObject, bool next) -{ - return ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_focusNextPrevChild(next)); -} - -int PythonQtWrapper_QWidget::grabShortcut(QWidget* theWrappedObject, const QKeySequence& key, Qt::ShortcutContext context) -{ - return ( theWrappedObject->grabShortcut(key, context)); -} - -QSize PythonQtWrapper_QWidget::minimumSizeHint(QWidget* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_minimumSizeHint()); -} - -QString PythonQtWrapper_QWidget::statusTip(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->statusTip()); -} - -void PythonQtWrapper_QWidget::setWindowFilePath(QWidget* theWrappedObject, const QString& filePath) -{ - ( theWrappedObject->setWindowFilePath(filePath)); -} - -QPaintEngine* PythonQtWrapper_QWidget::paintEngine(QWidget* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_paintEngine()); -} - -QLocale PythonQtWrapper_QWidget::locale(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->locale()); -} - -void PythonQtWrapper_QWidget::setShortcutEnabled(QWidget* theWrappedObject, int id, bool enable) -{ - ( theWrappedObject->setShortcutEnabled(id, enable)); -} - -QByteArray PythonQtWrapper_QWidget::saveGeometry(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->saveGeometry()); -} - -void PythonQtWrapper_QWidget::languageChange(QWidget* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_languageChange()); -} - -const QRect* PythonQtWrapper_QWidget::geometry(QWidget* theWrappedObject) const -{ - return &( theWrappedObject->geometry()); -} - -void PythonQtWrapper_QWidget::setWindowOpacity(QWidget* theWrappedObject, qreal level) -{ - ( theWrappedObject->setWindowOpacity(level)); -} - -int PythonQtWrapper_QWidget::height(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->height()); -} - -void PythonQtWrapper_QWidget::setWindowState(QWidget* theWrappedObject, Qt::WindowStates state) -{ - ( theWrappedObject->setWindowState(state)); -} - -QString PythonQtWrapper_QWidget::accessibleDescription(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->accessibleDescription()); -} - -QRegion PythonQtWrapper_QWidget::mask(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->mask()); -} - -void PythonQtWrapper_QWidget::setMaximumHeight(QWidget* theWrappedObject, int maxh) -{ - ( theWrappedObject->setMaximumHeight(maxh)); -} - -QString PythonQtWrapper_QWidget::toolTip(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->toolTip()); -} - -int PythonQtWrapper_QWidget::devType(QWidget* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_devType()); -} - -void PythonQtWrapper_QWidget::setFixedSize(QWidget* theWrappedObject, const QSize& arg__1) -{ - ( theWrappedObject->setFixedSize(arg__1)); -} - -QPalette::ColorRole PythonQtWrapper_QWidget::foregroundRole(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->foregroundRole()); -} - -void PythonQtWrapper_QWidget::removeAction(QWidget* theWrappedObject, QAction* action) -{ - ( theWrappedObject->removeAction(action)); -} - -QSizePolicy PythonQtWrapper_QWidget::sizePolicy(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->sizePolicy()); -} - -void PythonQtWrapper_QWidget::setWindowIconText(QWidget* theWrappedObject, const QString& arg__1) -{ - ( theWrappedObject->setWindowIconText(arg__1)); -} - -void PythonQtWrapper_QWidget::repaint(QWidget* theWrappedObject, const QRect& arg__1) -{ - ( theWrappedObject->repaint(arg__1)); -} - -void PythonQtWrapper_QWidget::inputMethodEvent(QWidget* theWrappedObject, QInputMethodEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_inputMethodEvent(arg__1)); -} - -void PythonQtWrapper_QWidget::addAction(QWidget* theWrappedObject, QAction* action) -{ - ( theWrappedObject->addAction(action)); -} - -QPoint PythonQtWrapper_QWidget::mapToGlobal(QWidget* theWrappedObject, const QPoint& arg__1) const -{ - return ( theWrappedObject->mapToGlobal(arg__1)); -} - -bool PythonQtWrapper_QWidget::hasMouseTracking(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->hasMouseTracking()); -} - -QSize PythonQtWrapper_QWidget::maximumSize(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->maximumSize()); -} - -void PythonQtWrapper_QWidget::setMask(QWidget* theWrappedObject, const QBitmap& arg__1) -{ - ( theWrappedObject->setMask(arg__1)); -} - -void PythonQtWrapper_QWidget::setWindowModality(QWidget* theWrappedObject, Qt::WindowModality windowModality) -{ - ( theWrappedObject->setWindowModality(windowModality)); -} - -void PythonQtWrapper_QWidget::setGeometry(QWidget* theWrappedObject, int x, int y, int w, int h) -{ - ( theWrappedObject->setGeometry(x, y, w, h)); -} - -void PythonQtWrapper_QWidget::unsetLayoutDirection(QWidget* theWrappedObject) -{ - ( theWrappedObject->unsetLayoutDirection()); -} - -QLayout* PythonQtWrapper_QWidget::layout(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->layout()); -} - -bool PythonQtWrapper_QWidget::acceptDrops(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->acceptDrops()); -} - -void PythonQtWrapper_QWidget::insertAction(QWidget* theWrappedObject, QAction* before, QAction* action) -{ - ( theWrappedObject->insertAction(before, action)); -} - -bool PythonQtWrapper_QWidget::isWindowModified(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->isWindowModified()); -} - -void PythonQtWrapper_QWidget::insertActions(QWidget* theWrappedObject, QAction* before, QList actions) -{ - ( theWrappedObject->insertActions(before, actions)); -} - -void PythonQtWrapper_QWidget::update(QWidget* theWrappedObject, const QRegion& arg__1) -{ - ( theWrappedObject->update(arg__1)); -} - -void PythonQtWrapper_QWidget::mouseReleaseEvent(QWidget* theWrappedObject, QMouseEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_mouseReleaseEvent(arg__1)); -} - -bool PythonQtWrapper_QWidget::isWindow(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->isWindow()); -} - -void PythonQtWrapper_QWidget::hideEvent(QWidget* theWrappedObject, QHideEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_hideEvent(arg__1)); -} - -QPoint PythonQtWrapper_QWidget::pos(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->pos()); -} - -void PythonQtWrapper_QWidget::setWindowRole(QWidget* theWrappedObject, const QString& arg__1) -{ - ( theWrappedObject->setWindowRole(arg__1)); -} - -WId PythonQtWrapper_QWidget::effectiveWinId(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->effectiveWinId()); -} - -void PythonQtWrapper_QWidget::setLayoutDirection(QWidget* theWrappedObject, Qt::LayoutDirection direction) -{ - ( theWrappedObject->setLayoutDirection(direction)); -} - -void PythonQtWrapper_QWidget::render(QWidget* theWrappedObject, QPainter* painter, const QPoint& targetOffset, const QRegion& sourceRegion, QWidget::RenderFlags renderFlags) -{ - ( theWrappedObject->render(painter, targetOffset, sourceRegion, renderFlags)); -} - -void PythonQtWrapper_QWidget::unsetCursor(QWidget* theWrappedObject) -{ - ( theWrappedObject->unsetCursor()); -} - -void PythonQtWrapper_QWidget::clearMask(QWidget* theWrappedObject) -{ - ( theWrappedObject->clearMask()); -} - -bool PythonQtWrapper_QWidget::isVisible(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->isVisible()); -} - -QString PythonQtWrapper_QWidget::accessibleName(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->accessibleName()); -} - -bool PythonQtWrapper_QWidget::event(QWidget* theWrappedObject, QEvent* arg__1) -{ - return ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_event(arg__1)); -} - -QWidget* PythonQtWrapper_QWidget::focusProxy(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->focusProxy()); -} - -void PythonQtWrapper_QWidget::setForegroundRole(QWidget* theWrappedObject, QPalette::ColorRole arg__1) -{ - ( theWrappedObject->setForegroundRole(arg__1)); -} - -QCursor PythonQtWrapper_QWidget::cursor(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->cursor()); -} - -bool PythonQtWrapper_QWidget::isMinimized(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->isMinimized()); -} - -void PythonQtWrapper_QWidget::createWinId(QWidget* theWrappedObject) -{ - ( theWrappedObject->createWinId()); -} - -void PythonQtWrapper_QWidget::setFocus(QWidget* theWrappedObject, Qt::FocusReason reason) -{ - ( theWrappedObject->setFocus(reason)); -} - -bool PythonQtWrapper_QWidget::autoFillBackground(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->autoFillBackground()); -} - -void PythonQtWrapper_QWidget::mouseMoveEvent(QWidget* theWrappedObject, QMouseEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_mouseMoveEvent(arg__1)); -} - -void PythonQtWrapper_QWidget::dragLeaveEvent(QWidget* theWrappedObject, QDragLeaveEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_dragLeaveEvent(arg__1)); -} - -void PythonQtWrapper_QWidget::clearFocus(QWidget* theWrappedObject) -{ - ( theWrappedObject->clearFocus()); -} - -QIcon PythonQtWrapper_QWidget::windowIcon(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->windowIcon()); -} - -void PythonQtWrapper_QWidget::closeEvent(QWidget* theWrappedObject, QCloseEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_closeEvent(arg__1)); -} - -void PythonQtWrapper_QWidget::mousePressEvent(QWidget* theWrappedObject, QMouseEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_mousePressEvent(arg__1)); -} - -QSize PythonQtWrapper_QWidget::size(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->size()); -} - -void PythonQtWrapper_QWidget::wheelEvent(QWidget* theWrappedObject, QWheelEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_wheelEvent(arg__1)); -} - -QSize PythonQtWrapper_QWidget::minimumSize(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->minimumSize()); -} - -void PythonQtWrapper_QWidget::setBaseSize(QWidget* theWrappedObject, int basew, int baseh) -{ - ( theWrappedObject->setBaseSize(basew, baseh)); -} - -void PythonQtWrapper_QWidget::grabMouse(QWidget* theWrappedObject, const QCursor& arg__1) -{ - ( theWrappedObject->grabMouse(arg__1)); -} - -void PythonQtWrapper_QWidget::setMask(QWidget* theWrappedObject, const QRegion& arg__1) -{ - ( theWrappedObject->setMask(arg__1)); -} - -void PythonQtWrapper_QWidget::setAccessibleName(QWidget* theWrappedObject, const QString& name) -{ - ( theWrappedObject->setAccessibleName(name)); -} - -bool PythonQtWrapper_QWidget::testAttribute(QWidget* theWrappedObject, Qt::WidgetAttribute arg__1) const -{ - return ( theWrappedObject->testAttribute(arg__1)); -} - -void PythonQtWrapper_QWidget::setCursor(QWidget* theWrappedObject, const QCursor& arg__1) -{ - ( theWrappedObject->setCursor(arg__1)); -} - -QWidget* PythonQtWrapper_QWidget::childAt(QWidget* theWrappedObject, const QPoint& p) const -{ - return ( theWrappedObject->childAt(p)); -} - -void PythonQtWrapper_QWidget::setWindowFlags(QWidget* theWrappedObject, Qt::WindowFlags type) -{ - ( theWrappedObject->setWindowFlags(type)); -} - -void PythonQtWrapper_QWidget::setMinimumWidth(QWidget* theWrappedObject, int minw) -{ - ( theWrappedObject->setMinimumWidth(minw)); -} - -void PythonQtWrapper_QWidget::setStyle(QWidget* theWrappedObject, QStyle* arg__1) -{ - ( theWrappedObject->setStyle(arg__1)); -} - -WId PythonQtWrapper_QWidget::winId(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->winId()); -} - -QString PythonQtWrapper_QWidget::windowTitle(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->windowTitle()); -} - -void PythonQtWrapper_QWidget::setAutoFillBackground(QWidget* theWrappedObject, bool enabled) -{ - ( theWrappedObject->setAutoFillBackground(enabled)); -} - -const QPalette* PythonQtWrapper_QWidget::palette(QWidget* theWrappedObject) const -{ - return &( theWrappedObject->palette()); -} - -int PythonQtWrapper_QWidget::maximumWidth(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->maximumWidth()); -} - -void PythonQtWrapper_QWidget::setFont(QWidget* theWrappedObject, const QFont& arg__1) -{ - ( theWrappedObject->setFont(arg__1)); -} - -void PythonQtWrapper_QWidget::adjustSize(QWidget* theWrappedObject) -{ - ( theWrappedObject->adjustSize()); -} - -void PythonQtWrapper_QWidget::releaseMouse(QWidget* theWrappedObject) -{ - ( theWrappedObject->releaseMouse()); -} - -void PythonQtWrapper_QWidget::setSizePolicy(QWidget* theWrappedObject, QSizePolicy arg__1) -{ - ( theWrappedObject->setSizePolicy(arg__1)); -} - -QString PythonQtWrapper_QWidget::windowIconText(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->windowIconText()); -} - -int PythonQtWrapper_QWidget::width(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->width()); -} - -void PythonQtWrapper_QWidget::setFixedWidth(QWidget* theWrappedObject, int w) -{ - ( theWrappedObject->setFixedWidth(w)); -} - -void PythonQtWrapper_QWidget::releaseShortcut(QWidget* theWrappedObject, int id) -{ - ( theWrappedObject->releaseShortcut(id)); -} - -Qt::WindowType PythonQtWrapper_QWidget::windowType(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->windowType()); -} - -QVariant PythonQtWrapper_QWidget::inputMethodQuery(QWidget* theWrappedObject, Qt::InputMethodQuery arg__1) const -{ - return ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_inputMethodQuery(arg__1)); -} - -void PythonQtWrapper_QWidget::resize(QWidget* theWrappedObject, int w, int h) -{ - ( theWrappedObject->resize(w, h)); -} - -void PythonQtWrapper_QWidget::update(QWidget* theWrappedObject, int x, int y, int w, int h) -{ - ( theWrappedObject->update(x, y, w, h)); -} - -void PythonQtWrapper_QWidget::mouseDoubleClickEvent(QWidget* theWrappedObject, QMouseEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_mouseDoubleClickEvent(arg__1)); -} - -QRect PythonQtWrapper_QWidget::childrenRect(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->childrenRect()); -} - -void PythonQtWrapper_QWidget::dropEvent(QWidget* theWrappedObject, QDropEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_dropEvent(arg__1)); -} - -void PythonQtWrapper_QWidget::updateGeometry(QWidget* theWrappedObject) -{ - ( theWrappedObject->updateGeometry()); -} - -QPoint PythonQtWrapper_QWidget::mapFromGlobal(QWidget* theWrappedObject, const QPoint& arg__1) const -{ - return ( theWrappedObject->mapFromGlobal(arg__1)); -} - -void PythonQtWrapper_QWidget::setAttribute(QWidget* theWrappedObject, Qt::WidgetAttribute arg__1, bool on) -{ - ( theWrappedObject->setAttribute(arg__1, on)); -} - -void PythonQtWrapper_QWidget::actionEvent(QWidget* theWrappedObject, QActionEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_actionEvent(arg__1)); -} - -QSize PythonQtWrapper_QWidget::sizeIncrement(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->sizeIncrement()); -} - -void PythonQtWrapper_QWidget::setInputContext(QWidget* theWrappedObject, QInputContext* arg__1) -{ - ( theWrappedObject->setInputContext(arg__1)); -} - -QWidget* PythonQtWrapper_QWidget::nextInFocusChain(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->nextInFocusChain()); -} - -void PythonQtWrapper_QWidget::setMaximumSize(QWidget* theWrappedObject, const QSize& arg__1) -{ - ( theWrappedObject->setMaximumSize(arg__1)); -} - -QWidget* PythonQtWrapper_QWidget::static_QWidget_mouseGrabber() -{ - return (QWidget::mouseGrabber()); -} - -void PythonQtWrapper_QWidget::setMinimumHeight(QWidget* theWrappedObject, int minh) -{ - ( theWrappedObject->setMinimumHeight(minh)); -} - -QSize PythonQtWrapper_QWidget::frameSize(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->frameSize()); -} - -void PythonQtWrapper_QWidget::setToolTip(QWidget* theWrappedObject, const QString& arg__1) -{ - ( theWrappedObject->setToolTip(arg__1)); -} - -void PythonQtWrapper_QWidget::grabKeyboard(QWidget* theWrappedObject) -{ - ( theWrappedObject->grabKeyboard()); -} - -bool PythonQtWrapper_QWidget::isHidden(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->isHidden()); -} - -QString PythonQtWrapper_QWidget::windowFilePath(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->windowFilePath()); -} - -void PythonQtWrapper_QWidget::leaveEvent(QWidget* theWrappedObject, QEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_leaveEvent(arg__1)); -} - -void PythonQtWrapper_QWidget::scroll(QWidget* theWrappedObject, int dx, int dy, const QRect& arg__3) -{ - ( theWrappedObject->scroll(dx, dy, arg__3)); -} - -void PythonQtWrapper_QWidget::setParent(QWidget* theWrappedObject, QWidget* parent, Qt::WindowFlags f) -{ - ( theWrappedObject->setParent(parent, f)); -} - -void PythonQtWrapper_QWidget::setSizeIncrement(QWidget* theWrappedObject, int w, int h) -{ - ( theWrappedObject->setSizeIncrement(w, h)); -} - -void PythonQtWrapper_QWidget::setSizeIncrement(QWidget* theWrappedObject, const QSize& arg__1) -{ - ( theWrappedObject->setSizeIncrement(arg__1)); -} - -bool PythonQtWrapper_QWidget::updatesEnabled(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->updatesEnabled()); -} - -Qt::WindowStates PythonQtWrapper_QWidget::windowState(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->windowState()); -} - -bool PythonQtWrapper_QWidget::isAncestorOf(QWidget* theWrappedObject, const QWidget* child) const -{ - return ( theWrappedObject->isAncestorOf(child)); -} - -void PythonQtWrapper_QWidget::overrideWindowFlags(QWidget* theWrappedObject, Qt::WindowFlags type) -{ - ( theWrappedObject->overrideWindowFlags(type)); -} - -QString PythonQtWrapper_QWidget::whatsThis(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->whatsThis()); -} - -void PythonQtWrapper_QWidget::setContextMenuPolicy(QWidget* theWrappedObject, Qt::ContextMenuPolicy policy) -{ - ( theWrappedObject->setContextMenuPolicy(policy)); -} - -QWidget* PythonQtWrapper_QWidget::focusWidget(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->focusWidget()); -} - -void PythonQtWrapper_QWidget::overrideWindowState(QWidget* theWrappedObject, Qt::WindowStates state) -{ - ( theWrappedObject->overrideWindowState(state)); -} - -QWidget* PythonQtWrapper_QWidget::childAt(QWidget* theWrappedObject, int x, int y) const -{ - return ( theWrappedObject->childAt(x, y)); -} - -const QFont* PythonQtWrapper_QWidget::font(QWidget* theWrappedObject) const -{ - return &( theWrappedObject->font()); -} - -void PythonQtWrapper_QWidget::setMinimumSize(QWidget* theWrappedObject, const QSize& arg__1) -{ - ( theWrappedObject->setMinimumSize(arg__1)); -} - -bool PythonQtWrapper_QWidget::underMouse(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->underMouse()); -} - -int PythonQtWrapper_QWidget::y(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->y()); -} - -QSize PythonQtWrapper_QWidget::sizeHint(QWidget* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_sizeHint()); -} - -void PythonQtWrapper_QWidget::keyPressEvent(QWidget* theWrappedObject, QKeyEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_keyPressEvent(arg__1)); -} - -void PythonQtWrapper_QWidget::moveEvent(QWidget* theWrappedObject, QMoveEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_moveEvent(arg__1)); -} - -QWidget* PythonQtWrapper_QWidget::nativeParentWidget(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->nativeParentWidget()); -} - -void PythonQtWrapper_QWidget::ensurePolished(QWidget* theWrappedObject) const -{ - ( theWrappedObject->ensurePolished()); -} - -int PythonQtWrapper_QWidget::maximumHeight(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->maximumHeight()); -} - -void PythonQtWrapper_QWidget::move(QWidget* theWrappedObject, int x, int y) -{ - ( theWrappedObject->move(x, y)); -} - -void PythonQtWrapper_QWidget::dragEnterEvent(QWidget* theWrappedObject, QDragEnterEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_dragEnterEvent(arg__1)); -} - -bool PythonQtWrapper_QWidget::isMaximized(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->isMaximized()); -} - -void PythonQtWrapper_QWidget::setBackgroundRole(QWidget* theWrappedObject, QPalette::ColorRole arg__1) -{ - ( theWrappedObject->setBackgroundRole(arg__1)); -} - -bool PythonQtWrapper_QWidget::isRightToLeft(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->isRightToLeft()); -} - -void PythonQtWrapper_QWidget::showEvent(QWidget* theWrappedObject, QShowEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_showEvent(arg__1)); -} - -void PythonQtWrapper_QWidget::addActions(QWidget* theWrappedObject, QList actions) -{ - ( theWrappedObject->addActions(actions)); -} - -void PythonQtWrapper_QWidget::setGeometry(QWidget* theWrappedObject, const QRect& arg__1) -{ - ( theWrappedObject->setGeometry(arg__1)); -} - -qreal PythonQtWrapper_QWidget::windowOpacity(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->windowOpacity()); -} - -QStyle* PythonQtWrapper_QWidget::style(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->style()); -} - -void PythonQtWrapper_QWidget::setMinimumSize(QWidget* theWrappedObject, int minw, int minh) -{ - ( theWrappedObject->setMinimumSize(minw, minh)); -} - -void PythonQtWrapper_QWidget::setContentsMargins(QWidget* theWrappedObject, int left, int top, int right, int bottom) -{ - ( theWrappedObject->setContentsMargins(left, top, right, bottom)); -} - -void PythonQtWrapper_QWidget::setLayout(QWidget* theWrappedObject, QLayout* arg__1) -{ - ( theWrappedObject->setLayout(arg__1)); -} - -void PythonQtWrapper_QWidget::setSizePolicy(QWidget* theWrappedObject, QSizePolicy::Policy horizontal, QSizePolicy::Policy vertical) -{ - ( theWrappedObject->setSizePolicy(horizontal, vertical)); -} - -void PythonQtWrapper_QWidget::stackUnder(QWidget* theWrappedObject, QWidget* arg__1) -{ - ( theWrappedObject->stackUnder(arg__1)); -} - -QPoint PythonQtWrapper_QWidget::mapTo(QWidget* theWrappedObject, QWidget* arg__1, const QPoint& arg__2) const -{ - return ( theWrappedObject->mapTo(arg__1, arg__2)); -} - -int PythonQtWrapper_QWidget::heightForWidth(QWidget* theWrappedObject, int arg__1) const -{ - return ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_heightForWidth(arg__1)); -} - -QPoint PythonQtWrapper_QWidget::mapToParent(QWidget* theWrappedObject, const QPoint& arg__1) const -{ - return ( theWrappedObject->mapToParent(arg__1)); -} - -int PythonQtWrapper_QWidget::metric(QWidget* theWrappedObject, QPaintDevice::PaintDeviceMetric arg__1) const -{ - return ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_metric(arg__1)); -} - -QRect PythonQtWrapper_QWidget::normalGeometry(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->normalGeometry()); -} - -void PythonQtWrapper_QWidget::resize(QWidget* theWrappedObject, const QSize& arg__1) -{ - ( theWrappedObject->resize(arg__1)); -} - -void PythonQtWrapper_QWidget::setMouseTracking(QWidget* theWrappedObject, bool enable) -{ - ( theWrappedObject->setMouseTracking(enable)); -} - -void PythonQtWrapper_QWidget::unsetLocale(QWidget* theWrappedObject) -{ - ( theWrappedObject->unsetLocale()); -} - -void PythonQtWrapper_QWidget::activateWindow(QWidget* theWrappedObject) -{ - ( theWrappedObject->activateWindow()); -} - -QWidget* PythonQtWrapper_QWidget::parentWidget(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->parentWidget()); -} - -bool PythonQtWrapper_QWidget::isActiveWindow(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->isActiveWindow()); -} - -Qt::WindowFlags PythonQtWrapper_QWidget::windowFlags(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->windowFlags()); -} - -void PythonQtWrapper_QWidget::setShortcutAutoRepeat(QWidget* theWrappedObject, int id, bool enable) -{ - ( theWrappedObject->setShortcutAutoRepeat(id, enable)); -} - -void PythonQtWrapper_QWidget::setWhatsThis(QWidget* theWrappedObject, const QString& arg__1) -{ - ( theWrappedObject->setWhatsThis(arg__1)); -} - -void PythonQtWrapper_QWidget::repaint(QWidget* theWrappedObject, const QRegion& arg__1) -{ - ( theWrappedObject->repaint(arg__1)); -} - -QString PythonQtWrapper_QWidget::windowRole(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->windowRole()); -} - -Qt::LayoutDirection PythonQtWrapper_QWidget::layoutDirection(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->layoutDirection()); -} - -void PythonQtWrapper_QWidget::setBaseSize(QWidget* theWrappedObject, const QSize& arg__1) -{ - ( theWrappedObject->setBaseSize(arg__1)); -} - -void PythonQtWrapper_QWidget::setFocusProxy(QWidget* theWrappedObject, QWidget* arg__1) -{ - ( theWrappedObject->setFocusProxy(arg__1)); -} - -int PythonQtWrapper_QWidget::x(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->x()); -} - -void PythonQtWrapper_QWidget::setLocale(QWidget* theWrappedObject, const QLocale& locale) -{ - ( theWrappedObject->setLocale(locale)); -} - -bool PythonQtWrapper_QWidget::restoreGeometry(QWidget* theWrappedObject, const QByteArray& geometry) -{ - return ( theWrappedObject->restoreGeometry(geometry)); -} - -QString PythonQtWrapper_QWidget::styleSheet(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->styleSheet()); -} - -void PythonQtWrapper_QWidget::enterEvent(QWidget* theWrappedObject, QEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_enterEvent(arg__1)); -} - -void PythonQtWrapper_QWidget::setPalette(QWidget* theWrappedObject, const QPalette& arg__1) -{ - ( theWrappedObject->setPalette(arg__1)); -} - -void PythonQtWrapper_QWidget::setAcceptDrops(QWidget* theWrappedObject, bool on) -{ - ( theWrappedObject->setAcceptDrops(on)); -} - -bool PythonQtWrapper_QWidget::isVisibleTo(QWidget* theWrappedObject, QWidget* arg__1) const -{ - return ( theWrappedObject->isVisibleTo(arg__1)); -} - -void PythonQtWrapper_QWidget::setFixedHeight(QWidget* theWrappedObject, int h) -{ - ( theWrappedObject->setFixedHeight(h)); -} - -QRegion PythonQtWrapper_QWidget::visibleRegion(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->visibleRegion()); -} - -void PythonQtWrapper_QWidget::focusInEvent(QWidget* theWrappedObject, QFocusEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_focusInEvent(arg__1)); -} - -QSize PythonQtWrapper_QWidget::baseSize(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->baseSize()); -} - -void PythonQtWrapper_QWidget::setFocusPolicy(QWidget* theWrappedObject, Qt::FocusPolicy policy) -{ - ( theWrappedObject->setFocusPolicy(policy)); -} - -void PythonQtWrapper_QWidget::contextMenuEvent(QWidget* theWrappedObject, QContextMenuEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_contextMenuEvent(arg__1)); -} - -QList PythonQtWrapper_QWidget::actions(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->actions()); -} - -void PythonQtWrapper_QWidget::releaseKeyboard(QWidget* theWrappedObject) -{ - ( theWrappedObject->releaseKeyboard()); -} - -void PythonQtWrapper_QWidget::keyReleaseEvent(QWidget* theWrappedObject, QKeyEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_keyReleaseEvent(arg__1)); -} - -QPalette::ColorRole PythonQtWrapper_QWidget::backgroundRole(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->backgroundRole()); -} - -QWidget* PythonQtWrapper_QWidget::static_QWidget_keyboardGrabber() -{ - return (QWidget::keyboardGrabber()); -} - -int PythonQtWrapper_QWidget::minimumWidth(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->minimumWidth()); -} - -void PythonQtWrapper_QWidget::setMaximumWidth(QWidget* theWrappedObject, int maxw) -{ - ( theWrappedObject->setMaximumWidth(maxw)); -} - -void PythonQtWrapper_QWidget::setUpdatesEnabled(QWidget* theWrappedObject, bool enable) -{ - ( theWrappedObject->setUpdatesEnabled(enable)); -} - -void PythonQtWrapper_QWidget::dragMoveEvent(QWidget* theWrappedObject, QDragMoveEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_dragMoveEvent(arg__1)); -} - -QRegion PythonQtWrapper_QWidget::childrenRegion(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->childrenRegion()); -} - -void PythonQtWrapper_QWidget::update(QWidget* theWrappedObject, const QRect& arg__1) -{ - ( theWrappedObject->update(arg__1)); -} - -bool PythonQtWrapper_QWidget::isLeftToRight(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->isLeftToRight()); -} - -QPoint PythonQtWrapper_QWidget::mapFromParent(QWidget* theWrappedObject, const QPoint& arg__1) const -{ - return ( theWrappedObject->mapFromParent(arg__1)); -} - -int PythonQtWrapper_QWidget::minimumHeight(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->minimumHeight()); -} - -void PythonQtWrapper_QWidget::render(QWidget* theWrappedObject, QPaintDevice* target, const QPoint& targetOffset, const QRegion& sourceRegion, QWidget::RenderFlags renderFlags) -{ - ( theWrappedObject->render(target, targetOffset, sourceRegion, renderFlags)); -} - -QRect PythonQtWrapper_QWidget::rect(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->rect()); -} - -void PythonQtWrapper_QWidget::focusOutEvent(QWidget* theWrappedObject, QFocusEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_focusOutEvent(arg__1)); -} - -void PythonQtWrapper_QWidget::setStatusTip(QWidget* theWrappedObject, const QString& arg__1) -{ - ( theWrappedObject->setStatusTip(arg__1)); -} - -Qt::ContextMenuPolicy PythonQtWrapper_QWidget::contextMenuPolicy(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->contextMenuPolicy()); -} - -void PythonQtWrapper_QWidget::setWindowIcon(QWidget* theWrappedObject, const QIcon& icon) -{ - ( theWrappedObject->setWindowIcon(icon)); -} - -void PythonQtWrapper_QWidget::getContentsMargins(QWidget* theWrappedObject, int* left, int* top, int* right, int* bottom) const -{ - ( theWrappedObject->getContentsMargins(left, top, right, bottom)); -} - -Qt::FocusPolicy PythonQtWrapper_QWidget::focusPolicy(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->focusPolicy()); -} - -void PythonQtWrapper_QWidget::setMaximumSize(QWidget* theWrappedObject, int maxw, int maxh) -{ - ( theWrappedObject->setMaximumSize(maxw, maxh)); -} - -void PythonQtWrapper_QWidget::static_QWidget_setTabOrder(QWidget* arg__1, QWidget* arg__2) -{ - (QWidget::setTabOrder(arg__1, arg__2)); -} - -bool PythonQtWrapper_QWidget::isEnabledTo(QWidget* theWrappedObject, QWidget* arg__1) const -{ - return ( theWrappedObject->isEnabledTo(arg__1)); -} - -void PythonQtWrapper_QWidget::tabletEvent(QWidget* theWrappedObject, QTabletEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_tabletEvent(arg__1)); -} - -bool PythonQtWrapper_QWidget::isEnabled(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->isEnabled()); -} - -void PythonQtWrapper_QWidget::setFixedSize(QWidget* theWrappedObject, int w, int h) -{ - ( theWrappedObject->setFixedSize(w, h)); -} - -void PythonQtWrapper_QWidget::setParent(QWidget* theWrappedObject, QWidget* parent) -{ - ( theWrappedObject->setParent(parent)); -} - -QRect PythonQtWrapper_QWidget::frameGeometry(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->frameGeometry()); -} - -bool PythonQtWrapper_QWidget::isModal(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->isModal()); -} - -QWidget* PythonQtWrapper_QWidget::window(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->window()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QWidget.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QWidget.h deleted file mode 100644 index 1b244ad..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QWidget.h +++ /dev/null @@ -1,377 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QWIDGET_H -#define PYTHONQTWRAPPER_QWIDGET_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QWidget : public QWidget -{ -public: - PythonQtShell_QWidget(QWidget* parent = 0, Qt::WindowFlags f = 0):QWidget(parent, f),_wrapper(NULL) {}; - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enabledChange(bool arg__1); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual void fontChange(const QFont& arg__1); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* arg__1); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual void paletteChange(const QPalette& arg__1); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void setVisible(bool visible); -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* arg__1); -virtual void windowActivationChange(bool arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QWidget : public QWidget -{ public: -inline void promoted_paintEvent(QPaintEvent* arg__1) { QWidget::paintEvent(arg__1); } -inline void promoted_resizeEvent(QResizeEvent* arg__1) { QWidget::resizeEvent(arg__1); } -inline void promoted_changeEvent(QEvent* arg__1) { QWidget::changeEvent(arg__1); } -inline bool promoted_focusNextPrevChild(bool next) { return QWidget::focusNextPrevChild(next); } -inline QSize promoted_minimumSizeHint() const { return QWidget::minimumSizeHint(); } -inline QPaintEngine* promoted_paintEngine() const { return QWidget::paintEngine(); } -inline void promoted_languageChange() { QWidget::languageChange(); } -inline int promoted_devType() const { return QWidget::devType(); } -inline void promoted_inputMethodEvent(QInputMethodEvent* arg__1) { QWidget::inputMethodEvent(arg__1); } -inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { QWidget::mouseReleaseEvent(arg__1); } -inline void promoted_hideEvent(QHideEvent* arg__1) { QWidget::hideEvent(arg__1); } -inline bool promoted_event(QEvent* arg__1) { return QWidget::event(arg__1); } -inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { QWidget::mouseMoveEvent(arg__1); } -inline void promoted_dragLeaveEvent(QDragLeaveEvent* arg__1) { QWidget::dragLeaveEvent(arg__1); } -inline void promoted_closeEvent(QCloseEvent* arg__1) { QWidget::closeEvent(arg__1); } -inline void promoted_mousePressEvent(QMouseEvent* arg__1) { QWidget::mousePressEvent(arg__1); } -inline void promoted_wheelEvent(QWheelEvent* arg__1) { QWidget::wheelEvent(arg__1); } -inline QVariant promoted_inputMethodQuery(Qt::InputMethodQuery arg__1) const { return QWidget::inputMethodQuery(arg__1); } -inline void promoted_mouseDoubleClickEvent(QMouseEvent* arg__1) { QWidget::mouseDoubleClickEvent(arg__1); } -inline void promoted_dropEvent(QDropEvent* arg__1) { QWidget::dropEvent(arg__1); } -inline void promoted_actionEvent(QActionEvent* arg__1) { QWidget::actionEvent(arg__1); } -inline void promoted_leaveEvent(QEvent* arg__1) { QWidget::leaveEvent(arg__1); } -inline QSize promoted_sizeHint() const { return QWidget::sizeHint(); } -inline void promoted_keyPressEvent(QKeyEvent* arg__1) { QWidget::keyPressEvent(arg__1); } -inline void promoted_moveEvent(QMoveEvent* arg__1) { QWidget::moveEvent(arg__1); } -inline void promoted_dragEnterEvent(QDragEnterEvent* arg__1) { QWidget::dragEnterEvent(arg__1); } -inline void promoted_showEvent(QShowEvent* arg__1) { QWidget::showEvent(arg__1); } -inline int promoted_heightForWidth(int arg__1) const { return QWidget::heightForWidth(arg__1); } -inline int promoted_metric(QPaintDevice::PaintDeviceMetric arg__1) const { return QWidget::metric(arg__1); } -inline void promoted_enterEvent(QEvent* arg__1) { QWidget::enterEvent(arg__1); } -inline void promoted_focusInEvent(QFocusEvent* arg__1) { QWidget::focusInEvent(arg__1); } -inline void promoted_contextMenuEvent(QContextMenuEvent* arg__1) { QWidget::contextMenuEvent(arg__1); } -inline void promoted_keyReleaseEvent(QKeyEvent* arg__1) { QWidget::keyReleaseEvent(arg__1); } -inline void promoted_dragMoveEvent(QDragMoveEvent* arg__1) { QWidget::dragMoveEvent(arg__1); } -inline void promoted_focusOutEvent(QFocusEvent* arg__1) { QWidget::focusOutEvent(arg__1); } -inline void promoted_tabletEvent(QTabletEvent* arg__1) { QWidget::tabletEvent(arg__1); } -}; - -class PythonQtWrapper_QWidget : public QObject -{ Q_OBJECT -public: -Q_ENUMS(RenderFlag ) -Q_FLAGS(RenderFlags ) -enum RenderFlag{ - DrawWindowBackground = QWidget::DrawWindowBackground, DrawChildren = QWidget::DrawChildren, IgnoreMask = QWidget::IgnoreMask}; -Q_DECLARE_FLAGS(RenderFlags, RenderFlag) -public slots: -QWidget* new_QWidget(QWidget* parent = 0, Qt::WindowFlags f = 0); -void delete_QWidget(QWidget* obj) { delete obj; } - void repaint(QWidget* theWrappedObject, int x, int y, int w, int h); - bool hasFocus(QWidget* theWrappedObject) const; - QPoint mapFrom(QWidget* theWrappedObject, QWidget* arg__1, const QPoint& arg__2) const; - void paintEvent(QWidget* theWrappedObject, QPaintEvent* arg__1); - void grabMouse(QWidget* theWrappedObject); - QRect contentsRect(QWidget* theWrappedObject) const; - void setAccessibleDescription(QWidget* theWrappedObject, const QString& description); - void resizeEvent(QWidget* theWrappedObject, QResizeEvent* arg__1); - void move(QWidget* theWrappedObject, const QPoint& arg__1); - QInputContext* inputContext(QWidget* theWrappedObject); - bool isFullScreen(QWidget* theWrappedObject) const; - Qt::WindowModality windowModality(QWidget* theWrappedObject) const; - void scroll(QWidget* theWrappedObject, int dx, int dy); - void changeEvent(QWidget* theWrappedObject, QEvent* arg__1); - bool focusNextPrevChild(QWidget* theWrappedObject, bool next); - int grabShortcut(QWidget* theWrappedObject, const QKeySequence& key, Qt::ShortcutContext context = Qt::WindowShortcut); - QSize minimumSizeHint(QWidget* theWrappedObject) const; - QString statusTip(QWidget* theWrappedObject) const; - void setWindowFilePath(QWidget* theWrappedObject, const QString& filePath); - QPaintEngine* paintEngine(QWidget* theWrappedObject) const; - QLocale locale(QWidget* theWrappedObject) const; - void setShortcutEnabled(QWidget* theWrappedObject, int id, bool enable = true); - QByteArray saveGeometry(QWidget* theWrappedObject) const; - void languageChange(QWidget* theWrappedObject); - const QRect* geometry(QWidget* theWrappedObject) const; - void setWindowOpacity(QWidget* theWrappedObject, qreal level); - int height(QWidget* theWrappedObject) const; - void setWindowState(QWidget* theWrappedObject, Qt::WindowStates state); - QString accessibleDescription(QWidget* theWrappedObject) const; - QRegion mask(QWidget* theWrappedObject) const; - void setMaximumHeight(QWidget* theWrappedObject, int maxh); - QString toolTip(QWidget* theWrappedObject) const; - int devType(QWidget* theWrappedObject) const; - void setFixedSize(QWidget* theWrappedObject, const QSize& arg__1); - QPalette::ColorRole foregroundRole(QWidget* theWrappedObject) const; - void removeAction(QWidget* theWrappedObject, QAction* action); - QSizePolicy sizePolicy(QWidget* theWrappedObject) const; - void setWindowIconText(QWidget* theWrappedObject, const QString& arg__1); - void repaint(QWidget* theWrappedObject, const QRect& arg__1); - void inputMethodEvent(QWidget* theWrappedObject, QInputMethodEvent* arg__1); - void addAction(QWidget* theWrappedObject, QAction* action); - QPoint mapToGlobal(QWidget* theWrappedObject, const QPoint& arg__1) const; - bool hasMouseTracking(QWidget* theWrappedObject) const; - QSize maximumSize(QWidget* theWrappedObject) const; - void setMask(QWidget* theWrappedObject, const QBitmap& arg__1); - void setWindowModality(QWidget* theWrappedObject, Qt::WindowModality windowModality); - void setGeometry(QWidget* theWrappedObject, int x, int y, int w, int h); - void unsetLayoutDirection(QWidget* theWrappedObject); - QLayout* layout(QWidget* theWrappedObject) const; - bool acceptDrops(QWidget* theWrappedObject) const; - void insertAction(QWidget* theWrappedObject, QAction* before, QAction* action); - bool isWindowModified(QWidget* theWrappedObject) const; - void insertActions(QWidget* theWrappedObject, QAction* before, QList actions); - void update(QWidget* theWrappedObject, const QRegion& arg__1); - void mouseReleaseEvent(QWidget* theWrappedObject, QMouseEvent* arg__1); - bool isWindow(QWidget* theWrappedObject) const; - void hideEvent(QWidget* theWrappedObject, QHideEvent* arg__1); - QPoint pos(QWidget* theWrappedObject) const; - void setWindowRole(QWidget* theWrappedObject, const QString& arg__1); - WId effectiveWinId(QWidget* theWrappedObject) const; - void setLayoutDirection(QWidget* theWrappedObject, Qt::LayoutDirection direction); - void render(QWidget* theWrappedObject, QPainter* painter, const QPoint& targetOffset = QPoint(), const QRegion& sourceRegion = QRegion(), QWidget::RenderFlags renderFlags = QWidget::RenderFlags(DrawWindowBackground | DrawChildren)); - void unsetCursor(QWidget* theWrappedObject); - void clearMask(QWidget* theWrappedObject); - bool isVisible(QWidget* theWrappedObject) const; - QString accessibleName(QWidget* theWrappedObject) const; - bool event(QWidget* theWrappedObject, QEvent* arg__1); - QWidget* focusProxy(QWidget* theWrappedObject) const; - void setForegroundRole(QWidget* theWrappedObject, QPalette::ColorRole arg__1); - QCursor cursor(QWidget* theWrappedObject) const; - bool isMinimized(QWidget* theWrappedObject) const; - void createWinId(QWidget* theWrappedObject); - void setFocus(QWidget* theWrappedObject, Qt::FocusReason reason); - bool autoFillBackground(QWidget* theWrappedObject) const; - void mouseMoveEvent(QWidget* theWrappedObject, QMouseEvent* arg__1); - void dragLeaveEvent(QWidget* theWrappedObject, QDragLeaveEvent* arg__1); - void clearFocus(QWidget* theWrappedObject); - QIcon windowIcon(QWidget* theWrappedObject) const; - void closeEvent(QWidget* theWrappedObject, QCloseEvent* arg__1); - void mousePressEvent(QWidget* theWrappedObject, QMouseEvent* arg__1); - QSize size(QWidget* theWrappedObject) const; - void wheelEvent(QWidget* theWrappedObject, QWheelEvent* arg__1); - QSize minimumSize(QWidget* theWrappedObject) const; - void setBaseSize(QWidget* theWrappedObject, int basew, int baseh); - void grabMouse(QWidget* theWrappedObject, const QCursor& arg__1); - void setMask(QWidget* theWrappedObject, const QRegion& arg__1); - void setAccessibleName(QWidget* theWrappedObject, const QString& name); - bool testAttribute(QWidget* theWrappedObject, Qt::WidgetAttribute arg__1) const; - void setCursor(QWidget* theWrappedObject, const QCursor& arg__1); - QWidget* childAt(QWidget* theWrappedObject, const QPoint& p) const; - void setWindowFlags(QWidget* theWrappedObject, Qt::WindowFlags type); - void setMinimumWidth(QWidget* theWrappedObject, int minw); - void setStyle(QWidget* theWrappedObject, QStyle* arg__1); - WId winId(QWidget* theWrappedObject) const; - QString windowTitle(QWidget* theWrappedObject) const; - void setAutoFillBackground(QWidget* theWrappedObject, bool enabled); - const QPalette* palette(QWidget* theWrappedObject) const; - int maximumWidth(QWidget* theWrappedObject) const; - void setFont(QWidget* theWrappedObject, const QFont& arg__1); - void adjustSize(QWidget* theWrappedObject); - void releaseMouse(QWidget* theWrappedObject); - void setSizePolicy(QWidget* theWrappedObject, QSizePolicy arg__1); - QString windowIconText(QWidget* theWrappedObject) const; - int width(QWidget* theWrappedObject) const; - void setFixedWidth(QWidget* theWrappedObject, int w); - void releaseShortcut(QWidget* theWrappedObject, int id); - Qt::WindowType windowType(QWidget* theWrappedObject) const; - QVariant inputMethodQuery(QWidget* theWrappedObject, Qt::InputMethodQuery arg__1) const; - void resize(QWidget* theWrappedObject, int w, int h); - void update(QWidget* theWrappedObject, int x, int y, int w, int h); - void mouseDoubleClickEvent(QWidget* theWrappedObject, QMouseEvent* arg__1); - QRect childrenRect(QWidget* theWrappedObject) const; - void dropEvent(QWidget* theWrappedObject, QDropEvent* arg__1); - void updateGeometry(QWidget* theWrappedObject); - QPoint mapFromGlobal(QWidget* theWrappedObject, const QPoint& arg__1) const; - void setAttribute(QWidget* theWrappedObject, Qt::WidgetAttribute arg__1, bool on = true); - void actionEvent(QWidget* theWrappedObject, QActionEvent* arg__1); - QSize sizeIncrement(QWidget* theWrappedObject) const; - void setInputContext(QWidget* theWrappedObject, QInputContext* arg__1); - QWidget* nextInFocusChain(QWidget* theWrappedObject) const; - void setMaximumSize(QWidget* theWrappedObject, const QSize& arg__1); - QWidget* static_QWidget_mouseGrabber(); - void setMinimumHeight(QWidget* theWrappedObject, int minh); - QSize frameSize(QWidget* theWrappedObject) const; - void setToolTip(QWidget* theWrappedObject, const QString& arg__1); - void grabKeyboard(QWidget* theWrappedObject); - bool isHidden(QWidget* theWrappedObject) const; - QString windowFilePath(QWidget* theWrappedObject) const; - void leaveEvent(QWidget* theWrappedObject, QEvent* arg__1); - void scroll(QWidget* theWrappedObject, int dx, int dy, const QRect& arg__3); - void setParent(QWidget* theWrappedObject, QWidget* parent, Qt::WindowFlags f); - void setSizeIncrement(QWidget* theWrappedObject, int w, int h); - void setSizeIncrement(QWidget* theWrappedObject, const QSize& arg__1); - bool updatesEnabled(QWidget* theWrappedObject) const; - Qt::WindowStates windowState(QWidget* theWrappedObject) const; - bool isAncestorOf(QWidget* theWrappedObject, const QWidget* child) const; - void overrideWindowFlags(QWidget* theWrappedObject, Qt::WindowFlags type); - QString whatsThis(QWidget* theWrappedObject) const; - void setContextMenuPolicy(QWidget* theWrappedObject, Qt::ContextMenuPolicy policy); - QWidget* focusWidget(QWidget* theWrappedObject) const; - void overrideWindowState(QWidget* theWrappedObject, Qt::WindowStates state); - QWidget* childAt(QWidget* theWrappedObject, int x, int y) const; - const QFont* font(QWidget* theWrappedObject) const; - void setMinimumSize(QWidget* theWrappedObject, const QSize& arg__1); - bool underMouse(QWidget* theWrappedObject) const; - int y(QWidget* theWrappedObject) const; - QSize sizeHint(QWidget* theWrappedObject) const; - void keyPressEvent(QWidget* theWrappedObject, QKeyEvent* arg__1); - void moveEvent(QWidget* theWrappedObject, QMoveEvent* arg__1); - QWidget* nativeParentWidget(QWidget* theWrappedObject) const; - void ensurePolished(QWidget* theWrappedObject) const; - int maximumHeight(QWidget* theWrappedObject) const; - void move(QWidget* theWrappedObject, int x, int y); - void dragEnterEvent(QWidget* theWrappedObject, QDragEnterEvent* arg__1); - bool isMaximized(QWidget* theWrappedObject) const; - void setBackgroundRole(QWidget* theWrappedObject, QPalette::ColorRole arg__1); - bool isRightToLeft(QWidget* theWrappedObject) const; - void showEvent(QWidget* theWrappedObject, QShowEvent* arg__1); - void addActions(QWidget* theWrappedObject, QList actions); - void setGeometry(QWidget* theWrappedObject, const QRect& arg__1); - qreal windowOpacity(QWidget* theWrappedObject) const; - QStyle* style(QWidget* theWrappedObject) const; - void setMinimumSize(QWidget* theWrappedObject, int minw, int minh); - void setContentsMargins(QWidget* theWrappedObject, int left, int top, int right, int bottom); - void setLayout(QWidget* theWrappedObject, QLayout* arg__1); - void setSizePolicy(QWidget* theWrappedObject, QSizePolicy::Policy horizontal, QSizePolicy::Policy vertical); - void stackUnder(QWidget* theWrappedObject, QWidget* arg__1); - QPoint mapTo(QWidget* theWrappedObject, QWidget* arg__1, const QPoint& arg__2) const; - int heightForWidth(QWidget* theWrappedObject, int arg__1) const; - QPoint mapToParent(QWidget* theWrappedObject, const QPoint& arg__1) const; - int metric(QWidget* theWrappedObject, QPaintDevice::PaintDeviceMetric arg__1) const; - QRect normalGeometry(QWidget* theWrappedObject) const; - void resize(QWidget* theWrappedObject, const QSize& arg__1); - void setMouseTracking(QWidget* theWrappedObject, bool enable); - void unsetLocale(QWidget* theWrappedObject); - void activateWindow(QWidget* theWrappedObject); - QWidget* parentWidget(QWidget* theWrappedObject) const; - bool isActiveWindow(QWidget* theWrappedObject) const; - Qt::WindowFlags windowFlags(QWidget* theWrappedObject) const; - void setShortcutAutoRepeat(QWidget* theWrappedObject, int id, bool enable = true); - void setWhatsThis(QWidget* theWrappedObject, const QString& arg__1); - void repaint(QWidget* theWrappedObject, const QRegion& arg__1); - QString windowRole(QWidget* theWrappedObject) const; - Qt::LayoutDirection layoutDirection(QWidget* theWrappedObject) const; - void setBaseSize(QWidget* theWrappedObject, const QSize& arg__1); - void setFocusProxy(QWidget* theWrappedObject, QWidget* arg__1); - int x(QWidget* theWrappedObject) const; - void setLocale(QWidget* theWrappedObject, const QLocale& locale); - bool restoreGeometry(QWidget* theWrappedObject, const QByteArray& geometry); - QString styleSheet(QWidget* theWrappedObject) const; - void enterEvent(QWidget* theWrappedObject, QEvent* arg__1); - void setPalette(QWidget* theWrappedObject, const QPalette& arg__1); - void setAcceptDrops(QWidget* theWrappedObject, bool on); - bool isVisibleTo(QWidget* theWrappedObject, QWidget* arg__1) const; - void setFixedHeight(QWidget* theWrappedObject, int h); - QRegion visibleRegion(QWidget* theWrappedObject) const; - void focusInEvent(QWidget* theWrappedObject, QFocusEvent* arg__1); - QSize baseSize(QWidget* theWrappedObject) const; - void setFocusPolicy(QWidget* theWrappedObject, Qt::FocusPolicy policy); - void contextMenuEvent(QWidget* theWrappedObject, QContextMenuEvent* arg__1); - QList actions(QWidget* theWrappedObject) const; - void releaseKeyboard(QWidget* theWrappedObject); - void keyReleaseEvent(QWidget* theWrappedObject, QKeyEvent* arg__1); - QPalette::ColorRole backgroundRole(QWidget* theWrappedObject) const; - QWidget* static_QWidget_keyboardGrabber(); - int minimumWidth(QWidget* theWrappedObject) const; - void setMaximumWidth(QWidget* theWrappedObject, int maxw); - void setUpdatesEnabled(QWidget* theWrappedObject, bool enable); - void dragMoveEvent(QWidget* theWrappedObject, QDragMoveEvent* arg__1); - QRegion childrenRegion(QWidget* theWrappedObject) const; - void update(QWidget* theWrappedObject, const QRect& arg__1); - bool isLeftToRight(QWidget* theWrappedObject) const; - QPoint mapFromParent(QWidget* theWrappedObject, const QPoint& arg__1) const; - int minimumHeight(QWidget* theWrappedObject) const; - void render(QWidget* theWrappedObject, QPaintDevice* target, const QPoint& targetOffset = QPoint(), const QRegion& sourceRegion = QRegion(), QWidget::RenderFlags renderFlags = QWidget::RenderFlags(DrawWindowBackground | DrawChildren)); - QRect rect(QWidget* theWrappedObject) const; - void focusOutEvent(QWidget* theWrappedObject, QFocusEvent* arg__1); - void setStatusTip(QWidget* theWrappedObject, const QString& arg__1); - Qt::ContextMenuPolicy contextMenuPolicy(QWidget* theWrappedObject) const; - void setWindowIcon(QWidget* theWrappedObject, const QIcon& icon); - void getContentsMargins(QWidget* theWrappedObject, int* left, int* top, int* right, int* bottom) const; - Qt::FocusPolicy focusPolicy(QWidget* theWrappedObject) const; - void setMaximumSize(QWidget* theWrappedObject, int maxw, int maxh); - void static_QWidget_setTabOrder(QWidget* arg__1, QWidget* arg__2); - bool isEnabledTo(QWidget* theWrappedObject, QWidget* arg__1) const; - void tabletEvent(QWidget* theWrappedObject, QTabletEvent* arg__1); - bool isEnabled(QWidget* theWrappedObject) const; - void setFixedSize(QWidget* theWrappedObject, int w, int h); - void setParent(QWidget* theWrappedObject, QWidget* parent); - QRect frameGeometry(QWidget* theWrappedObject) const; - bool isModal(QWidget* theWrappedObject) const; - QWidget* window(QWidget* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QWIDGET_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QWidgetAction.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QWidgetAction.cpp deleted file mode 100644 index 13cf089..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QWidgetAction.cpp +++ /dev/null @@ -1,214 +0,0 @@ -#include "PythonQtWrapper_QWidgetAction.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QWidgetAction::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; - } -} - QWidgetAction::childEvent(arg__1); -} -QWidget* PythonQtShell_QWidgetAction::createWidget(QWidget* parent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "createWidget"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QWidget*" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QWidget* returnValue; - void* args[2] = {NULL, (void*)&parent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("createWidget", methodInfo, result); - } else { - returnValue = *((QWidget**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWidgetAction::createWidget(parent); -} -void PythonQtShell_QWidgetAction::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; - } -} - QWidgetAction::customEvent(arg__1); -} -void PythonQtShell_QWidgetAction::deleteWidget(QWidget* widget) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "deleteWidget"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&widget}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWidgetAction::deleteWidget(widget); -} -bool PythonQtShell_QWidgetAction::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWidgetAction::event(arg__1); -} -bool PythonQtShell_QWidgetAction::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWidgetAction::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QWidgetAction::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; - } -} - QWidgetAction::timerEvent(arg__1); -} -QWidgetAction* PythonQtWrapper_QWidgetAction::new_QWidgetAction(QObject* parent) -{ -return new PythonQtShell_QWidgetAction(parent); } - -bool PythonQtWrapper_QWidgetAction::event(QWidgetAction* theWrappedObject, QEvent* arg__1) -{ - return ( ((PythonQtPublicPromoter_QWidgetAction*)theWrappedObject)->promoted_event(arg__1)); -} - -QWidget* PythonQtWrapper_QWidgetAction::requestWidget(QWidgetAction* theWrappedObject, QWidget* parent) -{ - return ( theWrappedObject->requestWidget(parent)); -} - -void PythonQtWrapper_QWidgetAction::deleteWidget(QWidgetAction* theWrappedObject, QWidget* widget) -{ - ( ((PythonQtPublicPromoter_QWidgetAction*)theWrappedObject)->promoted_deleteWidget(widget)); -} - -void PythonQtWrapper_QWidgetAction::releaseWidget(QWidgetAction* theWrappedObject, QWidget* widget) -{ - ( theWrappedObject->releaseWidget(widget)); -} - -QWidget* PythonQtWrapper_QWidgetAction::defaultWidget(QWidgetAction* theWrappedObject) const -{ - return ( theWrappedObject->defaultWidget()); -} - -void PythonQtWrapper_QWidgetAction::setDefaultWidget(QWidgetAction* theWrappedObject, QWidget* w) -{ - ( theWrappedObject->setDefaultWidget(w)); -} - -QWidget* PythonQtWrapper_QWidgetAction::createWidget(QWidgetAction* theWrappedObject, QWidget* parent) -{ - return ( ((PythonQtPublicPromoter_QWidgetAction*)theWrappedObject)->promoted_createWidget(parent)); -} - -bool PythonQtWrapper_QWidgetAction::eventFilter(QWidgetAction* theWrappedObject, QObject* arg__1, QEvent* arg__2) -{ - return ( ((PythonQtPublicPromoter_QWidgetAction*)theWrappedObject)->promoted_eventFilter(arg__1, arg__2)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QWidgetAction.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QWidgetAction.h deleted file mode 100644 index 7937c46..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QWidgetAction.h +++ /dev/null @@ -1,62 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QWIDGETACTION_H -#define PYTHONQTWRAPPER_QWIDGETACTION_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QWidgetAction : public QWidgetAction -{ -public: - PythonQtShell_QWidgetAction(QObject* parent):QWidgetAction(parent),_wrapper(NULL) {}; - -virtual void childEvent(QChildEvent* arg__1); -virtual QWidget* createWidget(QWidget* parent); -virtual void customEvent(QEvent* arg__1); -virtual void deleteWidget(QWidget* widget); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QWidgetAction : public QWidgetAction -{ public: -inline bool promoted_event(QEvent* arg__1) { return QWidgetAction::event(arg__1); } -inline void promoted_deleteWidget(QWidget* widget) { QWidgetAction::deleteWidget(widget); } -inline QWidget* promoted_createWidget(QWidget* parent) { return QWidgetAction::createWidget(parent); } -inline bool promoted_eventFilter(QObject* arg__1, QEvent* arg__2) { return QWidgetAction::eventFilter(arg__1, arg__2); } -}; - -class PythonQtWrapper_QWidgetAction : public QObject -{ Q_OBJECT -public: -public slots: -QWidgetAction* new_QWidgetAction(QObject* parent); -void delete_QWidgetAction(QWidgetAction* obj) { delete obj; } - bool event(QWidgetAction* theWrappedObject, QEvent* arg__1); - QWidget* requestWidget(QWidgetAction* theWrappedObject, QWidget* parent); - void deleteWidget(QWidgetAction* theWrappedObject, QWidget* widget); - void releaseWidget(QWidgetAction* theWrappedObject, QWidget* widget); - QWidget* defaultWidget(QWidgetAction* theWrappedObject) const; - void setDefaultWidget(QWidgetAction* theWrappedObject, QWidget* w); - QWidget* createWidget(QWidgetAction* theWrappedObject, QWidget* parent); - bool eventFilter(QWidgetAction* theWrappedObject, QObject* arg__1, QEvent* arg__2); -}; - -#endif // PYTHONQTWRAPPER_QWIDGETACTION_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QWidgetItem.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QWidgetItem.cpp deleted file mode 100644 index 56a79d5..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QWidgetItem.cpp +++ /dev/null @@ -1,436 +0,0 @@ -#include "PythonQtWrapper_QWidgetItem.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -Qt::Orientations PythonQtShell_QWidgetItem::expandingDirections() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "expandingDirections"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"Qt::Orientations"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::Orientations returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); - } else { - returnValue = *((Qt::Orientations*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWidgetItem::expandingDirections(); -} -QRect PythonQtShell_QWidgetItem::geometry() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "geometry"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QRect"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRect returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWidgetItem::geometry(); -} -bool PythonQtShell_QWidgetItem::hasHeightForWidth() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hasHeightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWidgetItem::hasHeightForWidth(); -} -int PythonQtShell_QWidgetItem::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWidgetItem::heightForWidth(arg__1); -} -void PythonQtShell_QWidgetItem::invalidate() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "invalidate"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWidgetItem::invalidate(); -} -bool PythonQtShell_QWidgetItem::isEmpty() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isEmpty"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWidgetItem::isEmpty(); -} -QLayout* PythonQtShell_QWidgetItem::layout() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "layout"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QLayout*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QLayout* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("layout", methodInfo, result); - } else { - returnValue = *((QLayout**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWidgetItem::layout(); -} -QSize PythonQtShell_QWidgetItem::maximumSize() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "maximumSize"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWidgetItem::maximumSize(); -} -int PythonQtShell_QWidgetItem::minimumHeightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "minimumHeightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - 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("minimumHeightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWidgetItem::minimumHeightForWidth(arg__1); -} -QSize PythonQtShell_QWidgetItem::minimumSize() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "minimumSize"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWidgetItem::minimumSize(); -} -void PythonQtShell_QWidgetItem::setGeometry(const QRect& arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setGeometry"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QRect&"}; - 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; - } -} - QWidgetItem::setGeometry(arg__1); -} -QSize PythonQtShell_QWidgetItem::sizeHint() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeHint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWidgetItem::sizeHint(); -} -QSpacerItem* PythonQtShell_QWidgetItem::spacerItem() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "spacerItem"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSpacerItem*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSpacerItem* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("spacerItem", methodInfo, result); - } else { - returnValue = *((QSpacerItem**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWidgetItem::spacerItem(); -} -QWidget* PythonQtShell_QWidgetItem::widget() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "widget"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QWidget* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("widget", methodInfo, result); - } else { - returnValue = *((QWidget**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWidgetItem::widget(); -} -QWidgetItem* PythonQtWrapper_QWidgetItem::new_QWidgetItem(QWidget* w) -{ -return new PythonQtShell_QWidgetItem(w); } - -QSize PythonQtWrapper_QWidgetItem::maximumSize(QWidgetItem* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QWidgetItem*)theWrappedObject)->promoted_maximumSize()); -} - -QSize PythonQtWrapper_QWidgetItem::sizeHint(QWidgetItem* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QWidgetItem*)theWrappedObject)->promoted_sizeHint()); -} - -bool PythonQtWrapper_QWidgetItem::isEmpty(QWidgetItem* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QWidgetItem*)theWrappedObject)->promoted_isEmpty()); -} - -void PythonQtWrapper_QWidgetItem::setGeometry(QWidgetItem* theWrappedObject, const QRect& arg__1) -{ - ( ((PythonQtPublicPromoter_QWidgetItem*)theWrappedObject)->promoted_setGeometry(arg__1)); -} - -Qt::Orientations PythonQtWrapper_QWidgetItem::expandingDirections(QWidgetItem* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QWidgetItem*)theWrappedObject)->promoted_expandingDirections()); -} - -QRect PythonQtWrapper_QWidgetItem::geometry(QWidgetItem* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QWidgetItem*)theWrappedObject)->promoted_geometry()); -} - -bool PythonQtWrapper_QWidgetItem::hasHeightForWidth(QWidgetItem* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QWidgetItem*)theWrappedObject)->promoted_hasHeightForWidth()); -} - -QWidget* PythonQtWrapper_QWidgetItem::widget(QWidgetItem* theWrappedObject) -{ - return ( ((PythonQtPublicPromoter_QWidgetItem*)theWrappedObject)->promoted_widget()); -} - -QSize PythonQtWrapper_QWidgetItem::minimumSize(QWidgetItem* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QWidgetItem*)theWrappedObject)->promoted_minimumSize()); -} - -int PythonQtWrapper_QWidgetItem::heightForWidth(QWidgetItem* theWrappedObject, int arg__1) const -{ - return ( ((PythonQtPublicPromoter_QWidgetItem*)theWrappedObject)->promoted_heightForWidth(arg__1)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QWidgetItem.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QWidgetItem.h deleted file mode 100644 index 97ff450..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QWidgetItem.h +++ /dev/null @@ -1,71 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QWIDGETITEM_H -#define PYTHONQTWRAPPER_QWIDGETITEM_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QWidgetItem : public QWidgetItem -{ -public: - PythonQtShell_QWidgetItem(QWidget* w):QWidgetItem(w),_wrapper(NULL) {}; - -virtual Qt::Orientations expandingDirections() const; -virtual QRect geometry() const; -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void invalidate(); -virtual bool isEmpty() const; -virtual QLayout* layout(); -virtual QSize maximumSize() const; -virtual int minimumHeightForWidth(int arg__1) const; -virtual QSize minimumSize() const; -virtual void setGeometry(const QRect& arg__1); -virtual QSize sizeHint() const; -virtual QSpacerItem* spacerItem(); -virtual QWidget* widget(); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QWidgetItem : public QWidgetItem -{ public: -inline QSize promoted_maximumSize() const { return QWidgetItem::maximumSize(); } -inline QSize promoted_sizeHint() const { return QWidgetItem::sizeHint(); } -inline bool promoted_isEmpty() const { return QWidgetItem::isEmpty(); } -inline void promoted_setGeometry(const QRect& arg__1) { QWidgetItem::setGeometry(arg__1); } -inline Qt::Orientations promoted_expandingDirections() const { return QWidgetItem::expandingDirections(); } -inline QRect promoted_geometry() const { return QWidgetItem::geometry(); } -inline bool promoted_hasHeightForWidth() const { return QWidgetItem::hasHeightForWidth(); } -inline QWidget* promoted_widget() { return QWidgetItem::widget(); } -inline QSize promoted_minimumSize() const { return QWidgetItem::minimumSize(); } -inline int promoted_heightForWidth(int arg__1) const { return QWidgetItem::heightForWidth(arg__1); } -}; - -class PythonQtWrapper_QWidgetItem : public QObject -{ Q_OBJECT -public: -public slots: -QWidgetItem* new_QWidgetItem(QWidget* w); -void delete_QWidgetItem(QWidgetItem* obj) { delete obj; } - QSize maximumSize(QWidgetItem* theWrappedObject) const; - QSize sizeHint(QWidgetItem* theWrappedObject) const; - bool isEmpty(QWidgetItem* theWrappedObject) const; - void setGeometry(QWidgetItem* theWrappedObject, const QRect& arg__1); - Qt::Orientations expandingDirections(QWidgetItem* theWrappedObject) const; - QRect geometry(QWidgetItem* theWrappedObject) const; - bool hasHeightForWidth(QWidgetItem* theWrappedObject) const; - QWidget* widget(QWidgetItem* theWrappedObject); - QSize minimumSize(QWidgetItem* theWrappedObject) const; - int heightForWidth(QWidgetItem* theWrappedObject, int arg__1) const; -}; - -#endif // PYTHONQTWRAPPER_QWIDGETITEM_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QWindowStateChangeEvent.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QWindowStateChangeEvent.cpp deleted file mode 100644 index 1ff7156..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QWindowStateChangeEvent.cpp +++ /dev/null @@ -1,25 +0,0 @@ -#include "PythonQtWrapper_QWindowStateChangeEvent.h" - -#include -#include -#include -#include - -QWindowStateChangeEvent* PythonQtWrapper_QWindowStateChangeEvent::new_QWindowStateChangeEvent(Qt::WindowStates aOldState) -{ -return new QWindowStateChangeEvent(aOldState); } - -QWindowStateChangeEvent* PythonQtWrapper_QWindowStateChangeEvent::new_QWindowStateChangeEvent(Qt::WindowStates aOldState, bool isOverride) -{ -return new QWindowStateChangeEvent(aOldState, isOverride); } - -Qt::WindowStates PythonQtWrapper_QWindowStateChangeEvent::oldState(QWindowStateChangeEvent* theWrappedObject) const -{ - return ( theWrappedObject->oldState()); -} - -bool PythonQtWrapper_QWindowStateChangeEvent::isOverride(QWindowStateChangeEvent* theWrappedObject) const -{ - return ( theWrappedObject->isOverride()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QWindowStateChangeEvent.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QWindowStateChangeEvent.h deleted file mode 100644 index 18f3da9..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QWindowStateChangeEvent.h +++ /dev/null @@ -1,22 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QWINDOWSTATECHANGEEVENT_H -#define PYTHONQTWRAPPER_QWINDOWSTATECHANGEEVENT_H - -#include -#include - -#include - -#include - -class PythonQtWrapper_QWindowStateChangeEvent : public QObject -{ Q_OBJECT -public: -public slots: -QWindowStateChangeEvent* new_QWindowStateChangeEvent(Qt::WindowStates aOldState); -QWindowStateChangeEvent* new_QWindowStateChangeEvent(Qt::WindowStates aOldState, bool isOverride); -void delete_QWindowStateChangeEvent(QWindowStateChangeEvent* obj) { delete obj; } - Qt::WindowStates oldState(QWindowStateChangeEvent* theWrappedObject) const; - bool isOverride(QWindowStateChangeEvent* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QWINDOWSTATECHANGEEVENT_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QWindowsStyle.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QWindowsStyle.cpp deleted file mode 100644 index b953880..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QWindowsStyle.cpp +++ /dev/null @@ -1,654 +0,0 @@ -#include "PythonQtWrapper_QWindowsStyle.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QWindowsStyle::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; - } -} - QWindowsStyle::childEvent(arg__1); -} -void PythonQtShell_QWindowsStyle::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; - } -} - QWindowsStyle::customEvent(arg__1); -} -void PythonQtShell_QWindowsStyle::drawComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QPainter* p, const QWidget* w) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawComplexControl"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QStyle::ComplexControl" , "const QStyleOptionComplex*" , "QPainter*" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&cc, (void*)&opt, (void*)&p, (void*)&w}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWindowsStyle::drawComplexControl(cc, opt, p, w); -} -void PythonQtShell_QWindowsStyle::drawControl(QStyle::ControlElement element, const QStyleOption* opt, QPainter* p, const QWidget* w) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawControl"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QStyle::ControlElement" , "const QStyleOption*" , "QPainter*" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&element, (void*)&opt, (void*)&p, (void*)&w}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWindowsStyle::drawControl(element, opt, p, w); -} -void PythonQtShell_QWindowsStyle::drawItemPixmap(QPainter* painter, const QRect& rect, int alignment, const QPixmap& pixmap) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawItemPixmap"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "int" , "const QPixmap&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&painter, (void*)&rect, (void*)&alignment, (void*)&pixmap}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWindowsStyle::drawItemPixmap(painter, rect, alignment, pixmap); -} -void PythonQtShell_QWindowsStyle::drawItemText(QPainter* painter, const QRect& rect, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawItemText"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "int" , "const QPalette&" , "bool" , "const QString&" , "QPalette::ColorRole"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(8, argumentList); - void* args[8] = {NULL, (void*)&painter, (void*)&rect, (void*)&flags, (void*)&pal, (void*)&enabled, (void*)&text, (void*)&textRole}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWindowsStyle::drawItemText(painter, rect, flags, pal, enabled, text, textRole); -} -void PythonQtShell_QWindowsStyle::drawPrimitive(QStyle::PrimitiveElement pe, const QStyleOption* opt, QPainter* p, const QWidget* w) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "drawPrimitive"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QStyle::PrimitiveElement" , "const QStyleOption*" , "QPainter*" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&pe, (void*)&opt, (void*)&p, (void*)&w}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWindowsStyle::drawPrimitive(pe, opt, p, w); -} -bool PythonQtShell_QWindowsStyle::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWindowsStyle::event(arg__1); -} -bool PythonQtShell_QWindowsStyle::eventFilter(QObject* o, QEvent* e) -{ -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*)&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) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWindowsStyle::eventFilter(o, e); -} -QPixmap PythonQtShell_QWindowsStyle::generatedIconPixmap(QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "generatedIconPixmap"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPixmap" , "QIcon::Mode" , "const QPixmap&" , "const QStyleOption*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QPixmap returnValue; - void* args[4] = {NULL, (void*)&iconMode, (void*)&pixmap, (void*)&opt}; - 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("generatedIconPixmap", methodInfo, result); - } else { - returnValue = *((QPixmap*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWindowsStyle::generatedIconPixmap(iconMode, pixmap, opt); -} -QStyle::SubControl PythonQtShell_QWindowsStyle::hitTestComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, const QPoint& pt, const QWidget* w) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hitTestComplexControl"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QStyle::SubControl" , "QStyle::ComplexControl" , "const QStyleOptionComplex*" , "const QPoint&" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - QStyle::SubControl returnValue; - void* args[5] = {NULL, (void*)&cc, (void*)&opt, (void*)&pt, (void*)&w}; - 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("hitTestComplexControl", methodInfo, result); - } else { - returnValue = *((QStyle::SubControl*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWindowsStyle::hitTestComplexControl(cc, opt, pt, w); -} -QRect PythonQtShell_QWindowsStyle::itemPixmapRect(const QRect& r, int flags, const QPixmap& pixmap) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemPixmapRect"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QRect" , "const QRect&" , "int" , "const QPixmap&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QRect returnValue; - void* args[4] = {NULL, (void*)&r, (void*)&flags, (void*)&pixmap}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemPixmapRect", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWindowsStyle::itemPixmapRect(r, flags, pixmap); -} -int PythonQtShell_QWindowsStyle::pixelMetric(QStyle::PixelMetric pm, const QStyleOption* option, const QWidget* widget) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "pixelMetric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QStyle::PixelMetric" , "const QStyleOption*" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - int returnValue; - void* args[4] = {NULL, (void*)&pm, (void*)&option, (void*)&widget}; - 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("pixelMetric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWindowsStyle::pixelMetric(pm, option, widget); -} -void PythonQtShell_QWindowsStyle::polish(QApplication* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "polish"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QApplication*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWindowsStyle::polish(arg__1); -} -void PythonQtShell_QWindowsStyle::polish(QPalette& arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "polish"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPalette&"}; - 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; - } -} - QWindowsStyle::polish(arg__1); -} -void PythonQtShell_QWindowsStyle::polish(QWidget* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "polish"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWidget*"}; - 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; - } -} - QWindowsStyle::polish(arg__1); -} -QSize PythonQtShell_QWindowsStyle::sizeFromContents(QStyle::ContentsType ct, const QStyleOption* opt, const QSize& contentsSize, const QWidget* widget) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sizeFromContents"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize" , "QStyle::ContentsType" , "const QStyleOption*" , "const QSize&" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - QSize returnValue; - void* args[5] = {NULL, (void*)&ct, (void*)&opt, (void*)&contentsSize, (void*)&widget}; - 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("sizeFromContents", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWindowsStyle::sizeFromContents(ct, opt, contentsSize, widget); -} -QPalette PythonQtShell_QWindowsStyle::standardPalette() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "standardPalette"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPalette"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPalette returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("standardPalette", methodInfo, result); - } else { - returnValue = *((QPalette*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWindowsStyle::standardPalette(); -} -QPixmap PythonQtShell_QWindowsStyle::standardPixmap(QStyle::StandardPixmap standardPixmap, const QStyleOption* opt, const QWidget* widget) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "standardPixmap"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPixmap" , "QStyle::StandardPixmap" , "const QStyleOption*" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QPixmap returnValue; - void* args[4] = {NULL, (void*)&standardPixmap, (void*)&opt, (void*)&widget}; - 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("standardPixmap", methodInfo, result); - } else { - returnValue = *((QPixmap*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QPixmap result; -return result; -} -int PythonQtShell_QWindowsStyle::styleHint(QStyle::StyleHint hint, const QStyleOption* opt, const QWidget* widget, QStyleHintReturn* returnData) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "styleHint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QStyle::StyleHint" , "const QStyleOption*" , "const QWidget*" , "QStyleHintReturn*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - int returnValue; - void* args[5] = {NULL, (void*)&hint, (void*)&opt, (void*)&widget, (void*)&returnData}; - 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("styleHint", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWindowsStyle::styleHint(hint, opt, widget, returnData); -} -QRect PythonQtShell_QWindowsStyle::subControlRect(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* w) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "subControlRect"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QRect" , "QStyle::ComplexControl" , "const QStyleOptionComplex*" , "QStyle::SubControl" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - QRect returnValue; - void* args[5] = {NULL, (void*)&cc, (void*)&opt, (void*)&sc, (void*)&w}; - 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("subControlRect", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWindowsStyle::subControlRect(cc, opt, sc, w); -} -QRect PythonQtShell_QWindowsStyle::subElementRect(QStyle::SubElement r, const QStyleOption* opt, const QWidget* widget) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "subElementRect"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QRect" , "QStyle::SubElement" , "const QStyleOption*" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QRect returnValue; - void* args[4] = {NULL, (void*)&r, (void*)&opt, (void*)&widget}; - 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("subElementRect", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWindowsStyle::subElementRect(r, opt, widget); -} -void PythonQtShell_QWindowsStyle::timerEvent(QTimerEvent* event) -{ -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*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWindowsStyle::timerEvent(event); -} -void PythonQtShell_QWindowsStyle::unpolish(QApplication* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "unpolish"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QApplication*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWindowsStyle::unpolish(arg__1); -} -void PythonQtShell_QWindowsStyle::unpolish(QWidget* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "unpolish"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWindowsStyle::unpolish(arg__1); -} -QWindowsStyle* PythonQtWrapper_QWindowsStyle::new_QWindowsStyle() -{ -return new PythonQtShell_QWindowsStyle(); } - -int PythonQtWrapper_QWindowsStyle::styleHint(QWindowsStyle* theWrappedObject, QStyle::StyleHint hint, const QStyleOption* opt, const QWidget* widget, QStyleHintReturn* returnData) const -{ - return ( ((PythonQtPublicPromoter_QWindowsStyle*)theWrappedObject)->promoted_styleHint(hint, opt, widget, returnData)); -} - -void PythonQtWrapper_QWindowsStyle::polish(QWindowsStyle* theWrappedObject, QPalette& arg__1) -{ - ( ((PythonQtPublicPromoter_QWindowsStyle*)theWrappedObject)->promoted_polish(arg__1)); -} - -void PythonQtWrapper_QWindowsStyle::unpolish(QWindowsStyle* theWrappedObject, QApplication* arg__1) -{ - ( ((PythonQtPublicPromoter_QWindowsStyle*)theWrappedObject)->promoted_unpolish(arg__1)); -} - -void PythonQtWrapper_QWindowsStyle::timerEvent(QWindowsStyle* theWrappedObject, QTimerEvent* event) -{ - ( ((PythonQtPublicPromoter_QWindowsStyle*)theWrappedObject)->promoted_timerEvent(event)); -} - -QRect PythonQtWrapper_QWindowsStyle::subElementRect(QWindowsStyle* theWrappedObject, QStyle::SubElement r, const QStyleOption* opt, const QWidget* widget) const -{ - return ( ((PythonQtPublicPromoter_QWindowsStyle*)theWrappedObject)->promoted_subElementRect(r, opt, widget)); -} - -QSize PythonQtWrapper_QWindowsStyle::sizeFromContents(QWindowsStyle* theWrappedObject, QStyle::ContentsType ct, const QStyleOption* opt, const QSize& contentsSize, const QWidget* widget) const -{ - return ( ((PythonQtPublicPromoter_QWindowsStyle*)theWrappedObject)->promoted_sizeFromContents(ct, opt, contentsSize, widget)); -} - -void PythonQtWrapper_QWindowsStyle::drawComplexControl(QWindowsStyle* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QPainter* p, const QWidget* w) const -{ - ( ((PythonQtPublicPromoter_QWindowsStyle*)theWrappedObject)->promoted_drawComplexControl(cc, opt, p, w)); -} - -void PythonQtWrapper_QWindowsStyle::unpolish(QWindowsStyle* theWrappedObject, QWidget* arg__1) -{ - ( ((PythonQtPublicPromoter_QWindowsStyle*)theWrappedObject)->promoted_unpolish(arg__1)); -} - -void PythonQtWrapper_QWindowsStyle::polish(QWindowsStyle* theWrappedObject, QApplication* arg__1) -{ - ( ((PythonQtPublicPromoter_QWindowsStyle*)theWrappedObject)->promoted_polish(arg__1)); -} - -void PythonQtWrapper_QWindowsStyle::drawControl(QWindowsStyle* theWrappedObject, QStyle::ControlElement element, const QStyleOption* opt, QPainter* p, const QWidget* w) const -{ - ( ((PythonQtPublicPromoter_QWindowsStyle*)theWrappedObject)->promoted_drawControl(element, opt, p, w)); -} - -void PythonQtWrapper_QWindowsStyle::drawPrimitive(QWindowsStyle* theWrappedObject, QStyle::PrimitiveElement pe, const QStyleOption* opt, QPainter* p, const QWidget* w) const -{ - ( ((PythonQtPublicPromoter_QWindowsStyle*)theWrappedObject)->promoted_drawPrimitive(pe, opt, p, w)); -} - -bool PythonQtWrapper_QWindowsStyle::eventFilter(QWindowsStyle* theWrappedObject, QObject* o, QEvent* e) -{ - return ( ((PythonQtPublicPromoter_QWindowsStyle*)theWrappedObject)->promoted_eventFilter(o, e)); -} - -void PythonQtWrapper_QWindowsStyle::polish(QWindowsStyle* theWrappedObject, QWidget* arg__1) -{ - ( ((PythonQtPublicPromoter_QWindowsStyle*)theWrappedObject)->promoted_polish(arg__1)); -} - -int PythonQtWrapper_QWindowsStyle::pixelMetric(QWindowsStyle* theWrappedObject, QStyle::PixelMetric pm, const QStyleOption* option, const QWidget* widget) const -{ - return ( ((PythonQtPublicPromoter_QWindowsStyle*)theWrappedObject)->promoted_pixelMetric(pm, option, widget)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QWindowsStyle.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QWindowsStyle.h deleted file mode 100644 index 316175b..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QWindowsStyle.h +++ /dev/null @@ -1,100 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QWINDOWSSTYLE_H -#define PYTHONQTWRAPPER_QWINDOWSSTYLE_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QWindowsStyle : public QWindowsStyle -{ -public: - PythonQtShell_QWindowsStyle():QWindowsStyle(),_wrapper(NULL) {}; - -virtual void childEvent(QChildEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual void drawComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QPainter* p, const QWidget* w = 0) const; -virtual void drawControl(QStyle::ControlElement element, const QStyleOption* opt, QPainter* p, const QWidget* w = 0) const; -virtual void drawItemPixmap(QPainter* painter, const QRect& rect, int alignment, const QPixmap& pixmap) const; -virtual void drawItemText(QPainter* painter, const QRect& rect, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole) const; -virtual void drawPrimitive(QStyle::PrimitiveElement pe, const QStyleOption* opt, QPainter* p, const QWidget* w = 0) const; -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* o, QEvent* e); -virtual QPixmap generatedIconPixmap(QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const; -virtual QStyle::SubControl hitTestComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, const QPoint& pt, const QWidget* w) const; -virtual QRect itemPixmapRect(const QRect& r, int flags, const QPixmap& pixmap) const; -virtual int pixelMetric(QStyle::PixelMetric pm, const QStyleOption* option = 0, const QWidget* widget = 0) const; -virtual void polish(QApplication* arg__1); -virtual void polish(QPalette& arg__1); -virtual void polish(QWidget* arg__1); -virtual QSize sizeFromContents(QStyle::ContentsType ct, const QStyleOption* opt, const QSize& contentsSize, const QWidget* widget = 0) const; -virtual QPalette standardPalette() const; -virtual QPixmap standardPixmap(QStyle::StandardPixmap standardPixmap, const QStyleOption* opt, const QWidget* widget) const; -virtual int styleHint(QStyle::StyleHint hint, const QStyleOption* opt = 0, const QWidget* widget = 0, QStyleHintReturn* returnData = 0) const; -virtual QRect subControlRect(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* w) const; -virtual QRect subElementRect(QStyle::SubElement r, const QStyleOption* opt, const QWidget* widget = 0) const; -virtual void timerEvent(QTimerEvent* event); -virtual void unpolish(QApplication* arg__1); -virtual void unpolish(QWidget* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QWindowsStyle : public QWindowsStyle -{ public: -inline int promoted_styleHint(QStyle::StyleHint hint, const QStyleOption* opt = 0, const QWidget* widget = 0, QStyleHintReturn* returnData = 0) const { return QWindowsStyle::styleHint(hint, opt, widget, returnData); } -inline void promoted_polish(QPalette& arg__1) { QWindowsStyle::polish(arg__1); } -inline void promoted_unpolish(QApplication* arg__1) { QWindowsStyle::unpolish(arg__1); } -inline void promoted_timerEvent(QTimerEvent* event) { QWindowsStyle::timerEvent(event); } -inline QRect promoted_subElementRect(QStyle::SubElement r, const QStyleOption* opt, const QWidget* widget = 0) const { return QWindowsStyle::subElementRect(r, opt, widget); } -inline QSize promoted_sizeFromContents(QStyle::ContentsType ct, const QStyleOption* opt, const QSize& contentsSize, const QWidget* widget = 0) const { return QWindowsStyle::sizeFromContents(ct, opt, contentsSize, widget); } -inline void promoted_drawComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QPainter* p, const QWidget* w = 0) const { QWindowsStyle::drawComplexControl(cc, opt, p, w); } -inline void promoted_unpolish(QWidget* arg__1) { QWindowsStyle::unpolish(arg__1); } -inline void promoted_polish(QApplication* arg__1) { QWindowsStyle::polish(arg__1); } -inline void promoted_drawControl(QStyle::ControlElement element, const QStyleOption* opt, QPainter* p, const QWidget* w = 0) const { QWindowsStyle::drawControl(element, opt, p, w); } -inline void promoted_drawPrimitive(QStyle::PrimitiveElement pe, const QStyleOption* opt, QPainter* p, const QWidget* w = 0) const { QWindowsStyle::drawPrimitive(pe, opt, p, w); } -inline bool promoted_eventFilter(QObject* o, QEvent* e) { return QWindowsStyle::eventFilter(o, e); } -inline void promoted_polish(QWidget* arg__1) { QWindowsStyle::polish(arg__1); } -inline int promoted_pixelMetric(QStyle::PixelMetric pm, const QStyleOption* option = 0, const QWidget* widget = 0) const { return QWindowsStyle::pixelMetric(pm, option, widget); } -}; - -class PythonQtWrapper_QWindowsStyle : public QObject -{ Q_OBJECT -public: -public slots: -QWindowsStyle* new_QWindowsStyle(); -void delete_QWindowsStyle(QWindowsStyle* obj) { delete obj; } - int styleHint(QWindowsStyle* theWrappedObject, QStyle::StyleHint hint, const QStyleOption* opt = 0, const QWidget* widget = 0, QStyleHintReturn* returnData = 0) const; - void polish(QWindowsStyle* theWrappedObject, QPalette& arg__1); - void unpolish(QWindowsStyle* theWrappedObject, QApplication* arg__1); - void timerEvent(QWindowsStyle* theWrappedObject, QTimerEvent* event); - QRect subElementRect(QWindowsStyle* theWrappedObject, QStyle::SubElement r, const QStyleOption* opt, const QWidget* widget = 0) const; - QSize sizeFromContents(QWindowsStyle* theWrappedObject, QStyle::ContentsType ct, const QStyleOption* opt, const QSize& contentsSize, const QWidget* widget = 0) const; - void drawComplexControl(QWindowsStyle* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QPainter* p, const QWidget* w = 0) const; - void unpolish(QWindowsStyle* theWrappedObject, QWidget* arg__1); - void polish(QWindowsStyle* theWrappedObject, QApplication* arg__1); - void drawControl(QWindowsStyle* theWrappedObject, QStyle::ControlElement element, const QStyleOption* opt, QPainter* p, const QWidget* w = 0) const; - void drawPrimitive(QWindowsStyle* theWrappedObject, QStyle::PrimitiveElement pe, const QStyleOption* opt, QPainter* p, const QWidget* w = 0) const; - bool eventFilter(QWindowsStyle* theWrappedObject, QObject* o, QEvent* e); - void polish(QWindowsStyle* theWrappedObject, QWidget* arg__1); - int pixelMetric(QWindowsStyle* theWrappedObject, QStyle::PixelMetric pm, const QStyleOption* option = 0, const QWidget* widget = 0) const; -}; - -#endif // PYTHONQTWRAPPER_QWINDOWSSTYLE_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QWizard.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QWizard.cpp deleted file mode 100644 index af65491..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QWizard.cpp +++ /dev/null @@ -1,1104 +0,0 @@ -#include "PythonQtWrapper_QWizard.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QWizard::accept() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "accept"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWizard::accept(); -} -void PythonQtShell_QWizard::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QWizard::actionEvent(arg__1); -} -void PythonQtShell_QWizard::changeEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWizard::changeEvent(arg__1); -} -void PythonQtShell_QWizard::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; - } -} - QWizard::childEvent(arg__1); -} -void PythonQtShell_QWizard::cleanupPage(int id) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "cleanupPage"); - 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*)&id}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWizard::cleanupPage(id); -} -void PythonQtShell_QWizard::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QWizard::closeEvent(arg__1); -} -void PythonQtShell_QWizard::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWizard::contextMenuEvent(arg__1); -} -void PythonQtShell_QWizard::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; - } -} - QWizard::customEvent(arg__1); -} -int PythonQtShell_QWizard::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWizard::devType(); -} -void PythonQtShell_QWizard::done(int result) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "done"); - 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*)&result}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWizard::done(result); -} -void PythonQtShell_QWizard::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QWizard::dragEnterEvent(arg__1); -} -void PythonQtShell_QWizard::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QWizard::dragLeaveEvent(arg__1); -} -void PythonQtShell_QWizard::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QWizard::dragMoveEvent(arg__1); -} -void PythonQtShell_QWizard::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QWizard::dropEvent(arg__1); -} -void PythonQtShell_QWizard::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QWizard::enterEvent(arg__1); -} -bool PythonQtShell_QWizard::event(QEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWizard::event(event); -} -bool PythonQtShell_QWizard::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWizard::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QWizard::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QWizard::focusInEvent(arg__1); -} -bool PythonQtShell_QWizard::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWizard::focusNextPrevChild(next); -} -void PythonQtShell_QWizard::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QWizard::focusOutEvent(arg__1); -} -int PythonQtShell_QWizard::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWizard::heightForWidth(arg__1); -} -void PythonQtShell_QWizard::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QWizard::hideEvent(arg__1); -} -void PythonQtShell_QWizard::initializePage(int id) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "initializePage"); - 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*)&id}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWizard::initializePage(id); -} -void PythonQtShell_QWizard::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QWizard::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QWizard::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWizard::inputMethodQuery(arg__1); -} -void PythonQtShell_QWizard::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWizard::keyPressEvent(arg__1); -} -void PythonQtShell_QWizard::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWizard::keyReleaseEvent(arg__1); -} -void PythonQtShell_QWizard::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWizard::languageChange(); -} -void PythonQtShell_QWizard::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QWizard::leaveEvent(arg__1); -} -int PythonQtShell_QWizard::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWizard::metric(arg__1); -} -void PythonQtShell_QWizard::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QWizard::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QWizard::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QWizard::mouseMoveEvent(arg__1); -} -void PythonQtShell_QWizard::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QWizard::mousePressEvent(arg__1); -} -void PythonQtShell_QWizard::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QWizard::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QWizard::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWizard::moveEvent(arg__1); -} -int PythonQtShell_QWizard::nextId() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "nextId"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nextId", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWizard::nextId(); -} -QPaintEngine* PythonQtShell_QWizard::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWizard::paintEngine(); -} -void PythonQtShell_QWizard::paintEvent(QPaintEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - 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; - } -} - QWizard::paintEvent(event); -} -void PythonQtShell_QWizard::reject() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reject"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWizard::reject(); -} -void PythonQtShell_QWizard::resizeEvent(QResizeEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - 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; - } -} - QWizard::resizeEvent(event); -} -void PythonQtShell_QWizard::showEvent(QShowEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QWizard::showEvent(arg__1); -} -void PythonQtShell_QWizard::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QWizard::tabletEvent(arg__1); -} -void PythonQtShell_QWizard::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; - } -} - QWizard::timerEvent(arg__1); -} -bool PythonQtShell_QWizard::validateCurrentPage() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "validateCurrentPage"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("validateCurrentPage", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWizard::validateCurrentPage(); -} -void PythonQtShell_QWizard::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWizard::wheelEvent(arg__1); -} -QWizard* PythonQtWrapper_QWizard::new_QWizard(QWidget* parent, Qt::WindowFlags flags) -{ -return new PythonQtShell_QWizard(parent, flags); } - -QPixmap PythonQtWrapper_QWizard::pixmap(QWizard* theWrappedObject, QWizard::WizardPixmap which) const -{ - return ( theWrappedObject->pixmap(which)); -} - -Qt::TextFormat PythonQtWrapper_QWizard::subTitleFormat(QWizard* theWrappedObject) const -{ - return ( theWrappedObject->subTitleFormat()); -} - -void PythonQtWrapper_QWizard::paintEvent(QWizard* theWrappedObject, QPaintEvent* event) -{ - ( ((PythonQtPublicPromoter_QWizard*)theWrappedObject)->promoted_paintEvent(event)); -} - -void PythonQtWrapper_QWizard::setSubTitleFormat(QWizard* theWrappedObject, Qt::TextFormat format) -{ - ( theWrappedObject->setSubTitleFormat(format)); -} - -void PythonQtWrapper_QWizard::setPage(QWizard* theWrappedObject, int id, QWizardPage* page) -{ - ( theWrappedObject->setPage(id, page)); -} - -QWizardPage* PythonQtWrapper_QWizard::currentPage(QWizard* theWrappedObject) const -{ - return ( theWrappedObject->currentPage()); -} - -Qt::TextFormat PythonQtWrapper_QWizard::titleFormat(QWizard* theWrappedObject) const -{ - return ( theWrappedObject->titleFormat()); -} - -QList PythonQtWrapper_QWizard::visitedPages(QWizard* theWrappedObject) const -{ - return ( theWrappedObject->visitedPages()); -} - -void PythonQtWrapper_QWizard::setWizardStyle(QWizard* theWrappedObject, QWizard::WizardStyle style) -{ - ( theWrappedObject->setWizardStyle(style)); -} - -int PythonQtWrapper_QWizard::addPage(QWizard* theWrappedObject, QWizardPage* page) -{ - return ( theWrappedObject->addPage(page)); -} - -void PythonQtWrapper_QWizard::setField(QWizard* theWrappedObject, const QString& name, const QVariant& value) -{ - ( theWrappedObject->setField(name, value)); -} - -QAbstractButton* PythonQtWrapper_QWizard::button(QWizard* theWrappedObject, QWizard::WizardButton which) const -{ - return ( theWrappedObject->button(which)); -} - -QString PythonQtWrapper_QWizard::buttonText(QWizard* theWrappedObject, QWizard::WizardButton which) const -{ - return ( theWrappedObject->buttonText(which)); -} - -bool PythonQtWrapper_QWizard::hasVisitedPage(QWizard* theWrappedObject, int id) const -{ - return ( theWrappedObject->hasVisitedPage(id)); -} - -QWizard::WizardOptions PythonQtWrapper_QWizard::options(QWizard* theWrappedObject) const -{ - return ( theWrappedObject->options()); -} - -QVariant PythonQtWrapper_QWizard::field(QWizard* theWrappedObject, const QString& name) const -{ - return ( theWrappedObject->field(name)); -} - -void PythonQtWrapper_QWizard::setButton(QWizard* theWrappedObject, QWizard::WizardButton which, QAbstractButton* button) -{ - ( theWrappedObject->setButton(which, button)); -} - -void PythonQtWrapper_QWizard::setButtonLayout(QWizard* theWrappedObject, const QList& layout) -{ - ( theWrappedObject->setButtonLayout(layout)); -} - -void PythonQtWrapper_QWizard::setOption(QWizard* theWrappedObject, QWizard::WizardOption option, bool on) -{ - ( theWrappedObject->setOption(option, on)); -} - -QSize PythonQtWrapper_QWizard::sizeHint(QWizard* theWrappedObject) const -{ - return ( theWrappedObject->sizeHint()); -} - -void PythonQtWrapper_QWizard::setButtonText(QWizard* theWrappedObject, QWizard::WizardButton which, const QString& text) -{ - ( theWrappedObject->setButtonText(which, text)); -} - -void PythonQtWrapper_QWizard::initializePage(QWizard* theWrappedObject, int id) -{ - ( ((PythonQtPublicPromoter_QWizard*)theWrappedObject)->promoted_initializePage(id)); -} - -void PythonQtWrapper_QWizard::setStartId(QWizard* theWrappedObject, int id) -{ - ( theWrappedObject->setStartId(id)); -} - -void PythonQtWrapper_QWizard::cleanupPage(QWizard* theWrappedObject, int id) -{ - ( ((PythonQtPublicPromoter_QWizard*)theWrappedObject)->promoted_cleanupPage(id)); -} - -bool PythonQtWrapper_QWizard::event(QWizard* theWrappedObject, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QWizard*)theWrappedObject)->promoted_event(event)); -} - -QWizardPage* PythonQtWrapper_QWizard::page(QWizard* theWrappedObject, int id) const -{ - return ( theWrappedObject->page(id)); -} - -int PythonQtWrapper_QWizard::startId(QWizard* theWrappedObject) const -{ - return ( theWrappedObject->startId()); -} - -void PythonQtWrapper_QWizard::setTitleFormat(QWizard* theWrappedObject, Qt::TextFormat format) -{ - ( theWrappedObject->setTitleFormat(format)); -} - -QWizard::WizardStyle PythonQtWrapper_QWizard::wizardStyle(QWizard* theWrappedObject) const -{ - return ( theWrappedObject->wizardStyle()); -} - -void PythonQtWrapper_QWizard::resizeEvent(QWizard* theWrappedObject, QResizeEvent* event) -{ - ( ((PythonQtPublicPromoter_QWizard*)theWrappedObject)->promoted_resizeEvent(event)); -} - -void PythonQtWrapper_QWizard::done(QWizard* theWrappedObject, int result) -{ - ( ((PythonQtPublicPromoter_QWizard*)theWrappedObject)->promoted_done(result)); -} - -void PythonQtWrapper_QWizard::setOptions(QWizard* theWrappedObject, QWizard::WizardOptions options) -{ - ( theWrappedObject->setOptions(options)); -} - -void PythonQtWrapper_QWizard::setVisible(QWizard* theWrappedObject, bool visible) -{ - ( theWrappedObject->setVisible(visible)); -} - -int PythonQtWrapper_QWizard::nextId(QWizard* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QWizard*)theWrappedObject)->promoted_nextId()); -} - -bool PythonQtWrapper_QWizard::validateCurrentPage(QWizard* theWrappedObject) -{ - return ( ((PythonQtPublicPromoter_QWizard*)theWrappedObject)->promoted_validateCurrentPage()); -} - -bool PythonQtWrapper_QWizard::testOption(QWizard* theWrappedObject, QWizard::WizardOption option) const -{ - return ( theWrappedObject->testOption(option)); -} - -void PythonQtWrapper_QWizard::setPixmap(QWizard* theWrappedObject, QWizard::WizardPixmap which, const QPixmap& pixmap) -{ - ( theWrappedObject->setPixmap(which, pixmap)); -} - -int PythonQtWrapper_QWizard::currentId(QWizard* theWrappedObject) const -{ - return ( theWrappedObject->currentId()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QWizard.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QWizard.h deleted file mode 100644 index eb71d48..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QWizard.h +++ /dev/null @@ -1,156 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QWIZARD_H -#define PYTHONQTWRAPPER_QWIZARD_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QWizard : public QWizard -{ -public: - PythonQtShell_QWizard(QWidget* parent = 0, Qt::WindowFlags flags = 0):QWizard(parent, flags),_wrapper(NULL) {}; - -virtual void accept(); -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* arg__1); -virtual void cleanupPage(int id); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual int devType() const; -virtual void done(int result); -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void initializePage(int id); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* arg__1); -virtual int nextId() const; -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual void reject(); -virtual void resizeEvent(QResizeEvent* event); -virtual void showEvent(QShowEvent* arg__1); -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* arg__1); -virtual bool validateCurrentPage(); -virtual void wheelEvent(QWheelEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QWizard : public QWizard -{ public: -inline void promoted_paintEvent(QPaintEvent* event) { QWizard::paintEvent(event); } -inline void promoted_initializePage(int id) { QWizard::initializePage(id); } -inline void promoted_cleanupPage(int id) { QWizard::cleanupPage(id); } -inline bool promoted_event(QEvent* event) { return QWizard::event(event); } -inline void promoted_resizeEvent(QResizeEvent* event) { QWizard::resizeEvent(event); } -inline void promoted_done(int result) { QWizard::done(result); } -inline int promoted_nextId() const { return QWizard::nextId(); } -inline bool promoted_validateCurrentPage() { return QWizard::validateCurrentPage(); } -}; - -class PythonQtWrapper_QWizard : public QObject -{ Q_OBJECT -public: -Q_ENUMS(WizardButton WizardPixmap ) -enum WizardButton{ - BackButton = QWizard::BackButton, NextButton = QWizard::NextButton, CommitButton = QWizard::CommitButton, FinishButton = QWizard::FinishButton, CancelButton = QWizard::CancelButton, HelpButton = QWizard::HelpButton, CustomButton1 = QWizard::CustomButton1, CustomButton2 = QWizard::CustomButton2, CustomButton3 = QWizard::CustomButton3, Stretch = QWizard::Stretch, NoButton = QWizard::NoButton, NStandardButtons = QWizard::NStandardButtons, NButtons = QWizard::NButtons}; -enum WizardPixmap{ - WatermarkPixmap = QWizard::WatermarkPixmap, LogoPixmap = QWizard::LogoPixmap, BannerPixmap = QWizard::BannerPixmap, BackgroundPixmap = QWizard::BackgroundPixmap, NPixmaps = QWizard::NPixmaps}; -public slots: -QWizard* new_QWizard(QWidget* parent = 0, Qt::WindowFlags flags = 0); -void delete_QWizard(QWizard* obj) { delete obj; } - QPixmap pixmap(QWizard* theWrappedObject, QWizard::WizardPixmap which) const; - Qt::TextFormat subTitleFormat(QWizard* theWrappedObject) const; - void paintEvent(QWizard* theWrappedObject, QPaintEvent* event); - void setSubTitleFormat(QWizard* theWrappedObject, Qt::TextFormat format); - void setPage(QWizard* theWrappedObject, int id, QWizardPage* page); - QWizardPage* currentPage(QWizard* theWrappedObject) const; - Qt::TextFormat titleFormat(QWizard* theWrappedObject) const; - QList visitedPages(QWizard* theWrappedObject) const; - void setWizardStyle(QWizard* theWrappedObject, QWizard::WizardStyle style); - int addPage(QWizard* theWrappedObject, QWizardPage* page); - void setField(QWizard* theWrappedObject, const QString& name, const QVariant& value); - QAbstractButton* button(QWizard* theWrappedObject, QWizard::WizardButton which) const; - QString buttonText(QWizard* theWrappedObject, QWizard::WizardButton which) const; - bool hasVisitedPage(QWizard* theWrappedObject, int id) const; - QWizard::WizardOptions options(QWizard* theWrappedObject) const; - QVariant field(QWizard* theWrappedObject, const QString& name) const; - void setButton(QWizard* theWrappedObject, QWizard::WizardButton which, QAbstractButton* button); - void setButtonLayout(QWizard* theWrappedObject, const QList& layout); - void setOption(QWizard* theWrappedObject, QWizard::WizardOption option, bool on = true); - QSize sizeHint(QWizard* theWrappedObject) const; - void setButtonText(QWizard* theWrappedObject, QWizard::WizardButton which, const QString& text); - void initializePage(QWizard* theWrappedObject, int id); - void setStartId(QWizard* theWrappedObject, int id); - void cleanupPage(QWizard* theWrappedObject, int id); - bool event(QWizard* theWrappedObject, QEvent* event); - QWizardPage* page(QWizard* theWrappedObject, int id) const; - int startId(QWizard* theWrappedObject) const; - void setTitleFormat(QWizard* theWrappedObject, Qt::TextFormat format); - QWizard::WizardStyle wizardStyle(QWizard* theWrappedObject) const; - void resizeEvent(QWizard* theWrappedObject, QResizeEvent* event); - void done(QWizard* theWrappedObject, int result); - void setOptions(QWizard* theWrappedObject, QWizard::WizardOptions options); - void setVisible(QWizard* theWrappedObject, bool visible); - int nextId(QWizard* theWrappedObject) const; - bool validateCurrentPage(QWizard* theWrappedObject); - bool testOption(QWizard* theWrappedObject, QWizard::WizardOption option) const; - void setPixmap(QWizard* theWrappedObject, QWizard::WizardPixmap which, const QPixmap& pixmap); - int currentId(QWizard* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QWIZARD_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QWizardPage.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QWizardPage.cpp deleted file mode 100644 index dae4bf8..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QWizardPage.cpp +++ /dev/null @@ -1,1031 +0,0 @@ -#include "PythonQtWrapper_QWizardPage.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QWizardPage::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QWizardPage::actionEvent(arg__1); -} -void PythonQtShell_QWizardPage::changeEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWizardPage::changeEvent(arg__1); -} -void PythonQtShell_QWizardPage::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; - } -} - QWizardPage::childEvent(arg__1); -} -void PythonQtShell_QWizardPage::cleanupPage() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "cleanupPage"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWizardPage::cleanupPage(); -} -void PythonQtShell_QWizardPage::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QWizardPage::closeEvent(arg__1); -} -void PythonQtShell_QWizardPage::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWizardPage::contextMenuEvent(arg__1); -} -void PythonQtShell_QWizardPage::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; - } -} - QWizardPage::customEvent(arg__1); -} -int PythonQtShell_QWizardPage::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWizardPage::devType(); -} -void PythonQtShell_QWizardPage::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QWizardPage::dragEnterEvent(arg__1); -} -void PythonQtShell_QWizardPage::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QWizardPage::dragLeaveEvent(arg__1); -} -void PythonQtShell_QWizardPage::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QWizardPage::dragMoveEvent(arg__1); -} -void PythonQtShell_QWizardPage::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QWizardPage::dropEvent(arg__1); -} -void PythonQtShell_QWizardPage::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QWizardPage::enterEvent(arg__1); -} -bool PythonQtShell_QWizardPage::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWizardPage::event(arg__1); -} -bool PythonQtShell_QWizardPage::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWizardPage::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QWizardPage::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QWizardPage::focusInEvent(arg__1); -} -bool PythonQtShell_QWizardPage::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWizardPage::focusNextPrevChild(next); -} -void PythonQtShell_QWizardPage::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QWizardPage::focusOutEvent(arg__1); -} -int PythonQtShell_QWizardPage::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWizardPage::heightForWidth(arg__1); -} -void PythonQtShell_QWizardPage::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QWizardPage::hideEvent(arg__1); -} -void PythonQtShell_QWizardPage::initializePage() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "initializePage"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWizardPage::initializePage(); -} -void PythonQtShell_QWizardPage::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QWizardPage::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QWizardPage::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWizardPage::inputMethodQuery(arg__1); -} -bool PythonQtShell_QWizardPage::isComplete() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isComplete"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isComplete", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWizardPage::isComplete(); -} -void PythonQtShell_QWizardPage::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWizardPage::keyPressEvent(arg__1); -} -void PythonQtShell_QWizardPage::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWizardPage::keyReleaseEvent(arg__1); -} -void PythonQtShell_QWizardPage::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWizardPage::languageChange(); -} -void PythonQtShell_QWizardPage::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QWizardPage::leaveEvent(arg__1); -} -int PythonQtShell_QWizardPage::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWizardPage::metric(arg__1); -} -QSize PythonQtShell_QWizardPage::minimumSizeHint() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWizardPage::minimumSizeHint(); -} -void PythonQtShell_QWizardPage::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QWizardPage::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QWizardPage::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QWizardPage::mouseMoveEvent(arg__1); -} -void PythonQtShell_QWizardPage::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QWizardPage::mousePressEvent(arg__1); -} -void PythonQtShell_QWizardPage::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QWizardPage::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QWizardPage::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWizardPage::moveEvent(arg__1); -} -int PythonQtShell_QWizardPage::nextId() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "nextId"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nextId", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWizardPage::nextId(); -} -QPaintEngine* PythonQtShell_QWizardPage::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWizardPage::paintEngine(); -} -void PythonQtShell_QWizardPage::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - 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; - } -} - QWizardPage::paintEvent(arg__1); -} -void PythonQtShell_QWizardPage::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - 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; - } -} - QWizardPage::resizeEvent(arg__1); -} -void PythonQtShell_QWizardPage::showEvent(QShowEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QWizardPage::showEvent(arg__1); -} -QSize PythonQtShell_QWizardPage::sizeHint() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getSizeHint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWizardPage::sizeHint(); -} -void PythonQtShell_QWizardPage::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QWizardPage::tabletEvent(arg__1); -} -void PythonQtShell_QWizardPage::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; - } -} - QWizardPage::timerEvent(arg__1); -} -bool PythonQtShell_QWizardPage::validatePage() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "validatePage"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("validatePage", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWizardPage::validatePage(); -} -void PythonQtShell_QWizardPage::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWizardPage::wheelEvent(arg__1); -} -QWizardPage* PythonQtWrapper_QWizardPage::new_QWizardPage(QWidget* parent) -{ -return new PythonQtShell_QWizardPage(parent); } - -bool PythonQtWrapper_QWizardPage::validatePage(QWizardPage* theWrappedObject) -{ - return ( ((PythonQtPublicPromoter_QWizardPage*)theWrappedObject)->promoted_validatePage()); -} - -void PythonQtWrapper_QWizardPage::initializePage(QWizardPage* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QWizardPage*)theWrappedObject)->promoted_initializePage()); -} - -QPixmap PythonQtWrapper_QWizardPage::pixmap(QWizardPage* theWrappedObject, QWizard::WizardPixmap which) const -{ - return ( theWrappedObject->pixmap(which)); -} - -QString PythonQtWrapper_QWizardPage::buttonText(QWizardPage* theWrappedObject, QWizard::WizardButton which) const -{ - return ( theWrappedObject->buttonText(which)); -} - -void PythonQtWrapper_QWizardPage::setPixmap(QWizardPage* theWrappedObject, QWizard::WizardPixmap which, const QPixmap& pixmap) -{ - ( theWrappedObject->setPixmap(which, pixmap)); -} - -void PythonQtWrapper_QWizardPage::setSubTitle(QWizardPage* theWrappedObject, const QString& subTitle) -{ - ( theWrappedObject->setSubTitle(subTitle)); -} - -void PythonQtWrapper_QWizardPage::setFinalPage(QWizardPage* theWrappedObject, bool finalPage) -{ - ( theWrappedObject->setFinalPage(finalPage)); -} - -void PythonQtWrapper_QWizardPage::setTitle(QWizardPage* theWrappedObject, const QString& title) -{ - ( theWrappedObject->setTitle(title)); -} - -QString PythonQtWrapper_QWizardPage::title(QWizardPage* theWrappedObject) const -{ - return ( theWrappedObject->title()); -} - -void PythonQtWrapper_QWizardPage::setButtonText(QWizardPage* theWrappedObject, QWizard::WizardButton which, const QString& text) -{ - ( theWrappedObject->setButtonText(which, text)); -} - -void PythonQtWrapper_QWizardPage::setCommitPage(QWizardPage* theWrappedObject, bool commitPage) -{ - ( theWrappedObject->setCommitPage(commitPage)); -} - -bool PythonQtWrapper_QWizardPage::isCommitPage(QWizardPage* theWrappedObject) const -{ - return ( theWrappedObject->isCommitPage()); -} - -bool PythonQtWrapper_QWizardPage::isFinalPage(QWizardPage* theWrappedObject) const -{ - return ( theWrappedObject->isFinalPage()); -} - -void PythonQtWrapper_QWizardPage::cleanupPage(QWizardPage* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QWizardPage*)theWrappedObject)->promoted_cleanupPage()); -} - -bool PythonQtWrapper_QWizardPage::isComplete(QWizardPage* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QWizardPage*)theWrappedObject)->promoted_isComplete()); -} - -int PythonQtWrapper_QWizardPage::nextId(QWizardPage* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QWizardPage*)theWrappedObject)->promoted_nextId()); -} - -QString PythonQtWrapper_QWizardPage::subTitle(QWizardPage* theWrappedObject) const -{ - return ( theWrappedObject->subTitle()); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QWizardPage.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QWizardPage.h deleted file mode 100644 index c6c8ea3..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QWizardPage.h +++ /dev/null @@ -1,126 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QWIZARDPAGE_H -#define PYTHONQTWRAPPER_QWIZARDPAGE_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QWizardPage : public QWizardPage -{ -public: - PythonQtShell_QWizardPage(QWidget* parent = 0):QWizardPage(parent),_wrapper(NULL) {}; - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* arg__1); -virtual void cleanupPage(); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void initializePage(); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual bool isComplete() const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* arg__1); -virtual int nextId() const; -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* arg__1); -virtual bool validatePage(); -virtual void wheelEvent(QWheelEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QWizardPage : public QWizardPage -{ public: -inline bool promoted_validatePage() { return QWizardPage::validatePage(); } -inline void promoted_initializePage() { QWizardPage::initializePage(); } -inline void promoted_cleanupPage() { QWizardPage::cleanupPage(); } -inline bool promoted_isComplete() const { return QWizardPage::isComplete(); } -inline int promoted_nextId() const { return QWizardPage::nextId(); } -}; - -class PythonQtWrapper_QWizardPage : public QObject -{ Q_OBJECT -public: -public slots: -QWizardPage* new_QWizardPage(QWidget* parent = 0); -void delete_QWizardPage(QWizardPage* obj) { delete obj; } - bool validatePage(QWizardPage* theWrappedObject); - void initializePage(QWizardPage* theWrappedObject); - QPixmap pixmap(QWizardPage* theWrappedObject, QWizard::WizardPixmap which) const; - QString buttonText(QWizardPage* theWrappedObject, QWizard::WizardButton which) const; - void setPixmap(QWizardPage* theWrappedObject, QWizard::WizardPixmap which, const QPixmap& pixmap); - void setSubTitle(QWizardPage* theWrappedObject, const QString& subTitle); - void setFinalPage(QWizardPage* theWrappedObject, bool finalPage); - void setTitle(QWizardPage* theWrappedObject, const QString& title); - QString title(QWizardPage* theWrappedObject) const; - void setButtonText(QWizardPage* theWrappedObject, QWizard::WizardButton which, const QString& text); - void setCommitPage(QWizardPage* theWrappedObject, bool commitPage); - bool isCommitPage(QWizardPage* theWrappedObject) const; - bool isFinalPage(QWizardPage* theWrappedObject) const; - void cleanupPage(QWizardPage* theWrappedObject); - bool isComplete(QWizardPage* theWrappedObject) const; - int nextId(QWizardPage* theWrappedObject) const; - QString subTitle(QWizardPage* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QWIZARDPAGE_H diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QWorkspace.cpp b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QWorkspace.cpp deleted file mode 100644 index 52cc5f5..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QWorkspace.cpp +++ /dev/null @@ -1,885 +0,0 @@ -#include "PythonQtWrapper_QWorkspace.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QWorkspace::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QWorkspace::actionEvent(arg__1); -} -void PythonQtShell_QWorkspace::changeEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWorkspace::changeEvent(arg__1); -} -void PythonQtShell_QWorkspace::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; - } -} - QWorkspace::childEvent(arg__1); -} -void PythonQtShell_QWorkspace::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QWorkspace::closeEvent(arg__1); -} -void PythonQtShell_QWorkspace::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWorkspace::contextMenuEvent(arg__1); -} -void PythonQtShell_QWorkspace::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; - } -} - QWorkspace::customEvent(arg__1); -} -int PythonQtShell_QWorkspace::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWorkspace::devType(); -} -void PythonQtShell_QWorkspace::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QWorkspace::dragEnterEvent(arg__1); -} -void PythonQtShell_QWorkspace::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QWorkspace::dragLeaveEvent(arg__1); -} -void PythonQtShell_QWorkspace::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QWorkspace::dragMoveEvent(arg__1); -} -void PythonQtShell_QWorkspace::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QWorkspace::dropEvent(arg__1); -} -void PythonQtShell_QWorkspace::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QWorkspace::enterEvent(arg__1); -} -bool PythonQtShell_QWorkspace::event(QEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWorkspace::event(e); -} -bool PythonQtShell_QWorkspace::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWorkspace::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QWorkspace::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QWorkspace::focusInEvent(arg__1); -} -bool PythonQtShell_QWorkspace::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWorkspace::focusNextPrevChild(next); -} -void PythonQtShell_QWorkspace::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QWorkspace::focusOutEvent(arg__1); -} -int PythonQtShell_QWorkspace::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWorkspace::heightForWidth(arg__1); -} -void PythonQtShell_QWorkspace::hideEvent(QHideEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWorkspace::hideEvent(e); -} -void PythonQtShell_QWorkspace::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QWorkspace::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QWorkspace::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWorkspace::inputMethodQuery(arg__1); -} -void PythonQtShell_QWorkspace::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWorkspace::keyPressEvent(arg__1); -} -void PythonQtShell_QWorkspace::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWorkspace::keyReleaseEvent(arg__1); -} -void PythonQtShell_QWorkspace::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWorkspace::languageChange(); -} -void PythonQtShell_QWorkspace::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QWorkspace::leaveEvent(arg__1); -} -int PythonQtShell_QWorkspace::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWorkspace::metric(arg__1); -} -QSize PythonQtShell_QWorkspace::minimumSizeHint() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWorkspace::minimumSizeHint(); -} -void PythonQtShell_QWorkspace::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QWorkspace::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QWorkspace::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QWorkspace::mouseMoveEvent(arg__1); -} -void PythonQtShell_QWorkspace::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QWorkspace::mousePressEvent(arg__1); -} -void PythonQtShell_QWorkspace::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QWorkspace::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QWorkspace::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWorkspace::moveEvent(arg__1); -} -QPaintEngine* PythonQtShell_QWorkspace::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWorkspace::paintEngine(); -} -void PythonQtShell_QWorkspace::paintEvent(QPaintEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWorkspace::paintEvent(e); -} -void PythonQtShell_QWorkspace::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - 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; - } -} - QWorkspace::resizeEvent(arg__1); -} -void PythonQtShell_QWorkspace::showEvent(QShowEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWorkspace::showEvent(e); -} -void PythonQtShell_QWorkspace::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QWorkspace::tabletEvent(arg__1); -} -void PythonQtShell_QWorkspace::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; - } -} - QWorkspace::timerEvent(arg__1); -} -void PythonQtShell_QWorkspace::wheelEvent(QWheelEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWorkspace::wheelEvent(e); -} -QWorkspace* PythonQtWrapper_QWorkspace::new_QWorkspace(QWidget* parent) -{ -return new PythonQtShell_QWorkspace(parent); } - -void PythonQtWrapper_QWorkspace::setBackground(QWorkspace* theWrappedObject, const QBrush& background) -{ - ( theWrappedObject->setBackground(background)); -} - -QList PythonQtWrapper_QWorkspace::windowList(QWorkspace* theWrappedObject, QWorkspace::WindowOrder order) const -{ - return ( theWrappedObject->windowList(order)); -} - -bool PythonQtWrapper_QWorkspace::eventFilter(QWorkspace* theWrappedObject, QObject* arg__1, QEvent* arg__2) -{ - return ( ((PythonQtPublicPromoter_QWorkspace*)theWrappedObject)->promoted_eventFilter(arg__1, arg__2)); -} - -bool PythonQtWrapper_QWorkspace::scrollBarsEnabled(QWorkspace* theWrappedObject) const -{ - return ( theWrappedObject->scrollBarsEnabled()); -} - -void PythonQtWrapper_QWorkspace::wheelEvent(QWorkspace* theWrappedObject, QWheelEvent* e) -{ - ( ((PythonQtPublicPromoter_QWorkspace*)theWrappedObject)->promoted_wheelEvent(e)); -} - -void PythonQtWrapper_QWorkspace::resizeEvent(QWorkspace* theWrappedObject, QResizeEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWorkspace*)theWrappedObject)->promoted_resizeEvent(arg__1)); -} - -QSize PythonQtWrapper_QWorkspace::sizeHint(QWorkspace* theWrappedObject) const -{ - return ( theWrappedObject->sizeHint()); -} - -void PythonQtWrapper_QWorkspace::changeEvent(QWorkspace* theWrappedObject, QEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWorkspace*)theWrappedObject)->promoted_changeEvent(arg__1)); -} - -void PythonQtWrapper_QWorkspace::setScrollBarsEnabled(QWorkspace* theWrappedObject, bool enable) -{ - ( theWrappedObject->setScrollBarsEnabled(enable)); -} - -void PythonQtWrapper_QWorkspace::paintEvent(QWorkspace* theWrappedObject, QPaintEvent* e) -{ - ( ((PythonQtPublicPromoter_QWorkspace*)theWrappedObject)->promoted_paintEvent(e)); -} - -QWidget* PythonQtWrapper_QWorkspace::activeWindow(QWorkspace* theWrappedObject) const -{ - return ( theWrappedObject->activeWindow()); -} - -bool PythonQtWrapper_QWorkspace::event(QWorkspace* theWrappedObject, QEvent* e) -{ - return ( ((PythonQtPublicPromoter_QWorkspace*)theWrappedObject)->promoted_event(e)); -} - -void PythonQtWrapper_QWorkspace::childEvent(QWorkspace* theWrappedObject, QChildEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWorkspace*)theWrappedObject)->promoted_childEvent(arg__1)); -} - -QBrush PythonQtWrapper_QWorkspace::background(QWorkspace* theWrappedObject) const -{ - return ( theWrappedObject->background()); -} - -void PythonQtWrapper_QWorkspace::hideEvent(QWorkspace* theWrappedObject, QHideEvent* e) -{ - ( ((PythonQtPublicPromoter_QWorkspace*)theWrappedObject)->promoted_hideEvent(e)); -} - -void PythonQtWrapper_QWorkspace::showEvent(QWorkspace* theWrappedObject, QShowEvent* e) -{ - ( ((PythonQtPublicPromoter_QWorkspace*)theWrappedObject)->promoted_showEvent(e)); -} - -QWidget* PythonQtWrapper_QWorkspace::addWindow(QWorkspace* theWrappedObject, QWidget* w, Qt::WindowFlags flags) -{ - return ( theWrappedObject->addWindow(w, flags)); -} - diff --git a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QWorkspace.h b/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QWorkspace.h deleted file mode 100644 index 55d0897..0000000 --- a/generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QWorkspace.h +++ /dev/null @@ -1,127 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QWORKSPACE_H -#define PYTHONQTWRAPPER_QWORKSPACE_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QWorkspace : public QWorkspace -{ -public: - PythonQtShell_QWorkspace(QWidget* parent = 0):QWorkspace(parent),_wrapper(NULL) {}; - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* e); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* arg__1); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* e); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void showEvent(QShowEvent* e); -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* e); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QWorkspace : public QWorkspace -{ public: -inline bool promoted_eventFilter(QObject* arg__1, QEvent* arg__2) { return QWorkspace::eventFilter(arg__1, arg__2); } -inline void promoted_wheelEvent(QWheelEvent* e) { QWorkspace::wheelEvent(e); } -inline void promoted_resizeEvent(QResizeEvent* arg__1) { QWorkspace::resizeEvent(arg__1); } -inline void promoted_changeEvent(QEvent* arg__1) { QWorkspace::changeEvent(arg__1); } -inline void promoted_paintEvent(QPaintEvent* e) { QWorkspace::paintEvent(e); } -inline bool promoted_event(QEvent* e) { return QWorkspace::event(e); } -inline void promoted_childEvent(QChildEvent* arg__1) { QWorkspace::childEvent(arg__1); } -inline void promoted_hideEvent(QHideEvent* e) { QWorkspace::hideEvent(e); } -inline void promoted_showEvent(QShowEvent* e) { QWorkspace::showEvent(e); } -}; - -class PythonQtWrapper_QWorkspace : public QObject -{ Q_OBJECT -public: -Q_ENUMS(WindowOrder ) -enum WindowOrder{ - CreationOrder = QWorkspace::CreationOrder, StackingOrder = QWorkspace::StackingOrder}; -public slots: -QWorkspace* new_QWorkspace(QWidget* parent = 0); -void delete_QWorkspace(QWorkspace* obj) { delete obj; } - void setBackground(QWorkspace* theWrappedObject, const QBrush& background); - QList windowList(QWorkspace* theWrappedObject, QWorkspace::WindowOrder order = QWorkspace::CreationOrder) const; - bool eventFilter(QWorkspace* theWrappedObject, QObject* arg__1, QEvent* arg__2); - bool scrollBarsEnabled(QWorkspace* theWrappedObject) const; - void wheelEvent(QWorkspace* theWrappedObject, QWheelEvent* e); - void resizeEvent(QWorkspace* theWrappedObject, QResizeEvent* arg__1); - QSize sizeHint(QWorkspace* theWrappedObject) const; - void changeEvent(QWorkspace* theWrappedObject, QEvent* arg__1); - void setScrollBarsEnabled(QWorkspace* theWrappedObject, bool enable); - void paintEvent(QWorkspace* theWrappedObject, QPaintEvent* e); - QWidget* activeWindow(QWorkspace* theWrappedObject) const; - bool event(QWorkspace* theWrappedObject, QEvent* e); - void childEvent(QWorkspace* theWrappedObject, QChildEvent* arg__1); - QBrush background(QWorkspace* theWrappedObject) const; - void hideEvent(QWorkspace* theWrappedObject, QHideEvent* e); - void showEvent(QWorkspace* theWrappedObject, QShowEvent* e); - QWidget* addWindow(QWorkspace* theWrappedObject, QWidget* w, Qt::WindowFlags flags = 0); -}; - -#endif // PYTHONQTWRAPPER_QWORKSPACE_H diff --git a/generated_cpp/com_trolltech_qt_gui/com_trolltech_qt_gui.pri b/generated_cpp/com_trolltech_qt_gui/com_trolltech_qt_gui.pri deleted file mode 100644 index e6000fe..0000000 --- a/generated_cpp/com_trolltech_qt_gui/com_trolltech_qt_gui.pri +++ /dev/null @@ -1,600 +0,0 @@ -HEADERS += \ - $$PWD/PythonQtWrapper_QAbstractButton.h \ - $$PWD/PythonQtWrapper_QAbstractGraphicsShapeItem.h \ - $$PWD/PythonQtWrapper_QAbstractItemDelegate.h \ - $$PWD/PythonQtWrapper_QAbstractItemView.h \ - $$PWD/PythonQtWrapper_QAbstractPageSetupDialog.h \ - $$PWD/PythonQtWrapper_QAbstractPrintDialog.h \ - $$PWD/PythonQtWrapper_QAbstractScrollArea.h \ - $$PWD/PythonQtWrapper_QAbstractSlider.h \ - $$PWD/PythonQtWrapper_QAbstractSpinBox.h \ - $$PWD/PythonQtWrapper_QAccessible.h \ - $$PWD/PythonQtWrapper_QAccessible2Interface.h \ - $$PWD/PythonQtWrapper_QAccessibleBridge.h \ - $$PWD/PythonQtWrapper_QAccessibleEvent.h \ - $$PWD/PythonQtWrapper_QAccessibleInterface.h \ - $$PWD/PythonQtWrapper_QAccessibleInterfaceEx.h \ - $$PWD/PythonQtWrapper_QAccessibleObject.h \ - $$PWD/PythonQtWrapper_QAccessibleObjectEx.h \ - $$PWD/PythonQtWrapper_QAccessiblePlugin.h \ - $$PWD/PythonQtWrapper_QAccessibleTableInterface.h \ - $$PWD/PythonQtWrapper_QAccessibleWidget.h \ - $$PWD/PythonQtWrapper_QAccessibleWidgetEx.h \ - $$PWD/PythonQtWrapper_QAction.h \ - $$PWD/PythonQtWrapper_QActionEvent.h \ - $$PWD/PythonQtWrapper_QActionGroup.h \ - $$PWD/PythonQtWrapper_QApplication.h \ - $$PWD/PythonQtWrapper_QBoxLayout.h \ - $$PWD/PythonQtWrapper_QButtonGroup.h \ - $$PWD/PythonQtWrapper_QCDEStyle.h \ - $$PWD/PythonQtWrapper_QCalendarWidget.h \ - $$PWD/PythonQtWrapper_QCheckBox.h \ - $$PWD/PythonQtWrapper_QCleanlooksStyle.h \ - $$PWD/PythonQtWrapper_QClipboard.h \ - $$PWD/PythonQtWrapper_QClipboardEvent.h \ - $$PWD/PythonQtWrapper_QCloseEvent.h \ - $$PWD/PythonQtWrapper_QColorDialog.h \ - $$PWD/PythonQtWrapper_QColumnView.h \ - $$PWD/PythonQtWrapper_QComboBox.h \ - $$PWD/PythonQtWrapper_QCommandLinkButton.h \ - $$PWD/PythonQtWrapper_QCommonStyle.h \ - $$PWD/PythonQtWrapper_QCompleter.h \ - $$PWD/PythonQtWrapper_QConicalGradient.h \ - $$PWD/PythonQtWrapper_QContextMenuEvent.h \ - $$PWD/PythonQtWrapper_QDataWidgetMapper.h \ - $$PWD/PythonQtWrapper_QDateEdit.h \ - $$PWD/PythonQtWrapper_QDateTimeEdit.h \ - $$PWD/PythonQtWrapper_QDesktopServices.h \ - $$PWD/PythonQtWrapper_QDesktopWidget.h \ - $$PWD/PythonQtWrapper_QDial.h \ - $$PWD/PythonQtWrapper_QDialog.h \ - $$PWD/PythonQtWrapper_QDialogButtonBox.h \ - $$PWD/PythonQtWrapper_QDockWidget.h \ - $$PWD/PythonQtWrapper_QDoubleSpinBox.h \ - $$PWD/PythonQtWrapper_QDoubleValidator.h \ - $$PWD/PythonQtWrapper_QDrag.h \ - $$PWD/PythonQtWrapper_QDragEnterEvent.h \ - $$PWD/PythonQtWrapper_QDragLeaveEvent.h \ - $$PWD/PythonQtWrapper_QDragMoveEvent.h \ - $$PWD/PythonQtWrapper_QDragResponseEvent.h \ - $$PWD/PythonQtWrapper_QDropEvent.h \ - $$PWD/PythonQtWrapper_QErrorMessage.h \ - $$PWD/PythonQtWrapper_QFileDialog.h \ - $$PWD/PythonQtWrapper_QFileIconProvider.h \ - $$PWD/PythonQtWrapper_QFileOpenEvent.h \ - $$PWD/PythonQtWrapper_QFocusEvent.h \ - $$PWD/PythonQtWrapper_QFocusFrame.h \ - $$PWD/PythonQtWrapper_QFontComboBox.h \ - $$PWD/PythonQtWrapper_QFontDialog.h \ - $$PWD/PythonQtWrapper_QFontInfo.h \ - $$PWD/PythonQtWrapper_QFontMetrics.h \ - $$PWD/PythonQtWrapper_QFontMetricsF.h \ - $$PWD/PythonQtWrapper_QFormLayout.h \ - $$PWD/PythonQtWrapper_QFrame.h \ - $$PWD/PythonQtWrapper_QGradient.h \ - $$PWD/PythonQtWrapper_QGraphicsEllipseItem.h \ - $$PWD/PythonQtWrapper_QGraphicsGridLayout.h \ - $$PWD/PythonQtWrapper_QGraphicsItem.h \ - $$PWD/PythonQtWrapper_QGraphicsItemAnimation.h \ - $$PWD/PythonQtWrapper_QGraphicsItemGroup.h \ - $$PWD/PythonQtWrapper_QGraphicsLayout.h \ - $$PWD/PythonQtWrapper_QGraphicsLayoutItem.h \ - $$PWD/PythonQtWrapper_QGraphicsLineItem.h \ - $$PWD/PythonQtWrapper_QGraphicsLinearLayout.h \ - $$PWD/PythonQtWrapper_QGraphicsPathItem.h \ - $$PWD/PythonQtWrapper_QGraphicsPixmapItem.h \ - $$PWD/PythonQtWrapper_QGraphicsPolygonItem.h \ - $$PWD/PythonQtWrapper_QGraphicsProxyWidget.h \ - $$PWD/PythonQtWrapper_QGraphicsRectItem.h \ - $$PWD/PythonQtWrapper_QGraphicsScene.h \ - $$PWD/PythonQtWrapper_QGraphicsSceneContextMenuEvent.h \ - $$PWD/PythonQtWrapper_QGraphicsSceneEvent.h \ - $$PWD/PythonQtWrapper_QGraphicsSceneHelpEvent.h \ - $$PWD/PythonQtWrapper_QGraphicsSceneHoverEvent.h \ - $$PWD/PythonQtWrapper_QGraphicsSceneMouseEvent.h \ - $$PWD/PythonQtWrapper_QGraphicsSceneMoveEvent.h \ - $$PWD/PythonQtWrapper_QGraphicsSceneResizeEvent.h \ - $$PWD/PythonQtWrapper_QGraphicsSceneWheelEvent.h \ - $$PWD/PythonQtWrapper_QGraphicsSimpleTextItem.h \ - $$PWD/PythonQtWrapper_QGraphicsTextItem.h \ - $$PWD/PythonQtWrapper_QGraphicsView.h \ - $$PWD/PythonQtWrapper_QGraphicsWidget.h \ - $$PWD/PythonQtWrapper_QGridLayout.h \ - $$PWD/PythonQtWrapper_QGroupBox.h \ - $$PWD/PythonQtWrapper_QHBoxLayout.h \ - $$PWD/PythonQtWrapper_QHeaderView.h \ - $$PWD/PythonQtWrapper_QHelpEvent.h \ - $$PWD/PythonQtWrapper_QHideEvent.h \ - $$PWD/PythonQtWrapper_QHoverEvent.h \ - $$PWD/PythonQtWrapper_QIconDragEvent.h \ - $$PWD/PythonQtWrapper_QIconEngine.h \ - $$PWD/PythonQtWrapper_QIconEnginePluginV2.h \ - $$PWD/PythonQtWrapper_QImageIOHandler.h \ - $$PWD/PythonQtWrapper_QImageIOPlugin.h \ - $$PWD/PythonQtWrapper_QImageReader.h \ - $$PWD/PythonQtWrapper_QImageWriter.h \ - $$PWD/PythonQtWrapper_QInputContext.h \ - $$PWD/PythonQtWrapper_QInputContextFactory.h \ - $$PWD/PythonQtWrapper_QInputContextPlugin.h \ - $$PWD/PythonQtWrapper_QInputDialog.h \ - $$PWD/PythonQtWrapper_QInputEvent.h \ - $$PWD/PythonQtWrapper_QIntValidator.h \ - $$PWD/PythonQtWrapper_QItemDelegate.h \ - $$PWD/PythonQtWrapper_QItemEditorCreatorBase.h \ - $$PWD/PythonQtWrapper_QItemEditorFactory.h \ - $$PWD/PythonQtWrapper_QItemSelection.h \ - $$PWD/PythonQtWrapper_QItemSelectionModel.h \ - $$PWD/PythonQtWrapper_QItemSelectionRange.h \ - $$PWD/PythonQtWrapper_QKeyEvent.h \ - $$PWD/PythonQtWrapper_QLCDNumber.h \ - $$PWD/PythonQtWrapper_QLabel.h \ - $$PWD/PythonQtWrapper_QLayout.h \ - $$PWD/PythonQtWrapper_QLayoutItem.h \ - $$PWD/PythonQtWrapper_QLineEdit.h \ - $$PWD/PythonQtWrapper_QLinearGradient.h \ - $$PWD/PythonQtWrapper_QListView.h \ - $$PWD/PythonQtWrapper_QListWidget.h \ - $$PWD/PythonQtWrapper_QListWidgetItem.h \ - $$PWD/PythonQtWrapper_QMainWindow.h \ - $$PWD/PythonQtWrapper_QMdiArea.h \ - $$PWD/PythonQtWrapper_QMdiSubWindow.h \ - $$PWD/PythonQtWrapper_QMenu.h \ - $$PWD/PythonQtWrapper_QMenuBar.h \ - $$PWD/PythonQtWrapper_QMessageBox.h \ - $$PWD/PythonQtWrapper_QMotifStyle.h \ - $$PWD/PythonQtWrapper_QMouseEvent.h \ - $$PWD/PythonQtWrapper_QMoveEvent.h \ - $$PWD/PythonQtWrapper_QMovie.h \ - $$PWD/PythonQtWrapper_QPageSetupDialog.h \ - $$PWD/PythonQtWrapper_QPaintDevice.h \ - $$PWD/PythonQtWrapper_QPaintEngine.h \ - $$PWD/PythonQtWrapper_QPaintEngineState.h \ - $$PWD/PythonQtWrapper_QPaintEvent.h \ - $$PWD/PythonQtWrapper_QPainter.h \ - $$PWD/PythonQtWrapper_QPainterPath.h \ - $$PWD/PythonQtWrapper_QPainterPathStroker.h \ - $$PWD/PythonQtWrapper_QPen.h \ - $$PWD/PythonQtWrapper_QPicture.h \ - $$PWD/PythonQtWrapper_QPictureFormatPlugin.h \ - $$PWD/PythonQtWrapper_QPictureIO.h \ - $$PWD/PythonQtWrapper_QPixmapCache.h \ - $$PWD/PythonQtWrapper_QPlainTextDocumentLayout.h \ - $$PWD/PythonQtWrapper_QPlainTextEdit.h \ - $$PWD/PythonQtWrapper_QPlastiqueStyle.h \ - $$PWD/PythonQtWrapper_QPolygonF.h \ - $$PWD/PythonQtWrapper_QPrintDialog.h \ - $$PWD/PythonQtWrapper_QPrintEngine.h \ - $$PWD/PythonQtWrapper_QPrintPreviewDialog.h \ - $$PWD/PythonQtWrapper_QPrintPreviewWidget.h \ - $$PWD/PythonQtWrapper_QPrinter.h \ - $$PWD/PythonQtWrapper_QProgressBar.h \ - $$PWD/PythonQtWrapper_QProgressDialog.h \ - $$PWD/PythonQtWrapper_QPushButton.h \ - $$PWD/PythonQtWrapper_QRadialGradient.h \ - $$PWD/PythonQtWrapper_QRadioButton.h \ - $$PWD/PythonQtWrapper_QReadWriteLock.h \ - $$PWD/PythonQtWrapper_QRegExpValidator.h \ - $$PWD/PythonQtWrapper_QResizeEvent.h \ - $$PWD/PythonQtWrapper_QRubberBand.h \ - $$PWD/PythonQtWrapper_QScrollArea.h \ - $$PWD/PythonQtWrapper_QScrollBar.h \ - $$PWD/PythonQtWrapper_QSessionManager.h \ - $$PWD/PythonQtWrapper_QShortcut.h \ - $$PWD/PythonQtWrapper_QShortcutEvent.h \ - $$PWD/PythonQtWrapper_QShowEvent.h \ - $$PWD/PythonQtWrapper_QSizeGrip.h \ - $$PWD/PythonQtWrapper_QSlider.h \ - $$PWD/PythonQtWrapper_QSound.h \ - $$PWD/PythonQtWrapper_QSpacerItem.h \ - $$PWD/PythonQtWrapper_QSpinBox.h \ - $$PWD/PythonQtWrapper_QSplashScreen.h \ - $$PWD/PythonQtWrapper_QSplitter.h \ - $$PWD/PythonQtWrapper_QSplitterHandle.h \ - $$PWD/PythonQtWrapper_QStackedLayout.h \ - $$PWD/PythonQtWrapper_QStackedWidget.h \ - $$PWD/PythonQtWrapper_QStandardItem.h \ - $$PWD/PythonQtWrapper_QStandardItemModel.h \ - $$PWD/PythonQtWrapper_QStatusBar.h \ - $$PWD/PythonQtWrapper_QStatusTipEvent.h \ - $$PWD/PythonQtWrapper_QStringListModel.h \ - $$PWD/PythonQtWrapper_QStyle.h \ - $$PWD/PythonQtWrapper_QStyleFactory.h \ - $$PWD/PythonQtWrapper_QStyleHintReturn.h \ - $$PWD/PythonQtWrapper_QStyleHintReturnMask.h \ - $$PWD/PythonQtWrapper_QStyleHintReturnVariant.h \ - $$PWD/PythonQtWrapper_QStyleOption.h \ - $$PWD/PythonQtWrapper_QStyleOptionButton.h \ - $$PWD/PythonQtWrapper_QStyleOptionComboBox.h \ - $$PWD/PythonQtWrapper_QStyleOptionDockWidget.h \ - $$PWD/PythonQtWrapper_QStyleOptionDockWidgetV2.h \ - $$PWD/PythonQtWrapper_QStyleOptionFocusRect.h \ - $$PWD/PythonQtWrapper_QStyleOptionFrame.h \ - $$PWD/PythonQtWrapper_QStyleOptionFrameV2.h \ - $$PWD/PythonQtWrapper_QStyleOptionGraphicsItem.h \ - $$PWD/PythonQtWrapper_QStyleOptionGroupBox.h \ - $$PWD/PythonQtWrapper_QStyleOptionHeader.h \ - $$PWD/PythonQtWrapper_QStyleOptionMenuItem.h \ - $$PWD/PythonQtWrapper_QStyleOptionProgressBar.h \ - $$PWD/PythonQtWrapper_QStyleOptionProgressBarV2.h \ - $$PWD/PythonQtWrapper_QStyleOptionRubberBand.h \ - $$PWD/PythonQtWrapper_QStyleOptionSizeGrip.h \ - $$PWD/PythonQtWrapper_QStyleOptionSlider.h \ - $$PWD/PythonQtWrapper_QStyleOptionSpinBox.h \ - $$PWD/PythonQtWrapper_QStyleOptionTab.h \ - $$PWD/PythonQtWrapper_QStyleOptionTabBarBase.h \ - $$PWD/PythonQtWrapper_QStyleOptionTabV2.h \ - $$PWD/PythonQtWrapper_QStyleOptionTabWidgetFrame.h \ - $$PWD/PythonQtWrapper_QStyleOptionTitleBar.h \ - $$PWD/PythonQtWrapper_QStyleOptionToolBar.h \ - $$PWD/PythonQtWrapper_QStyleOptionToolBox.h \ - $$PWD/PythonQtWrapper_QStyleOptionToolBoxV2.h \ - $$PWD/PythonQtWrapper_QStyleOptionToolButton.h \ - $$PWD/PythonQtWrapper_QStyleOptionViewItem.h \ - $$PWD/PythonQtWrapper_QStyleOptionViewItemV2.h \ - $$PWD/PythonQtWrapper_QStyleOptionViewItemV3.h \ - $$PWD/PythonQtWrapper_QStyleOptionViewItemV4.h \ - $$PWD/PythonQtWrapper_QStylePainter.h \ - $$PWD/PythonQtWrapper_QStylePlugin.h \ - $$PWD/PythonQtWrapper_QStyledItemDelegate.h \ - $$PWD/PythonQtWrapper_QSyntaxHighlighter.h \ - $$PWD/PythonQtWrapper_QSystemTrayIcon.h \ - $$PWD/PythonQtWrapper_QTabBar.h \ - $$PWD/PythonQtWrapper_QTabWidget.h \ - $$PWD/PythonQtWrapper_QTableView.h \ - $$PWD/PythonQtWrapper_QTableWidget.h \ - $$PWD/PythonQtWrapper_QTableWidgetItem.h \ - $$PWD/PythonQtWrapper_QTableWidgetSelectionRange.h \ - $$PWD/PythonQtWrapper_QTabletEvent.h \ - $$PWD/PythonQtWrapper_QTextBlock.h \ - $$PWD/PythonQtWrapper_QTextBlockFormat.h \ - $$PWD/PythonQtWrapper_QTextBlockGroup.h \ - $$PWD/PythonQtWrapper_QTextBlockUserData.h \ - $$PWD/PythonQtWrapper_QTextBrowser.h \ - $$PWD/PythonQtWrapper_QTextCharFormat.h \ - $$PWD/PythonQtWrapper_QTextCursor.h \ - $$PWD/PythonQtWrapper_QTextDocument.h \ - $$PWD/PythonQtWrapper_QTextDocumentFragment.h \ - $$PWD/PythonQtWrapper_QTextEdit.h \ - $$PWD/PythonQtWrapper_QTextFragment.h \ - $$PWD/PythonQtWrapper_QTextFrame.h \ - $$PWD/PythonQtWrapper_QTextFrameFormat.h \ - $$PWD/PythonQtWrapper_QTextImageFormat.h \ - $$PWD/PythonQtWrapper_QTextInlineObject.h \ - $$PWD/PythonQtWrapper_QTextItem.h \ - $$PWD/PythonQtWrapper_QTextLine.h \ - $$PWD/PythonQtWrapper_QTextList.h \ - $$PWD/PythonQtWrapper_QTextListFormat.h \ - $$PWD/PythonQtWrapper_QTextObject.h \ - $$PWD/PythonQtWrapper_QTextObjectInterface.h \ - $$PWD/PythonQtWrapper_QTextTable.h \ - $$PWD/PythonQtWrapper_QTextTableCell.h \ - $$PWD/PythonQtWrapper_QTextTableCellFormat.h \ - $$PWD/PythonQtWrapper_QTextTableFormat.h \ - $$PWD/PythonQtWrapper_QTimeEdit.h \ - $$PWD/PythonQtWrapper_QToolBar.h \ - $$PWD/PythonQtWrapper_QToolBarChangeEvent.h \ - $$PWD/PythonQtWrapper_QToolBox.h \ - $$PWD/PythonQtWrapper_QToolButton.h \ - $$PWD/PythonQtWrapper_QToolTip.h \ - $$PWD/PythonQtWrapper_QTransform.h \ - $$PWD/PythonQtWrapper_QTreeView.h \ - $$PWD/PythonQtWrapper_QTreeWidget.h \ - $$PWD/PythonQtWrapper_QTreeWidgetItem.h \ - $$PWD/PythonQtWrapper_QUndoCommand.h \ - $$PWD/PythonQtWrapper_QUndoGroup.h \ - $$PWD/PythonQtWrapper_QUndoStack.h \ - $$PWD/PythonQtWrapper_QUndoView.h \ - $$PWD/PythonQtWrapper_QVBoxLayout.h \ - $$PWD/PythonQtWrapper_QValidator.h \ - $$PWD/PythonQtWrapper_QWhatsThis.h \ - $$PWD/PythonQtWrapper_QWhatsThisClickedEvent.h \ - $$PWD/PythonQtWrapper_QWheelEvent.h \ - $$PWD/PythonQtWrapper_QWidget.h \ - $$PWD/PythonQtWrapper_QWidgetAction.h \ - $$PWD/PythonQtWrapper_QWidgetItem.h \ - $$PWD/PythonQtWrapper_QWindowStateChangeEvent.h \ - $$PWD/PythonQtWrapper_QWindowsStyle.h \ - $$PWD/PythonQtWrapper_QWizard.h \ - $$PWD/PythonQtWrapper_QWizardPage.h \ - $$PWD/PythonQtWrapper_QWorkspace.h \ - -SOURCES += \ - $$PWD/PythonQtWrapper_QAbstractButton.cpp \ - $$PWD/PythonQtWrapper_QAbstractGraphicsShapeItem.cpp \ - $$PWD/PythonQtWrapper_QAbstractItemDelegate.cpp \ - $$PWD/PythonQtWrapper_QAbstractItemView.cpp \ - $$PWD/PythonQtWrapper_QAbstractPageSetupDialog.cpp \ - $$PWD/PythonQtWrapper_QAbstractPrintDialog.cpp \ - $$PWD/PythonQtWrapper_QAbstractScrollArea.cpp \ - $$PWD/PythonQtWrapper_QAbstractSlider.cpp \ - $$PWD/PythonQtWrapper_QAbstractSpinBox.cpp \ - $$PWD/PythonQtWrapper_QAccessible.cpp \ - $$PWD/PythonQtWrapper_QAccessible2Interface.cpp \ - $$PWD/PythonQtWrapper_QAccessibleBridge.cpp \ - $$PWD/PythonQtWrapper_QAccessibleEvent.cpp \ - $$PWD/PythonQtWrapper_QAccessibleInterface.cpp \ - $$PWD/PythonQtWrapper_QAccessibleInterfaceEx.cpp \ - $$PWD/PythonQtWrapper_QAccessibleObject.cpp \ - $$PWD/PythonQtWrapper_QAccessibleObjectEx.cpp \ - $$PWD/PythonQtWrapper_QAccessiblePlugin.cpp \ - $$PWD/PythonQtWrapper_QAccessibleTableInterface.cpp \ - $$PWD/PythonQtWrapper_QAccessibleWidget.cpp \ - $$PWD/PythonQtWrapper_QAccessibleWidgetEx.cpp \ - $$PWD/PythonQtWrapper_QAction.cpp \ - $$PWD/PythonQtWrapper_QActionEvent.cpp \ - $$PWD/PythonQtWrapper_QActionGroup.cpp \ - $$PWD/PythonQtWrapper_QApplication.cpp \ - $$PWD/PythonQtWrapper_QBoxLayout.cpp \ - $$PWD/PythonQtWrapper_QButtonGroup.cpp \ - $$PWD/PythonQtWrapper_QCDEStyle.cpp \ - $$PWD/PythonQtWrapper_QCalendarWidget.cpp \ - $$PWD/PythonQtWrapper_QCheckBox.cpp \ - $$PWD/PythonQtWrapper_QCleanlooksStyle.cpp \ - $$PWD/PythonQtWrapper_QClipboard.cpp \ - $$PWD/PythonQtWrapper_QClipboardEvent.cpp \ - $$PWD/PythonQtWrapper_QCloseEvent.cpp \ - $$PWD/PythonQtWrapper_QColorDialog.cpp \ - $$PWD/PythonQtWrapper_QColumnView.cpp \ - $$PWD/PythonQtWrapper_QComboBox.cpp \ - $$PWD/PythonQtWrapper_QCommandLinkButton.cpp \ - $$PWD/PythonQtWrapper_QCommonStyle.cpp \ - $$PWD/PythonQtWrapper_QCompleter.cpp \ - $$PWD/PythonQtWrapper_QConicalGradient.cpp \ - $$PWD/PythonQtWrapper_QContextMenuEvent.cpp \ - $$PWD/PythonQtWrapper_QDataWidgetMapper.cpp \ - $$PWD/PythonQtWrapper_QDateEdit.cpp \ - $$PWD/PythonQtWrapper_QDateTimeEdit.cpp \ - $$PWD/PythonQtWrapper_QDesktopServices.cpp \ - $$PWD/PythonQtWrapper_QDesktopWidget.cpp \ - $$PWD/PythonQtWrapper_QDial.cpp \ - $$PWD/PythonQtWrapper_QDialog.cpp \ - $$PWD/PythonQtWrapper_QDialogButtonBox.cpp \ - $$PWD/PythonQtWrapper_QDockWidget.cpp \ - $$PWD/PythonQtWrapper_QDoubleSpinBox.cpp \ - $$PWD/PythonQtWrapper_QDoubleValidator.cpp \ - $$PWD/PythonQtWrapper_QDrag.cpp \ - $$PWD/PythonQtWrapper_QDragEnterEvent.cpp \ - $$PWD/PythonQtWrapper_QDragLeaveEvent.cpp \ - $$PWD/PythonQtWrapper_QDragMoveEvent.cpp \ - $$PWD/PythonQtWrapper_QDragResponseEvent.cpp \ - $$PWD/PythonQtWrapper_QDropEvent.cpp \ - $$PWD/PythonQtWrapper_QErrorMessage.cpp \ - $$PWD/PythonQtWrapper_QFileDialog.cpp \ - $$PWD/PythonQtWrapper_QFileIconProvider.cpp \ - $$PWD/PythonQtWrapper_QFileOpenEvent.cpp \ - $$PWD/PythonQtWrapper_QFocusEvent.cpp \ - $$PWD/PythonQtWrapper_QFocusFrame.cpp \ - $$PWD/PythonQtWrapper_QFontComboBox.cpp \ - $$PWD/PythonQtWrapper_QFontDialog.cpp \ - $$PWD/PythonQtWrapper_QFontInfo.cpp \ - $$PWD/PythonQtWrapper_QFontMetrics.cpp \ - $$PWD/PythonQtWrapper_QFontMetricsF.cpp \ - $$PWD/PythonQtWrapper_QFormLayout.cpp \ - $$PWD/PythonQtWrapper_QFrame.cpp \ - $$PWD/PythonQtWrapper_QGradient.cpp \ - $$PWD/PythonQtWrapper_QGraphicsEllipseItem.cpp \ - $$PWD/PythonQtWrapper_QGraphicsGridLayout.cpp \ - $$PWD/PythonQtWrapper_QGraphicsItem.cpp \ - $$PWD/PythonQtWrapper_QGraphicsItemAnimation.cpp \ - $$PWD/PythonQtWrapper_QGraphicsItemGroup.cpp \ - $$PWD/PythonQtWrapper_QGraphicsLayout.cpp \ - $$PWD/PythonQtWrapper_QGraphicsLayoutItem.cpp \ - $$PWD/PythonQtWrapper_QGraphicsLineItem.cpp \ - $$PWD/PythonQtWrapper_QGraphicsLinearLayout.cpp \ - $$PWD/PythonQtWrapper_QGraphicsPathItem.cpp \ - $$PWD/PythonQtWrapper_QGraphicsPixmapItem.cpp \ - $$PWD/PythonQtWrapper_QGraphicsPolygonItem.cpp \ - $$PWD/PythonQtWrapper_QGraphicsProxyWidget.cpp \ - $$PWD/PythonQtWrapper_QGraphicsRectItem.cpp \ - $$PWD/PythonQtWrapper_QGraphicsScene.cpp \ - $$PWD/PythonQtWrapper_QGraphicsSceneContextMenuEvent.cpp \ - $$PWD/PythonQtWrapper_QGraphicsSceneEvent.cpp \ - $$PWD/PythonQtWrapper_QGraphicsSceneHelpEvent.cpp \ - $$PWD/PythonQtWrapper_QGraphicsSceneHoverEvent.cpp \ - $$PWD/PythonQtWrapper_QGraphicsSceneMouseEvent.cpp \ - $$PWD/PythonQtWrapper_QGraphicsSceneMoveEvent.cpp \ - $$PWD/PythonQtWrapper_QGraphicsSceneResizeEvent.cpp \ - $$PWD/PythonQtWrapper_QGraphicsSceneWheelEvent.cpp \ - $$PWD/PythonQtWrapper_QGraphicsSimpleTextItem.cpp \ - $$PWD/PythonQtWrapper_QGraphicsTextItem.cpp \ - $$PWD/PythonQtWrapper_QGraphicsView.cpp \ - $$PWD/PythonQtWrapper_QGraphicsWidget.cpp \ - $$PWD/PythonQtWrapper_QGridLayout.cpp \ - $$PWD/PythonQtWrapper_QGroupBox.cpp \ - $$PWD/PythonQtWrapper_QHBoxLayout.cpp \ - $$PWD/PythonQtWrapper_QHeaderView.cpp \ - $$PWD/PythonQtWrapper_QHelpEvent.cpp \ - $$PWD/PythonQtWrapper_QHideEvent.cpp \ - $$PWD/PythonQtWrapper_QHoverEvent.cpp \ - $$PWD/PythonQtWrapper_QIconDragEvent.cpp \ - $$PWD/PythonQtWrapper_QIconEngine.cpp \ - $$PWD/PythonQtWrapper_QIconEnginePluginV2.cpp \ - $$PWD/PythonQtWrapper_QImageIOHandler.cpp \ - $$PWD/PythonQtWrapper_QImageIOPlugin.cpp \ - $$PWD/PythonQtWrapper_QImageReader.cpp \ - $$PWD/PythonQtWrapper_QImageWriter.cpp \ - $$PWD/PythonQtWrapper_QInputContext.cpp \ - $$PWD/PythonQtWrapper_QInputContextFactory.cpp \ - $$PWD/PythonQtWrapper_QInputContextPlugin.cpp \ - $$PWD/PythonQtWrapper_QInputDialog.cpp \ - $$PWD/PythonQtWrapper_QInputEvent.cpp \ - $$PWD/PythonQtWrapper_QIntValidator.cpp \ - $$PWD/PythonQtWrapper_QItemDelegate.cpp \ - $$PWD/PythonQtWrapper_QItemEditorCreatorBase.cpp \ - $$PWD/PythonQtWrapper_QItemEditorFactory.cpp \ - $$PWD/PythonQtWrapper_QItemSelection.cpp \ - $$PWD/PythonQtWrapper_QItemSelectionModel.cpp \ - $$PWD/PythonQtWrapper_QItemSelectionRange.cpp \ - $$PWD/PythonQtWrapper_QKeyEvent.cpp \ - $$PWD/PythonQtWrapper_QLCDNumber.cpp \ - $$PWD/PythonQtWrapper_QLabel.cpp \ - $$PWD/PythonQtWrapper_QLayout.cpp \ - $$PWD/PythonQtWrapper_QLayoutItem.cpp \ - $$PWD/PythonQtWrapper_QLineEdit.cpp \ - $$PWD/PythonQtWrapper_QLinearGradient.cpp \ - $$PWD/PythonQtWrapper_QListView.cpp \ - $$PWD/PythonQtWrapper_QListWidget.cpp \ - $$PWD/PythonQtWrapper_QListWidgetItem.cpp \ - $$PWD/PythonQtWrapper_QMainWindow.cpp \ - $$PWD/PythonQtWrapper_QMdiArea.cpp \ - $$PWD/PythonQtWrapper_QMdiSubWindow.cpp \ - $$PWD/PythonQtWrapper_QMenu.cpp \ - $$PWD/PythonQtWrapper_QMenuBar.cpp \ - $$PWD/PythonQtWrapper_QMessageBox.cpp \ - $$PWD/PythonQtWrapper_QMotifStyle.cpp \ - $$PWD/PythonQtWrapper_QMouseEvent.cpp \ - $$PWD/PythonQtWrapper_QMoveEvent.cpp \ - $$PWD/PythonQtWrapper_QMovie.cpp \ - $$PWD/PythonQtWrapper_QPageSetupDialog.cpp \ - $$PWD/PythonQtWrapper_QPaintDevice.cpp \ - $$PWD/PythonQtWrapper_QPaintEngine.cpp \ - $$PWD/PythonQtWrapper_QPaintEngineState.cpp \ - $$PWD/PythonQtWrapper_QPaintEvent.cpp \ - $$PWD/PythonQtWrapper_QPainter.cpp \ - $$PWD/PythonQtWrapper_QPainterPath.cpp \ - $$PWD/PythonQtWrapper_QPainterPathStroker.cpp \ - $$PWD/PythonQtWrapper_QPen.cpp \ - $$PWD/PythonQtWrapper_QPicture.cpp \ - $$PWD/PythonQtWrapper_QPictureFormatPlugin.cpp \ - $$PWD/PythonQtWrapper_QPictureIO.cpp \ - $$PWD/PythonQtWrapper_QPixmapCache.cpp \ - $$PWD/PythonQtWrapper_QPlainTextDocumentLayout.cpp \ - $$PWD/PythonQtWrapper_QPlainTextEdit.cpp \ - $$PWD/PythonQtWrapper_QPlastiqueStyle.cpp \ - $$PWD/PythonQtWrapper_QPolygonF.cpp \ - $$PWD/PythonQtWrapper_QPrintDialog.cpp \ - $$PWD/PythonQtWrapper_QPrintEngine.cpp \ - $$PWD/PythonQtWrapper_QPrintPreviewDialog.cpp \ - $$PWD/PythonQtWrapper_QPrintPreviewWidget.cpp \ - $$PWD/PythonQtWrapper_QPrinter.cpp \ - $$PWD/PythonQtWrapper_QProgressBar.cpp \ - $$PWD/PythonQtWrapper_QProgressDialog.cpp \ - $$PWD/PythonQtWrapper_QPushButton.cpp \ - $$PWD/PythonQtWrapper_QRadialGradient.cpp \ - $$PWD/PythonQtWrapper_QRadioButton.cpp \ - $$PWD/PythonQtWrapper_QReadWriteLock.cpp \ - $$PWD/PythonQtWrapper_QRegExpValidator.cpp \ - $$PWD/PythonQtWrapper_QResizeEvent.cpp \ - $$PWD/PythonQtWrapper_QRubberBand.cpp \ - $$PWD/PythonQtWrapper_QScrollArea.cpp \ - $$PWD/PythonQtWrapper_QScrollBar.cpp \ - $$PWD/PythonQtWrapper_QSessionManager.cpp \ - $$PWD/PythonQtWrapper_QShortcut.cpp \ - $$PWD/PythonQtWrapper_QShortcutEvent.cpp \ - $$PWD/PythonQtWrapper_QShowEvent.cpp \ - $$PWD/PythonQtWrapper_QSizeGrip.cpp \ - $$PWD/PythonQtWrapper_QSlider.cpp \ - $$PWD/PythonQtWrapper_QSound.cpp \ - $$PWD/PythonQtWrapper_QSpacerItem.cpp \ - $$PWD/PythonQtWrapper_QSpinBox.cpp \ - $$PWD/PythonQtWrapper_QSplashScreen.cpp \ - $$PWD/PythonQtWrapper_QSplitter.cpp \ - $$PWD/PythonQtWrapper_QSplitterHandle.cpp \ - $$PWD/PythonQtWrapper_QStackedLayout.cpp \ - $$PWD/PythonQtWrapper_QStackedWidget.cpp \ - $$PWD/PythonQtWrapper_QStandardItem.cpp \ - $$PWD/PythonQtWrapper_QStandardItemModel.cpp \ - $$PWD/PythonQtWrapper_QStatusBar.cpp \ - $$PWD/PythonQtWrapper_QStatusTipEvent.cpp \ - $$PWD/PythonQtWrapper_QStringListModel.cpp \ - $$PWD/PythonQtWrapper_QStyle.cpp \ - $$PWD/PythonQtWrapper_QStyleFactory.cpp \ - $$PWD/PythonQtWrapper_QStyleHintReturn.cpp \ - $$PWD/PythonQtWrapper_QStyleHintReturnMask.cpp \ - $$PWD/PythonQtWrapper_QStyleHintReturnVariant.cpp \ - $$PWD/PythonQtWrapper_QStyleOption.cpp \ - $$PWD/PythonQtWrapper_QStyleOptionButton.cpp \ - $$PWD/PythonQtWrapper_QStyleOptionComboBox.cpp \ - $$PWD/PythonQtWrapper_QStyleOptionDockWidget.cpp \ - $$PWD/PythonQtWrapper_QStyleOptionDockWidgetV2.cpp \ - $$PWD/PythonQtWrapper_QStyleOptionFocusRect.cpp \ - $$PWD/PythonQtWrapper_QStyleOptionFrame.cpp \ - $$PWD/PythonQtWrapper_QStyleOptionFrameV2.cpp \ - $$PWD/PythonQtWrapper_QStyleOptionGraphicsItem.cpp \ - $$PWD/PythonQtWrapper_QStyleOptionGroupBox.cpp \ - $$PWD/PythonQtWrapper_QStyleOptionHeader.cpp \ - $$PWD/PythonQtWrapper_QStyleOptionMenuItem.cpp \ - $$PWD/PythonQtWrapper_QStyleOptionProgressBar.cpp \ - $$PWD/PythonQtWrapper_QStyleOptionProgressBarV2.cpp \ - $$PWD/PythonQtWrapper_QStyleOptionRubberBand.cpp \ - $$PWD/PythonQtWrapper_QStyleOptionSizeGrip.cpp \ - $$PWD/PythonQtWrapper_QStyleOptionSlider.cpp \ - $$PWD/PythonQtWrapper_QStyleOptionSpinBox.cpp \ - $$PWD/PythonQtWrapper_QStyleOptionTab.cpp \ - $$PWD/PythonQtWrapper_QStyleOptionTabBarBase.cpp \ - $$PWD/PythonQtWrapper_QStyleOptionTabV2.cpp \ - $$PWD/PythonQtWrapper_QStyleOptionTabWidgetFrame.cpp \ - $$PWD/PythonQtWrapper_QStyleOptionTitleBar.cpp \ - $$PWD/PythonQtWrapper_QStyleOptionToolBar.cpp \ - $$PWD/PythonQtWrapper_QStyleOptionToolBox.cpp \ - $$PWD/PythonQtWrapper_QStyleOptionToolBoxV2.cpp \ - $$PWD/PythonQtWrapper_QStyleOptionToolButton.cpp \ - $$PWD/PythonQtWrapper_QStyleOptionViewItem.cpp \ - $$PWD/PythonQtWrapper_QStyleOptionViewItemV2.cpp \ - $$PWD/PythonQtWrapper_QStyleOptionViewItemV3.cpp \ - $$PWD/PythonQtWrapper_QStyleOptionViewItemV4.cpp \ - $$PWD/PythonQtWrapper_QStylePainter.cpp \ - $$PWD/PythonQtWrapper_QStylePlugin.cpp \ - $$PWD/PythonQtWrapper_QStyledItemDelegate.cpp \ - $$PWD/PythonQtWrapper_QSyntaxHighlighter.cpp \ - $$PWD/PythonQtWrapper_QSystemTrayIcon.cpp \ - $$PWD/PythonQtWrapper_QTabBar.cpp \ - $$PWD/PythonQtWrapper_QTabWidget.cpp \ - $$PWD/PythonQtWrapper_QTableView.cpp \ - $$PWD/PythonQtWrapper_QTableWidget.cpp \ - $$PWD/PythonQtWrapper_QTableWidgetItem.cpp \ - $$PWD/PythonQtWrapper_QTableWidgetSelectionRange.cpp \ - $$PWD/PythonQtWrapper_QTabletEvent.cpp \ - $$PWD/PythonQtWrapper_QTextBlock.cpp \ - $$PWD/PythonQtWrapper_QTextBlockFormat.cpp \ - $$PWD/PythonQtWrapper_QTextBlockGroup.cpp \ - $$PWD/PythonQtWrapper_QTextBlockUserData.cpp \ - $$PWD/PythonQtWrapper_QTextBrowser.cpp \ - $$PWD/PythonQtWrapper_QTextCharFormat.cpp \ - $$PWD/PythonQtWrapper_QTextCursor.cpp \ - $$PWD/PythonQtWrapper_QTextDocument.cpp \ - $$PWD/PythonQtWrapper_QTextDocumentFragment.cpp \ - $$PWD/PythonQtWrapper_QTextEdit.cpp \ - $$PWD/PythonQtWrapper_QTextFragment.cpp \ - $$PWD/PythonQtWrapper_QTextFrame.cpp \ - $$PWD/PythonQtWrapper_QTextFrameFormat.cpp \ - $$PWD/PythonQtWrapper_QTextImageFormat.cpp \ - $$PWD/PythonQtWrapper_QTextInlineObject.cpp \ - $$PWD/PythonQtWrapper_QTextItem.cpp \ - $$PWD/PythonQtWrapper_QTextLine.cpp \ - $$PWD/PythonQtWrapper_QTextList.cpp \ - $$PWD/PythonQtWrapper_QTextListFormat.cpp \ - $$PWD/PythonQtWrapper_QTextObject.cpp \ - $$PWD/PythonQtWrapper_QTextObjectInterface.cpp \ - $$PWD/PythonQtWrapper_QTextTable.cpp \ - $$PWD/PythonQtWrapper_QTextTableCell.cpp \ - $$PWD/PythonQtWrapper_QTextTableCellFormat.cpp \ - $$PWD/PythonQtWrapper_QTextTableFormat.cpp \ - $$PWD/PythonQtWrapper_QTimeEdit.cpp \ - $$PWD/PythonQtWrapper_QToolBar.cpp \ - $$PWD/PythonQtWrapper_QToolBarChangeEvent.cpp \ - $$PWD/PythonQtWrapper_QToolBox.cpp \ - $$PWD/PythonQtWrapper_QToolButton.cpp \ - $$PWD/PythonQtWrapper_QToolTip.cpp \ - $$PWD/PythonQtWrapper_QTransform.cpp \ - $$PWD/PythonQtWrapper_QTreeView.cpp \ - $$PWD/PythonQtWrapper_QTreeWidget.cpp \ - $$PWD/PythonQtWrapper_QTreeWidgetItem.cpp \ - $$PWD/PythonQtWrapper_QUndoCommand.cpp \ - $$PWD/PythonQtWrapper_QUndoGroup.cpp \ - $$PWD/PythonQtWrapper_QUndoStack.cpp \ - $$PWD/PythonQtWrapper_QUndoView.cpp \ - $$PWD/PythonQtWrapper_QVBoxLayout.cpp \ - $$PWD/PythonQtWrapper_QValidator.cpp \ - $$PWD/PythonQtWrapper_QWhatsThis.cpp \ - $$PWD/PythonQtWrapper_QWhatsThisClickedEvent.cpp \ - $$PWD/PythonQtWrapper_QWheelEvent.cpp \ - $$PWD/PythonQtWrapper_QWidget.cpp \ - $$PWD/PythonQtWrapper_QWidgetAction.cpp \ - $$PWD/PythonQtWrapper_QWidgetItem.cpp \ - $$PWD/PythonQtWrapper_QWindowStateChangeEvent.cpp \ - $$PWD/PythonQtWrapper_QWindowsStyle.cpp \ - $$PWD/PythonQtWrapper_QWizard.cpp \ - $$PWD/PythonQtWrapper_QWizardPage.cpp \ - $$PWD/PythonQtWrapper_QWorkspace.cpp \ - $$PWD/com_trolltech_qt_gui_init.cpp diff --git a/generated_cpp/com_trolltech_qt_gui/com_trolltech_qt_gui_init.cpp b/generated_cpp/com_trolltech_qt_gui/com_trolltech_qt_gui_init.cpp deleted file mode 100644 index a8f110e..0000000 --- a/generated_cpp/com_trolltech_qt_gui/com_trolltech_qt_gui_init.cpp +++ /dev/null @@ -1,976 +0,0 @@ -#include -#include "PythonQtWrapper_QCursor.h" -#include "PythonQtWrapper_QWhatsThis.h" -#include "PythonQtWrapper_QTreeWidgetItem.h" -#include "PythonQtWrapper_QGradient.h" -#include "PythonQtWrapper_QUndoCommand.h" -#include "PythonQtWrapper_QAccessible2Interface.h" -#include "PythonQtWrapper_QPixmapCache.h" -#include "PythonQtWrapper_QLayoutItem.h" -#include "PythonQtWrapper_QStandardItem.h" -#include "PythonQtWrapper_QStyleFactory.h" -#include "PythonQtWrapper_QListWidgetItem.h" -#include "PythonQtWrapper_QImageReader.h" -#include "PythonQtWrapper_QReadWriteLock.h" -#include "PythonQtWrapper_QFontMetrics.h" -#include "PythonQtWrapper_QImageWriter.h" -#include "PythonQtWrapper_QTextDocumentFragment.h" -#include "PythonQtWrapper_QPainter.h" -#include "PythonQtWrapper_QPaintEngine.h" -#include "PythonQtWrapper_QTextBlock.h" -#include "PythonQtWrapper_QFontMetricsF.h" -#include "PythonQtWrapper_QIconEngine.h" -#include "PythonQtWrapper_QPolygonF.h" -#include "PythonQtWrapper_QPainterPath.h" -#include "PythonQtWrapper_QPainterPathStroker.h" -#include "PythonQtWrapper_QTextCursor.h" -#include "PythonQtWrapper_QPaintDevice.h" -#include "PythonQtWrapper_QStyleHintReturn.h" -#include "PythonQtWrapper_QMatrix.h" -#include "PythonQtWrapper_QItemSelection.h" -#include "PythonQtWrapper_QTextObjectInterface.h" -#include "PythonQtWrapper_QItemEditorCreatorBase.h" -#include "PythonQtWrapper_QGraphicsLayoutItem.h" -#include "PythonQtWrapper_QPalette.h" -#include "PythonQtWrapper_QPictureIO.h" -#include "PythonQtWrapper_QKeySequence.h" -#include "PythonQtWrapper_QTextLine.h" -#include "PythonQtWrapper_QSizePolicy.h" -#include "PythonQtWrapper_QAccessible.h" -#include "PythonQtWrapper_QTableWidgetItem.h" -#include "PythonQtWrapper_QPen.h" -#include "PythonQtWrapper_QToolTip.h" -#include "PythonQtWrapper_QTextFragment.h" -#include "PythonQtWrapper_QPlainTextDocumentLayout.h" -#include "PythonQtWrapper_QTextBlockUserData.h" -#include "PythonQtWrapper_QTransform.h" -#include "PythonQtWrapper_QTextInlineObject.h" -#include "PythonQtWrapper_QFileIconProvider.h" -#include "PythonQtWrapper_QAccessibleBridge.h" -#include "PythonQtWrapper_QIcon.h" -#include "PythonQtWrapper_QTextTableCell.h" -#include "PythonQtWrapper_QFontInfo.h" -#include "PythonQtWrapper_QGraphicsItem.h" -#include "PythonQtWrapper_QItemEditorFactory.h" -#include "PythonQtWrapper_QTextFormat.h" -#include "PythonQtWrapper_QTextLength.h" -#include "PythonQtWrapper_QRegion.h" -#include "PythonQtWrapper_QTextItem.h" -#include "PythonQtWrapper_QPaintEngineState.h" -#include "PythonQtWrapper_QBrush.h" -#include "PythonQtWrapper_QColor.h" -#include "PythonQtWrapper_QPolygon.h" -#include "PythonQtWrapper_QDesktopServices.h" -#include "PythonQtWrapper_QStyleOption.h" -#include "PythonQtWrapper_QItemSelectionRange.h" -#include "PythonQtWrapper_QInputContextFactory.h" -#include "PythonQtWrapper_QImageIOHandler.h" -#include "PythonQtWrapper_QFont.h" -#include "PythonQtWrapper_QTableWidgetSelectionRange.h" -#include "PythonQtWrapper_QPrintEngine.h" -#include "PythonQtWrapper_QStyleHintReturnMask.h" -#include "PythonQtWrapper_QInputContext.h" -#include "PythonQtWrapper_QShortcutEvent.h" -#include "PythonQtWrapper_QHoverEvent.h" -#include "PythonQtWrapper_QShowEvent.h" -#include "PythonQtWrapper_QStyleOptionGraphicsItem.h" -#include "PythonQtWrapper_QGraphicsTextItem.h" -#include "PythonQtWrapper_QDataWidgetMapper.h" -#include "PythonQtWrapper_QShortcut.h" -#include "PythonQtWrapper_QStyleOptionDockWidget.h" -#include "PythonQtWrapper_QImage.h" -#include "PythonQtWrapper_QClipboardEvent.h" -#include "PythonQtWrapper_QGraphicsScene.h" -#include "PythonQtWrapper_QTextBlockFormat.h" -#include "PythonQtWrapper_QDropEvent.h" -#include "PythonQtWrapper_QConicalGradient.h" -#include "PythonQtWrapper_QGraphicsItemGroup.h" -#include "PythonQtWrapper_QWidgetItem.h" -#include "PythonQtWrapper_QCompleter.h" -#include "PythonQtWrapper_QToolBarChangeEvent.h" -#include "PythonQtWrapper_QMovie.h" -#include "PythonQtWrapper_QTextDocument.h" -#include "PythonQtWrapper_QUndoStack.h" -#include "PythonQtWrapper_QStyleOptionProgressBar.h" -#include "PythonQtWrapper_QPicture.h" -#include "PythonQtWrapper_QGraphicsLineItem.h" -#include "PythonQtWrapper_QValidator.h" -#include "PythonQtWrapper_QPixmap.h" -#include "PythonQtWrapper_QStyleOptionViewItem.h" -#include "PythonQtWrapper_QMoveEvent.h" -#include "PythonQtWrapper_QWidget.h" -#include "PythonQtWrapper_QItemSelectionModel.h" -#include "PythonQtWrapper_QSessionManager.h" -#include "PythonQtWrapper_QButtonGroup.h" -#include "PythonQtWrapper_QIconEnginePluginV2.h" -#include "PythonQtWrapper_QStyleOptionMenuItem.h" -#include "PythonQtWrapper_QStyleOptionFocusRect.h" -#include "PythonQtWrapper_QImageIOPlugin.h" -#include "PythonQtWrapper_QAccessibleEvent.h" -#include "PythonQtWrapper_QClipboard.h" -#include "PythonQtWrapper_QResizeEvent.h" -#include "PythonQtWrapper_QSystemTrayIcon.h" -#include "PythonQtWrapper_QLayout.h" -#include "PythonQtWrapper_QPaintEvent.h" -#include "PythonQtWrapper_QIconDragEvent.h" -#include "PythonQtWrapper_QGraphicsWidget.h" -#include "PythonQtWrapper_QAbstractItemDelegate.h" -#include "PythonQtWrapper_QTextObject.h" -#include "PythonQtWrapper_QTextFrameFormat.h" -#include "PythonQtWrapper_QAccessiblePlugin.h" -#include "PythonQtWrapper_QLinearGradient.h" -#include "PythonQtWrapper_QPrinter.h" -#include "PythonQtWrapper_QRadialGradient.h" -#include "PythonQtWrapper_QAction.h" -#include "PythonQtWrapper_QAccessibleInterface.h" -#include "PythonQtWrapper_QFocusEvent.h" -#include "PythonQtWrapper_QWhatsThisClickedEvent.h" -#include "PythonQtWrapper_QDragResponseEvent.h" -#include "PythonQtWrapper_QDrag.h" -#include "PythonQtWrapper_QGraphicsItemAnimation.h" -#include "PythonQtWrapper_QStyleOptionToolBox.h" -#include "PythonQtWrapper_QStyleOptionTab.h" -#include "PythonQtWrapper_QStatusTipEvent.h" -#include "PythonQtWrapper_QDragLeaveEvent.h" -#include "PythonQtWrapper_QStylePlugin.h" -#include "PythonQtWrapper_QStyleOptionButton.h" -#include "PythonQtWrapper_QFileOpenEvent.h" -#include "PythonQtWrapper_QInputEvent.h" -#include "PythonQtWrapper_QAccessibleTableInterface.h" -#include "PythonQtWrapper_QActionGroup.h" -#include "PythonQtWrapper_QStyleOptionToolBar.h" -#include "PythonQtWrapper_QGraphicsLayout.h" -#include "PythonQtWrapper_QStylePainter.h" -#include "PythonQtWrapper_QWindowStateChangeEvent.h" -#include "PythonQtWrapper_QHelpEvent.h" -#include "PythonQtWrapper_QUndoGroup.h" -#include "PythonQtWrapper_QSyntaxHighlighter.h" -#include "PythonQtWrapper_QStyleOptionHeader.h" -#include "PythonQtWrapper_QStyleOptionTabWidgetFrame.h" -#include "PythonQtWrapper_QSound.h" -#include "PythonQtWrapper_QAbstractGraphicsShapeItem.h" -#include "PythonQtWrapper_QGraphicsSceneEvent.h" -#include "PythonQtWrapper_QInputContextPlugin.h" -#include "PythonQtWrapper_QSpacerItem.h" -#include "PythonQtWrapper_QStyleOptionRubberBand.h" -#include "PythonQtWrapper_QGraphicsPixmapItem.h" -#include "PythonQtWrapper_QHideEvent.h" -#include "PythonQtWrapper_QStyle.h" -#include "PythonQtWrapper_QStyleOptionFrame.h" -#include "PythonQtWrapper_QCloseEvent.h" -#include "PythonQtWrapper_QTextListFormat.h" -#include "PythonQtWrapper_QActionEvent.h" -#include "PythonQtWrapper_QStyleOptionTabBarBase.h" -#include "PythonQtWrapper_QStyleHintReturnVariant.h" -#include "PythonQtWrapper_QPictureFormatPlugin.h" -#include "PythonQtWrapper_QTextCharFormat.h" -#include "PythonQtWrapper_QStyleOptionViewItemV2.h" -#include "PythonQtWrapper_QGraphicsSceneMoveEvent.h" -#include "PythonQtWrapper_QStackedLayout.h" -#include "PythonQtWrapper_QMouseEvent.h" -#include "PythonQtWrapper_QGroupBox.h" -#include "PythonQtWrapper_QStyleOptionGroupBox.h" -#include "PythonQtWrapper_QGraphicsPathItem.h" -#include "PythonQtWrapper_QFocusFrame.h" -#include "PythonQtWrapper_QGraphicsRectItem.h" -#include "PythonQtWrapper_QGraphicsPolygonItem.h" -#include "PythonQtWrapper_QStyledItemDelegate.h" -#include "PythonQtWrapper_QGraphicsSceneHoverEvent.h" -#include "PythonQtWrapper_QStyleOptionSizeGrip.h" -#include "PythonQtWrapper_QStyleOptionToolBoxV2.h" -#include "PythonQtWrapper_QRubberBand.h" -#include "PythonQtWrapper_QStandardItemModel.h" -#include "PythonQtWrapper_QToolBar.h" -#include "PythonQtWrapper_QStyleOptionToolButton.h" -#include "PythonQtWrapper_QAccessibleObject.h" -#include "PythonQtWrapper_QBitmap.h" -#include "PythonQtWrapper_QGridLayout.h" -#include "PythonQtWrapper_QApplication.h" -#include "PythonQtWrapper_QDragMoveEvent.h" -#include "PythonQtWrapper_QMdiSubWindow.h" -#include "PythonQtWrapper_QWizardPage.h" -#include "PythonQtWrapper_QTabWidget.h" -#include "PythonQtWrapper_QWheelEvent.h" -#include "PythonQtWrapper_QGraphicsSimpleTextItem.h" -#include "PythonQtWrapper_QStatusBar.h" -#include "PythonQtWrapper_QDialog.h" -#include "PythonQtWrapper_QTextFrame.h" -#include "PythonQtWrapper_QStyleOptionComboBox.h" -#include "PythonQtWrapper_QFrame.h" -#include "PythonQtWrapper_QDoubleValidator.h" -#include "PythonQtWrapper_QContextMenuEvent.h" -#include "PythonQtWrapper_QStyleOptionTabV2.h" -#include "PythonQtWrapper_QGraphicsSceneResizeEvent.h" -#include "PythonQtWrapper_QStyleOptionProgressBarV2.h" -#include "PythonQtWrapper_QAbstractSlider.h" -#include "PythonQtWrapper_QGraphicsSceneWheelEvent.h" -#include "PythonQtWrapper_QGraphicsLinearLayout.h" -#include "PythonQtWrapper_QGraphicsSceneMouseEvent.h" -#include "PythonQtWrapper_QStyleOptionSpinBox.h" -#include "PythonQtWrapper_QSplitterHandle.h" -#include "PythonQtWrapper_QBoxLayout.h" -#include "PythonQtWrapper_QCommonStyle.h" -#include "PythonQtWrapper_QDesktopWidget.h" -#include "PythonQtWrapper_QStyleOptionTitleBar.h" -#include "PythonQtWrapper_QComboBox.h" -#include "PythonQtWrapper_QSizeGrip.h" -#include "PythonQtWrapper_QTextBlockGroup.h" -#include "PythonQtWrapper_QGraphicsProxyWidget.h" -#include "PythonQtWrapper_QItemDelegate.h" -#include "PythonQtWrapper_QPrintPreviewWidget.h" -#include "PythonQtWrapper_QStyleOptionSlider.h" -#include "PythonQtWrapper_QAbstractSpinBox.h" -#include "PythonQtWrapper_QWorkspace.h" -#include "PythonQtWrapper_QMenuBar.h" -#include "PythonQtWrapper_QAccessibleInterfaceEx.h" -#include "PythonQtWrapper_QTabletEvent.h" -#include "PythonQtWrapper_QGraphicsGridLayout.h" -#include "PythonQtWrapper_QDialogButtonBox.h" -#include "PythonQtWrapper_QLineEdit.h" -#include "PythonQtWrapper_QGraphicsEllipseItem.h" -#include "PythonQtWrapper_QCalendarWidget.h" -#include "PythonQtWrapper_QGraphicsSceneContextMenuEvent.h" -#include "PythonQtWrapper_QProgressBar.h" -#include "PythonQtWrapper_QMainWindow.h" -#include "PythonQtWrapper_QIntValidator.h" -#include "PythonQtWrapper_QDockWidget.h" -#include "PythonQtWrapper_QWidgetAction.h" -#include "PythonQtWrapper_QTextTableCellFormat.h" -#include "PythonQtWrapper_QFormLayout.h" -#include "PythonQtWrapper_QGraphicsSceneHelpEvent.h" -#include "PythonQtWrapper_QRegExpValidator.h" -#include "PythonQtWrapper_QTabBar.h" -#include "PythonQtWrapper_QTextImageFormat.h" -#include "PythonQtWrapper_QMenu.h" -#include "PythonQtWrapper_QAbstractButton.h" -#include "PythonQtWrapper_QKeyEvent.h" -#include "PythonQtWrapper_QStyleOptionDockWidgetV2.h" -#include "PythonQtWrapper_QStyleOptionFrameV2.h" -#include "PythonQtWrapper_QTextTableFormat.h" -#include "PythonQtWrapper_QSplashScreen.h" -#include "PythonQtWrapper_QInputDialog.h" -#include "PythonQtWrapper_QWindowsStyle.h" -#include "PythonQtWrapper_QSpinBox.h" -#include "PythonQtWrapper_QAbstractScrollArea.h" -#include "PythonQtWrapper_QFontDialog.h" -#include "PythonQtWrapper_QVBoxLayout.h" -#include "PythonQtWrapper_QToolButton.h" -#include "PythonQtWrapper_QFontComboBox.h" -#include "PythonQtWrapper_QLabel.h" -#include "PythonQtWrapper_QDateTimeEdit.h" -#include "PythonQtWrapper_QMessageBox.h" -#include "PythonQtWrapper_QHBoxLayout.h" -#include "PythonQtWrapper_QDragEnterEvent.h" -#include "PythonQtWrapper_QErrorMessage.h" -#include "PythonQtWrapper_QLCDNumber.h" -#include "PythonQtWrapper_QDoubleSpinBox.h" -#include "PythonQtWrapper_QTextTable.h" -#include "PythonQtWrapper_QScrollBar.h" -#include "PythonQtWrapper_QMotifStyle.h" -#include "PythonQtWrapper_QSplitter.h" -#include "PythonQtWrapper_QToolBox.h" -#include "PythonQtWrapper_QCheckBox.h" -#include "PythonQtWrapper_QWizard.h" -#include "PythonQtWrapper_QProgressDialog.h" -#include "PythonQtWrapper_QStringListModel.h" -#include "PythonQtWrapper_QFileDialog.h" -#include "PythonQtWrapper_QSlider.h" -#include "PythonQtWrapper_QAccessibleObjectEx.h" -#include "PythonQtWrapper_QRadioButton.h" -#include "PythonQtWrapper_QPrintPreviewDialog.h" -#include "PythonQtWrapper_QAbstractPageSetupDialog.h" -#include "PythonQtWrapper_QStyleOptionViewItemV3.h" -#include "PythonQtWrapper_QTextList.h" -#include "PythonQtWrapper_QDial.h" -#include "PythonQtWrapper_QColorDialog.h" -#include "PythonQtWrapper_QAccessibleWidget.h" -#include "PythonQtWrapper_QPushButton.h" -#include "PythonQtWrapper_QAbstractPrintDialog.h" -#include "PythonQtWrapper_QStackedWidget.h" -#include "PythonQtWrapper_QPageSetupDialog.h" -#include "PythonQtWrapper_QStyleOptionViewItemV4.h" -#include "PythonQtWrapper_QMdiArea.h" -#include "PythonQtWrapper_QTimeEdit.h" -#include "PythonQtWrapper_QScrollArea.h" -#include "PythonQtWrapper_QTextEdit.h" -#include "PythonQtWrapper_QPrintDialog.h" -#include "PythonQtWrapper_QCommandLinkButton.h" -#include "PythonQtWrapper_QCDEStyle.h" -#include "PythonQtWrapper_QAccessibleWidgetEx.h" -#include "PythonQtWrapper_QPlainTextEdit.h" -#include "PythonQtWrapper_QDateEdit.h" -#include "PythonQtWrapper_QPlastiqueStyle.h" -#include "PythonQtWrapper_QCleanlooksStyle.h" -#include "PythonQtWrapper_QGraphicsView.h" -#include "PythonQtWrapper_QAbstractItemView.h" -#include "PythonQtWrapper_QColumnView.h" -#include "PythonQtWrapper_QTreeView.h" -#include "PythonQtWrapper_QTableView.h" -#include "PythonQtWrapper_QTextBrowser.h" -#include "PythonQtWrapper_QHeaderView.h" -#include "PythonQtWrapper_QListView.h" -#include "PythonQtWrapper_QListWidget.h" -#include "PythonQtWrapper_QTreeWidget.h" -#include "PythonQtWrapper_QTableWidget.h" -#include "PythonQtWrapper_QUndoView.h" - -static void* polymorphichandler_QGradient(const void *ptr, char **class_name) -{ - Q_ASSERT(ptr != 0); - QGradient *object = (QGradient *)ptr; - if (object->type() == QGradient::NoGradient) { - *class_name = "QGradient"; - return (QGradient*)object; - } - if (object->type() == QGradient::ConicalGradient) { - *class_name = "QConicalGradient"; - return (QConicalGradient*)object; - } - if (object->type() == QGradient::LinearGradient) { - *class_name = "QLinearGradient"; - return (QLinearGradient*)object; - } - if (object->type() == QGradient::RadialGradient) { - *class_name = "QRadialGradient"; - return (QRadialGradient*)object; - } - return NULL; -} -static void* polymorphichandler_QGraphicsItem(const void *ptr, char **class_name) -{ - Q_ASSERT(ptr != 0); - QGraphicsItem *object = (QGraphicsItem *)ptr; - if (object->type() == QGraphicsItem::Type) { - *class_name = "QGraphicsItem"; - return (QGraphicsItem*)object; - } - if (object->type() == QGraphicsTextItem::Type) { - *class_name = "QGraphicsTextItem"; - return (QGraphicsTextItem*)object; - } - if (object->type() == QGraphicsItemGroup::Type) { - *class_name = "QGraphicsItemGroup"; - return (QGraphicsItemGroup*)object; - } - if (object->type() == QGraphicsLineItem::Type) { - *class_name = "QGraphicsLineItem"; - return (QGraphicsLineItem*)object; - } - if (object->type() == QGraphicsWidget::Type) { - *class_name = "QGraphicsWidget"; - return (QGraphicsWidget*)object; - } - if (object->type() == QAbstractGraphicsShapeItem::Type) { - *class_name = "QAbstractGraphicsShapeItem"; - return (QAbstractGraphicsShapeItem*)object; - } - if (object->type() == QGraphicsPixmapItem::Type) { - *class_name = "QGraphicsPixmapItem"; - return (QGraphicsPixmapItem*)object; - } - return NULL; -} -static void* polymorphichandler_QStyleOption(const void *ptr, char **class_name) -{ - Q_ASSERT(ptr != 0); - QStyleOption *object = (QStyleOption *)ptr; - if (object->type == QStyleOption::SO_Default) { - *class_name = "QStyleOption"; - return (QStyleOption*)object; - } - if (object->type == QStyleOptionGraphicsItem::Type && object->version == QStyleOptionGraphicsItem::Version) { - *class_name = "QStyleOptionGraphicsItem"; - return (QStyleOptionGraphicsItem*)object; - } - if (object->type == QStyleOptionDockWidget::Type && object->version == QStyleOptionDockWidget::Version) { - *class_name = "QStyleOptionDockWidget"; - return (QStyleOptionDockWidget*)object; - } - if (object->type == QStyleOptionComplex::Type && object->version == QStyleOptionComplex::Version) { - *class_name = "QStyleOptionComplex"; - return (QStyleOptionComplex*)object; - } - if (object->type == QStyleOptionProgressBar::Type && object->version == QStyleOptionProgressBar::Version) { - *class_name = "QStyleOptionProgressBar"; - return (QStyleOptionProgressBar*)object; - } - if (object->type == QStyleOptionViewItem::Type && object->version == QStyleOptionViewItem::Version) { - *class_name = "QStyleOptionViewItem"; - return (QStyleOptionViewItem*)object; - } - if (object->type == QStyleOptionMenuItem::Type && object->version == QStyleOptionMenuItem::Version) { - *class_name = "QStyleOptionMenuItem"; - return (QStyleOptionMenuItem*)object; - } - if (object->type == QStyleOptionFocusRect::Type && object->version == QStyleOptionFocusRect::Version) { - *class_name = "QStyleOptionFocusRect"; - return (QStyleOptionFocusRect*)object; - } - if (object->type == QStyleOptionToolBox::Type && object->version == QStyleOptionToolBox::Version) { - *class_name = "QStyleOptionToolBox"; - return (QStyleOptionToolBox*)object; - } - if (object->type == QStyleOptionTab::Type && object->version == QStyleOptionTab::Version) { - *class_name = "QStyleOptionTab"; - return (QStyleOptionTab*)object; - } - if (object->type == QStyleOptionButton::Type && object->version == QStyleOptionButton::Version) { - *class_name = "QStyleOptionButton"; - return (QStyleOptionButton*)object; - } - if (object->type == QStyleOptionToolBar::Type && object->version == QStyleOptionToolBar::Version) { - *class_name = "QStyleOptionToolBar"; - return (QStyleOptionToolBar*)object; - } - if (object->type == QStyleOptionHeader::Type && object->version == QStyleOptionHeader::Version) { - *class_name = "QStyleOptionHeader"; - return (QStyleOptionHeader*)object; - } - if (object->type == QStyleOptionTabWidgetFrame::Type && object->version == QStyleOptionTabWidgetFrame::Version) { - *class_name = "QStyleOptionTabWidgetFrame"; - return (QStyleOptionTabWidgetFrame*)object; - } - if (object->type == QStyleOptionRubberBand::Type && object->version == QStyleOptionRubberBand::Version) { - *class_name = "QStyleOptionRubberBand"; - return (QStyleOptionRubberBand*)object; - } - if (object->type == QStyleOptionFrame::Type && object->version == QStyleOptionFrame::Version) { - *class_name = "QStyleOptionFrame"; - return (QStyleOptionFrame*)object; - } - if (object->type == QStyleOptionTabBarBase::Type && object->version == QStyleOptionTabBarBase::Version) { - *class_name = "QStyleOptionTabBarBase"; - return (QStyleOptionTabBarBase*)object; - } - if (object->type == QStyleOptionViewItemV2::Type && object->version == QStyleOptionViewItemV2::Version) { - *class_name = "QStyleOptionViewItemV2"; - return (QStyleOptionViewItemV2*)object; - } - if (object->type == QStyleOptionGroupBox::Type && object->version == QStyleOptionGroupBox::Version) { - *class_name = "QStyleOptionGroupBox"; - return (QStyleOptionGroupBox*)object; - } - if (object->type == QStyleOptionSizeGrip::Type && object->version == QStyleOptionSizeGrip::Version) { - *class_name = "QStyleOptionSizeGrip"; - return (QStyleOptionSizeGrip*)object; - } - if (object->type == QStyleOptionToolBoxV2::Type && object->version == QStyleOptionToolBoxV2::Version) { - *class_name = "QStyleOptionToolBoxV2"; - return (QStyleOptionToolBoxV2*)object; - } - if (object->type == QStyleOptionToolButton::Type && object->version == QStyleOptionToolButton::Version) { - *class_name = "QStyleOptionToolButton"; - return (QStyleOptionToolButton*)object; - } - if (object->type == QStyleOptionComboBox::Type && object->version == QStyleOptionComboBox::Version) { - *class_name = "QStyleOptionComboBox"; - return (QStyleOptionComboBox*)object; - } - if (object->type == QStyleOptionTabV2::Type && object->version == QStyleOptionTabV2::Version) { - *class_name = "QStyleOptionTabV2"; - return (QStyleOptionTabV2*)object; - } - if (object->type == QStyleOptionProgressBarV2::Type && object->version == QStyleOptionProgressBarV2::Version) { - *class_name = "QStyleOptionProgressBarV2"; - return (QStyleOptionProgressBarV2*)object; - } - if (object->type == QStyleOptionSpinBox::Type && object->version == QStyleOptionSpinBox::Version) { - *class_name = "QStyleOptionSpinBox"; - return (QStyleOptionSpinBox*)object; - } - if (object->type == QStyleOptionTitleBar::Type && object->version == QStyleOptionTitleBar::Version) { - *class_name = "QStyleOptionTitleBar"; - return (QStyleOptionTitleBar*)object; - } - if (object->type == QStyleOptionSlider::Type && object->version == QStyleOptionSlider::Version) { - *class_name = "QStyleOptionSlider"; - return (QStyleOptionSlider*)object; - } - if (object->type == QStyleOptionDockWidgetV2::Type && object->version == QStyleOptionDockWidgetV2::Version) { - *class_name = "QStyleOptionDockWidgetV2"; - return (QStyleOptionDockWidgetV2*)object; - } - if (object->type == QStyleOptionFrameV2::Type && object->version == QStyleOptionFrameV2::Version) { - *class_name = "QStyleOptionFrameV2"; - return (QStyleOptionFrameV2*)object; - } - if (object->type == QStyleOptionViewItemV3::Type && object->version == QStyleOptionViewItemV3::Version) { - *class_name = "QStyleOptionViewItemV3"; - return (QStyleOptionViewItemV3*)object; - } - if (object->type == QStyleOptionViewItemV4::Type && object->version == QStyleOptionViewItemV4::Version) { - *class_name = "QStyleOptionViewItemV4"; - return (QStyleOptionViewItemV4*)object; - } - return NULL; -} -static void* polymorphichandler_QEvent(const void *ptr, char **class_name) -{ - Q_ASSERT(ptr != 0); - QEvent *object = (QEvent *)ptr; - if (object->type() == QEvent::Shortcut) { - *class_name = "QShortcutEvent"; - return (QShortcutEvent*)object; - } - if (object->type() == QEvent::HoverEnter || object->type() == QEvent::HoverLeave || object->type() == QEvent::HoverMove) { - *class_name = "QHoverEvent"; - return (QHoverEvent*)object; - } - if (object->type() == QEvent::Show) { - *class_name = "QShowEvent"; - return (QShowEvent*)object; - } - if (object->type() == QEvent::Clipboard) { - *class_name = "QClipboardEvent"; - return (QClipboardEvent*)object; - } - if (object->type() == QEvent::Drop) { - *class_name = "QDropEvent"; - return (QDropEvent*)object; - } - if (object->type() == QEvent::ToolBarChange) { - *class_name = "QToolBarChangeEvent"; - return (QToolBarChangeEvent*)object; - } - if (object->type() == QEvent::Move) { - *class_name = "QMoveEvent"; - return (QMoveEvent*)object; - } - if (object->type() == QEvent::AccessibilityDescription || object->type() == QEvent::AccessibilityHelp) { - *class_name = "QAccessibleEvent"; - return (QAccessibleEvent*)object; - } - if (object->type() == QEvent::Resize) { - *class_name = "QResizeEvent"; - return (QResizeEvent*)object; - } - if (object->type() == QEvent::Paint) { - *class_name = "QPaintEvent"; - return (QPaintEvent*)object; - } - if (object->type() == QEvent::IconDrag) { - *class_name = "QIconDragEvent"; - return (QIconDragEvent*)object; - } - if (object->type() == QEvent::FocusIn || object->type() == QEvent::FocusOut) { - *class_name = "QFocusEvent"; - return (QFocusEvent*)object; - } - if (object->type() == QEvent::WhatsThisClicked) { - *class_name = "QWhatsThisClickedEvent"; - return (QWhatsThisClickedEvent*)object; - } - if (object->type() == QEvent::DragResponse) { - *class_name = "QDragResponseEvent"; - return (QDragResponseEvent*)object; - } - if (object->type() == QEvent::StatusTip) { - *class_name = "QStatusTipEvent"; - return (QStatusTipEvent*)object; - } - if (object->type() == QEvent::DragLeave) { - *class_name = "QDragLeaveEvent"; - return (QDragLeaveEvent*)object; - } - if (object->type() == QEvent::FileOpen) { - *class_name = "QFileOpenEvent"; - return (QFileOpenEvent*)object; - } - if (object->type() == QEvent::WindowStateChange) { - *class_name = "QWindowStateChangeEvent"; - return (QWindowStateChangeEvent*)object; - } - if (object->type() == QEvent::ToolTip || object->type() == QEvent::WhatsThis) { - *class_name = "QHelpEvent"; - return (QHelpEvent*)object; - } - if (object->type() == QEvent::Hide) { - *class_name = "QHideEvent"; - return (QHideEvent*)object; - } - if (object->type() == QEvent::Close) { - *class_name = "QCloseEvent"; - return (QCloseEvent*)object; - } - if (object->type() == QEvent::ActionAdded || object->type() == QEvent::ActionRemoved || object->type() == QEvent::ActionChanged) { - *class_name = "QActionEvent"; - return (QActionEvent*)object; - } - if (object->type() == QEvent::GraphicsSceneMove) { - *class_name = "QGraphicsSceneMoveEvent"; - return (QGraphicsSceneMoveEvent*)object; - } - if (object->type() == QEvent::MouseButtonDblClick || object->type() == QEvent::MouseButtonPress || object->type() == QEvent::MouseButtonRelease || object->type() == QEvent::MouseMove) { - *class_name = "QMouseEvent"; - return (QMouseEvent*)object; - } - if (object->type() == QEvent::GraphicsSceneHoverEnter || object->type() == QEvent::GraphicsSceneHoverLeave || object->type() == QEvent::GraphicsSceneHoverMove) { - *class_name = "QGraphicsSceneHoverEvent"; - return (QGraphicsSceneHoverEvent*)object; - } - if (object->type() == QEvent::DragMove) { - *class_name = "QDragMoveEvent"; - return (QDragMoveEvent*)object; - } - if (object->type() == QEvent::Wheel) { - *class_name = "QWheelEvent"; - return (QWheelEvent*)object; - } - if (object->type() == QEvent::ContextMenu) { - *class_name = "QContextMenuEvent"; - return (QContextMenuEvent*)object; - } - if (object->type() == QEvent::GraphicsSceneResize) { - *class_name = "QGraphicsSceneResizeEvent"; - return (QGraphicsSceneResizeEvent*)object; - } - if (object->type() == QEvent::GraphicsSceneWheel) { - *class_name = "QGraphicsSceneWheelEvent"; - return (QGraphicsSceneWheelEvent*)object; - } - if (object->type() == QEvent::GraphicsSceneMouseDoubleClick || object->type() == QEvent::GraphicsSceneMouseMove || object->type() == QEvent::GraphicsSceneMousePress || object->type() == QEvent::GraphicsSceneMouseRelease) { - *class_name = "QGraphicsSceneMouseEvent"; - return (QGraphicsSceneMouseEvent*)object; - } - if (object->type() == QEvent::TabletMove || object->type() == QEvent::TabletPress || object->type() == QEvent::TabletRelease) { - *class_name = "QTabletEvent"; - return (QTabletEvent*)object; - } - if (object->type() == QEvent::GraphicsSceneContextMenu) { - *class_name = "QGraphicsSceneContextMenuEvent"; - return (QGraphicsSceneContextMenuEvent*)object; - } - if (object->type() == QEvent::GraphicsSceneHelp) { - *class_name = "QGraphicsSceneHelpEvent"; - return (QGraphicsSceneHelpEvent*)object; - } - if (object->type() == QEvent::KeyPress || object->type() == QEvent::KeyRelease) { - *class_name = "QKeyEvent"; - return (QKeyEvent*)object; - } - if (object->type() == QEvent::DragEnter) { - *class_name = "QDragEnterEvent"; - return (QDragEnterEvent*)object; - } - return NULL; -} - -void PythonQt_init_QtGui() { -PythonQt::self()->registerCPPClass("QWhatsThis", "", "QtGui", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QTreeWidgetItem", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QGradient", "", "QtGui", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QUndoCommand", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QAccessible2Interface", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QPixmapCache", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QLayoutItem", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QStandardItem", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QStyleFactory", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QListWidgetItem", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QImageReader", "", "QtGui", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QReadWriteLock", "", "QtGui", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QFontMetrics", "", "QtGui", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QImageWriter", "", "QtGui", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QTextDocumentFragment", "", "QtGui", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QPainter", "", "QtGui", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QPaintEngine", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QTextBlock", "", "QtGui", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QFontMetricsF", "", "QtGui", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QIconEngine", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QPolygonF", "", "QtGui", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QPainterPath", "", "QtGui", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QPainterPathStroker", "", "QtGui", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QTextCursor", "", "QtGui", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QPaintDevice", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QStyleHintReturn", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QItemSelection", "", "QtGui", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QTextObjectInterface", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QItemEditorCreatorBase", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QGraphicsLayoutItem", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QPictureIO", "", "QtGui", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QTextLine", "", "QtGui", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QAccessible", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QTableWidgetItem", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QPen", "", "QtGui", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QToolTip", "", "QtGui", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QTextFragment", "", "QtGui", PythonQtCreateObject); -PythonQt::self()->registerClass(&QPlainTextDocumentLayout::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QTextBlockUserData", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QTransform", "", "QtGui", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QTextInlineObject", "", "QtGui", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QFileIconProvider", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QAccessibleBridge", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QTextTableCell", "", "QtGui", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QFontInfo", "", "QtGui", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QGraphicsItem", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QItemEditorFactory", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QTextItem", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QPaintEngineState", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QDesktopServices", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QStyleOption", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QItemSelectionRange", "", "QtGui", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QInputContextFactory", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QImageIOHandler", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QTableWidgetSelectionRange", "", "QtGui", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QPrintEngine", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QStyleHintReturnMask", "QStyleHintReturn", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QInputContext::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QShortcutEvent", "QEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QHoverEvent", "QEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QShowEvent", "QEvent", "QtGui", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QStyleOptionGraphicsItem", "QStyleOption", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QGraphicsTextItem::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->addParentClass("QGraphicsTextItem", "QGraphicsItem",PythonQtUpcastingOffset()); -PythonQt::self()->registerClass(&QDataWidgetMapper::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QShortcut::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QStyleOptionDockWidget", "QStyleOption", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QClipboardEvent", "QEvent", "QtGui", PythonQtCreateObject); -PythonQt::self()->registerClass(&QGraphicsScene::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QTextBlockFormat", "QTextFormat", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QDropEvent", "QEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QConicalGradient", "QGradient", "QtGui", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QGraphicsItemGroup", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->addParentClass("QGraphicsItemGroup", "QGraphicsItem",PythonQtUpcastingOffset()); -PythonQt::self()->registerCPPClass("QWidgetItem", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->addParentClass("QWidgetItem", "QLayoutItem",PythonQtUpcastingOffset()); -PythonQt::self()->registerClass(&QCompleter::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QToolBarChangeEvent", "QEvent", "QtGui", PythonQtCreateObject); -PythonQt::self()->registerClass(&QMovie::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QTextDocument::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QUndoStack::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QStyleOptionProgressBar", "QStyleOption", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QPicture", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->addParentClass("QPicture", "QPaintDevice",PythonQtUpcastingOffset()); -PythonQt::self()->registerCPPClass("QGraphicsLineItem", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->addParentClass("QGraphicsLineItem", "QGraphicsItem",PythonQtUpcastingOffset()); -PythonQt::self()->registerClass(&QValidator::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QStyleOptionViewItem", "QStyleOption", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QMoveEvent", "QEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QWidget::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->addParentClass("QWidget", "QPaintDevice",PythonQtUpcastingOffset()); -PythonQt::self()->registerClass(&QItemSelectionModel::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QSessionManager::staticMetaObject, "QtGui", PythonQtCreateObject); -PythonQt::self()->registerClass(&QButtonGroup::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QIconEnginePluginV2::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QStyleOptionMenuItem", "QStyleOption", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QStyleOptionFocusRect", "QStyleOption", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QImageIOPlugin::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QAccessibleEvent", "QEvent", "QtGui", PythonQtCreateObject); -PythonQt::self()->registerClass(&QClipboard::staticMetaObject, "QtGui", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QResizeEvent", "QEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QSystemTrayIcon::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QLayout::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->addParentClass("QLayout", "QLayoutItem",PythonQtUpcastingOffset()); -PythonQt::self()->registerCPPClass("QPaintEvent", "QEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QIconDragEvent", "QEvent", "QtGui", PythonQtCreateObject); -PythonQt::self()->registerClass(&QGraphicsWidget::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->addParentClass("QGraphicsWidget", "QGraphicsItem",PythonQtUpcastingOffset()); -PythonQt::self()->addParentClass("QGraphicsWidget", "QGraphicsLayoutItem",PythonQtUpcastingOffset()); -PythonQt::self()->registerClass(&QAbstractItemDelegate::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QTextObject::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QTextFrameFormat", "QTextFormat", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QAccessiblePlugin::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QLinearGradient", "QGradient", "QtGui", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QPrinter", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->addParentClass("QPrinter", "QPaintDevice",PythonQtUpcastingOffset()); -PythonQt::self()->registerCPPClass("QRadialGradient", "QGradient", "QtGui", PythonQtCreateObject); -PythonQt::self()->registerClass(&QAction::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QAccessibleInterface", "QAccessible", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QFocusEvent", "QEvent", "QtGui", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QWhatsThisClickedEvent", "QEvent", "QtGui", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QDragResponseEvent", "QEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QDrag::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QGraphicsItemAnimation::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QStyleOptionToolBox", "QStyleOption", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QStyleOptionTab", "QStyleOption", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QStatusTipEvent", "QEvent", "QtGui", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QDragLeaveEvent", "QEvent", "QtGui", PythonQtCreateObject); -PythonQt::self()->registerClass(&QStylePlugin::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QStyleOptionButton", "QStyleOption", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QFileOpenEvent", "QEvent", "QtGui", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QInputEvent", "QEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QAccessibleTableInterface", "QAccessible2Interface", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QActionGroup::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QStyleOptionToolBar", "QStyleOption", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QGraphicsLayout", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->addParentClass("QGraphicsLayout", "QGraphicsLayoutItem",PythonQtUpcastingOffset()); -PythonQt::self()->registerCPPClass("QStylePainter", "QPainter", "QtGui", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QWindowStateChangeEvent", "QEvent", "QtGui", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QHelpEvent", "QEvent", "QtGui", PythonQtCreateObject); -PythonQt::self()->registerClass(&QUndoGroup::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QSyntaxHighlighter::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QStyleOptionHeader", "QStyleOption", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QStyleOptionTabWidgetFrame", "QStyleOption", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QSound::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QAbstractGraphicsShapeItem", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->addParentClass("QAbstractGraphicsShapeItem", "QGraphicsItem",PythonQtUpcastingOffset()); -PythonQt::self()->registerCPPClass("QGraphicsSceneEvent", "QEvent", "QtGui", PythonQtCreateObject); -PythonQt::self()->registerClass(&QInputContextPlugin::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QSpacerItem", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->addParentClass("QSpacerItem", "QLayoutItem",PythonQtUpcastingOffset()); -PythonQt::self()->registerCPPClass("QStyleOptionRubberBand", "QStyleOption", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QGraphicsPixmapItem", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->addParentClass("QGraphicsPixmapItem", "QGraphicsItem",PythonQtUpcastingOffset()); -PythonQt::self()->registerCPPClass("QHideEvent", "QEvent", "QtGui", PythonQtCreateObject); -PythonQt::self()->registerClass(&QStyle::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QStyleOptionFrame", "QStyleOption", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QCloseEvent", "QEvent", "QtGui", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QTextListFormat", "QTextFormat", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QActionEvent", "QEvent", "QtGui", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QStyleOptionTabBarBase", "QStyleOption", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QStyleHintReturnVariant", "QStyleHintReturn", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QPictureFormatPlugin::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QTextCharFormat", "QTextFormat", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QStyleOptionViewItemV2", "QStyleOptionViewItem", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QGraphicsSceneMoveEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject); -PythonQt::self()->registerClass(&QStackedLayout::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QMouseEvent", "QInputEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QGroupBox::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QStyleOptionGroupBox", "QStyleOptionComplex", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QGraphicsPathItem", "QAbstractGraphicsShapeItem", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QFocusFrame::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QGraphicsRectItem", "QAbstractGraphicsShapeItem", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QGraphicsPolygonItem", "QAbstractGraphicsShapeItem", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QStyledItemDelegate::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QGraphicsSceneHoverEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QStyleOptionSizeGrip", "QStyleOptionComplex", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QStyleOptionToolBoxV2", "QStyleOptionToolBox", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QRubberBand::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QStandardItemModel::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QToolBar::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QStyleOptionToolButton", "QStyleOptionComplex", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QAccessibleObject", "QAccessibleInterface", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QGridLayout::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QApplication::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QDragMoveEvent", "QDropEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QMdiSubWindow::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QWizardPage::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QTabWidget::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QWheelEvent", "QInputEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QGraphicsSimpleTextItem", "QAbstractGraphicsShapeItem", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QStatusBar::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QDialog::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QTextFrame::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QStyleOptionComboBox", "QStyleOptionComplex", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QFrame::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QDoubleValidator::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QContextMenuEvent", "QInputEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QStyleOptionTabV2", "QStyleOptionTab", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QGraphicsSceneResizeEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QStyleOptionProgressBarV2", "QStyleOptionProgressBar", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QAbstractSlider::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QGraphicsSceneWheelEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QGraphicsLinearLayout", "QGraphicsLayout", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QGraphicsSceneMouseEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QStyleOptionSpinBox", "QStyleOptionComplex", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QSplitterHandle::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QBoxLayout::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QCommonStyle::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QDesktopWidget::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QStyleOptionTitleBar", "QStyleOptionComplex", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QComboBox::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QSizeGrip::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QTextBlockGroup::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QGraphicsProxyWidget::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QItemDelegate::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QPrintPreviewWidget::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QStyleOptionSlider", "QStyleOptionComplex", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QAbstractSpinBox::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QWorkspace::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QMenuBar::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QAccessibleInterfaceEx", "QAccessibleInterface", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QTabletEvent", "QInputEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QGraphicsGridLayout", "QGraphicsLayout", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QDialogButtonBox::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QLineEdit::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QGraphicsEllipseItem", "QAbstractGraphicsShapeItem", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QCalendarWidget::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QGraphicsSceneContextMenuEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject); -PythonQt::self()->registerClass(&QProgressBar::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QMainWindow::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QIntValidator::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QDockWidget::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QWidgetAction::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QTextTableCellFormat", "QTextCharFormat", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QFormLayout::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QGraphicsSceneHelpEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject); -PythonQt::self()->registerClass(&QRegExpValidator::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QTabBar::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QTextImageFormat", "QTextCharFormat", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QMenu::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QAbstractButton::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QKeyEvent", "QInputEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QStyleOptionDockWidgetV2", "QStyleOptionDockWidget", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QStyleOptionFrameV2", "QStyleOptionFrame", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QTextTableFormat", "QTextFrameFormat", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QSplashScreen::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QInputDialog::staticMetaObject, "QtGui", PythonQtCreateObject); -PythonQt::self()->registerClass(&QWindowsStyle::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QSpinBox::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QAbstractScrollArea::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QFontDialog::staticMetaObject, "QtGui", PythonQtCreateObject); -PythonQt::self()->registerClass(&QVBoxLayout::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QToolButton::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QFontComboBox::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QLabel::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QDateTimeEdit::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QMessageBox::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QHBoxLayout::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QDragEnterEvent", "QDragMoveEvent", "QtGui", PythonQtCreateObject); -PythonQt::self()->registerClass(&QErrorMessage::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QLCDNumber::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QDoubleSpinBox::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QTextTable::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QScrollBar::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QMotifStyle::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QSplitter::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QToolBox::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QCheckBox::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QWizard::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QProgressDialog::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QStringListModel::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QFileDialog::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QSlider::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QAccessibleObjectEx", "QAccessibleInterfaceEx", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QRadioButton::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QPrintPreviewDialog::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QAbstractPageSetupDialog::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QStyleOptionViewItemV3", "QStyleOptionViewItemV2", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QTextList::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QDial::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QColorDialog::staticMetaObject, "QtGui", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QAccessibleWidget", "QAccessibleObject", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QPushButton::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QAbstractPrintDialog::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QStackedWidget::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QPageSetupDialog::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QStyleOptionViewItemV4", "QStyleOptionViewItemV3", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QMdiArea::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QTimeEdit::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QScrollArea::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QTextEdit::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QPrintDialog::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QCommandLinkButton::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QCDEStyle::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QAccessibleWidgetEx", "QAccessibleObjectEx", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QPlainTextEdit::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QDateEdit::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QPlastiqueStyle::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QCleanlooksStyle::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QGraphicsView::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QAbstractItemView::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QColumnView::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QTreeView::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QTableView::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QTextBrowser::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QHeaderView::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QListView::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QListWidget::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QTreeWidget::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QTableWidget::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QUndoView::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); - -PythonQt::self()->addPolymorphicHandler("QGradient", polymorphichandler_QGradient); -PythonQt::self()->addPolymorphicHandler("QGraphicsItem", polymorphichandler_QGraphicsItem); -PythonQt::self()->addPolymorphicHandler("QStyleOption", polymorphichandler_QStyleOption); -PythonQt::self()->addPolymorphicHandler("QEvent", polymorphichandler_QEvent); -} diff --git a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QAbstractSocket.cpp b/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QAbstractSocket.cpp deleted file mode 100644 index 5564e23..0000000 --- a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QAbstractSocket.cpp +++ /dev/null @@ -1,728 +0,0 @@ -#include "PythonQtWrapper_QAbstractSocket.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -bool PythonQtShell_QAbstractSocket::atEnd() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "atEnd"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractSocket::atEnd(); -} -qint64 PythonQtShell_QAbstractSocket::bytesAvailable() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "bytesAvailable"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractSocket::bytesAvailable(); -} -qint64 PythonQtShell_QAbstractSocket::bytesToWrite() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "bytesToWrite"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractSocket::bytesToWrite(); -} -bool PythonQtShell_QAbstractSocket::canReadLine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "canReadLine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractSocket::canReadLine(); -} -void PythonQtShell_QAbstractSocket::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; - } -} - QAbstractSocket::childEvent(arg__1); -} -void PythonQtShell_QAbstractSocket::close() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "close"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractSocket::close(); -} -void PythonQtShell_QAbstractSocket::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; - } -} - QAbstractSocket::customEvent(arg__1); -} -bool PythonQtShell_QAbstractSocket::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractSocket::event(arg__1); -} -bool PythonQtShell_QAbstractSocket::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractSocket::eventFilter(arg__1, arg__2); -} -bool PythonQtShell_QAbstractSocket::isSequential() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isSequential"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractSocket::isSequential(); -} -bool PythonQtShell_QAbstractSocket::open(QIODevice::OpenMode mode) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "open"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&mode}; - 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("open", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractSocket::open(mode); -} -qint64 PythonQtShell_QAbstractSocket::pos() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "pos"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractSocket::pos(); -} -qint64 PythonQtShell_QAbstractSocket::readData(char* data, qint64 maxlen) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "readData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - 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}; - 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("readData", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractSocket::readData(data, maxlen); -} -qint64 PythonQtShell_QAbstractSocket::readLineData(char* data, qint64 maxlen) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "readLineData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - 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}; - 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("readLineData", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractSocket::readLineData(data, maxlen); -} -bool PythonQtShell_QAbstractSocket::reset() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reset"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractSocket::reset(); -} -bool PythonQtShell_QAbstractSocket::seek(qint64 pos) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "seek"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&pos}; - 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("seek", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractSocket::seek(pos); -} -qint64 PythonQtShell_QAbstractSocket::size() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "size"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractSocket::size(); -} -void PythonQtShell_QAbstractSocket::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; - } -} - QAbstractSocket::timerEvent(arg__1); -} -bool PythonQtShell_QAbstractSocket::waitForBytesWritten(int msecs) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "waitForBytesWritten"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&msecs}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("waitForBytesWritten", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractSocket::waitForBytesWritten(msecs); -} -bool PythonQtShell_QAbstractSocket::waitForReadyRead(int msecs) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "waitForReadyRead"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&msecs}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("waitForReadyRead", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractSocket::waitForReadyRead(msecs); -} -qint64 PythonQtShell_QAbstractSocket::writeData(const char* data, qint64 len) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "writeData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - 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}; - 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("writeData", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractSocket::writeData(data, len); -} -QAbstractSocket* PythonQtWrapper_QAbstractSocket::new_QAbstractSocket(QAbstractSocket::SocketType socketType, QObject* parent) -{ -return new PythonQtShell_QAbstractSocket(socketType, parent); } - -bool PythonQtWrapper_QAbstractSocket::waitForReadyRead(QAbstractSocket* theWrappedObject, int msecs) -{ - return ( ((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->promoted_waitForReadyRead(msecs)); -} - -qint64 PythonQtWrapper_QAbstractSocket::writeData(QAbstractSocket* theWrappedObject, const char* data, qint64 len) -{ - return ( ((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->promoted_writeData(data, len)); -} - -QHostAddress PythonQtWrapper_QAbstractSocket::localAddress(QAbstractSocket* theWrappedObject) const -{ - return ( theWrappedObject->localAddress()); -} - -void PythonQtWrapper_QAbstractSocket::setProxy(QAbstractSocket* theWrappedObject, const QNetworkProxy& networkProxy) -{ - ( theWrappedObject->setProxy(networkProxy)); -} - -bool PythonQtWrapper_QAbstractSocket::setSocketDescriptor(QAbstractSocket* theWrappedObject, int socketDescriptor, QAbstractSocket::SocketState state, QIODevice::OpenMode openMode) -{ - return ( theWrappedObject->setSocketDescriptor(socketDescriptor, state, openMode)); -} - -bool PythonQtWrapper_QAbstractSocket::atEnd(QAbstractSocket* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->promoted_atEnd()); -} - -void PythonQtWrapper_QAbstractSocket::close(QAbstractSocket* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->promoted_close()); -} - -unsigned short PythonQtWrapper_QAbstractSocket::localPort(QAbstractSocket* theWrappedObject) const -{ - return ( theWrappedObject->localPort()); -} - -unsigned short PythonQtWrapper_QAbstractSocket::peerPort(QAbstractSocket* theWrappedObject) const -{ - return ( theWrappedObject->peerPort()); -} - -qint64 PythonQtWrapper_QAbstractSocket::readData(QAbstractSocket* theWrappedObject, char* data, qint64 maxlen) -{ - return ( ((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->promoted_readData(data, maxlen)); -} - -void PythonQtWrapper_QAbstractSocket::connectToHost(QAbstractSocket* theWrappedObject, const QString& hostName, unsigned short port, QIODevice::OpenMode mode) -{ - ( theWrappedObject->connectToHost(hostName, port, mode)); -} - -bool PythonQtWrapper_QAbstractSocket::flush(QAbstractSocket* theWrappedObject) -{ - return ( theWrappedObject->flush()); -} - -void PythonQtWrapper_QAbstractSocket::setReadBufferSize(QAbstractSocket* theWrappedObject, qint64 size) -{ - ( theWrappedObject->setReadBufferSize(size)); -} - -bool PythonQtWrapper_QAbstractSocket::canReadLine(QAbstractSocket* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->promoted_canReadLine()); -} - -void PythonQtWrapper_QAbstractSocket::connectToHost(QAbstractSocket* theWrappedObject, const QHostAddress& address, unsigned short port, QIODevice::OpenMode mode) -{ - ( theWrappedObject->connectToHost(address, port, mode)); -} - -QNetworkProxy PythonQtWrapper_QAbstractSocket::proxy(QAbstractSocket* theWrappedObject) const -{ - return ( theWrappedObject->proxy()); -} - -qint64 PythonQtWrapper_QAbstractSocket::readBufferSize(QAbstractSocket* theWrappedObject) const -{ - return ( theWrappedObject->readBufferSize()); -} - -bool PythonQtWrapper_QAbstractSocket::isSequential(QAbstractSocket* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->promoted_isSequential()); -} - -QAbstractSocket::SocketState PythonQtWrapper_QAbstractSocket::state(QAbstractSocket* theWrappedObject) const -{ - return ( theWrappedObject->state()); -} - -int PythonQtWrapper_QAbstractSocket::socketDescriptor(QAbstractSocket* theWrappedObject) const -{ - return ( theWrappedObject->socketDescriptor()); -} - -QAbstractSocket::SocketError PythonQtWrapper_QAbstractSocket::error(QAbstractSocket* theWrappedObject) const -{ - return ( theWrappedObject->error()); -} - -qint64 PythonQtWrapper_QAbstractSocket::readLineData(QAbstractSocket* theWrappedObject, char* data, qint64 maxlen) -{ - return ( ((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->promoted_readLineData(data, maxlen)); -} - -QString PythonQtWrapper_QAbstractSocket::peerName(QAbstractSocket* theWrappedObject) const -{ - return ( theWrappedObject->peerName()); -} - -bool PythonQtWrapper_QAbstractSocket::waitForConnected(QAbstractSocket* theWrappedObject, int msecs) -{ - return ( theWrappedObject->waitForConnected(msecs)); -} - -qint64 PythonQtWrapper_QAbstractSocket::bytesAvailable(QAbstractSocket* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->promoted_bytesAvailable()); -} - -void PythonQtWrapper_QAbstractSocket::abort(QAbstractSocket* theWrappedObject) -{ - ( theWrappedObject->abort()); -} - -QHostAddress PythonQtWrapper_QAbstractSocket::peerAddress(QAbstractSocket* theWrappedObject) const -{ - return ( theWrappedObject->peerAddress()); -} - -qint64 PythonQtWrapper_QAbstractSocket::bytesToWrite(QAbstractSocket* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->promoted_bytesToWrite()); -} - -void PythonQtWrapper_QAbstractSocket::disconnectFromHost(QAbstractSocket* theWrappedObject) -{ - ( theWrappedObject->disconnectFromHost()); -} - -bool PythonQtWrapper_QAbstractSocket::isValid(QAbstractSocket* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -bool PythonQtWrapper_QAbstractSocket::waitForDisconnected(QAbstractSocket* theWrappedObject, int msecs) -{ - return ( theWrappedObject->waitForDisconnected(msecs)); -} - -QAbstractSocket::SocketType PythonQtWrapper_QAbstractSocket::socketType(QAbstractSocket* theWrappedObject) const -{ - return ( theWrappedObject->socketType()); -} - -bool PythonQtWrapper_QAbstractSocket::waitForBytesWritten(QAbstractSocket* theWrappedObject, int msecs) -{ - return ( ((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->promoted_waitForBytesWritten(msecs)); -} - diff --git a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QAbstractSocket.h b/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QAbstractSocket.h deleted file mode 100644 index 30271cf..0000000 --- a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QAbstractSocket.h +++ /dev/null @@ -1,114 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QABSTRACTSOCKET_H -#define PYTHONQTWRAPPER_QABSTRACTSOCKET_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QAbstractSocket : public QAbstractSocket -{ -public: - PythonQtShell_QAbstractSocket(QAbstractSocket::SocketType socketType, QObject* parent):QAbstractSocket(socketType, parent),_wrapper(NULL) {}; - -virtual bool atEnd() const; -virtual qint64 bytesAvailable() const; -virtual qint64 bytesToWrite() const; -virtual bool canReadLine() const; -virtual void childEvent(QChildEvent* arg__1); -virtual void close(); -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual bool isSequential() const; -virtual bool open(QIODevice::OpenMode mode); -virtual qint64 pos() const; -virtual qint64 readData(char* data, qint64 maxlen); -virtual qint64 readLineData(char* data, qint64 maxlen); -virtual bool reset(); -virtual bool seek(qint64 pos); -virtual qint64 size() const; -virtual void timerEvent(QTimerEvent* arg__1); -virtual bool waitForBytesWritten(int msecs = 30000); -virtual bool waitForReadyRead(int msecs = 30000); -virtual qint64 writeData(const char* data, qint64 len); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QAbstractSocket : public QAbstractSocket -{ public: -inline bool promoted_waitForReadyRead(int msecs = 30000) { return QAbstractSocket::waitForReadyRead(msecs); } -inline qint64 promoted_writeData(const char* data, qint64 len) { return QAbstractSocket::writeData(data, len); } -inline bool promoted_atEnd() const { return QAbstractSocket::atEnd(); } -inline void promoted_close() { QAbstractSocket::close(); } -inline qint64 promoted_readData(char* data, qint64 maxlen) { return QAbstractSocket::readData(data, maxlen); } -inline bool promoted_canReadLine() const { return QAbstractSocket::canReadLine(); } -inline bool promoted_isSequential() const { return QAbstractSocket::isSequential(); } -inline qint64 promoted_readLineData(char* data, qint64 maxlen) { return QAbstractSocket::readLineData(data, maxlen); } -inline qint64 promoted_bytesAvailable() const { return QAbstractSocket::bytesAvailable(); } -inline qint64 promoted_bytesToWrite() const { return QAbstractSocket::bytesToWrite(); } -inline bool promoted_waitForBytesWritten(int msecs = 30000) { return QAbstractSocket::waitForBytesWritten(msecs); } -}; - -class PythonQtWrapper_QAbstractSocket : public QObject -{ Q_OBJECT -public: -Q_ENUMS(SocketType SocketError NetworkLayerProtocol SocketState ) -enum SocketType{ - TcpSocket = QAbstractSocket::TcpSocket, UdpSocket = QAbstractSocket::UdpSocket, UnknownSocketType = QAbstractSocket::UnknownSocketType}; -enum SocketError{ - ConnectionRefusedError = QAbstractSocket::ConnectionRefusedError, RemoteHostClosedError = QAbstractSocket::RemoteHostClosedError, HostNotFoundError = QAbstractSocket::HostNotFoundError, SocketAccessError = QAbstractSocket::SocketAccessError, SocketResourceError = QAbstractSocket::SocketResourceError, SocketTimeoutError = QAbstractSocket::SocketTimeoutError, DatagramTooLargeError = QAbstractSocket::DatagramTooLargeError, NetworkError = QAbstractSocket::NetworkError, AddressInUseError = QAbstractSocket::AddressInUseError, SocketAddressNotAvailableError = QAbstractSocket::SocketAddressNotAvailableError, UnsupportedSocketOperationError = QAbstractSocket::UnsupportedSocketOperationError, UnfinishedSocketOperationError = QAbstractSocket::UnfinishedSocketOperationError, ProxyAuthenticationRequiredError = QAbstractSocket::ProxyAuthenticationRequiredError, SslHandshakeFailedError = QAbstractSocket::SslHandshakeFailedError, UnknownSocketError = QAbstractSocket::UnknownSocketError}; -enum NetworkLayerProtocol{ - IPv4Protocol = QAbstractSocket::IPv4Protocol, IPv6Protocol = QAbstractSocket::IPv6Protocol, UnknownNetworkLayerProtocol = QAbstractSocket::UnknownNetworkLayerProtocol}; -enum SocketState{ - UnconnectedState = QAbstractSocket::UnconnectedState, HostLookupState = QAbstractSocket::HostLookupState, ConnectingState = QAbstractSocket::ConnectingState, ConnectedState = QAbstractSocket::ConnectedState, BoundState = QAbstractSocket::BoundState, ListeningState = QAbstractSocket::ListeningState, ClosingState = QAbstractSocket::ClosingState}; -public slots: -QAbstractSocket* new_QAbstractSocket(QAbstractSocket::SocketType socketType, QObject* parent); -void delete_QAbstractSocket(QAbstractSocket* obj) { delete obj; } - bool waitForReadyRead(QAbstractSocket* theWrappedObject, int msecs = 30000); - qint64 writeData(QAbstractSocket* theWrappedObject, const char* data, qint64 len); - QHostAddress localAddress(QAbstractSocket* theWrappedObject) const; - void setProxy(QAbstractSocket* theWrappedObject, const QNetworkProxy& networkProxy); - bool setSocketDescriptor(QAbstractSocket* theWrappedObject, int socketDescriptor, QAbstractSocket::SocketState state = QAbstractSocket::ConnectedState, QIODevice::OpenMode openMode = QIODevice::ReadWrite); - bool atEnd(QAbstractSocket* theWrappedObject) const; - void close(QAbstractSocket* theWrappedObject); - unsigned short localPort(QAbstractSocket* theWrappedObject) const; - unsigned short peerPort(QAbstractSocket* theWrappedObject) const; - qint64 readData(QAbstractSocket* theWrappedObject, char* data, qint64 maxlen); - void connectToHost(QAbstractSocket* theWrappedObject, const QString& hostName, unsigned short port, QIODevice::OpenMode mode = QIODevice::ReadWrite); - bool flush(QAbstractSocket* theWrappedObject); - void setReadBufferSize(QAbstractSocket* theWrappedObject, qint64 size); - bool canReadLine(QAbstractSocket* theWrappedObject) const; - void connectToHost(QAbstractSocket* theWrappedObject, const QHostAddress& address, unsigned short port, QIODevice::OpenMode mode = QIODevice::ReadWrite); - QNetworkProxy proxy(QAbstractSocket* theWrappedObject) const; - qint64 readBufferSize(QAbstractSocket* theWrappedObject) const; - bool isSequential(QAbstractSocket* theWrappedObject) const; - QAbstractSocket::SocketState state(QAbstractSocket* theWrappedObject) const; - int socketDescriptor(QAbstractSocket* theWrappedObject) const; - QAbstractSocket::SocketError error(QAbstractSocket* theWrappedObject) const; - qint64 readLineData(QAbstractSocket* theWrappedObject, char* data, qint64 maxlen); - QString peerName(QAbstractSocket* theWrappedObject) const; - bool waitForConnected(QAbstractSocket* theWrappedObject, int msecs = 30000); - qint64 bytesAvailable(QAbstractSocket* theWrappedObject) const; - void abort(QAbstractSocket* theWrappedObject); - QHostAddress peerAddress(QAbstractSocket* theWrappedObject) const; - qint64 bytesToWrite(QAbstractSocket* theWrappedObject) const; - void disconnectFromHost(QAbstractSocket* theWrappedObject); - bool isValid(QAbstractSocket* theWrappedObject) const; - bool waitForDisconnected(QAbstractSocket* theWrappedObject, int msecs = 30000); - QAbstractSocket::SocketType socketType(QAbstractSocket* theWrappedObject) const; - bool waitForBytesWritten(QAbstractSocket* theWrappedObject, int msecs = 30000); -}; - -#endif // PYTHONQTWRAPPER_QABSTRACTSOCKET_H diff --git a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QAuthenticator.cpp b/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QAuthenticator.cpp deleted file mode 100644 index 43468e4..0000000 --- a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QAuthenticator.cpp +++ /dev/null @@ -1,51 +0,0 @@ -#include "PythonQtWrapper_QAuthenticator.h" - -#include -#include -#include -#include -#include - -QAuthenticator* PythonQtWrapper_QAuthenticator::new_QAuthenticator() -{ -return new QAuthenticator(); } - -QAuthenticator* PythonQtWrapper_QAuthenticator::new_QAuthenticator(const QAuthenticator& other) -{ -return new QAuthenticator(other); } - -QString PythonQtWrapper_QAuthenticator::user(QAuthenticator* theWrappedObject) const -{ - return ( theWrappedObject->user()); -} - -bool PythonQtWrapper_QAuthenticator::operator_equal(QAuthenticator* theWrappedObject, const QAuthenticator& other) const -{ - return ( (*theWrappedObject)== other); -} - -void PythonQtWrapper_QAuthenticator::setPassword(QAuthenticator* theWrappedObject, const QString& password) -{ - ( theWrappedObject->setPassword(password)); -} - -bool PythonQtWrapper_QAuthenticator::isNull(QAuthenticator* theWrappedObject) const -{ - return ( theWrappedObject->isNull()); -} - -QString PythonQtWrapper_QAuthenticator::password(QAuthenticator* theWrappedObject) const -{ - return ( theWrappedObject->password()); -} - -QString PythonQtWrapper_QAuthenticator::realm(QAuthenticator* theWrappedObject) const -{ - return ( theWrappedObject->realm()); -} - -void PythonQtWrapper_QAuthenticator::setUser(QAuthenticator* theWrappedObject, const QString& user) -{ - ( theWrappedObject->setUser(user)); -} - diff --git a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QAuthenticator.h b/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QAuthenticator.h deleted file mode 100644 index 0e9f27d..0000000 --- a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QAuthenticator.h +++ /dev/null @@ -1,28 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QAUTHENTICATOR_H -#define PYTHONQTWRAPPER_QAUTHENTICATOR_H - -#include -#include - -#include - -#include -#include - -class PythonQtWrapper_QAuthenticator : public QObject -{ Q_OBJECT -public: -public slots: -QAuthenticator* new_QAuthenticator(); -QAuthenticator* new_QAuthenticator(const QAuthenticator& other); -void delete_QAuthenticator(QAuthenticator* obj) { delete obj; } - QString user(QAuthenticator* theWrappedObject) const; - bool operator_equal(QAuthenticator* theWrappedObject, const QAuthenticator& other) const; - void setPassword(QAuthenticator* theWrappedObject, const QString& password); - bool isNull(QAuthenticator* theWrappedObject) const; - QString password(QAuthenticator* theWrappedObject) const; - QString realm(QAuthenticator* theWrappedObject) const; - void setUser(QAuthenticator* theWrappedObject, const QString& user); -}; - -#endif // PYTHONQTWRAPPER_QAUTHENTICATOR_H diff --git a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QFtp.cpp b/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QFtp.cpp deleted file mode 100644 index 2e11f0a..0000000 --- a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QFtp.cpp +++ /dev/null @@ -1,255 +0,0 @@ -#include "PythonQtWrapper_QFtp.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QFtp::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; - } -} - QFtp::childEvent(arg__1); -} -void PythonQtShell_QFtp::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; - } -} - QFtp::customEvent(arg__1); -} -bool PythonQtShell_QFtp::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFtp::event(arg__1); -} -bool PythonQtShell_QFtp::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QFtp::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QFtp::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; - } -} - QFtp::timerEvent(arg__1); -} -QFtp* PythonQtWrapper_QFtp::new_QFtp(QObject* parent) -{ -return new PythonQtShell_QFtp(parent); } - -QFtp::Error PythonQtWrapper_QFtp::error(QFtp* theWrappedObject) const -{ - return ( theWrappedObject->error()); -} - -int PythonQtWrapper_QFtp::rename(QFtp* theWrappedObject, const QString& oldname, const QString& newname) -{ - return ( theWrappedObject->rename(oldname, newname)); -} - -int PythonQtWrapper_QFtp::put(QFtp* theWrappedObject, QIODevice* dev, const QString& file, QFtp::TransferType type) -{ - return ( theWrappedObject->put(dev, file, type)); -} - -QFtp::Command PythonQtWrapper_QFtp::currentCommand(QFtp* theWrappedObject) const -{ - return ( theWrappedObject->currentCommand()); -} - -int PythonQtWrapper_QFtp::rmdir(QFtp* theWrappedObject, const QString& dir) -{ - return ( theWrappedObject->rmdir(dir)); -} - -QByteArray PythonQtWrapper_QFtp::readAll(QFtp* theWrappedObject) -{ - return ( theWrappedObject->readAll()); -} - -int PythonQtWrapper_QFtp::close(QFtp* theWrappedObject) -{ - return ( theWrappedObject->close()); -} - -QIODevice* PythonQtWrapper_QFtp::currentDevice(QFtp* theWrappedObject) const -{ - return ( theWrappedObject->currentDevice()); -} - -int PythonQtWrapper_QFtp::login(QFtp* theWrappedObject, const QString& user, const QString& password) -{ - return ( theWrappedObject->login(user, password)); -} - -int PythonQtWrapper_QFtp::mkdir(QFtp* theWrappedObject, const QString& dir) -{ - return ( theWrappedObject->mkdir(dir)); -} - -void PythonQtWrapper_QFtp::clearPendingCommands(QFtp* theWrappedObject) -{ - ( theWrappedObject->clearPendingCommands()); -} - -QString PythonQtWrapper_QFtp::errorString(QFtp* theWrappedObject) const -{ - return ( theWrappedObject->errorString()); -} - -int PythonQtWrapper_QFtp::remove(QFtp* theWrappedObject, const QString& file) -{ - return ( theWrappedObject->remove(file)); -} - -int PythonQtWrapper_QFtp::cd(QFtp* theWrappedObject, const QString& dir) -{ - return ( theWrappedObject->cd(dir)); -} - -int PythonQtWrapper_QFtp::list(QFtp* theWrappedObject, const QString& dir) -{ - return ( theWrappedObject->list(dir)); -} - -bool PythonQtWrapper_QFtp::hasPendingCommands(QFtp* theWrappedObject) const -{ - return ( theWrappedObject->hasPendingCommands()); -} - -int PythonQtWrapper_QFtp::setTransferMode(QFtp* theWrappedObject, QFtp::TransferMode mode) -{ - return ( theWrappedObject->setTransferMode(mode)); -} - -qint64 PythonQtWrapper_QFtp::read(QFtp* theWrappedObject, char* data, qint64 maxlen) -{ - return ( theWrappedObject->read(data, maxlen)); -} - -int PythonQtWrapper_QFtp::connectToHost(QFtp* theWrappedObject, const QString& host, unsigned short port) -{ - return ( theWrappedObject->connectToHost(host, port)); -} - -qint64 PythonQtWrapper_QFtp::bytesAvailable(QFtp* theWrappedObject) const -{ - return ( theWrappedObject->bytesAvailable()); -} - -int PythonQtWrapper_QFtp::put(QFtp* theWrappedObject, const QByteArray& data, const QString& file, QFtp::TransferType type) -{ - return ( theWrappedObject->put(data, file, type)); -} - -int PythonQtWrapper_QFtp::setProxy(QFtp* theWrappedObject, const QString& host, unsigned short port) -{ - return ( theWrappedObject->setProxy(host, port)); -} - -int PythonQtWrapper_QFtp::get(QFtp* theWrappedObject, const QString& file, QIODevice* dev, QFtp::TransferType type) -{ - return ( theWrappedObject->get(file, dev, type)); -} - -int PythonQtWrapper_QFtp::rawCommand(QFtp* theWrappedObject, const QString& command) -{ - return ( theWrappedObject->rawCommand(command)); -} - -QFtp::State PythonQtWrapper_QFtp::state(QFtp* theWrappedObject) const -{ - return ( theWrappedObject->state()); -} - -int PythonQtWrapper_QFtp::currentId(QFtp* theWrappedObject) const -{ - return ( theWrappedObject->currentId()); -} - diff --git a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QFtp.h b/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QFtp.h deleted file mode 100644 index 68e987b..0000000 --- a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QFtp.h +++ /dev/null @@ -1,77 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QFTP_H -#define PYTHONQTWRAPPER_QFTP_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QFtp : public QFtp -{ -public: - PythonQtShell_QFtp(QObject* parent = 0):QFtp(parent),_wrapper(NULL) {}; - -virtual void childEvent(QChildEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QFtp : public QObject -{ Q_OBJECT -public: -Q_ENUMS(TransferType Error Command TransferMode State ) -enum TransferType{ - Binary = QFtp::Binary, Ascii = QFtp::Ascii}; -enum Error{ - NoError = QFtp::NoError, UnknownError = QFtp::UnknownError, HostNotFound = QFtp::HostNotFound, ConnectionRefused = QFtp::ConnectionRefused, NotConnected = QFtp::NotConnected}; -enum Command{ - None = QFtp::None, SetTransferMode = QFtp::SetTransferMode, SetProxy = QFtp::SetProxy, ConnectToHost = QFtp::ConnectToHost, Login = QFtp::Login, Close = QFtp::Close, List = QFtp::List, Cd = QFtp::Cd, Get = QFtp::Get, Put = QFtp::Put, Remove = QFtp::Remove, Mkdir = QFtp::Mkdir, Rmdir = QFtp::Rmdir, Rename = QFtp::Rename, RawCommand = QFtp::RawCommand}; -enum TransferMode{ - Active = QFtp::Active, Passive = QFtp::Passive}; -enum State{ - Unconnected = QFtp::Unconnected, HostLookup = QFtp::HostLookup, Connecting = QFtp::Connecting, Connected = QFtp::Connected, LoggedIn = QFtp::LoggedIn, Closing = QFtp::Closing}; -public slots: -QFtp* new_QFtp(QObject* parent = 0); -void delete_QFtp(QFtp* obj) { delete obj; } - QFtp::Error error(QFtp* theWrappedObject) const; - int rename(QFtp* theWrappedObject, const QString& oldname, const QString& newname); - int put(QFtp* theWrappedObject, QIODevice* dev, const QString& file, QFtp::TransferType type = QFtp::Binary); - QFtp::Command currentCommand(QFtp* theWrappedObject) const; - int rmdir(QFtp* theWrappedObject, const QString& dir); - QByteArray readAll(QFtp* theWrappedObject); - int close(QFtp* theWrappedObject); - QIODevice* currentDevice(QFtp* theWrappedObject) const; - int login(QFtp* theWrappedObject, const QString& user = QString(), const QString& password = QString()); - int mkdir(QFtp* theWrappedObject, const QString& dir); - void clearPendingCommands(QFtp* theWrappedObject); - QString errorString(QFtp* theWrappedObject) const; - int remove(QFtp* theWrappedObject, const QString& file); - int cd(QFtp* theWrappedObject, const QString& dir); - int list(QFtp* theWrappedObject, const QString& dir = QString()); - bool hasPendingCommands(QFtp* theWrappedObject) const; - int setTransferMode(QFtp* theWrappedObject, QFtp::TransferMode mode); - qint64 read(QFtp* theWrappedObject, char* data, qint64 maxlen); - int connectToHost(QFtp* theWrappedObject, const QString& host, unsigned short port = 21); - qint64 bytesAvailable(QFtp* theWrappedObject) const; - int put(QFtp* theWrappedObject, const QByteArray& data, const QString& file, QFtp::TransferType type = QFtp::Binary); - int setProxy(QFtp* theWrappedObject, const QString& host, unsigned short port); - int get(QFtp* theWrappedObject, const QString& file, QIODevice* dev = 0, QFtp::TransferType type = QFtp::Binary); - int rawCommand(QFtp* theWrappedObject, const QString& command); - QFtp::State state(QFtp* theWrappedObject) const; - int currentId(QFtp* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QFTP_H diff --git a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QHostAddress.cpp b/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QHostAddress.cpp deleted file mode 100644 index 34ba050..0000000 --- a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QHostAddress.cpp +++ /dev/null @@ -1,108 +0,0 @@ -#include "PythonQtWrapper_QHostAddress.h" - -#include -#include -#include -#include -#include -#include - -QHostAddress* PythonQtWrapper_QHostAddress::new_QHostAddress() -{ -return new QHostAddress(); } - -QHostAddress* PythonQtWrapper_QHostAddress::new_QHostAddress(QHostAddress::SpecialAddress address) -{ -return new QHostAddress(address); } - -QHostAddress* PythonQtWrapper_QHostAddress::new_QHostAddress(const QHostAddress& copy) -{ -return new QHostAddress(copy); } - -QHostAddress* PythonQtWrapper_QHostAddress::new_QHostAddress(const QIPv6Address& ip6Addr) -{ -return new QHostAddress(ip6Addr); } - -QHostAddress* PythonQtWrapper_QHostAddress::new_QHostAddress(const QString& address) -{ -return new QHostAddress(address); } - -QHostAddress* PythonQtWrapper_QHostAddress::new_QHostAddress(unsigned int ip4Addr) -{ -return new QHostAddress(ip4Addr); } - -bool PythonQtWrapper_QHostAddress::isNull(QHostAddress* theWrappedObject) const -{ - return ( theWrappedObject->isNull()); -} - -bool PythonQtWrapper_QHostAddress::operator_equal(QHostAddress* theWrappedObject, const QHostAddress& address) const -{ - return ( (*theWrappedObject)== address); -} - -void PythonQtWrapper_QHostAddress::setAddress(QHostAddress* theWrappedObject, const QIPv6Address& ip6Addr) -{ - ( theWrappedObject->setAddress(ip6Addr)); -} - -void PythonQtWrapper_QHostAddress::setAddress(QHostAddress* theWrappedObject, unsigned int ip4Addr) -{ - ( theWrappedObject->setAddress(ip4Addr)); -} - -void PythonQtWrapper_QHostAddress::writeTo(QHostAddress* theWrappedObject, QDataStream& arg__1) -{ - arg__1 << (*theWrappedObject); -} - -void PythonQtWrapper_QHostAddress::readFrom(QHostAddress* theWrappedObject, QDataStream& arg__1) -{ - arg__1 >> (*theWrappedObject); -} - -unsigned int PythonQtWrapper_QHostAddress::toIPv4Address(QHostAddress* theWrappedObject) const -{ - return ( theWrappedObject->toIPv4Address()); -} - -bool PythonQtWrapper_QHostAddress::operator_equal(QHostAddress* theWrappedObject, QHostAddress::SpecialAddress address) const -{ - return ( (*theWrappedObject)== address); -} - -QString PythonQtWrapper_QHostAddress::toString(QHostAddress* theWrappedObject) const -{ - return ( theWrappedObject->toString()); -} - -QString PythonQtWrapper_QHostAddress::scopeId(QHostAddress* theWrappedObject) const -{ - return ( theWrappedObject->scopeId()); -} - -bool PythonQtWrapper_QHostAddress::setAddress(QHostAddress* theWrappedObject, const QString& address) -{ - return ( theWrappedObject->setAddress(address)); -} - -void PythonQtWrapper_QHostAddress::clear(QHostAddress* theWrappedObject) -{ - ( theWrappedObject->clear()); -} - -QAbstractSocket::NetworkLayerProtocol PythonQtWrapper_QHostAddress::protocol(QHostAddress* theWrappedObject) const -{ - return ( theWrappedObject->protocol()); -} - -void PythonQtWrapper_QHostAddress::setScopeId(QHostAddress* theWrappedObject, const QString& id) -{ - ( theWrappedObject->setScopeId(id)); -} - -QIPv6Address PythonQtWrapper_QHostAddress::toIPv6Address(QHostAddress* theWrappedObject) const -{ - return ( theWrappedObject->toIPv6Address()); -} - diff --git a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QHostAddress.h b/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QHostAddress.h deleted file mode 100644 index fb5bf4f..0000000 --- a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QHostAddress.h +++ /dev/null @@ -1,44 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QHOSTADDRESS_H -#define PYTHONQTWRAPPER_QHOSTADDRESS_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtWrapper_QHostAddress : public QObject -{ Q_OBJECT -public: -Q_ENUMS(SpecialAddress ) -enum SpecialAddress{ - Null = QHostAddress::Null, Broadcast = QHostAddress::Broadcast, LocalHost = QHostAddress::LocalHost, LocalHostIPv6 = QHostAddress::LocalHostIPv6, Any = QHostAddress::Any, AnyIPv6 = QHostAddress::AnyIPv6}; -public slots: -QHostAddress* new_QHostAddress(); -QHostAddress* new_QHostAddress(QHostAddress::SpecialAddress address); -QHostAddress* new_QHostAddress(const QHostAddress& copy); -QHostAddress* new_QHostAddress(const QIPv6Address& ip6Addr); -QHostAddress* new_QHostAddress(const QString& address); -QHostAddress* new_QHostAddress(unsigned int ip4Addr); -void delete_QHostAddress(QHostAddress* obj) { delete obj; } - bool isNull(QHostAddress* theWrappedObject) const; - bool operator_equal(QHostAddress* theWrappedObject, const QHostAddress& address) const; - void setAddress(QHostAddress* theWrappedObject, const QIPv6Address& ip6Addr); - void setAddress(QHostAddress* theWrappedObject, unsigned int ip4Addr); - void writeTo(QHostAddress* theWrappedObject, QDataStream& arg__1); - void readFrom(QHostAddress* theWrappedObject, QDataStream& arg__1); - unsigned int toIPv4Address(QHostAddress* theWrappedObject) const; - bool operator_equal(QHostAddress* theWrappedObject, QHostAddress::SpecialAddress address) const; - QString toString(QHostAddress* theWrappedObject) const; - QString scopeId(QHostAddress* theWrappedObject) const; - bool setAddress(QHostAddress* theWrappedObject, const QString& address); - void clear(QHostAddress* theWrappedObject); - QAbstractSocket::NetworkLayerProtocol protocol(QHostAddress* theWrappedObject) const; - void setScopeId(QHostAddress* theWrappedObject, const QString& id); - QIPv6Address toIPv6Address(QHostAddress* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QHOSTADDRESS_H diff --git a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QHostInfo.cpp b/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QHostInfo.cpp deleted file mode 100644 index 58169be..0000000 --- a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QHostInfo.cpp +++ /dev/null @@ -1,89 +0,0 @@ -#include "PythonQtWrapper_QHostInfo.h" - -#include -#include -#include -#include -#include -#include -#include -#include - -QHostInfo* PythonQtWrapper_QHostInfo::new_QHostInfo(const QHostInfo& d) -{ -return new QHostInfo(d); } - -QHostInfo* PythonQtWrapper_QHostInfo::new_QHostInfo(int lookupId) -{ -return new QHostInfo(lookupId); } - -int PythonQtWrapper_QHostInfo::static_QHostInfo_lookupHost(const QString& name, QObject* receiver, const char* member) -{ - return (QHostInfo::lookupHost(name, receiver, member)); -} - -QString PythonQtWrapper_QHostInfo::errorString(QHostInfo* theWrappedObject) const -{ - return ( theWrappedObject->errorString()); -} - -QString PythonQtWrapper_QHostInfo::hostName(QHostInfo* theWrappedObject) const -{ - return ( theWrappedObject->hostName()); -} - -void PythonQtWrapper_QHostInfo::setAddresses(QHostInfo* theWrappedObject, const QList& addresses) -{ - ( theWrappedObject->setAddresses(addresses)); -} - -void PythonQtWrapper_QHostInfo::setLookupId(QHostInfo* theWrappedObject, int id) -{ - ( theWrappedObject->setLookupId(id)); -} - -QList PythonQtWrapper_QHostInfo::addresses(QHostInfo* theWrappedObject) const -{ - return ( theWrappedObject->addresses()); -} - -QString PythonQtWrapper_QHostInfo::static_QHostInfo_localHostName() -{ - return (QHostInfo::localHostName()); -} - -void PythonQtWrapper_QHostInfo::setErrorString(QHostInfo* theWrappedObject, const QString& errorString) -{ - ( theWrappedObject->setErrorString(errorString)); -} - -QHostInfo PythonQtWrapper_QHostInfo::static_QHostInfo_fromName(const QString& name) -{ - return (QHostInfo::fromName(name)); -} - -int PythonQtWrapper_QHostInfo::lookupId(QHostInfo* theWrappedObject) const -{ - return ( theWrappedObject->lookupId()); -} - -QHostInfo::HostInfoError PythonQtWrapper_QHostInfo::error(QHostInfo* theWrappedObject) const -{ - return ( theWrappedObject->error()); -} - -void PythonQtWrapper_QHostInfo::setError(QHostInfo* theWrappedObject, QHostInfo::HostInfoError error) -{ - ( theWrappedObject->setError(error)); -} - -void PythonQtWrapper_QHostInfo::setHostName(QHostInfo* theWrappedObject, const QString& name) -{ - ( theWrappedObject->setHostName(name)); -} - -void PythonQtWrapper_QHostInfo::static_QHostInfo_abortHostLookup(int lookupId) -{ - (QHostInfo::abortHostLookup(lookupId)); -} - diff --git a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QHostInfo.h b/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QHostInfo.h deleted file mode 100644 index 3b26e06..0000000 --- a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QHostInfo.h +++ /dev/null @@ -1,41 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QHOSTINFO_H -#define PYTHONQTWRAPPER_QHOSTINFO_H - -#include -#include - -#include - -#include -#include -#include -#include -#include - -class PythonQtWrapper_QHostInfo : public QObject -{ Q_OBJECT -public: -Q_ENUMS(HostInfoError ) -enum HostInfoError{ - NoError = QHostInfo::NoError, HostNotFound = QHostInfo::HostNotFound, UnknownError = QHostInfo::UnknownError}; -public slots: -QHostInfo* new_QHostInfo(const QHostInfo& d); -QHostInfo* new_QHostInfo(int lookupId = -1); -void delete_QHostInfo(QHostInfo* obj) { delete obj; } - int static_QHostInfo_lookupHost(const QString& name, QObject* receiver, const char* member); - QString errorString(QHostInfo* theWrappedObject) const; - QString hostName(QHostInfo* theWrappedObject) const; - void setAddresses(QHostInfo* theWrappedObject, const QList& addresses); - void setLookupId(QHostInfo* theWrappedObject, int id); - QList addresses(QHostInfo* theWrappedObject) const; - QString static_QHostInfo_localHostName(); - void setErrorString(QHostInfo* theWrappedObject, const QString& errorString); - QHostInfo static_QHostInfo_fromName(const QString& name); - int lookupId(QHostInfo* theWrappedObject) const; - QHostInfo::HostInfoError error(QHostInfo* theWrappedObject) const; - void setError(QHostInfo* theWrappedObject, QHostInfo::HostInfoError error); - void setHostName(QHostInfo* theWrappedObject, const QString& name); - void static_QHostInfo_abortHostLookup(int lookupId); -}; - -#endif // PYTHONQTWRAPPER_QHOSTINFO_H diff --git a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QHttp.cpp b/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QHttp.cpp deleted file mode 100644 index 7763b4c..0000000 --- a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QHttp.cpp +++ /dev/null @@ -1,265 +0,0 @@ -#include "PythonQtWrapper_QHttp.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QHttp::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; - } -} - QHttp::childEvent(arg__1); -} -void PythonQtShell_QHttp::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; - } -} - QHttp::customEvent(arg__1); -} -bool PythonQtShell_QHttp::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QHttp::event(arg__1); -} -bool PythonQtShell_QHttp::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QHttp::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QHttp::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; - } -} - QHttp::timerEvent(arg__1); -} -QHttp* PythonQtWrapper_QHttp::new_QHttp(QObject* parent) -{ -return new PythonQtShell_QHttp(parent); } - -QHttp* PythonQtWrapper_QHttp::new_QHttp(const QString& hostname, QHttp::ConnectionMode mode, unsigned short port, QObject* parent) -{ -return new PythonQtShell_QHttp(hostname, mode, port, parent); } - -QHttp* PythonQtWrapper_QHttp::new_QHttp(const QString& hostname, unsigned short port, QObject* parent) -{ -return new PythonQtShell_QHttp(hostname, port, parent); } - -int PythonQtWrapper_QHttp::setProxy(QHttp* theWrappedObject, const QNetworkProxy& proxy) -{ - return ( theWrappedObject->setProxy(proxy)); -} - -int PythonQtWrapper_QHttp::request(QHttp* theWrappedObject, const QHttpRequestHeader& header, QIODevice* device, QIODevice* to) -{ - return ( theWrappedObject->request(header, device, to)); -} - -QHttpRequestHeader PythonQtWrapper_QHttp::currentRequest(QHttp* theWrappedObject) const -{ - return ( theWrappedObject->currentRequest()); -} - -QHttp::State PythonQtWrapper_QHttp::state(QHttp* theWrappedObject) const -{ - return ( theWrappedObject->state()); -} - -QHttp::Error PythonQtWrapper_QHttp::error(QHttp* theWrappedObject) const -{ - return ( theWrappedObject->error()); -} - -int PythonQtWrapper_QHttp::request(QHttp* theWrappedObject, const QHttpRequestHeader& header, const QByteArray& data, QIODevice* to) -{ - return ( theWrappedObject->request(header, data, to)); -} - -bool PythonQtWrapper_QHttp::hasPendingRequests(QHttp* theWrappedObject) const -{ - return ( theWrappedObject->hasPendingRequests()); -} - -int PythonQtWrapper_QHttp::setSocket(QHttp* theWrappedObject, QTcpSocket* socket) -{ - return ( theWrappedObject->setSocket(socket)); -} - -int PythonQtWrapper_QHttp::setUser(QHttp* theWrappedObject, const QString& username, const QString& password) -{ - return ( theWrappedObject->setUser(username, password)); -} - -int PythonQtWrapper_QHttp::post(QHttp* theWrappedObject, const QString& path, const QByteArray& data, QIODevice* to) -{ - return ( theWrappedObject->post(path, data, to)); -} - -QIODevice* PythonQtWrapper_QHttp::currentDestinationDevice(QHttp* theWrappedObject) const -{ - return ( theWrappedObject->currentDestinationDevice()); -} - -qint64 PythonQtWrapper_QHttp::bytesAvailable(QHttp* theWrappedObject) const -{ - return ( theWrappedObject->bytesAvailable()); -} - -QByteArray PythonQtWrapper_QHttp::readAll(QHttp* theWrappedObject) -{ - return ( theWrappedObject->readAll()); -} - -int PythonQtWrapper_QHttp::setHost(QHttp* theWrappedObject, const QString& hostname, QHttp::ConnectionMode mode, unsigned short port) -{ - return ( theWrappedObject->setHost(hostname, mode, port)); -} - -int PythonQtWrapper_QHttp::currentId(QHttp* theWrappedObject) const -{ - return ( theWrappedObject->currentId()); -} - -int PythonQtWrapper_QHttp::setHost(QHttp* theWrappedObject, const QString& hostname, unsigned short port) -{ - return ( theWrappedObject->setHost(hostname, port)); -} - -int PythonQtWrapper_QHttp::setProxy(QHttp* theWrappedObject, const QString& host, int port, const QString& username, const QString& password) -{ - return ( theWrappedObject->setProxy(host, port, username, password)); -} - -void PythonQtWrapper_QHttp::clearPendingRequests(QHttp* theWrappedObject) -{ - ( theWrappedObject->clearPendingRequests()); -} - -QHttpResponseHeader PythonQtWrapper_QHttp::lastResponse(QHttp* theWrappedObject) const -{ - return ( theWrappedObject->lastResponse()); -} - -qint64 PythonQtWrapper_QHttp::read(QHttp* theWrappedObject, char* data, qint64 maxlen) -{ - return ( theWrappedObject->read(data, maxlen)); -} - -QIODevice* PythonQtWrapper_QHttp::currentSourceDevice(QHttp* theWrappedObject) const -{ - return ( theWrappedObject->currentSourceDevice()); -} - -int PythonQtWrapper_QHttp::get(QHttp* theWrappedObject, const QString& path, QIODevice* to) -{ - return ( theWrappedObject->get(path, to)); -} - -QString PythonQtWrapper_QHttp::errorString(QHttp* theWrappedObject) const -{ - return ( theWrappedObject->errorString()); -} - -int PythonQtWrapper_QHttp::close(QHttp* theWrappedObject) -{ - return ( theWrappedObject->close()); -} - -int PythonQtWrapper_QHttp::head(QHttp* theWrappedObject, const QString& path) -{ - return ( theWrappedObject->head(path)); -} - -int PythonQtWrapper_QHttp::post(QHttp* theWrappedObject, const QString& path, QIODevice* data, QIODevice* to) -{ - return ( theWrappedObject->post(path, data, to)); -} - diff --git a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QHttp.h b/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QHttp.h deleted file mode 100644 index 6073dac..0000000 --- a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QHttp.h +++ /dev/null @@ -1,79 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QHTTP_H -#define PYTHONQTWRAPPER_QHTTP_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QHttp : public QHttp -{ -public: - PythonQtShell_QHttp(QObject* parent = 0):QHttp(parent),_wrapper(NULL) {}; - PythonQtShell_QHttp(const QString& hostname, QHttp::ConnectionMode mode, unsigned short port = 0, QObject* parent = 0):QHttp(hostname, mode, port, parent),_wrapper(NULL) {}; - PythonQtShell_QHttp(const QString& hostname, unsigned short port = 80, QObject* parent = 0):QHttp(hostname, port, parent),_wrapper(NULL) {}; - -virtual void childEvent(QChildEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QHttp : public QObject -{ Q_OBJECT -public: -Q_ENUMS(Error ConnectionMode State ) -enum Error{ - NoError = QHttp::NoError, UnknownError = QHttp::UnknownError, HostNotFound = QHttp::HostNotFound, ConnectionRefused = QHttp::ConnectionRefused, UnexpectedClose = QHttp::UnexpectedClose, InvalidResponseHeader = QHttp::InvalidResponseHeader, WrongContentLength = QHttp::WrongContentLength, Aborted = QHttp::Aborted, AuthenticationRequiredError = QHttp::AuthenticationRequiredError, ProxyAuthenticationRequiredError = QHttp::ProxyAuthenticationRequiredError}; -enum ConnectionMode{ - ConnectionModeHttp = QHttp::ConnectionModeHttp, ConnectionModeHttps = QHttp::ConnectionModeHttps}; -enum State{ - Unconnected = QHttp::Unconnected, HostLookup = QHttp::HostLookup, Connecting = QHttp::Connecting, Sending = QHttp::Sending, Reading = QHttp::Reading, Connected = QHttp::Connected, Closing = QHttp::Closing}; -public slots: -QHttp* new_QHttp(QObject* parent = 0); -QHttp* new_QHttp(const QString& hostname, QHttp::ConnectionMode mode, unsigned short port = 0, QObject* parent = 0); -QHttp* new_QHttp(const QString& hostname, unsigned short port = 80, QObject* parent = 0); -void delete_QHttp(QHttp* obj) { delete obj; } - int setProxy(QHttp* theWrappedObject, const QNetworkProxy& proxy); - int request(QHttp* theWrappedObject, const QHttpRequestHeader& header, QIODevice* device = 0, QIODevice* to = 0); - QHttpRequestHeader currentRequest(QHttp* theWrappedObject) const; - QHttp::State state(QHttp* theWrappedObject) const; - QHttp::Error error(QHttp* theWrappedObject) const; - int request(QHttp* theWrappedObject, const QHttpRequestHeader& header, const QByteArray& data, QIODevice* to = 0); - bool hasPendingRequests(QHttp* theWrappedObject) const; - int setSocket(QHttp* theWrappedObject, QTcpSocket* socket); - int setUser(QHttp* theWrappedObject, const QString& username, const QString& password = QString()); - int post(QHttp* theWrappedObject, const QString& path, const QByteArray& data, QIODevice* to = 0); - QIODevice* currentDestinationDevice(QHttp* theWrappedObject) const; - qint64 bytesAvailable(QHttp* theWrappedObject) const; - QByteArray readAll(QHttp* theWrappedObject); - int setHost(QHttp* theWrappedObject, const QString& hostname, QHttp::ConnectionMode mode, unsigned short port = 0); - int currentId(QHttp* theWrappedObject) const; - int setHost(QHttp* theWrappedObject, const QString& hostname, unsigned short port = 80); - int setProxy(QHttp* theWrappedObject, const QString& host, int port, const QString& username = QString(), const QString& password = QString()); - void clearPendingRequests(QHttp* theWrappedObject); - QHttpResponseHeader lastResponse(QHttp* theWrappedObject) const; - qint64 read(QHttp* theWrappedObject, char* data, qint64 maxlen); - QIODevice* currentSourceDevice(QHttp* theWrappedObject) const; - int get(QHttp* theWrappedObject, const QString& path, QIODevice* to = 0); - QString errorString(QHttp* theWrappedObject) const; - int close(QHttp* theWrappedObject); - int head(QHttp* theWrappedObject, const QString& path); - int post(QHttp* theWrappedObject, const QString& path, QIODevice* data, QIODevice* to = 0); -}; - -#endif // PYTHONQTWRAPPER_QHTTP_H diff --git a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QHttpHeader.cpp b/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QHttpHeader.cpp deleted file mode 100644 index 08b4c8b..0000000 --- a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QHttpHeader.cpp +++ /dev/null @@ -1,227 +0,0 @@ -#include "PythonQtWrapper_QHttpHeader.h" - -#include -#include -#include -#include -#include -#include -#include - -int PythonQtShell_QHttpHeader::majorVersion() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "majorVersion"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("majorVersion", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - int result; -return result; -} -int PythonQtShell_QHttpHeader::minorVersion() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "minorVersion"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minorVersion", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - int result; -return result; -} -bool PythonQtShell_QHttpHeader::parseLine(const QString& line, int number) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "parseLine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QString&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&line, (void*)&number}; - 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("parseLine", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QHttpHeader::parseLine(line, number); -} -QString PythonQtShell_QHttpHeader::toString() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "toString"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QString"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QString returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("toString", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QHttpHeader::toString(); -} -QHttpHeader* PythonQtWrapper_QHttpHeader::new_QHttpHeader() -{ -return new PythonQtShell_QHttpHeader(); } - -QHttpHeader* PythonQtWrapper_QHttpHeader::new_QHttpHeader(const QString& str) -{ -return new PythonQtShell_QHttpHeader(str); } - -void PythonQtWrapper_QHttpHeader::removeAllValues(QHttpHeader* theWrappedObject, const QString& key) -{ - ( theWrappedObject->removeAllValues(key)); -} - -void PythonQtWrapper_QHttpHeader::setValue(QHttpHeader* theWrappedObject, const QString& key, const QString& value) -{ - ( theWrappedObject->setValue(key, value)); -} - -bool PythonQtWrapper_QHttpHeader::isValid(QHttpHeader* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -void PythonQtWrapper_QHttpHeader::removeValue(QHttpHeader* theWrappedObject, const QString& key) -{ - ( theWrappedObject->removeValue(key)); -} - -QString PythonQtWrapper_QHttpHeader::toString(QHttpHeader* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QHttpHeader*)theWrappedObject)->promoted_toString()); -} - -void PythonQtWrapper_QHttpHeader::setContentType(QHttpHeader* theWrappedObject, const QString& type) -{ - ( theWrappedObject->setContentType(type)); -} - -QString PythonQtWrapper_QHttpHeader::contentType(QHttpHeader* theWrappedObject) const -{ - return ( theWrappedObject->contentType()); -} - -bool PythonQtWrapper_QHttpHeader::hasContentLength(QHttpHeader* theWrappedObject) const -{ - return ( theWrappedObject->hasContentLength()); -} - -bool PythonQtWrapper_QHttpHeader::hasContentType(QHttpHeader* theWrappedObject) const -{ - return ( theWrappedObject->hasContentType()); -} - -void PythonQtWrapper_QHttpHeader::setContentLength(QHttpHeader* theWrappedObject, int len) -{ - ( theWrappedObject->setContentLength(len)); -} - -void PythonQtWrapper_QHttpHeader::addValue(QHttpHeader* theWrappedObject, const QString& key, const QString& value) -{ - ( theWrappedObject->addValue(key, value)); -} - -QList > PythonQtWrapper_QHttpHeader::values(QHttpHeader* theWrappedObject) const -{ - return ( theWrappedObject->values()); -} - -uint PythonQtWrapper_QHttpHeader::contentLength(QHttpHeader* theWrappedObject) const -{ - return ( theWrappedObject->contentLength()); -} - -bool PythonQtWrapper_QHttpHeader::hasKey(QHttpHeader* theWrappedObject, const QString& key) const -{ - return ( theWrappedObject->hasKey(key)); -} - -QString PythonQtWrapper_QHttpHeader::value(QHttpHeader* theWrappedObject, const QString& key) const -{ - return ( theWrappedObject->value(key)); -} - -QStringList PythonQtWrapper_QHttpHeader::allValues(QHttpHeader* theWrappedObject, const QString& key) const -{ - return ( theWrappedObject->allValues(key)); -} - -void PythonQtWrapper_QHttpHeader::setValues(QHttpHeader* theWrappedObject, const QList >& values) -{ - ( theWrappedObject->setValues(values)); -} - -QStringList PythonQtWrapper_QHttpHeader::keys(QHttpHeader* theWrappedObject) const -{ - return ( theWrappedObject->keys()); -} - -bool PythonQtWrapper_QHttpHeader::parseLine(QHttpHeader* theWrappedObject, const QString& line, int number) -{ - return ( ((PythonQtPublicPromoter_QHttpHeader*)theWrappedObject)->promoted_parseLine(line, number)); -} - diff --git a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QHttpHeader.h b/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QHttpHeader.h deleted file mode 100644 index 52cb649..0000000 --- a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QHttpHeader.h +++ /dev/null @@ -1,62 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QHTTPHEADER_H -#define PYTHONQTWRAPPER_QHTTPHEADER_H - -#include -#include - -#include - -#include -#include -#include -#include - -class PythonQtShell_QHttpHeader : public QHttpHeader -{ -public: - PythonQtShell_QHttpHeader():QHttpHeader(),_wrapper(NULL) {}; - PythonQtShell_QHttpHeader(const QString& str):QHttpHeader(str),_wrapper(NULL) {}; - -virtual int majorVersion() const; -virtual int minorVersion() const; -virtual bool parseLine(const QString& line, int number); -virtual QString toString() const; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QHttpHeader : public QHttpHeader -{ public: -inline QString promoted_toString() const { return QHttpHeader::toString(); } -inline bool promoted_parseLine(const QString& line, int number) { return QHttpHeader::parseLine(line, number); } -}; - -class PythonQtWrapper_QHttpHeader : public QObject -{ Q_OBJECT -public: -public slots: -QHttpHeader* new_QHttpHeader(); -QHttpHeader* new_QHttpHeader(const QString& str); -void delete_QHttpHeader(QHttpHeader* obj) { delete obj; } - void removeAllValues(QHttpHeader* theWrappedObject, const QString& key); - void setValue(QHttpHeader* theWrappedObject, const QString& key, const QString& value); - bool isValid(QHttpHeader* theWrappedObject) const; - void removeValue(QHttpHeader* theWrappedObject, const QString& key); - QString toString(QHttpHeader* theWrappedObject) const; - void setContentType(QHttpHeader* theWrappedObject, const QString& type); - QString contentType(QHttpHeader* theWrappedObject) const; - bool hasContentLength(QHttpHeader* theWrappedObject) const; - bool hasContentType(QHttpHeader* theWrappedObject) const; - void setContentLength(QHttpHeader* theWrappedObject, int len); - void addValue(QHttpHeader* theWrappedObject, const QString& key, const QString& value); - QList > values(QHttpHeader* theWrappedObject) const; - uint contentLength(QHttpHeader* theWrappedObject) const; - bool hasKey(QHttpHeader* theWrappedObject, const QString& key) const; - QString value(QHttpHeader* theWrappedObject, const QString& key) const; - QStringList allValues(QHttpHeader* theWrappedObject, const QString& key) const; - void setValues(QHttpHeader* theWrappedObject, const QList >& values); - QStringList keys(QHttpHeader* theWrappedObject) const; - bool parseLine(QHttpHeader* theWrappedObject, const QString& line, int number); -}; - -#endif // PYTHONQTWRAPPER_QHTTPHEADER_H diff --git a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QHttpRequestHeader.cpp b/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QHttpRequestHeader.cpp deleted file mode 100644 index 824c924..0000000 --- a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QHttpRequestHeader.cpp +++ /dev/null @@ -1,174 +0,0 @@ -#include "PythonQtWrapper_QHttpRequestHeader.h" - -#include -#include -#include -#include -#include -#include -#include -#include - -int PythonQtShell_QHttpRequestHeader::majorVersion() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "majorVersion"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("majorVersion", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QHttpRequestHeader::majorVersion(); -} -int PythonQtShell_QHttpRequestHeader::minorVersion() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "minorVersion"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minorVersion", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QHttpRequestHeader::minorVersion(); -} -bool PythonQtShell_QHttpRequestHeader::parseLine(const QString& line, int number) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "parseLine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QString&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&line, (void*)&number}; - 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("parseLine", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QHttpRequestHeader::parseLine(line, number); -} -QString PythonQtShell_QHttpRequestHeader::toString() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "toString"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QString"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QString returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("toString", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QHttpRequestHeader::toString(); -} -QHttpRequestHeader* PythonQtWrapper_QHttpRequestHeader::new_QHttpRequestHeader() -{ -return new PythonQtShell_QHttpRequestHeader(); } - -QHttpRequestHeader* PythonQtWrapper_QHttpRequestHeader::new_QHttpRequestHeader(const QHttpRequestHeader& header) -{ -return new PythonQtShell_QHttpRequestHeader(header); } - -QHttpRequestHeader* PythonQtWrapper_QHttpRequestHeader::new_QHttpRequestHeader(const QString& method, const QString& path, int majorVer, int minorVer) -{ -return new PythonQtShell_QHttpRequestHeader(method, path, majorVer, minorVer); } - -QHttpRequestHeader* PythonQtWrapper_QHttpRequestHeader::new_QHttpRequestHeader(const QString& str) -{ -return new PythonQtShell_QHttpRequestHeader(str); } - -bool PythonQtWrapper_QHttpRequestHeader::parseLine(QHttpRequestHeader* theWrappedObject, const QString& line, int number) -{ - return ( ((PythonQtPublicPromoter_QHttpRequestHeader*)theWrappedObject)->promoted_parseLine(line, number)); -} - -QString PythonQtWrapper_QHttpRequestHeader::toString(QHttpRequestHeader* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QHttpRequestHeader*)theWrappedObject)->promoted_toString()); -} - -QString PythonQtWrapper_QHttpRequestHeader::path(QHttpRequestHeader* theWrappedObject) const -{ - return ( theWrappedObject->path()); -} - -void PythonQtWrapper_QHttpRequestHeader::setRequest(QHttpRequestHeader* theWrappedObject, const QString& method, const QString& path, int majorVer, int minorVer) -{ - ( theWrappedObject->setRequest(method, path, majorVer, minorVer)); -} - -int PythonQtWrapper_QHttpRequestHeader::majorVersion(QHttpRequestHeader* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QHttpRequestHeader*)theWrappedObject)->promoted_majorVersion()); -} - -QString PythonQtWrapper_QHttpRequestHeader::method(QHttpRequestHeader* theWrappedObject) const -{ - return ( theWrappedObject->method()); -} - -int PythonQtWrapper_QHttpRequestHeader::minorVersion(QHttpRequestHeader* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QHttpRequestHeader*)theWrappedObject)->promoted_minorVersion()); -} - diff --git a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QHttpRequestHeader.h b/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QHttpRequestHeader.h deleted file mode 100644 index 3e6a603..0000000 --- a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QHttpRequestHeader.h +++ /dev/null @@ -1,57 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QHTTPREQUESTHEADER_H -#define PYTHONQTWRAPPER_QHTTPREQUESTHEADER_H - -#include -#include - -#include - -#include -#include -#include -#include -#include - -class PythonQtShell_QHttpRequestHeader : public QHttpRequestHeader -{ -public: - PythonQtShell_QHttpRequestHeader():QHttpRequestHeader(),_wrapper(NULL) {}; - PythonQtShell_QHttpRequestHeader(const QHttpRequestHeader& header):QHttpRequestHeader(header),_wrapper(NULL) {}; - PythonQtShell_QHttpRequestHeader(const QString& method, const QString& path, int majorVer = 1, int minorVer = 1):QHttpRequestHeader(method, path, majorVer, minorVer),_wrapper(NULL) {}; - PythonQtShell_QHttpRequestHeader(const QString& str):QHttpRequestHeader(str),_wrapper(NULL) {}; - -virtual int majorVersion() const; -virtual int minorVersion() const; -virtual bool parseLine(const QString& line, int number); -virtual QString toString() const; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QHttpRequestHeader : public QHttpRequestHeader -{ public: -inline bool promoted_parseLine(const QString& line, int number) { return QHttpRequestHeader::parseLine(line, number); } -inline QString promoted_toString() const { return QHttpRequestHeader::toString(); } -inline int promoted_majorVersion() const { return QHttpRequestHeader::majorVersion(); } -inline int promoted_minorVersion() const { return QHttpRequestHeader::minorVersion(); } -}; - -class PythonQtWrapper_QHttpRequestHeader : public QObject -{ Q_OBJECT -public: -public slots: -QHttpRequestHeader* new_QHttpRequestHeader(); -QHttpRequestHeader* new_QHttpRequestHeader(const QHttpRequestHeader& header); -QHttpRequestHeader* new_QHttpRequestHeader(const QString& method, const QString& path, int majorVer = 1, int minorVer = 1); -QHttpRequestHeader* new_QHttpRequestHeader(const QString& str); -void delete_QHttpRequestHeader(QHttpRequestHeader* obj) { delete obj; } - bool parseLine(QHttpRequestHeader* theWrappedObject, const QString& line, int number); - QString toString(QHttpRequestHeader* theWrappedObject) const; - QString path(QHttpRequestHeader* theWrappedObject) const; - void setRequest(QHttpRequestHeader* theWrappedObject, const QString& method, const QString& path, int majorVer = 1, int minorVer = 1); - int majorVersion(QHttpRequestHeader* theWrappedObject) const; - QString method(QHttpRequestHeader* theWrappedObject) const; - int minorVersion(QHttpRequestHeader* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QHTTPREQUESTHEADER_H diff --git a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QHttpResponseHeader.cpp b/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QHttpResponseHeader.cpp deleted file mode 100644 index 22642cd..0000000 --- a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QHttpResponseHeader.cpp +++ /dev/null @@ -1,174 +0,0 @@ -#include "PythonQtWrapper_QHttpResponseHeader.h" - -#include -#include -#include -#include -#include -#include -#include -#include - -int PythonQtShell_QHttpResponseHeader::majorVersion() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "majorVersion"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("majorVersion", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QHttpResponseHeader::majorVersion(); -} -int PythonQtShell_QHttpResponseHeader::minorVersion() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "minorVersion"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minorVersion", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QHttpResponseHeader::minorVersion(); -} -bool PythonQtShell_QHttpResponseHeader::parseLine(const QString& line, int number) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "parseLine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QString&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&line, (void*)&number}; - 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("parseLine", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QHttpResponseHeader::parseLine(line, number); -} -QString PythonQtShell_QHttpResponseHeader::toString() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "toString"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QString"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QString returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("toString", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QHttpResponseHeader::toString(); -} -QHttpResponseHeader* PythonQtWrapper_QHttpResponseHeader::new_QHttpResponseHeader() -{ -return new PythonQtShell_QHttpResponseHeader(); } - -QHttpResponseHeader* PythonQtWrapper_QHttpResponseHeader::new_QHttpResponseHeader(const QHttpResponseHeader& header) -{ -return new PythonQtShell_QHttpResponseHeader(header); } - -QHttpResponseHeader* PythonQtWrapper_QHttpResponseHeader::new_QHttpResponseHeader(const QString& str) -{ -return new PythonQtShell_QHttpResponseHeader(str); } - -QHttpResponseHeader* PythonQtWrapper_QHttpResponseHeader::new_QHttpResponseHeader(int code, const QString& text, int majorVer, int minorVer) -{ -return new PythonQtShell_QHttpResponseHeader(code, text, majorVer, minorVer); } - -int PythonQtWrapper_QHttpResponseHeader::majorVersion(QHttpResponseHeader* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QHttpResponseHeader*)theWrappedObject)->promoted_majorVersion()); -} - -int PythonQtWrapper_QHttpResponseHeader::statusCode(QHttpResponseHeader* theWrappedObject) const -{ - return ( theWrappedObject->statusCode()); -} - -QString PythonQtWrapper_QHttpResponseHeader::toString(QHttpResponseHeader* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QHttpResponseHeader*)theWrappedObject)->promoted_toString()); -} - -QString PythonQtWrapper_QHttpResponseHeader::reasonPhrase(QHttpResponseHeader* theWrappedObject) const -{ - return ( theWrappedObject->reasonPhrase()); -} - -void PythonQtWrapper_QHttpResponseHeader::setStatusLine(QHttpResponseHeader* theWrappedObject, int code, const QString& text, int majorVer, int minorVer) -{ - ( theWrappedObject->setStatusLine(code, text, majorVer, minorVer)); -} - -int PythonQtWrapper_QHttpResponseHeader::minorVersion(QHttpResponseHeader* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QHttpResponseHeader*)theWrappedObject)->promoted_minorVersion()); -} - -bool PythonQtWrapper_QHttpResponseHeader::parseLine(QHttpResponseHeader* theWrappedObject, const QString& line, int number) -{ - return ( ((PythonQtPublicPromoter_QHttpResponseHeader*)theWrappedObject)->promoted_parseLine(line, number)); -} - diff --git a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QHttpResponseHeader.h b/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QHttpResponseHeader.h deleted file mode 100644 index 66de9a6..0000000 --- a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QHttpResponseHeader.h +++ /dev/null @@ -1,57 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QHTTPRESPONSEHEADER_H -#define PYTHONQTWRAPPER_QHTTPRESPONSEHEADER_H - -#include -#include - -#include - -#include -#include -#include -#include -#include - -class PythonQtShell_QHttpResponseHeader : public QHttpResponseHeader -{ -public: - PythonQtShell_QHttpResponseHeader():QHttpResponseHeader(),_wrapper(NULL) {}; - PythonQtShell_QHttpResponseHeader(const QHttpResponseHeader& header):QHttpResponseHeader(header),_wrapper(NULL) {}; - PythonQtShell_QHttpResponseHeader(const QString& str):QHttpResponseHeader(str),_wrapper(NULL) {}; - PythonQtShell_QHttpResponseHeader(int code, const QString& text = QString(), int majorVer = 1, int minorVer = 1):QHttpResponseHeader(code, text, majorVer, minorVer),_wrapper(NULL) {}; - -virtual int majorVersion() const; -virtual int minorVersion() const; -virtual bool parseLine(const QString& line, int number); -virtual QString toString() const; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QHttpResponseHeader : public QHttpResponseHeader -{ public: -inline int promoted_majorVersion() const { return QHttpResponseHeader::majorVersion(); } -inline QString promoted_toString() const { return QHttpResponseHeader::toString(); } -inline int promoted_minorVersion() const { return QHttpResponseHeader::minorVersion(); } -inline bool promoted_parseLine(const QString& line, int number) { return QHttpResponseHeader::parseLine(line, number); } -}; - -class PythonQtWrapper_QHttpResponseHeader : public QObject -{ Q_OBJECT -public: -public slots: -QHttpResponseHeader* new_QHttpResponseHeader(); -QHttpResponseHeader* new_QHttpResponseHeader(const QHttpResponseHeader& header); -QHttpResponseHeader* new_QHttpResponseHeader(const QString& str); -QHttpResponseHeader* new_QHttpResponseHeader(int code, const QString& text = QString(), int majorVer = 1, int minorVer = 1); -void delete_QHttpResponseHeader(QHttpResponseHeader* obj) { delete obj; } - int majorVersion(QHttpResponseHeader* theWrappedObject) const; - int statusCode(QHttpResponseHeader* theWrappedObject) const; - QString toString(QHttpResponseHeader* theWrappedObject) const; - QString reasonPhrase(QHttpResponseHeader* theWrappedObject) const; - void setStatusLine(QHttpResponseHeader* theWrappedObject, int code, const QString& text = QString(), int majorVer = 1, int minorVer = 1); - int minorVersion(QHttpResponseHeader* theWrappedObject) const; - bool parseLine(QHttpResponseHeader* theWrappedObject, const QString& line, int number); -}; - -#endif // PYTHONQTWRAPPER_QHTTPRESPONSEHEADER_H diff --git a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QIPv6Address.cpp b/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QIPv6Address.cpp deleted file mode 100644 index 79b04e9..0000000 --- a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QIPv6Address.cpp +++ /dev/null @@ -1,11 +0,0 @@ -#include "PythonQtWrapper_QIPv6Address.h" - -#include -#include -#include -#include - -QIPv6Address* PythonQtWrapper_QIPv6Address::new_QIPv6Address() -{ -return new PythonQtShell_QIPv6Address(); } - diff --git a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QIPv6Address.h b/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QIPv6Address.h deleted file mode 100644 index 702dc1c..0000000 --- a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QIPv6Address.h +++ /dev/null @@ -1,32 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QIPV6ADDRESS_H -#define PYTHONQTWRAPPER_QIPV6ADDRESS_H - -#include -#include - -#include - -#include - -class PythonQtShell_QIPv6Address : public QIPv6Address -{ -public: - PythonQtShell_QIPv6Address():QIPv6Address(),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QIPv6Address : public QObject -{ Q_OBJECT -public: -public slots: -QIPv6Address* new_QIPv6Address(); -QIPv6Address* new_QIPv6Address(const QIPv6Address& other) { -PythonQtShell_QIPv6Address* a = new PythonQtShell_QIPv6Address(); -*((QIPv6Address*)a) = other; -return a; } -void delete_QIPv6Address(QIPv6Address* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QIPV6ADDRESS_H diff --git a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QLocalServer.cpp b/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QLocalServer.cpp deleted file mode 100644 index 1cf9a52..0000000 --- a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QLocalServer.cpp +++ /dev/null @@ -1,262 +0,0 @@ -#include "PythonQtWrapper_QLocalServer.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QLocalServer::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; - } -} - QLocalServer::childEvent(arg__1); -} -void PythonQtShell_QLocalServer::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; - } -} - QLocalServer::customEvent(arg__1); -} -bool PythonQtShell_QLocalServer::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QLocalServer::event(arg__1); -} -bool PythonQtShell_QLocalServer::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QLocalServer::eventFilter(arg__1, arg__2); -} -bool PythonQtShell_QLocalServer::hasPendingConnections() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hasPendingConnections"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasPendingConnections", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QLocalServer::hasPendingConnections(); -} -void PythonQtShell_QLocalServer::incomingConnection(quintptr socketDescriptor) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "incomingConnection"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "quintptr"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&socketDescriptor}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QLocalServer::incomingConnection(socketDescriptor); -} -QLocalSocket* PythonQtShell_QLocalServer::nextPendingConnection() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "nextPendingConnection"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QLocalSocket*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QLocalSocket* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nextPendingConnection", methodInfo, result); - } else { - returnValue = *((QLocalSocket**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QLocalServer::nextPendingConnection(); -} -void PythonQtShell_QLocalServer::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; - } -} - QLocalServer::timerEvent(arg__1); -} -QLocalServer* PythonQtWrapper_QLocalServer::new_QLocalServer(QObject* parent) -{ -return new PythonQtShell_QLocalServer(parent); } - -void PythonQtWrapper_QLocalServer::incomingConnection(QLocalServer* theWrappedObject, quintptr socketDescriptor) -{ - ( ((PythonQtPublicPromoter_QLocalServer*)theWrappedObject)->promoted_incomingConnection(socketDescriptor)); -} - -bool PythonQtWrapper_QLocalServer::waitForNewConnection(QLocalServer* theWrappedObject, int msec, bool* timedOut) -{ - return ( theWrappedObject->waitForNewConnection(msec, timedOut)); -} - -QString PythonQtWrapper_QLocalServer::serverName(QLocalServer* theWrappedObject) const -{ - return ( theWrappedObject->serverName()); -} - -bool PythonQtWrapper_QLocalServer::listen(QLocalServer* theWrappedObject, const QString& name) -{ - return ( theWrappedObject->listen(name)); -} - -int PythonQtWrapper_QLocalServer::maxPendingConnections(QLocalServer* theWrappedObject) const -{ - return ( theWrappedObject->maxPendingConnections()); -} - -QLocalSocket* PythonQtWrapper_QLocalServer::nextPendingConnection(QLocalServer* theWrappedObject) -{ - return ( ((PythonQtPublicPromoter_QLocalServer*)theWrappedObject)->promoted_nextPendingConnection()); -} - -void PythonQtWrapper_QLocalServer::close(QLocalServer* theWrappedObject) -{ - ( theWrappedObject->close()); -} - -QString PythonQtWrapper_QLocalServer::errorString(QLocalServer* theWrappedObject) const -{ - return ( theWrappedObject->errorString()); -} - -void PythonQtWrapper_QLocalServer::setMaxPendingConnections(QLocalServer* theWrappedObject, int numConnections) -{ - ( theWrappedObject->setMaxPendingConnections(numConnections)); -} - -bool PythonQtWrapper_QLocalServer::hasPendingConnections(QLocalServer* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QLocalServer*)theWrappedObject)->promoted_hasPendingConnections()); -} - -bool PythonQtWrapper_QLocalServer::isListening(QLocalServer* theWrappedObject) const -{ - return ( theWrappedObject->isListening()); -} - -QAbstractSocket::SocketError PythonQtWrapper_QLocalServer::serverError(QLocalServer* theWrappedObject) const -{ - return ( theWrappedObject->serverError()); -} - -QString PythonQtWrapper_QLocalServer::fullServerName(QLocalServer* theWrappedObject) const -{ - return ( theWrappedObject->fullServerName()); -} - diff --git a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QLocalServer.h b/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QLocalServer.h deleted file mode 100644 index d19981e..0000000 --- a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QLocalServer.h +++ /dev/null @@ -1,62 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QLOCALSERVER_H -#define PYTHONQTWRAPPER_QLOCALSERVER_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QLocalServer : public QLocalServer -{ -public: - PythonQtShell_QLocalServer(QObject* parent = 0):QLocalServer(parent),_wrapper(NULL) {}; - -virtual void childEvent(QChildEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual bool hasPendingConnections() const; -virtual void incomingConnection(quintptr socketDescriptor); -virtual QLocalSocket* nextPendingConnection(); -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QLocalServer : public QLocalServer -{ public: -inline void promoted_incomingConnection(quintptr socketDescriptor) { QLocalServer::incomingConnection(socketDescriptor); } -inline QLocalSocket* promoted_nextPendingConnection() { return QLocalServer::nextPendingConnection(); } -inline bool promoted_hasPendingConnections() const { return QLocalServer::hasPendingConnections(); } -}; - -class PythonQtWrapper_QLocalServer : public QObject -{ Q_OBJECT -public: -public slots: -QLocalServer* new_QLocalServer(QObject* parent = 0); -void delete_QLocalServer(QLocalServer* obj) { delete obj; } - void incomingConnection(QLocalServer* theWrappedObject, quintptr socketDescriptor); - bool waitForNewConnection(QLocalServer* theWrappedObject, int msec = 0, bool* timedOut = 0); - QString serverName(QLocalServer* theWrappedObject) const; - bool listen(QLocalServer* theWrappedObject, const QString& name); - int maxPendingConnections(QLocalServer* theWrappedObject) const; - QLocalSocket* nextPendingConnection(QLocalServer* theWrappedObject); - void close(QLocalServer* theWrappedObject); - QString errorString(QLocalServer* theWrappedObject) const; - void setMaxPendingConnections(QLocalServer* theWrappedObject, int numConnections); - bool hasPendingConnections(QLocalServer* theWrappedObject) const; - bool isListening(QLocalServer* theWrappedObject) const; - QAbstractSocket::SocketError serverError(QLocalServer* theWrappedObject) const; - QString fullServerName(QLocalServer* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QLOCALSERVER_H diff --git a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QLocalSocket.cpp b/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QLocalSocket.cpp deleted file mode 100644 index e0c6c95..0000000 --- a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QLocalSocket.cpp +++ /dev/null @@ -1,680 +0,0 @@ -#include "PythonQtWrapper_QLocalSocket.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -bool PythonQtShell_QLocalSocket::atEnd() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "atEnd"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QLocalSocket::atEnd(); -} -qint64 PythonQtShell_QLocalSocket::bytesAvailable() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "bytesAvailable"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QLocalSocket::bytesAvailable(); -} -qint64 PythonQtShell_QLocalSocket::bytesToWrite() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "bytesToWrite"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QLocalSocket::bytesToWrite(); -} -bool PythonQtShell_QLocalSocket::canReadLine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "canReadLine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QLocalSocket::canReadLine(); -} -void PythonQtShell_QLocalSocket::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; - } -} - QLocalSocket::childEvent(arg__1); -} -void PythonQtShell_QLocalSocket::close() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "close"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QLocalSocket::close(); -} -void PythonQtShell_QLocalSocket::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; - } -} - QLocalSocket::customEvent(arg__1); -} -bool PythonQtShell_QLocalSocket::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QLocalSocket::event(arg__1); -} -bool PythonQtShell_QLocalSocket::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QLocalSocket::eventFilter(arg__1, arg__2); -} -bool PythonQtShell_QLocalSocket::isSequential() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isSequential"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QLocalSocket::isSequential(); -} -bool PythonQtShell_QLocalSocket::open(QIODevice::OpenMode mode) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "open"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&mode}; - 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("open", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QLocalSocket::open(mode); -} -qint64 PythonQtShell_QLocalSocket::pos() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "pos"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QLocalSocket::pos(); -} -qint64 PythonQtShell_QLocalSocket::readData(char* arg__1, qint64 arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "readData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 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("readData", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QLocalSocket::readData(arg__1, arg__2); -} -qint64 PythonQtShell_QLocalSocket::readLineData(char* data, qint64 maxlen) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "readLineData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - 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}; - 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("readLineData", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QLocalSocket::readLineData(data, maxlen); -} -bool PythonQtShell_QLocalSocket::reset() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reset"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QLocalSocket::reset(); -} -bool PythonQtShell_QLocalSocket::seek(qint64 pos) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "seek"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&pos}; - 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("seek", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QLocalSocket::seek(pos); -} -qint64 PythonQtShell_QLocalSocket::size() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "size"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QLocalSocket::size(); -} -void PythonQtShell_QLocalSocket::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; - } -} - QLocalSocket::timerEvent(arg__1); -} -bool PythonQtShell_QLocalSocket::waitForBytesWritten(int msecs) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "waitForBytesWritten"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&msecs}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("waitForBytesWritten", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QLocalSocket::waitForBytesWritten(msecs); -} -bool PythonQtShell_QLocalSocket::waitForReadyRead(int msecs) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "waitForReadyRead"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&msecs}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("waitForReadyRead", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QLocalSocket::waitForReadyRead(msecs); -} -qint64 PythonQtShell_QLocalSocket::writeData(const char* arg__1, qint64 arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "writeData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 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("writeData", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QLocalSocket::writeData(arg__1, arg__2); -} -QLocalSocket* PythonQtWrapper_QLocalSocket::new_QLocalSocket(QObject* parent) -{ -return new PythonQtShell_QLocalSocket(parent); } - -bool PythonQtWrapper_QLocalSocket::isSequential(QLocalSocket* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QLocalSocket*)theWrappedObject)->promoted_isSequential()); -} - -QLocalSocket::LocalSocketError PythonQtWrapper_QLocalSocket::error(QLocalSocket* theWrappedObject) const -{ - return ( theWrappedObject->error()); -} - -qint64 PythonQtWrapper_QLocalSocket::readBufferSize(QLocalSocket* theWrappedObject) const -{ - return ( theWrappedObject->readBufferSize()); -} - -qint64 PythonQtWrapper_QLocalSocket::readData(QLocalSocket* theWrappedObject, char* arg__1, qint64 arg__2) -{ - return ( ((PythonQtPublicPromoter_QLocalSocket*)theWrappedObject)->promoted_readData(arg__1, arg__2)); -} - -bool PythonQtWrapper_QLocalSocket::flush(QLocalSocket* theWrappedObject) -{ - return ( theWrappedObject->flush()); -} - -QString PythonQtWrapper_QLocalSocket::serverName(QLocalSocket* theWrappedObject) const -{ - return ( theWrappedObject->serverName()); -} - -void PythonQtWrapper_QLocalSocket::close(QLocalSocket* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QLocalSocket*)theWrappedObject)->promoted_close()); -} - -qint64 PythonQtWrapper_QLocalSocket::writeData(QLocalSocket* theWrappedObject, const char* arg__1, qint64 arg__2) -{ - return ( ((PythonQtPublicPromoter_QLocalSocket*)theWrappedObject)->promoted_writeData(arg__1, arg__2)); -} - -bool PythonQtWrapper_QLocalSocket::waitForBytesWritten(QLocalSocket* theWrappedObject, int msecs) -{ - return ( ((PythonQtPublicPromoter_QLocalSocket*)theWrappedObject)->promoted_waitForBytesWritten(msecs)); -} - -bool PythonQtWrapper_QLocalSocket::waitForConnected(QLocalSocket* theWrappedObject, int msecs) -{ - return ( theWrappedObject->waitForConnected(msecs)); -} - -bool PythonQtWrapper_QLocalSocket::setSocketDescriptor(QLocalSocket* theWrappedObject, quintptr socketDescriptor, QLocalSocket::LocalSocketState socketState, QIODevice::OpenMode openMode) -{ - return ( theWrappedObject->setSocketDescriptor(socketDescriptor, socketState, openMode)); -} - -qint64 PythonQtWrapper_QLocalSocket::bytesAvailable(QLocalSocket* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QLocalSocket*)theWrappedObject)->promoted_bytesAvailable()); -} - -QString PythonQtWrapper_QLocalSocket::fullServerName(QLocalSocket* theWrappedObject) const -{ - return ( theWrappedObject->fullServerName()); -} - -bool PythonQtWrapper_QLocalSocket::waitForDisconnected(QLocalSocket* theWrappedObject, int msecs) -{ - return ( theWrappedObject->waitForDisconnected(msecs)); -} - -bool PythonQtWrapper_QLocalSocket::isValid(QLocalSocket* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -bool PythonQtWrapper_QLocalSocket::waitForReadyRead(QLocalSocket* theWrappedObject, int msecs) -{ - return ( ((PythonQtPublicPromoter_QLocalSocket*)theWrappedObject)->promoted_waitForReadyRead(msecs)); -} - -void PythonQtWrapper_QLocalSocket::abort(QLocalSocket* theWrappedObject) -{ - ( theWrappedObject->abort()); -} - -void PythonQtWrapper_QLocalSocket::setReadBufferSize(QLocalSocket* theWrappedObject, qint64 size) -{ - ( theWrappedObject->setReadBufferSize(size)); -} - -void PythonQtWrapper_QLocalSocket::connectToServer(QLocalSocket* theWrappedObject, const QString& name, QIODevice::OpenMode openMode) -{ - ( theWrappedObject->connectToServer(name, openMode)); -} - -bool PythonQtWrapper_QLocalSocket::canReadLine(QLocalSocket* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QLocalSocket*)theWrappedObject)->promoted_canReadLine()); -} - -quintptr PythonQtWrapper_QLocalSocket::socketDescriptor(QLocalSocket* theWrappedObject) const -{ - return ( theWrappedObject->socketDescriptor()); -} - -QLocalSocket::LocalSocketState PythonQtWrapper_QLocalSocket::state(QLocalSocket* theWrappedObject) const -{ - return ( theWrappedObject->state()); -} - -void PythonQtWrapper_QLocalSocket::disconnectFromServer(QLocalSocket* theWrappedObject) -{ - ( theWrappedObject->disconnectFromServer()); -} - -qint64 PythonQtWrapper_QLocalSocket::bytesToWrite(QLocalSocket* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QLocalSocket*)theWrappedObject)->promoted_bytesToWrite()); -} - diff --git a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QLocalSocket.h b/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QLocalSocket.h deleted file mode 100644 index 7aa3c5e..0000000 --- a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QLocalSocket.h +++ /dev/null @@ -1,96 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QLOCALSOCKET_H -#define PYTHONQTWRAPPER_QLOCALSOCKET_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QLocalSocket : public QLocalSocket -{ -public: - PythonQtShell_QLocalSocket(QObject* parent = 0):QLocalSocket(parent),_wrapper(NULL) {}; - -virtual bool atEnd() const; -virtual qint64 bytesAvailable() const; -virtual qint64 bytesToWrite() const; -virtual bool canReadLine() const; -virtual void childEvent(QChildEvent* arg__1); -virtual void close(); -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual bool isSequential() const; -virtual bool open(QIODevice::OpenMode mode); -virtual qint64 pos() const; -virtual qint64 readData(char* arg__1, qint64 arg__2); -virtual qint64 readLineData(char* data, qint64 maxlen); -virtual bool reset(); -virtual bool seek(qint64 pos); -virtual qint64 size() const; -virtual void timerEvent(QTimerEvent* arg__1); -virtual bool waitForBytesWritten(int msecs = 30000); -virtual bool waitForReadyRead(int msecs = 30000); -virtual qint64 writeData(const char* arg__1, qint64 arg__2); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QLocalSocket : public QLocalSocket -{ public: -inline bool promoted_isSequential() const { return QLocalSocket::isSequential(); } -inline qint64 promoted_readData(char* arg__1, qint64 arg__2) { return QLocalSocket::readData(arg__1, arg__2); } -inline void promoted_close() { QLocalSocket::close(); } -inline qint64 promoted_writeData(const char* arg__1, qint64 arg__2) { return QLocalSocket::writeData(arg__1, arg__2); } -inline bool promoted_waitForBytesWritten(int msecs = 30000) { return QLocalSocket::waitForBytesWritten(msecs); } -inline qint64 promoted_bytesAvailable() const { return QLocalSocket::bytesAvailable(); } -inline bool promoted_waitForReadyRead(int msecs = 30000) { return QLocalSocket::waitForReadyRead(msecs); } -inline bool promoted_canReadLine() const { return QLocalSocket::canReadLine(); } -inline qint64 promoted_bytesToWrite() const { return QLocalSocket::bytesToWrite(); } -}; - -class PythonQtWrapper_QLocalSocket : public QObject -{ Q_OBJECT -public: -Q_ENUMS(LocalSocketState LocalSocketError ) -enum LocalSocketState{ - UnconnectedState = QLocalSocket::UnconnectedState, ConnectingState = QLocalSocket::ConnectingState, ConnectedState = QLocalSocket::ConnectedState, ClosingState = QLocalSocket::ClosingState}; -enum LocalSocketError{ - ConnectionRefusedError = QLocalSocket::ConnectionRefusedError, PeerClosedError = QLocalSocket::PeerClosedError, ServerNotFoundError = QLocalSocket::ServerNotFoundError, SocketAccessError = QLocalSocket::SocketAccessError, SocketResourceError = QLocalSocket::SocketResourceError, SocketTimeoutError = QLocalSocket::SocketTimeoutError, DatagramTooLargeError = QLocalSocket::DatagramTooLargeError, ConnectionError = QLocalSocket::ConnectionError, UnsupportedSocketOperationError = QLocalSocket::UnsupportedSocketOperationError, UnknownSocketError = QLocalSocket::UnknownSocketError}; -public slots: -QLocalSocket* new_QLocalSocket(QObject* parent = 0); -void delete_QLocalSocket(QLocalSocket* obj) { delete obj; } - bool isSequential(QLocalSocket* theWrappedObject) const; - QLocalSocket::LocalSocketError error(QLocalSocket* theWrappedObject) const; - qint64 readBufferSize(QLocalSocket* theWrappedObject) const; - qint64 readData(QLocalSocket* theWrappedObject, char* arg__1, qint64 arg__2); - bool flush(QLocalSocket* theWrappedObject); - QString serverName(QLocalSocket* theWrappedObject) const; - void close(QLocalSocket* theWrappedObject); - qint64 writeData(QLocalSocket* theWrappedObject, const char* arg__1, qint64 arg__2); - bool waitForBytesWritten(QLocalSocket* theWrappedObject, int msecs = 30000); - bool waitForConnected(QLocalSocket* theWrappedObject, int msecs = 30000); - bool setSocketDescriptor(QLocalSocket* theWrappedObject, quintptr socketDescriptor, QLocalSocket::LocalSocketState socketState = QLocalSocket::ConnectedState, QIODevice::OpenMode openMode = QIODevice::ReadWrite); - qint64 bytesAvailable(QLocalSocket* theWrappedObject) const; - QString fullServerName(QLocalSocket* theWrappedObject) const; - bool waitForDisconnected(QLocalSocket* theWrappedObject, int msecs = 30000); - bool isValid(QLocalSocket* theWrappedObject) const; - bool waitForReadyRead(QLocalSocket* theWrappedObject, int msecs = 30000); - void abort(QLocalSocket* theWrappedObject); - void setReadBufferSize(QLocalSocket* theWrappedObject, qint64 size); - void connectToServer(QLocalSocket* theWrappedObject, const QString& name, QIODevice::OpenMode openMode = QIODevice::ReadWrite); - bool canReadLine(QLocalSocket* theWrappedObject) const; - quintptr socketDescriptor(QLocalSocket* theWrappedObject) const; - QLocalSocket::LocalSocketState state(QLocalSocket* theWrappedObject) const; - void disconnectFromServer(QLocalSocket* theWrappedObject); - qint64 bytesToWrite(QLocalSocket* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QLOCALSOCKET_H diff --git a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QNetworkAccessManager.cpp b/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QNetworkAccessManager.cpp deleted file mode 100644 index 9a569d1..0000000 --- a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QNetworkAccessManager.cpp +++ /dev/null @@ -1,211 +0,0 @@ -#include "PythonQtWrapper_QNetworkAccessManager.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QNetworkAccessManager::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; - } -} - QNetworkAccessManager::childEvent(arg__1); -} -QNetworkReply* PythonQtShell_QNetworkAccessManager::createRequest(QNetworkAccessManager::Operation op, const QNetworkRequest& request, QIODevice* outgoingData) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "createRequest"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QNetworkReply*" , "QNetworkAccessManager::Operation" , "const QNetworkRequest&" , "QIODevice*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QNetworkReply* returnValue; - void* args[4] = {NULL, (void*)&op, (void*)&request, (void*)&outgoingData}; - 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("createRequest", methodInfo, result); - } else { - returnValue = *((QNetworkReply**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QNetworkAccessManager::createRequest(op, request, outgoingData); -} -void PythonQtShell_QNetworkAccessManager::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; - } -} - QNetworkAccessManager::customEvent(arg__1); -} -bool PythonQtShell_QNetworkAccessManager::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QNetworkAccessManager::event(arg__1); -} -bool PythonQtShell_QNetworkAccessManager::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QNetworkAccessManager::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QNetworkAccessManager::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; - } -} - QNetworkAccessManager::timerEvent(arg__1); -} -QNetworkAccessManager* PythonQtWrapper_QNetworkAccessManager::new_QNetworkAccessManager(QObject* parent) -{ -return new PythonQtShell_QNetworkAccessManager(parent); } - -void PythonQtWrapper_QNetworkAccessManager::setProxy(QNetworkAccessManager* theWrappedObject, const QNetworkProxy& proxy) -{ - ( theWrappedObject->setProxy(proxy)); -} - -QNetworkReply* PythonQtWrapper_QNetworkAccessManager::head(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request) -{ - return ( theWrappedObject->head(request)); -} - -QNetworkReply* PythonQtWrapper_QNetworkAccessManager::post(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request, const QByteArray& data) -{ - return ( theWrappedObject->post(request, data)); -} - -QNetworkReply* PythonQtWrapper_QNetworkAccessManager::get(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request) -{ - return ( theWrappedObject->get(request)); -} - -QNetworkProxy PythonQtWrapper_QNetworkAccessManager::proxy(QNetworkAccessManager* theWrappedObject) const -{ - return ( theWrappedObject->proxy()); -} - -void PythonQtWrapper_QNetworkAccessManager::setCookieJar(QNetworkAccessManager* theWrappedObject, QNetworkCookieJar* cookieJar) -{ - ( theWrappedObject->setCookieJar(cookieJar)); -} - -QNetworkReply* PythonQtWrapper_QNetworkAccessManager::put(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request, const QByteArray& data) -{ - return ( theWrappedObject->put(request, data)); -} - -QNetworkReply* PythonQtWrapper_QNetworkAccessManager::put(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request, QIODevice* data) -{ - return ( theWrappedObject->put(request, data)); -} - -QNetworkCookieJar* PythonQtWrapper_QNetworkAccessManager::cookieJar(QNetworkAccessManager* theWrappedObject) const -{ - return ( theWrappedObject->cookieJar()); -} - -QNetworkReply* PythonQtWrapper_QNetworkAccessManager::post(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request, QIODevice* data) -{ - return ( theWrappedObject->post(request, data)); -} - -QNetworkReply* PythonQtWrapper_QNetworkAccessManager::createRequest(QNetworkAccessManager* theWrappedObject, QNetworkAccessManager::Operation op, const QNetworkRequest& request, QIODevice* outgoingData) -{ - return ( ((PythonQtPublicPromoter_QNetworkAccessManager*)theWrappedObject)->promoted_createRequest(op, request, outgoingData)); -} - diff --git a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QNetworkAccessManager.h b/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QNetworkAccessManager.h deleted file mode 100644 index 9fff49c..0000000 --- a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QNetworkAccessManager.h +++ /dev/null @@ -1,63 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QNETWORKACCESSMANAGER_H -#define PYTHONQTWRAPPER_QNETWORKACCESSMANAGER_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QNetworkAccessManager : public QNetworkAccessManager -{ -public: - PythonQtShell_QNetworkAccessManager(QObject* parent = 0):QNetworkAccessManager(parent),_wrapper(NULL) {}; - -virtual void childEvent(QChildEvent* arg__1); -virtual QNetworkReply* createRequest(QNetworkAccessManager::Operation op, const QNetworkRequest& request, QIODevice* outgoingData = 0); -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QNetworkAccessManager : public QNetworkAccessManager -{ public: -inline QNetworkReply* promoted_createRequest(QNetworkAccessManager::Operation op, const QNetworkRequest& request, QIODevice* outgoingData = 0) { return QNetworkAccessManager::createRequest(op, request, outgoingData); } -}; - -class PythonQtWrapper_QNetworkAccessManager : public QObject -{ Q_OBJECT -public: -Q_ENUMS(Operation ) -enum Operation{ - HeadOperation = QNetworkAccessManager::HeadOperation, GetOperation = QNetworkAccessManager::GetOperation, PutOperation = QNetworkAccessManager::PutOperation, PostOperation = QNetworkAccessManager::PostOperation, UnknownOperation = QNetworkAccessManager::UnknownOperation}; -public slots: -QNetworkAccessManager* new_QNetworkAccessManager(QObject* parent = 0); -void delete_QNetworkAccessManager(QNetworkAccessManager* obj) { delete obj; } - void setProxy(QNetworkAccessManager* theWrappedObject, const QNetworkProxy& proxy); - QNetworkReply* head(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request); - QNetworkReply* post(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request, const QByteArray& data); - QNetworkReply* get(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request); - QNetworkProxy proxy(QNetworkAccessManager* theWrappedObject) const; - void setCookieJar(QNetworkAccessManager* theWrappedObject, QNetworkCookieJar* cookieJar); - QNetworkReply* put(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request, const QByteArray& data); - QNetworkReply* put(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request, QIODevice* data); - QNetworkCookieJar* cookieJar(QNetworkAccessManager* theWrappedObject) const; - QNetworkReply* post(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request, QIODevice* data); - QNetworkReply* createRequest(QNetworkAccessManager* theWrappedObject, QNetworkAccessManager::Operation op, const QNetworkRequest& request, QIODevice* outgoingData = 0); -}; - -#endif // PYTHONQTWRAPPER_QNETWORKACCESSMANAGER_H diff --git a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QNetworkAddressEntry.cpp b/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QNetworkAddressEntry.cpp deleted file mode 100644 index f416077..0000000 --- a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QNetworkAddressEntry.cpp +++ /dev/null @@ -1,47 +0,0 @@ -#include "PythonQtWrapper_QNetworkAddressEntry.h" - -#include -#include -#include -#include -#include -#include - -QNetworkAddressEntry* PythonQtWrapper_QNetworkAddressEntry::new_QNetworkAddressEntry() -{ -return new QNetworkAddressEntry(); } - -QNetworkAddressEntry* PythonQtWrapper_QNetworkAddressEntry::new_QNetworkAddressEntry(const QNetworkAddressEntry& other) -{ -return new QNetworkAddressEntry(other); } - -QHostAddress PythonQtWrapper_QNetworkAddressEntry::netmask(QNetworkAddressEntry* theWrappedObject) const -{ - return ( theWrappedObject->netmask()); -} - -void PythonQtWrapper_QNetworkAddressEntry::setBroadcast(QNetworkAddressEntry* theWrappedObject, const QHostAddress& newBroadcast) -{ - ( theWrappedObject->setBroadcast(newBroadcast)); -} - -QHostAddress PythonQtWrapper_QNetworkAddressEntry::broadcast(QNetworkAddressEntry* theWrappedObject) const -{ - return ( theWrappedObject->broadcast()); -} - -void PythonQtWrapper_QNetworkAddressEntry::setNetmask(QNetworkAddressEntry* theWrappedObject, const QHostAddress& newNetmask) -{ - ( theWrappedObject->setNetmask(newNetmask)); -} - -void PythonQtWrapper_QNetworkAddressEntry::setIp(QNetworkAddressEntry* theWrappedObject, const QHostAddress& newIp) -{ - ( theWrappedObject->setIp(newIp)); -} - -QHostAddress PythonQtWrapper_QNetworkAddressEntry::ip(QNetworkAddressEntry* theWrappedObject) const -{ - return ( theWrappedObject->ip()); -} - diff --git a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QNetworkAddressEntry.h b/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QNetworkAddressEntry.h deleted file mode 100644 index f9c6ee6..0000000 --- a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QNetworkAddressEntry.h +++ /dev/null @@ -1,28 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QNETWORKADDRESSENTRY_H -#define PYTHONQTWRAPPER_QNETWORKADDRESSENTRY_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtWrapper_QNetworkAddressEntry : public QObject -{ Q_OBJECT -public: -public slots: -QNetworkAddressEntry* new_QNetworkAddressEntry(); -QNetworkAddressEntry* new_QNetworkAddressEntry(const QNetworkAddressEntry& other); -void delete_QNetworkAddressEntry(QNetworkAddressEntry* obj) { delete obj; } - QHostAddress netmask(QNetworkAddressEntry* theWrappedObject) const; - void setBroadcast(QNetworkAddressEntry* theWrappedObject, const QHostAddress& newBroadcast); - QHostAddress broadcast(QNetworkAddressEntry* theWrappedObject) const; - void setNetmask(QNetworkAddressEntry* theWrappedObject, const QHostAddress& newNetmask); - void setIp(QNetworkAddressEntry* theWrappedObject, const QHostAddress& newIp); - QHostAddress ip(QNetworkAddressEntry* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QNETWORKADDRESSENTRY_H diff --git a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QNetworkCookie.cpp b/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QNetworkCookie.cpp deleted file mode 100644 index dd0f1af..0000000 --- a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QNetworkCookie.cpp +++ /dev/null @@ -1,107 +0,0 @@ -#include "PythonQtWrapper_QNetworkCookie.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QNetworkCookie* PythonQtWrapper_QNetworkCookie::new_QNetworkCookie(const QByteArray& name, const QByteArray& value) -{ -return new QNetworkCookie(name, value); } - -QNetworkCookie* PythonQtWrapper_QNetworkCookie::new_QNetworkCookie(const QNetworkCookie& other) -{ -return new QNetworkCookie(other); } - -void PythonQtWrapper_QNetworkCookie::setExpirationDate(QNetworkCookie* theWrappedObject, const QDateTime& date) -{ - ( theWrappedObject->setExpirationDate(date)); -} - -void PythonQtWrapper_QNetworkCookie::setSecure(QNetworkCookie* theWrappedObject, bool enable) -{ - ( theWrappedObject->setSecure(enable)); -} - -QList PythonQtWrapper_QNetworkCookie::static_QNetworkCookie_parseCookies(const QByteArray& cookieString) -{ - return (QNetworkCookie::parseCookies(cookieString)); -} - -QByteArray PythonQtWrapper_QNetworkCookie::value(QNetworkCookie* theWrappedObject) const -{ - return ( theWrappedObject->value()); -} - -void PythonQtWrapper_QNetworkCookie::setName(QNetworkCookie* theWrappedObject, const QByteArray& cookieName) -{ - ( theWrappedObject->setName(cookieName)); -} - -QString PythonQtWrapper_QNetworkCookie::path(QNetworkCookie* theWrappedObject) const -{ - return ( theWrappedObject->path()); -} - -bool PythonQtWrapper_QNetworkCookie::operator_equal(QNetworkCookie* theWrappedObject, const QNetworkCookie& other) const -{ - return ( (*theWrappedObject)== other); -} - -void PythonQtWrapper_QNetworkCookie::setValue(QNetworkCookie* theWrappedObject, const QByteArray& value) -{ - ( theWrappedObject->setValue(value)); -} - -QByteArray PythonQtWrapper_QNetworkCookie::toRawForm(QNetworkCookie* theWrappedObject, QNetworkCookie::RawForm form) const -{ - return ( theWrappedObject->toRawForm(form)); -} - -void PythonQtWrapper_QNetworkCookie::setDomain(QNetworkCookie* theWrappedObject, const QString& domain) -{ - ( theWrappedObject->setDomain(domain)); -} - -QString PythonQtWrapper_QNetworkCookie::domain(QNetworkCookie* theWrappedObject) const -{ - return ( theWrappedObject->domain()); -} - -QDateTime PythonQtWrapper_QNetworkCookie::expirationDate(QNetworkCookie* theWrappedObject) const -{ - return ( theWrappedObject->expirationDate()); -} - -bool PythonQtWrapper_QNetworkCookie::isSecure(QNetworkCookie* theWrappedObject) const -{ - return ( theWrappedObject->isSecure()); -} - -bool PythonQtWrapper_QNetworkCookie::isSessionCookie(QNetworkCookie* theWrappedObject) const -{ - return ( theWrappedObject->isSessionCookie()); -} - -void PythonQtWrapper_QNetworkCookie::setPath(QNetworkCookie* theWrappedObject, const QString& path) -{ - ( theWrappedObject->setPath(path)); -} - -QByteArray PythonQtWrapper_QNetworkCookie::name(QNetworkCookie* theWrappedObject) const -{ - return ( theWrappedObject->name()); -} - -QString PythonQtWrapper_QNetworkCookie::toString(QNetworkCookie* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; -} - diff --git a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QNetworkCookie.h b/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QNetworkCookie.h deleted file mode 100644 index 8c0b43c..0000000 --- a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QNetworkCookie.h +++ /dev/null @@ -1,45 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QNETWORKCOOKIE_H -#define PYTHONQTWRAPPER_QNETWORKCOOKIE_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include - -class PythonQtWrapper_QNetworkCookie : public QObject -{ Q_OBJECT -public: -Q_ENUMS(RawForm ) -enum RawForm{ - NameAndValueOnly = QNetworkCookie::NameAndValueOnly, Full = QNetworkCookie::Full}; -public slots: -QNetworkCookie* new_QNetworkCookie(const QByteArray& name = QByteArray(), const QByteArray& value = QByteArray()); -QNetworkCookie* new_QNetworkCookie(const QNetworkCookie& other); -void delete_QNetworkCookie(QNetworkCookie* obj) { delete obj; } - void setExpirationDate(QNetworkCookie* theWrappedObject, const QDateTime& date); - void setSecure(QNetworkCookie* theWrappedObject, bool enable); - QList static_QNetworkCookie_parseCookies(const QByteArray& cookieString); - QByteArray value(QNetworkCookie* theWrappedObject) const; - void setName(QNetworkCookie* theWrappedObject, const QByteArray& cookieName); - QString path(QNetworkCookie* theWrappedObject) const; - bool operator_equal(QNetworkCookie* theWrappedObject, const QNetworkCookie& other) const; - void setValue(QNetworkCookie* theWrappedObject, const QByteArray& value); - QByteArray toRawForm(QNetworkCookie* theWrappedObject, QNetworkCookie::RawForm form = QNetworkCookie::Full) const; - void setDomain(QNetworkCookie* theWrappedObject, const QString& domain); - QString domain(QNetworkCookie* theWrappedObject) const; - QDateTime expirationDate(QNetworkCookie* theWrappedObject) const; - bool isSecure(QNetworkCookie* theWrappedObject) const; - bool isSessionCookie(QNetworkCookie* theWrappedObject) const; - void setPath(QNetworkCookie* theWrappedObject, const QString& path); - QByteArray name(QNetworkCookie* theWrappedObject) const; - QString toString(QNetworkCookie*); -}; - -#endif // PYTHONQTWRAPPER_QNETWORKCOOKIE_H diff --git a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QNetworkCookieJar.cpp b/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QNetworkCookieJar.cpp deleted file mode 100644 index 339473f..0000000 --- a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QNetworkCookieJar.cpp +++ /dev/null @@ -1,190 +0,0 @@ -#include "PythonQtWrapper_QNetworkCookieJar.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QNetworkCookieJar::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; - } -} - QNetworkCookieJar::childEvent(arg__1); -} -QList PythonQtShell_QNetworkCookieJar::cookiesForUrl(const QUrl& url) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "cookiesForUrl"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QList" , "const QUrl&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QList returnValue; - void* args[2] = {NULL, (void*)&url}; - 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("cookiesForUrl", methodInfo, result); - } else { - returnValue = *((QList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QNetworkCookieJar::cookiesForUrl(url); -} -void PythonQtShell_QNetworkCookieJar::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; - } -} - QNetworkCookieJar::customEvent(arg__1); -} -bool PythonQtShell_QNetworkCookieJar::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QNetworkCookieJar::event(arg__1); -} -bool PythonQtShell_QNetworkCookieJar::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QNetworkCookieJar::eventFilter(arg__1, arg__2); -} -bool PythonQtShell_QNetworkCookieJar::setCookiesFromUrl(const QList& cookieList, const QUrl& url) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setCookiesFromUrl"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QList&" , "const QUrl&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&cookieList, (void*)&url}; - 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("setCookiesFromUrl", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QNetworkCookieJar::setCookiesFromUrl(cookieList, url); -} -void PythonQtShell_QNetworkCookieJar::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; - } -} - QNetworkCookieJar::timerEvent(arg__1); -} -QNetworkCookieJar* PythonQtWrapper_QNetworkCookieJar::new_QNetworkCookieJar(QObject* parent) -{ -return new PythonQtShell_QNetworkCookieJar(parent); } - -QList PythonQtWrapper_QNetworkCookieJar::cookiesForUrl(QNetworkCookieJar* theWrappedObject, const QUrl& url) const -{ - return ( ((PythonQtPublicPromoter_QNetworkCookieJar*)theWrappedObject)->promoted_cookiesForUrl(url)); -} - -bool PythonQtWrapper_QNetworkCookieJar::setCookiesFromUrl(QNetworkCookieJar* theWrappedObject, const QList& cookieList, const QUrl& url) -{ - return ( ((PythonQtPublicPromoter_QNetworkCookieJar*)theWrappedObject)->promoted_setCookiesFromUrl(cookieList, url)); -} - diff --git a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QNetworkCookieJar.h b/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QNetworkCookieJar.h deleted file mode 100644 index 560e773..0000000 --- a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QNetworkCookieJar.h +++ /dev/null @@ -1,49 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QNETWORKCOOKIEJAR_H -#define PYTHONQTWRAPPER_QNETWORKCOOKIEJAR_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QNetworkCookieJar : public QNetworkCookieJar -{ -public: - PythonQtShell_QNetworkCookieJar(QObject* parent = 0):QNetworkCookieJar(parent),_wrapper(NULL) {}; - -virtual void childEvent(QChildEvent* arg__1); -virtual QList cookiesForUrl(const QUrl& url) const; -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual bool setCookiesFromUrl(const QList& cookieList, const QUrl& url); -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QNetworkCookieJar : public QNetworkCookieJar -{ public: -inline QList promoted_cookiesForUrl(const QUrl& url) const { return QNetworkCookieJar::cookiesForUrl(url); } -inline bool promoted_setCookiesFromUrl(const QList& cookieList, const QUrl& url) { return QNetworkCookieJar::setCookiesFromUrl(cookieList, url); } -}; - -class PythonQtWrapper_QNetworkCookieJar : public QObject -{ Q_OBJECT -public: -public slots: -QNetworkCookieJar* new_QNetworkCookieJar(QObject* parent = 0); -void delete_QNetworkCookieJar(QNetworkCookieJar* obj) { delete obj; } - QList cookiesForUrl(QNetworkCookieJar* theWrappedObject, const QUrl& url) const; - bool setCookiesFromUrl(QNetworkCookieJar* theWrappedObject, const QList& cookieList, const QUrl& url); -}; - -#endif // PYTHONQTWRAPPER_QNETWORKCOOKIEJAR_H diff --git a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QNetworkInterface.cpp b/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QNetworkInterface.cpp deleted file mode 100644 index dfc0947..0000000 --- a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QNetworkInterface.cpp +++ /dev/null @@ -1,70 +0,0 @@ -#include "PythonQtWrapper_QNetworkInterface.h" - -#include -#include -#include -#include -#include -#include -#include - -QNetworkInterface* PythonQtWrapper_QNetworkInterface::new_QNetworkInterface() -{ -return new QNetworkInterface(); } - -QNetworkInterface* PythonQtWrapper_QNetworkInterface::new_QNetworkInterface(const QNetworkInterface& other) -{ -return new QNetworkInterface(other); } - -QList PythonQtWrapper_QNetworkInterface::static_QNetworkInterface_allAddresses() -{ - return (QNetworkInterface::allAddresses()); -} - -QNetworkInterface::InterfaceFlags PythonQtWrapper_QNetworkInterface::flags(QNetworkInterface* theWrappedObject) const -{ - return ( theWrappedObject->flags()); -} - -QString PythonQtWrapper_QNetworkInterface::name(QNetworkInterface* theWrappedObject) const -{ - return ( theWrappedObject->name()); -} - -QString PythonQtWrapper_QNetworkInterface::hardwareAddress(QNetworkInterface* theWrappedObject) const -{ - return ( theWrappedObject->hardwareAddress()); -} - -QList PythonQtWrapper_QNetworkInterface::addressEntries(QNetworkInterface* theWrappedObject) const -{ - return ( theWrappedObject->addressEntries()); -} - -bool PythonQtWrapper_QNetworkInterface::isValid(QNetworkInterface* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -QNetworkInterface PythonQtWrapper_QNetworkInterface::static_QNetworkInterface_interfaceFromIndex(int index) -{ - return (QNetworkInterface::interfaceFromIndex(index)); -} - -QList PythonQtWrapper_QNetworkInterface::static_QNetworkInterface_allInterfaces() -{ - return (QNetworkInterface::allInterfaces()); -} - -QNetworkInterface PythonQtWrapper_QNetworkInterface::static_QNetworkInterface_interfaceFromName(const QString& name) -{ - return (QNetworkInterface::interfaceFromName(name)); -} - -QString PythonQtWrapper_QNetworkInterface::toString(QNetworkInterface* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; -} - diff --git a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QNetworkInterface.h b/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QNetworkInterface.h deleted file mode 100644 index b102d56..0000000 --- a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QNetworkInterface.h +++ /dev/null @@ -1,38 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QNETWORKINTERFACE_H -#define PYTHONQTWRAPPER_QNETWORKINTERFACE_H - -#include -#include - -#include - -#include -#include -#include -#include - -class PythonQtWrapper_QNetworkInterface : public QObject -{ Q_OBJECT -public: -Q_ENUMS(InterfaceFlag ) -Q_FLAGS(InterfaceFlags ) -enum InterfaceFlag{ - IsUp = QNetworkInterface::IsUp, IsRunning = QNetworkInterface::IsRunning, CanBroadcast = QNetworkInterface::CanBroadcast, IsLoopBack = QNetworkInterface::IsLoopBack, IsPointToPoint = QNetworkInterface::IsPointToPoint, CanMulticast = QNetworkInterface::CanMulticast}; -Q_DECLARE_FLAGS(InterfaceFlags, InterfaceFlag) -public slots: -QNetworkInterface* new_QNetworkInterface(); -QNetworkInterface* new_QNetworkInterface(const QNetworkInterface& other); -void delete_QNetworkInterface(QNetworkInterface* obj) { delete obj; } - QList static_QNetworkInterface_allAddresses(); - QNetworkInterface::InterfaceFlags flags(QNetworkInterface* theWrappedObject) const; - QString name(QNetworkInterface* theWrappedObject) const; - QString hardwareAddress(QNetworkInterface* theWrappedObject) const; - QList addressEntries(QNetworkInterface* theWrappedObject) const; - bool isValid(QNetworkInterface* theWrappedObject) const; - QNetworkInterface static_QNetworkInterface_interfaceFromIndex(int index); - QList static_QNetworkInterface_allInterfaces(); - QNetworkInterface static_QNetworkInterface_interfaceFromName(const QString& name); - QString toString(QNetworkInterface*); -}; - -#endif // PYTHONQTWRAPPER_QNETWORKINTERFACE_H diff --git a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QNetworkProxy.cpp b/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QNetworkProxy.cpp deleted file mode 100644 index 9b7009e..0000000 --- a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QNetworkProxy.cpp +++ /dev/null @@ -1,95 +0,0 @@ -#include "PythonQtWrapper_QNetworkProxy.h" - -#include -#include -#include -#include -#include - -QNetworkProxy* PythonQtWrapper_QNetworkProxy::new_QNetworkProxy() -{ -return new QNetworkProxy(); } - -QNetworkProxy* PythonQtWrapper_QNetworkProxy::new_QNetworkProxy(QNetworkProxy::ProxyType type, const QString& hostName, unsigned short port, const QString& user, const QString& password) -{ -return new QNetworkProxy(type, hostName, port, user, password); } - -QNetworkProxy* PythonQtWrapper_QNetworkProxy::new_QNetworkProxy(const QNetworkProxy& other) -{ -return new QNetworkProxy(other); } - -void PythonQtWrapper_QNetworkProxy::setUser(QNetworkProxy* theWrappedObject, const QString& userName) -{ - ( theWrappedObject->setUser(userName)); -} - -QNetworkProxy::ProxyType PythonQtWrapper_QNetworkProxy::type(QNetworkProxy* theWrappedObject) const -{ - return ( theWrappedObject->type()); -} - -void PythonQtWrapper_QNetworkProxy::setPort(QNetworkProxy* theWrappedObject, unsigned short port) -{ - ( theWrappedObject->setPort(port)); -} - -bool PythonQtWrapper_QNetworkProxy::isTransparentProxy(QNetworkProxy* theWrappedObject) const -{ - return ( theWrappedObject->isTransparentProxy()); -} - -void PythonQtWrapper_QNetworkProxy::setHostName(QNetworkProxy* theWrappedObject, const QString& hostName) -{ - ( theWrappedObject->setHostName(hostName)); -} - -QNetworkProxy PythonQtWrapper_QNetworkProxy::static_QNetworkProxy_applicationProxy() -{ - return (QNetworkProxy::applicationProxy()); -} - -unsigned short PythonQtWrapper_QNetworkProxy::port(QNetworkProxy* theWrappedObject) const -{ - return ( theWrappedObject->port()); -} - -bool PythonQtWrapper_QNetworkProxy::isCachingProxy(QNetworkProxy* theWrappedObject) const -{ - return ( theWrappedObject->isCachingProxy()); -} - -void PythonQtWrapper_QNetworkProxy::static_QNetworkProxy_setApplicationProxy(const QNetworkProxy& proxy) -{ - (QNetworkProxy::setApplicationProxy(proxy)); -} - -void PythonQtWrapper_QNetworkProxy::setType(QNetworkProxy* theWrappedObject, QNetworkProxy::ProxyType type) -{ - ( theWrappedObject->setType(type)); -} - -QString PythonQtWrapper_QNetworkProxy::user(QNetworkProxy* theWrappedObject) const -{ - return ( theWrappedObject->user()); -} - -void PythonQtWrapper_QNetworkProxy::setPassword(QNetworkProxy* theWrappedObject, const QString& password) -{ - ( theWrappedObject->setPassword(password)); -} - -QString PythonQtWrapper_QNetworkProxy::password(QNetworkProxy* theWrappedObject) const -{ - return ( theWrappedObject->password()); -} - -QString PythonQtWrapper_QNetworkProxy::hostName(QNetworkProxy* theWrappedObject) const -{ - return ( theWrappedObject->hostName()); -} - -bool PythonQtWrapper_QNetworkProxy::operator_equal(QNetworkProxy* theWrappedObject, const QNetworkProxy& other) const -{ - return ( (*theWrappedObject)== other); -} - diff --git a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QNetworkProxy.h b/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QNetworkProxy.h deleted file mode 100644 index 80e9d4e..0000000 --- a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QNetworkProxy.h +++ /dev/null @@ -1,40 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QNETWORKPROXY_H -#define PYTHONQTWRAPPER_QNETWORKPROXY_H - -#include -#include - -#include - -#include -#include - -class PythonQtWrapper_QNetworkProxy : public QObject -{ Q_OBJECT -public: -Q_ENUMS(ProxyType ) -enum ProxyType{ - DefaultProxy = QNetworkProxy::DefaultProxy, Socks5Proxy = QNetworkProxy::Socks5Proxy, NoProxy = QNetworkProxy::NoProxy, HttpProxy = QNetworkProxy::HttpProxy, HttpCachingProxy = QNetworkProxy::HttpCachingProxy, FtpCachingProxy = QNetworkProxy::FtpCachingProxy}; -public slots: -QNetworkProxy* new_QNetworkProxy(); -QNetworkProxy* new_QNetworkProxy(QNetworkProxy::ProxyType type, const QString& hostName = QString(), unsigned short port = 0, const QString& user = QString(), const QString& password = QString()); -QNetworkProxy* new_QNetworkProxy(const QNetworkProxy& other); -void delete_QNetworkProxy(QNetworkProxy* obj) { delete obj; } - void setUser(QNetworkProxy* theWrappedObject, const QString& userName); - QNetworkProxy::ProxyType type(QNetworkProxy* theWrappedObject) const; - void setPort(QNetworkProxy* theWrappedObject, unsigned short port); - bool isTransparentProxy(QNetworkProxy* theWrappedObject) const; - void setHostName(QNetworkProxy* theWrappedObject, const QString& hostName); - QNetworkProxy static_QNetworkProxy_applicationProxy(); - unsigned short port(QNetworkProxy* theWrappedObject) const; - bool isCachingProxy(QNetworkProxy* theWrappedObject) const; - void static_QNetworkProxy_setApplicationProxy(const QNetworkProxy& proxy); - void setType(QNetworkProxy* theWrappedObject, QNetworkProxy::ProxyType type); - QString user(QNetworkProxy* theWrappedObject) const; - void setPassword(QNetworkProxy* theWrappedObject, const QString& password); - QString password(QNetworkProxy* theWrappedObject) const; - QString hostName(QNetworkProxy* theWrappedObject) const; - bool operator_equal(QNetworkProxy* theWrappedObject, const QNetworkProxy& other) const; -}; - -#endif // PYTHONQTWRAPPER_QNETWORKPROXY_H diff --git a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QNetworkReply.cpp b/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QNetworkReply.cpp deleted file mode 100644 index bdd1096..0000000 --- a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QNetworkReply.cpp +++ /dev/null @@ -1,686 +0,0 @@ -#include "PythonQtWrapper_QNetworkReply.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QNetworkReply::abort() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "abort"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - -} -bool PythonQtShell_QNetworkReply::atEnd() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "atEnd"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QNetworkReply::atEnd(); -} -qint64 PythonQtShell_QNetworkReply::bytesAvailable() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "bytesAvailable"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QNetworkReply::bytesAvailable(); -} -qint64 PythonQtShell_QNetworkReply::bytesToWrite() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "bytesToWrite"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QNetworkReply::bytesToWrite(); -} -bool PythonQtShell_QNetworkReply::canReadLine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "canReadLine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QNetworkReply::canReadLine(); -} -void PythonQtShell_QNetworkReply::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; - } -} - QNetworkReply::childEvent(arg__1); -} -void PythonQtShell_QNetworkReply::close() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "close"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QNetworkReply::close(); -} -void PythonQtShell_QNetworkReply::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; - } -} - QNetworkReply::customEvent(arg__1); -} -bool PythonQtShell_QNetworkReply::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QNetworkReply::event(arg__1); -} -bool PythonQtShell_QNetworkReply::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QNetworkReply::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QNetworkReply::ignoreSslErrors() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "ignoreSslErrors"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QNetworkReply::ignoreSslErrors(); -} -bool PythonQtShell_QNetworkReply::isSequential() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isSequential"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QNetworkReply::isSequential(); -} -bool PythonQtShell_QNetworkReply::open(QIODevice::OpenMode mode) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "open"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&mode}; - 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("open", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QNetworkReply::open(mode); -} -qint64 PythonQtShell_QNetworkReply::pos() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "pos"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QNetworkReply::pos(); -} -qint64 PythonQtShell_QNetworkReply::readData(char* data, qint64 maxlen) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "readData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - 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}; - 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("readData", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - qint64 result; -return result; -} -qint64 PythonQtShell_QNetworkReply::readLineData(char* data, qint64 maxlen) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "readLineData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - 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}; - 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("readLineData", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QNetworkReply::readLineData(data, maxlen); -} -bool PythonQtShell_QNetworkReply::reset() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reset"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QNetworkReply::reset(); -} -bool PythonQtShell_QNetworkReply::seek(qint64 pos) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "seek"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&pos}; - 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("seek", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QNetworkReply::seek(pos); -} -void PythonQtShell_QNetworkReply::setReadBufferSize(qint64 size) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setReadBufferSize"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&size}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QNetworkReply::setReadBufferSize(size); -} -qint64 PythonQtShell_QNetworkReply::size() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "size"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QNetworkReply::size(); -} -void PythonQtShell_QNetworkReply::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; - } -} - QNetworkReply::timerEvent(arg__1); -} -bool PythonQtShell_QNetworkReply::waitForBytesWritten(int msecs) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "waitForBytesWritten"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&msecs}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("waitForBytesWritten", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QNetworkReply::waitForBytesWritten(msecs); -} -bool PythonQtShell_QNetworkReply::waitForReadyRead(int msecs) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "waitForReadyRead"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&msecs}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("waitForReadyRead", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QNetworkReply::waitForReadyRead(msecs); -} -qint64 PythonQtShell_QNetworkReply::writeData(const char* data, qint64 len) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "writeData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - 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}; - 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("writeData", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QNetworkReply::writeData(data, len); -} -QNetworkRequest PythonQtWrapper_QNetworkReply::request(QNetworkReply* theWrappedObject) const -{ - return ( theWrappedObject->request()); -} - -void PythonQtWrapper_QNetworkReply::close(QNetworkReply* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->promoted_close()); -} - -QNetworkReply::NetworkError PythonQtWrapper_QNetworkReply::error(QNetworkReply* theWrappedObject) const -{ - return ( theWrappedObject->error()); -} - -QUrl PythonQtWrapper_QNetworkReply::url(QNetworkReply* theWrappedObject) const -{ - return ( theWrappedObject->url()); -} - -bool PythonQtWrapper_QNetworkReply::hasRawHeader(QNetworkReply* theWrappedObject, const QByteArray& headerName) const -{ - return ( theWrappedObject->hasRawHeader(headerName)); -} - -QList PythonQtWrapper_QNetworkReply::rawHeaderList(QNetworkReply* theWrappedObject) const -{ - return ( theWrappedObject->rawHeaderList()); -} - -QByteArray PythonQtWrapper_QNetworkReply::rawHeader(QNetworkReply* theWrappedObject, const QByteArray& headerName) const -{ - return ( theWrappedObject->rawHeader(headerName)); -} - -QNetworkAccessManager::Operation PythonQtWrapper_QNetworkReply::operation(QNetworkReply* theWrappedObject) const -{ - return ( theWrappedObject->operation()); -} - -bool PythonQtWrapper_QNetworkReply::isSequential(QNetworkReply* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->promoted_isSequential()); -} - -void PythonQtWrapper_QNetworkReply::setReadBufferSize(QNetworkReply* theWrappedObject, qint64 size) -{ - ( ((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->promoted_setReadBufferSize(size)); -} - -QVariant PythonQtWrapper_QNetworkReply::attribute(QNetworkReply* theWrappedObject, QNetworkRequest::Attribute code) const -{ - return ( theWrappedObject->attribute(code)); -} - -qint64 PythonQtWrapper_QNetworkReply::writeData(QNetworkReply* theWrappedObject, const char* data, qint64 len) -{ - return ( ((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->promoted_writeData(data, len)); -} - -qint64 PythonQtWrapper_QNetworkReply::readBufferSize(QNetworkReply* theWrappedObject) const -{ - return ( theWrappedObject->readBufferSize()); -} - -QVariant PythonQtWrapper_QNetworkReply::header(QNetworkReply* theWrappedObject, QNetworkRequest::KnownHeaders header) const -{ - return ( theWrappedObject->header(header)); -} - -QNetworkAccessManager* PythonQtWrapper_QNetworkReply::manager(QNetworkReply* theWrappedObject) const -{ - return ( theWrappedObject->manager()); -} - diff --git a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QNetworkReply.h b/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QNetworkReply.h deleted file mode 100644 index 687a18a..0000000 --- a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QNetworkReply.h +++ /dev/null @@ -1,83 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QNETWORKREPLY_H -#define PYTHONQTWRAPPER_QNETWORKREPLY_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QNetworkReply : public QNetworkReply -{ -public: - PythonQtShell_QNetworkReply(QObject* parent = 0):QNetworkReply(parent),_wrapper(NULL) {}; - -virtual void abort(); -virtual bool atEnd() const; -virtual qint64 bytesAvailable() const; -virtual qint64 bytesToWrite() const; -virtual bool canReadLine() const; -virtual void childEvent(QChildEvent* arg__1); -virtual void close(); -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void ignoreSslErrors(); -virtual bool isSequential() const; -virtual bool open(QIODevice::OpenMode mode); -virtual qint64 pos() const; -virtual qint64 readData(char* data, qint64 maxlen); -virtual qint64 readLineData(char* data, qint64 maxlen); -virtual bool reset(); -virtual bool seek(qint64 pos); -virtual void setReadBufferSize(qint64 size); -virtual qint64 size() const; -virtual void timerEvent(QTimerEvent* arg__1); -virtual bool waitForBytesWritten(int msecs); -virtual bool waitForReadyRead(int msecs); -virtual qint64 writeData(const char* data, qint64 len); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QNetworkReply : public QNetworkReply -{ public: -inline void promoted_close() { QNetworkReply::close(); } -inline void promoted_ignoreSslErrors() { QNetworkReply::ignoreSslErrors(); } -inline bool promoted_isSequential() const { return QNetworkReply::isSequential(); } -inline void promoted_setReadBufferSize(qint64 size) { QNetworkReply::setReadBufferSize(size); } -inline qint64 promoted_writeData(const char* data, qint64 len) { return QNetworkReply::writeData(data, len); } -}; - -class PythonQtWrapper_QNetworkReply : public QObject -{ Q_OBJECT -public: -public slots: -void delete_QNetworkReply(QNetworkReply* obj) { delete obj; } - QNetworkRequest request(QNetworkReply* theWrappedObject) const; - void close(QNetworkReply* theWrappedObject); - QNetworkReply::NetworkError error(QNetworkReply* theWrappedObject) const; - QUrl url(QNetworkReply* theWrappedObject) const; - bool hasRawHeader(QNetworkReply* theWrappedObject, const QByteArray& headerName) const; - QList rawHeaderList(QNetworkReply* theWrappedObject) const; - QByteArray rawHeader(QNetworkReply* theWrappedObject, const QByteArray& headerName) const; - QNetworkAccessManager::Operation operation(QNetworkReply* theWrappedObject) const; - bool isSequential(QNetworkReply* theWrappedObject) const; - void setReadBufferSize(QNetworkReply* theWrappedObject, qint64 size); - QVariant attribute(QNetworkReply* theWrappedObject, QNetworkRequest::Attribute code) const; - qint64 writeData(QNetworkReply* theWrappedObject, const char* data, qint64 len); - qint64 readBufferSize(QNetworkReply* theWrappedObject) const; - QVariant header(QNetworkReply* theWrappedObject, QNetworkRequest::KnownHeaders header) const; - QNetworkAccessManager* manager(QNetworkReply* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QNETWORKREPLY_H diff --git a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QNetworkRequest.cpp b/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QNetworkRequest.cpp deleted file mode 100644 index de0f4fb..0000000 --- a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QNetworkRequest.cpp +++ /dev/null @@ -1,74 +0,0 @@ -#include "PythonQtWrapper_QNetworkRequest.h" - -#include -#include -#include -#include -#include -#include -#include -#include - -QNetworkRequest* PythonQtWrapper_QNetworkRequest::new_QNetworkRequest(const QNetworkRequest& other) -{ -return new QNetworkRequest(other); } - -QNetworkRequest* PythonQtWrapper_QNetworkRequest::new_QNetworkRequest(const QUrl& url) -{ -return new QNetworkRequest(url); } - -QList PythonQtWrapper_QNetworkRequest::rawHeaderList(QNetworkRequest* theWrappedObject) const -{ - return ( theWrappedObject->rawHeaderList()); -} - -QVariant PythonQtWrapper_QNetworkRequest::attribute(QNetworkRequest* theWrappedObject, QNetworkRequest::Attribute code, const QVariant& defaultValue) const -{ - return ( theWrappedObject->attribute(code, defaultValue)); -} - -QUrl PythonQtWrapper_QNetworkRequest::url(QNetworkRequest* theWrappedObject) const -{ - return ( theWrappedObject->url()); -} - -QByteArray PythonQtWrapper_QNetworkRequest::rawHeader(QNetworkRequest* theWrappedObject, const QByteArray& headerName) const -{ - return ( theWrappedObject->rawHeader(headerName)); -} - -void PythonQtWrapper_QNetworkRequest::setHeader(QNetworkRequest* theWrappedObject, QNetworkRequest::KnownHeaders header, const QVariant& value) -{ - ( theWrappedObject->setHeader(header, value)); -} - -bool PythonQtWrapper_QNetworkRequest::operator_equal(QNetworkRequest* theWrappedObject, const QNetworkRequest& other) const -{ - return ( (*theWrappedObject)== other); -} - -QVariant PythonQtWrapper_QNetworkRequest::header(QNetworkRequest* theWrappedObject, QNetworkRequest::KnownHeaders header) const -{ - return ( theWrappedObject->header(header)); -} - -void PythonQtWrapper_QNetworkRequest::setRawHeader(QNetworkRequest* theWrappedObject, const QByteArray& headerName, const QByteArray& value) -{ - ( theWrappedObject->setRawHeader(headerName, value)); -} - -bool PythonQtWrapper_QNetworkRequest::hasRawHeader(QNetworkRequest* theWrappedObject, const QByteArray& headerName) const -{ - return ( theWrappedObject->hasRawHeader(headerName)); -} - -void PythonQtWrapper_QNetworkRequest::setAttribute(QNetworkRequest* theWrappedObject, QNetworkRequest::Attribute code, const QVariant& value) -{ - ( theWrappedObject->setAttribute(code, value)); -} - -void PythonQtWrapper_QNetworkRequest::setUrl(QNetworkRequest* theWrappedObject, const QUrl& url) -{ - ( theWrappedObject->setUrl(url)); -} - diff --git a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QNetworkRequest.h b/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QNetworkRequest.h deleted file mode 100644 index 6f4477a..0000000 --- a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QNetworkRequest.h +++ /dev/null @@ -1,42 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QNETWORKREQUEST_H -#define PYTHONQTWRAPPER_QNETWORKREQUEST_H - -#include -#include - -#include - -#include -#include -#include -#include -#include - -class PythonQtWrapper_QNetworkRequest : public QObject -{ Q_OBJECT -public: -Q_ENUMS(CacheLoadControl KnownHeaders Attribute ) -enum CacheLoadControl{ - AlwaysNetwork = QNetworkRequest::AlwaysNetwork, PreferNetwork = QNetworkRequest::PreferNetwork, PreferCache = QNetworkRequest::PreferCache, AlwaysCache = QNetworkRequest::AlwaysCache}; -enum KnownHeaders{ - ContentTypeHeader = QNetworkRequest::ContentTypeHeader, ContentLengthHeader = QNetworkRequest::ContentLengthHeader, LocationHeader = QNetworkRequest::LocationHeader, LastModifiedHeader = QNetworkRequest::LastModifiedHeader, CookieHeader = QNetworkRequest::CookieHeader, SetCookieHeader = QNetworkRequest::SetCookieHeader}; -enum Attribute{ - HttpStatusCodeAttribute = QNetworkRequest::HttpStatusCodeAttribute, HttpReasonPhraseAttribute = QNetworkRequest::HttpReasonPhraseAttribute, RedirectionTargetAttribute = QNetworkRequest::RedirectionTargetAttribute, ConnectionEncryptedAttribute = QNetworkRequest::ConnectionEncryptedAttribute, CacheLoadControlAttribute = QNetworkRequest::CacheLoadControlAttribute, CacheSaveControlAttribute = QNetworkRequest::CacheSaveControlAttribute, User = QNetworkRequest::User, UserMax = QNetworkRequest::UserMax}; -public slots: -QNetworkRequest* new_QNetworkRequest(const QNetworkRequest& other); -QNetworkRequest* new_QNetworkRequest(const QUrl& url = QUrl()); -void delete_QNetworkRequest(QNetworkRequest* obj) { delete obj; } - QList rawHeaderList(QNetworkRequest* theWrappedObject) const; - QVariant attribute(QNetworkRequest* theWrappedObject, QNetworkRequest::Attribute code, const QVariant& defaultValue = QVariant()) const; - QUrl url(QNetworkRequest* theWrappedObject) const; - QByteArray rawHeader(QNetworkRequest* theWrappedObject, const QByteArray& headerName) const; - void setHeader(QNetworkRequest* theWrappedObject, QNetworkRequest::KnownHeaders header, const QVariant& value); - bool operator_equal(QNetworkRequest* theWrappedObject, const QNetworkRequest& other) const; - QVariant header(QNetworkRequest* theWrappedObject, QNetworkRequest::KnownHeaders header) const; - void setRawHeader(QNetworkRequest* theWrappedObject, const QByteArray& headerName, const QByteArray& value); - bool hasRawHeader(QNetworkRequest* theWrappedObject, const QByteArray& headerName) const; - void setAttribute(QNetworkRequest* theWrappedObject, QNetworkRequest::Attribute code, const QVariant& value); - void setUrl(QNetworkRequest* theWrappedObject, const QUrl& url); -}; - -#endif // PYTHONQTWRAPPER_QNETWORKREQUEST_H diff --git a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QSsl.cpp b/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QSsl.cpp deleted file mode 100644 index 0d14f41..0000000 --- a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QSsl.cpp +++ /dev/null @@ -1,7 +0,0 @@ -#include "PythonQtWrapper_QSsl.h" - -#include -#include -#include -#include - diff --git a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QSsl.h b/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QSsl.h deleted file mode 100644 index ee0a7fc..0000000 --- a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QSsl.h +++ /dev/null @@ -1,28 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSSL_H -#define PYTHONQTWRAPPER_QSSL_H - -#include -#include - -#include - -#include - -class PythonQtWrapper_QSsl : public QObject -{ Q_OBJECT -public: -Q_ENUMS(KeyType KeyAlgorithm SslProtocol AlternateNameEntryType EncodingFormat ) -enum KeyType{ - PrivateKey = QSsl::PrivateKey, PublicKey = QSsl::PublicKey}; -enum KeyAlgorithm{ - Rsa = QSsl::Rsa, Dsa = QSsl::Dsa}; -enum SslProtocol{ - SslV3 = QSsl::SslV3, SslV2 = QSsl::SslV2, TlsV1 = QSsl::TlsV1, AnyProtocol = QSsl::AnyProtocol, UnknownProtocol = QSsl::UnknownProtocol}; -enum AlternateNameEntryType{ - EmailEntry = QSsl::EmailEntry, DnsEntry = QSsl::DnsEntry}; -enum EncodingFormat{ - Pem = QSsl::Pem, Der = QSsl::Der}; -public slots: -}; - -#endif // PYTHONQTWRAPPER_QSSL_H diff --git a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QTcpServer.cpp b/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QTcpServer.cpp deleted file mode 100644 index 60db04f..0000000 --- a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QTcpServer.cpp +++ /dev/null @@ -1,284 +0,0 @@ -#include "PythonQtWrapper_QTcpServer.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QTcpServer::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; - } -} - QTcpServer::childEvent(arg__1); -} -void PythonQtShell_QTcpServer::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; - } -} - QTcpServer::customEvent(arg__1); -} -bool PythonQtShell_QTcpServer::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTcpServer::event(arg__1); -} -bool PythonQtShell_QTcpServer::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTcpServer::eventFilter(arg__1, arg__2); -} -bool PythonQtShell_QTcpServer::hasPendingConnections() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hasPendingConnections"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasPendingConnections", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTcpServer::hasPendingConnections(); -} -void PythonQtShell_QTcpServer::incomingConnection(int handle) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "incomingConnection"); - 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*)&handle}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTcpServer::incomingConnection(handle); -} -QTcpSocket* PythonQtShell_QTcpServer::nextPendingConnection() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "nextPendingConnection"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QTcpSocket*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QTcpSocket* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nextPendingConnection", methodInfo, result); - } else { - returnValue = *((QTcpSocket**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTcpServer::nextPendingConnection(); -} -void PythonQtShell_QTcpServer::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; - } -} - QTcpServer::timerEvent(arg__1); -} -QTcpServer* PythonQtWrapper_QTcpServer::new_QTcpServer(QObject* parent) -{ -return new PythonQtShell_QTcpServer(parent); } - -int PythonQtWrapper_QTcpServer::socketDescriptor(QTcpServer* theWrappedObject) const -{ - return ( theWrappedObject->socketDescriptor()); -} - -QAbstractSocket::SocketError PythonQtWrapper_QTcpServer::serverError(QTcpServer* theWrappedObject) const -{ - return ( theWrappedObject->serverError()); -} - -unsigned short PythonQtWrapper_QTcpServer::serverPort(QTcpServer* theWrappedObject) const -{ - return ( theWrappedObject->serverPort()); -} - -bool PythonQtWrapper_QTcpServer::isListening(QTcpServer* theWrappedObject) const -{ - return ( theWrappedObject->isListening()); -} - -QString PythonQtWrapper_QTcpServer::errorString(QTcpServer* theWrappedObject) const -{ - return ( theWrappedObject->errorString()); -} - -QNetworkProxy PythonQtWrapper_QTcpServer::proxy(QTcpServer* theWrappedObject) const -{ - return ( theWrappedObject->proxy()); -} - -bool PythonQtWrapper_QTcpServer::waitForNewConnection(QTcpServer* theWrappedObject, int msec, bool* timedOut) -{ - return ( theWrappedObject->waitForNewConnection(msec, timedOut)); -} - -bool PythonQtWrapper_QTcpServer::setSocketDescriptor(QTcpServer* theWrappedObject, int socketDescriptor) -{ - return ( theWrappedObject->setSocketDescriptor(socketDescriptor)); -} - -void PythonQtWrapper_QTcpServer::incomingConnection(QTcpServer* theWrappedObject, int handle) -{ - ( ((PythonQtPublicPromoter_QTcpServer*)theWrappedObject)->promoted_incomingConnection(handle)); -} - -int PythonQtWrapper_QTcpServer::maxPendingConnections(QTcpServer* theWrappedObject) const -{ - return ( theWrappedObject->maxPendingConnections()); -} - -void PythonQtWrapper_QTcpServer::close(QTcpServer* theWrappedObject) -{ - ( theWrappedObject->close()); -} - -bool PythonQtWrapper_QTcpServer::listen(QTcpServer* theWrappedObject, const QHostAddress& address, unsigned short port) -{ - return ( theWrappedObject->listen(address, port)); -} - -void PythonQtWrapper_QTcpServer::setProxy(QTcpServer* theWrappedObject, const QNetworkProxy& networkProxy) -{ - ( theWrappedObject->setProxy(networkProxy)); -} - -bool PythonQtWrapper_QTcpServer::hasPendingConnections(QTcpServer* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QTcpServer*)theWrappedObject)->promoted_hasPendingConnections()); -} - -QTcpSocket* PythonQtWrapper_QTcpServer::nextPendingConnection(QTcpServer* theWrappedObject) -{ - return ( ((PythonQtPublicPromoter_QTcpServer*)theWrappedObject)->promoted_nextPendingConnection()); -} - -void PythonQtWrapper_QTcpServer::setMaxPendingConnections(QTcpServer* theWrappedObject, int numConnections) -{ - ( theWrappedObject->setMaxPendingConnections(numConnections)); -} - -QHostAddress PythonQtWrapper_QTcpServer::serverAddress(QTcpServer* theWrappedObject) const -{ - return ( theWrappedObject->serverAddress()); -} - diff --git a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QTcpServer.h b/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QTcpServer.h deleted file mode 100644 index 40e678b..0000000 --- a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QTcpServer.h +++ /dev/null @@ -1,68 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QTCPSERVER_H -#define PYTHONQTWRAPPER_QTCPSERVER_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QTcpServer : public QTcpServer -{ -public: - PythonQtShell_QTcpServer(QObject* parent = 0):QTcpServer(parent),_wrapper(NULL) {}; - -virtual void childEvent(QChildEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual bool hasPendingConnections() const; -virtual void incomingConnection(int handle); -virtual QTcpSocket* nextPendingConnection(); -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QTcpServer : public QTcpServer -{ public: -inline void promoted_incomingConnection(int handle) { QTcpServer::incomingConnection(handle); } -inline bool promoted_hasPendingConnections() const { return QTcpServer::hasPendingConnections(); } -inline QTcpSocket* promoted_nextPendingConnection() { return QTcpServer::nextPendingConnection(); } -}; - -class PythonQtWrapper_QTcpServer : public QObject -{ Q_OBJECT -public: -public slots: -QTcpServer* new_QTcpServer(QObject* parent = 0); -void delete_QTcpServer(QTcpServer* obj) { delete obj; } - int socketDescriptor(QTcpServer* theWrappedObject) const; - QAbstractSocket::SocketError serverError(QTcpServer* theWrappedObject) const; - unsigned short serverPort(QTcpServer* theWrappedObject) const; - bool isListening(QTcpServer* theWrappedObject) const; - QString errorString(QTcpServer* theWrappedObject) const; - QNetworkProxy proxy(QTcpServer* theWrappedObject) const; - bool waitForNewConnection(QTcpServer* theWrappedObject, int msec = 0, bool* timedOut = 0); - bool setSocketDescriptor(QTcpServer* theWrappedObject, int socketDescriptor); - void incomingConnection(QTcpServer* theWrappedObject, int handle); - int maxPendingConnections(QTcpServer* theWrappedObject) const; - void close(QTcpServer* theWrappedObject); - bool listen(QTcpServer* theWrappedObject, const QHostAddress& address = QHostAddress::Any, unsigned short port = 0); - void setProxy(QTcpServer* theWrappedObject, const QNetworkProxy& networkProxy); - bool hasPendingConnections(QTcpServer* theWrappedObject) const; - QTcpSocket* nextPendingConnection(QTcpServer* theWrappedObject); - void setMaxPendingConnections(QTcpServer* theWrappedObject, int numConnections); - QHostAddress serverAddress(QTcpServer* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QTCPSERVER_H diff --git a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QTcpSocket.cpp b/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QTcpSocket.cpp deleted file mode 100644 index 234e833..0000000 --- a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QTcpSocket.cpp +++ /dev/null @@ -1,563 +0,0 @@ -#include "PythonQtWrapper_QTcpSocket.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -bool PythonQtShell_QTcpSocket::atEnd() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "atEnd"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTcpSocket::atEnd(); -} -qint64 PythonQtShell_QTcpSocket::bytesAvailable() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "bytesAvailable"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTcpSocket::bytesAvailable(); -} -qint64 PythonQtShell_QTcpSocket::bytesToWrite() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "bytesToWrite"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTcpSocket::bytesToWrite(); -} -bool PythonQtShell_QTcpSocket::canReadLine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "canReadLine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTcpSocket::canReadLine(); -} -void PythonQtShell_QTcpSocket::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; - } -} - QTcpSocket::childEvent(arg__1); -} -void PythonQtShell_QTcpSocket::close() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "close"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QTcpSocket::close(); -} -void PythonQtShell_QTcpSocket::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; - } -} - QTcpSocket::customEvent(arg__1); -} -bool PythonQtShell_QTcpSocket::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTcpSocket::event(arg__1); -} -bool PythonQtShell_QTcpSocket::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTcpSocket::eventFilter(arg__1, arg__2); -} -bool PythonQtShell_QTcpSocket::isSequential() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isSequential"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTcpSocket::isSequential(); -} -bool PythonQtShell_QTcpSocket::open(QIODevice::OpenMode mode) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "open"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&mode}; - 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("open", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTcpSocket::open(mode); -} -qint64 PythonQtShell_QTcpSocket::pos() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "pos"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTcpSocket::pos(); -} -qint64 PythonQtShell_QTcpSocket::readData(char* data, qint64 maxlen) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "readData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - 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}; - 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("readData", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTcpSocket::readData(data, maxlen); -} -qint64 PythonQtShell_QTcpSocket::readLineData(char* data, qint64 maxlen) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "readLineData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - 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}; - 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("readLineData", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTcpSocket::readLineData(data, maxlen); -} -bool PythonQtShell_QTcpSocket::reset() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reset"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTcpSocket::reset(); -} -bool PythonQtShell_QTcpSocket::seek(qint64 pos) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "seek"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&pos}; - 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("seek", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTcpSocket::seek(pos); -} -qint64 PythonQtShell_QTcpSocket::size() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "size"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTcpSocket::size(); -} -void PythonQtShell_QTcpSocket::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; - } -} - QTcpSocket::timerEvent(arg__1); -} -bool PythonQtShell_QTcpSocket::waitForBytesWritten(int msecs) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "waitForBytesWritten"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&msecs}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("waitForBytesWritten", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTcpSocket::waitForBytesWritten(msecs); -} -bool PythonQtShell_QTcpSocket::waitForReadyRead(int msecs) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "waitForReadyRead"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&msecs}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("waitForReadyRead", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTcpSocket::waitForReadyRead(msecs); -} -qint64 PythonQtShell_QTcpSocket::writeData(const char* data, qint64 len) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "writeData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - 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}; - 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("writeData", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QTcpSocket::writeData(data, len); -} -QTcpSocket* PythonQtWrapper_QTcpSocket::new_QTcpSocket(QObject* parent) -{ -return new PythonQtShell_QTcpSocket(parent); } - diff --git a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QTcpSocket.h b/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QTcpSocket.h deleted file mode 100644 index 2744c3b..0000000 --- a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QTcpSocket.h +++ /dev/null @@ -1,57 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QTCPSOCKET_H -#define PYTHONQTWRAPPER_QTCPSOCKET_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QTcpSocket : public QTcpSocket -{ -public: - PythonQtShell_QTcpSocket(QObject* parent = 0):QTcpSocket(parent),_wrapper(NULL) {}; - -virtual bool atEnd() const; -virtual qint64 bytesAvailable() const; -virtual qint64 bytesToWrite() const; -virtual bool canReadLine() const; -virtual void childEvent(QChildEvent* arg__1); -virtual void close(); -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual bool isSequential() const; -virtual bool open(QIODevice::OpenMode mode); -virtual qint64 pos() const; -virtual qint64 readData(char* data, qint64 maxlen); -virtual qint64 readLineData(char* data, qint64 maxlen); -virtual bool reset(); -virtual bool seek(qint64 pos); -virtual qint64 size() const; -virtual void timerEvent(QTimerEvent* arg__1); -virtual bool waitForBytesWritten(int msecs); -virtual bool waitForReadyRead(int msecs); -virtual qint64 writeData(const char* data, qint64 len); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QTcpSocket : public QObject -{ Q_OBJECT -public: -public slots: -QTcpSocket* new_QTcpSocket(QObject* parent = 0); -void delete_QTcpSocket(QTcpSocket* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QTCPSOCKET_H diff --git a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QUdpSocket.cpp b/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QUdpSocket.cpp deleted file mode 100644 index 5c6fc83..0000000 --- a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QUdpSocket.cpp +++ /dev/null @@ -1,603 +0,0 @@ -#include "PythonQtWrapper_QUdpSocket.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -bool PythonQtShell_QUdpSocket::atEnd() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "atEnd"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QUdpSocket::atEnd(); -} -qint64 PythonQtShell_QUdpSocket::bytesAvailable() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "bytesAvailable"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QUdpSocket::bytesAvailable(); -} -qint64 PythonQtShell_QUdpSocket::bytesToWrite() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "bytesToWrite"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QUdpSocket::bytesToWrite(); -} -bool PythonQtShell_QUdpSocket::canReadLine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "canReadLine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QUdpSocket::canReadLine(); -} -void PythonQtShell_QUdpSocket::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; - } -} - QUdpSocket::childEvent(arg__1); -} -void PythonQtShell_QUdpSocket::close() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "close"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QUdpSocket::close(); -} -void PythonQtShell_QUdpSocket::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; - } -} - QUdpSocket::customEvent(arg__1); -} -bool PythonQtShell_QUdpSocket::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QUdpSocket::event(arg__1); -} -bool PythonQtShell_QUdpSocket::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QUdpSocket::eventFilter(arg__1, arg__2); -} -bool PythonQtShell_QUdpSocket::isSequential() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isSequential"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QUdpSocket::isSequential(); -} -bool PythonQtShell_QUdpSocket::open(QIODevice::OpenMode mode) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "open"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&mode}; - 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("open", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QUdpSocket::open(mode); -} -qint64 PythonQtShell_QUdpSocket::pos() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "pos"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QUdpSocket::pos(); -} -qint64 PythonQtShell_QUdpSocket::readData(char* data, qint64 maxlen) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "readData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - 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}; - 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("readData", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QUdpSocket::readData(data, maxlen); -} -qint64 PythonQtShell_QUdpSocket::readLineData(char* data, qint64 maxlen) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "readLineData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - 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}; - 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("readLineData", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QUdpSocket::readLineData(data, maxlen); -} -bool PythonQtShell_QUdpSocket::reset() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reset"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QUdpSocket::reset(); -} -bool PythonQtShell_QUdpSocket::seek(qint64 pos) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "seek"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&pos}; - 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("seek", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QUdpSocket::seek(pos); -} -qint64 PythonQtShell_QUdpSocket::size() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "size"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QUdpSocket::size(); -} -void PythonQtShell_QUdpSocket::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; - } -} - QUdpSocket::timerEvent(arg__1); -} -bool PythonQtShell_QUdpSocket::waitForBytesWritten(int msecs) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "waitForBytesWritten"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&msecs}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("waitForBytesWritten", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QUdpSocket::waitForBytesWritten(msecs); -} -bool PythonQtShell_QUdpSocket::waitForReadyRead(int msecs) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "waitForReadyRead"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&msecs}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("waitForReadyRead", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QUdpSocket::waitForReadyRead(msecs); -} -qint64 PythonQtShell_QUdpSocket::writeData(const char* data, qint64 len) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "writeData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - 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}; - 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("writeData", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QUdpSocket::writeData(data, len); -} -QUdpSocket* PythonQtWrapper_QUdpSocket::new_QUdpSocket(QObject* parent) -{ -return new PythonQtShell_QUdpSocket(parent); } - -qint64 PythonQtWrapper_QUdpSocket::pendingDatagramSize(QUdpSocket* theWrappedObject) const -{ - return ( theWrappedObject->pendingDatagramSize()); -} - -bool PythonQtWrapper_QUdpSocket::bind(QUdpSocket* theWrappedObject, const QHostAddress& address, unsigned short port, QUdpSocket::BindMode mode) -{ - return ( theWrappedObject->bind(address, port, mode)); -} - -bool PythonQtWrapper_QUdpSocket::bind(QUdpSocket* theWrappedObject, unsigned short port, QUdpSocket::BindMode mode) -{ - return ( theWrappedObject->bind(port, mode)); -} - -bool PythonQtWrapper_QUdpSocket::bind(QUdpSocket* theWrappedObject, const QHostAddress& address, unsigned short port) -{ - return ( theWrappedObject->bind(address, port)); -} - -bool PythonQtWrapper_QUdpSocket::hasPendingDatagrams(QUdpSocket* theWrappedObject) const -{ - return ( theWrappedObject->hasPendingDatagrams()); -} - -qint64 PythonQtWrapper_QUdpSocket::readDatagram(QUdpSocket* theWrappedObject, char* data, qint64 maxlen, QHostAddress* host, unsigned short* port) -{ - return ( theWrappedObject->readDatagram(data, maxlen, host, port)); -} - -bool PythonQtWrapper_QUdpSocket::bind(QUdpSocket* theWrappedObject, unsigned short port) -{ - return ( theWrappedObject->bind(port)); -} - -qint64 PythonQtWrapper_QUdpSocket::writeDatagram(QUdpSocket* theWrappedObject, const QByteArray& datagram, const QHostAddress& host, unsigned short port) -{ - return ( theWrappedObject->writeDatagram(datagram, host, port)); -} - diff --git a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QUdpSocket.h b/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QUdpSocket.h deleted file mode 100644 index eb8fde8..0000000 --- a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QUdpSocket.h +++ /dev/null @@ -1,70 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QUDPSOCKET_H -#define PYTHONQTWRAPPER_QUDPSOCKET_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QUdpSocket : public QUdpSocket -{ -public: - PythonQtShell_QUdpSocket(QObject* parent = 0):QUdpSocket(parent),_wrapper(NULL) {}; - -virtual bool atEnd() const; -virtual qint64 bytesAvailable() const; -virtual qint64 bytesToWrite() const; -virtual bool canReadLine() const; -virtual void childEvent(QChildEvent* arg__1); -virtual void close(); -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual bool isSequential() const; -virtual bool open(QIODevice::OpenMode mode); -virtual qint64 pos() const; -virtual qint64 readData(char* data, qint64 maxlen); -virtual qint64 readLineData(char* data, qint64 maxlen); -virtual bool reset(); -virtual bool seek(qint64 pos); -virtual qint64 size() const; -virtual void timerEvent(QTimerEvent* arg__1); -virtual bool waitForBytesWritten(int msecs); -virtual bool waitForReadyRead(int msecs); -virtual qint64 writeData(const char* data, qint64 len); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QUdpSocket : public QObject -{ Q_OBJECT -public: -Q_ENUMS(BindFlag ) -Q_FLAGS(BindMode ) -enum BindFlag{ - DefaultForPlatform = QUdpSocket::DefaultForPlatform, ShareAddress = QUdpSocket::ShareAddress, DontShareAddress = QUdpSocket::DontShareAddress, ReuseAddressHint = QUdpSocket::ReuseAddressHint}; -Q_DECLARE_FLAGS(BindMode, BindFlag) -public slots: -QUdpSocket* new_QUdpSocket(QObject* parent = 0); -void delete_QUdpSocket(QUdpSocket* obj) { delete obj; } - qint64 pendingDatagramSize(QUdpSocket* theWrappedObject) const; - bool bind(QUdpSocket* theWrappedObject, const QHostAddress& address, unsigned short port, QUdpSocket::BindMode mode); - bool bind(QUdpSocket* theWrappedObject, unsigned short port, QUdpSocket::BindMode mode); - bool bind(QUdpSocket* theWrappedObject, const QHostAddress& address, unsigned short port); - bool hasPendingDatagrams(QUdpSocket* theWrappedObject) const; - qint64 readDatagram(QUdpSocket* theWrappedObject, char* data, qint64 maxlen, QHostAddress* host = 0, unsigned short* port = 0); - bool bind(QUdpSocket* theWrappedObject, unsigned short port = 0); - qint64 writeDatagram(QUdpSocket* theWrappedObject, const QByteArray& datagram, const QHostAddress& host, unsigned short port); -}; - -#endif // PYTHONQTWRAPPER_QUDPSOCKET_H diff --git a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QUrlInfo.cpp b/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QUrlInfo.cpp deleted file mode 100644 index 2437ddc..0000000 --- a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QUrlInfo.cpp +++ /dev/null @@ -1,363 +0,0 @@ -#include "PythonQtWrapper_QUrlInfo.h" - -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QUrlInfo::setDir(bool b) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setDir"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&b}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QUrlInfo::setDir(b); -} -void PythonQtShell_QUrlInfo::setFile(bool b) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setFile"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&b}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QUrlInfo::setFile(b); -} -void PythonQtShell_QUrlInfo::setGroup(const QString& s) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setGroup"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&s}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QUrlInfo::setGroup(s); -} -void PythonQtShell_QUrlInfo::setLastModified(const QDateTime& dt) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setLastModified"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QDateTime&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&dt}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QUrlInfo::setLastModified(dt); -} -void PythonQtShell_QUrlInfo::setName(const QString& name) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setName"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&name}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QUrlInfo::setName(name); -} -void PythonQtShell_QUrlInfo::setOwner(const QString& s) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setOwner"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&s}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QUrlInfo::setOwner(s); -} -void PythonQtShell_QUrlInfo::setPermissions(int p) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setPermissions"); - 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*)&p}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QUrlInfo::setPermissions(p); -} -void PythonQtShell_QUrlInfo::setReadable(bool b) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setReadable"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&b}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QUrlInfo::setReadable(b); -} -void PythonQtShell_QUrlInfo::setSize(qint64 size) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setSize"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&size}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QUrlInfo::setSize(size); -} -void PythonQtShell_QUrlInfo::setSymLink(bool b) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setSymLink"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&b}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QUrlInfo::setSymLink(b); -} -void PythonQtShell_QUrlInfo::setWritable(bool b) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setWritable"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&b}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QUrlInfo::setWritable(b); -} -QUrlInfo* PythonQtWrapper_QUrlInfo::new_QUrlInfo() -{ -return new PythonQtShell_QUrlInfo(); } - -QUrlInfo* PythonQtWrapper_QUrlInfo::new_QUrlInfo(const QString& name, int permissions, const QString& owner, const QString& group, qint64 size, const QDateTime& lastModified, const QDateTime& lastRead, bool isDir, bool isFile, bool isSymLink, bool isWritable, bool isReadable, bool isExecutable) -{ -return new PythonQtShell_QUrlInfo(name, permissions, owner, group, size, lastModified, lastRead, isDir, isFile, isSymLink, isWritable, isReadable, isExecutable); } - -QUrlInfo* PythonQtWrapper_QUrlInfo::new_QUrlInfo(const QUrl& url, int permissions, const QString& owner, const QString& group, qint64 size, const QDateTime& lastModified, const QDateTime& lastRead, bool isDir, bool isFile, bool isSymLink, bool isWritable, bool isReadable, bool isExecutable) -{ -return new PythonQtShell_QUrlInfo(url, permissions, owner, group, size, lastModified, lastRead, isDir, isFile, isSymLink, isWritable, isReadable, isExecutable); } - -QUrlInfo* PythonQtWrapper_QUrlInfo::new_QUrlInfo(const QUrlInfo& ui) -{ -return new PythonQtShell_QUrlInfo(ui); } - -bool PythonQtWrapper_QUrlInfo::static_QUrlInfo_greaterThan(const QUrlInfo& i1, const QUrlInfo& i2, int sortBy) -{ - return (QUrlInfo::greaterThan(i1, i2, sortBy)); -} - -bool PythonQtWrapper_QUrlInfo::static_QUrlInfo_lessThan(const QUrlInfo& i1, const QUrlInfo& i2, int sortBy) -{ - return (QUrlInfo::lessThan(i1, i2, sortBy)); -} - -bool PythonQtWrapper_QUrlInfo::isSymLink(QUrlInfo* theWrappedObject) const -{ - return ( theWrappedObject->isSymLink()); -} - -bool PythonQtWrapper_QUrlInfo::isValid(QUrlInfo* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -QString PythonQtWrapper_QUrlInfo::group(QUrlInfo* theWrappedObject) const -{ - return ( theWrappedObject->group()); -} - -bool PythonQtWrapper_QUrlInfo::isReadable(QUrlInfo* theWrappedObject) const -{ - return ( theWrappedObject->isReadable()); -} - -void PythonQtWrapper_QUrlInfo::setSize(QUrlInfo* theWrappedObject, qint64 size) -{ - ( ((PythonQtPublicPromoter_QUrlInfo*)theWrappedObject)->promoted_setSize(size)); -} - -QDateTime PythonQtWrapper_QUrlInfo::lastModified(QUrlInfo* theWrappedObject) const -{ - return ( theWrappedObject->lastModified()); -} - -void PythonQtWrapper_QUrlInfo::setSymLink(QUrlInfo* theWrappedObject, bool b) -{ - ( ((PythonQtPublicPromoter_QUrlInfo*)theWrappedObject)->promoted_setSymLink(b)); -} - -bool PythonQtWrapper_QUrlInfo::isDir(QUrlInfo* theWrappedObject) const -{ - return ( theWrappedObject->isDir()); -} - -bool PythonQtWrapper_QUrlInfo::isFile(QUrlInfo* theWrappedObject) const -{ - return ( theWrappedObject->isFile()); -} - -bool PythonQtWrapper_QUrlInfo::static_QUrlInfo_equal(const QUrlInfo& i1, const QUrlInfo& i2, int sortBy) -{ - return (QUrlInfo::equal(i1, i2, sortBy)); -} - -QDateTime PythonQtWrapper_QUrlInfo::lastRead(QUrlInfo* theWrappedObject) const -{ - return ( theWrappedObject->lastRead()); -} - -void PythonQtWrapper_QUrlInfo::setDir(QUrlInfo* theWrappedObject, bool b) -{ - ( ((PythonQtPublicPromoter_QUrlInfo*)theWrappedObject)->promoted_setDir(b)); -} - -void PythonQtWrapper_QUrlInfo::setLastModified(QUrlInfo* theWrappedObject, const QDateTime& dt) -{ - ( ((PythonQtPublicPromoter_QUrlInfo*)theWrappedObject)->promoted_setLastModified(dt)); -} - -void PythonQtWrapper_QUrlInfo::setName(QUrlInfo* theWrappedObject, const QString& name) -{ - ( ((PythonQtPublicPromoter_QUrlInfo*)theWrappedObject)->promoted_setName(name)); -} - -void PythonQtWrapper_QUrlInfo::setReadable(QUrlInfo* theWrappedObject, bool b) -{ - ( ((PythonQtPublicPromoter_QUrlInfo*)theWrappedObject)->promoted_setReadable(b)); -} - -QString PythonQtWrapper_QUrlInfo::name(QUrlInfo* theWrappedObject) const -{ - return ( theWrappedObject->name()); -} - -void PythonQtWrapper_QUrlInfo::setWritable(QUrlInfo* theWrappedObject, bool b) -{ - ( ((PythonQtPublicPromoter_QUrlInfo*)theWrappedObject)->promoted_setWritable(b)); -} - -bool PythonQtWrapper_QUrlInfo::isWritable(QUrlInfo* theWrappedObject) const -{ - return ( theWrappedObject->isWritable()); -} - -void PythonQtWrapper_QUrlInfo::setLastRead(QUrlInfo* theWrappedObject, const QDateTime& dt) -{ - ( theWrappedObject->setLastRead(dt)); -} - -void PythonQtWrapper_QUrlInfo::setPermissions(QUrlInfo* theWrappedObject, int p) -{ - ( ((PythonQtPublicPromoter_QUrlInfo*)theWrappedObject)->promoted_setPermissions(p)); -} - -bool PythonQtWrapper_QUrlInfo::isExecutable(QUrlInfo* theWrappedObject) const -{ - return ( theWrappedObject->isExecutable()); -} - -void PythonQtWrapper_QUrlInfo::setFile(QUrlInfo* theWrappedObject, bool b) -{ - ( ((PythonQtPublicPromoter_QUrlInfo*)theWrappedObject)->promoted_setFile(b)); -} - -qint64 PythonQtWrapper_QUrlInfo::size(QUrlInfo* theWrappedObject) const -{ - return ( theWrappedObject->size()); -} - -QString PythonQtWrapper_QUrlInfo::owner(QUrlInfo* theWrappedObject) const -{ - return ( theWrappedObject->owner()); -} - -int PythonQtWrapper_QUrlInfo::permissions(QUrlInfo* theWrappedObject) const -{ - return ( theWrappedObject->permissions()); -} - -void PythonQtWrapper_QUrlInfo::setGroup(QUrlInfo* theWrappedObject, const QString& s) -{ - ( ((PythonQtPublicPromoter_QUrlInfo*)theWrappedObject)->promoted_setGroup(s)); -} - -bool PythonQtWrapper_QUrlInfo::operator_equal(QUrlInfo* theWrappedObject, const QUrlInfo& i) const -{ - return ( (*theWrappedObject)== i); -} - -void PythonQtWrapper_QUrlInfo::setOwner(QUrlInfo* theWrappedObject, const QString& s) -{ - ( ((PythonQtPublicPromoter_QUrlInfo*)theWrappedObject)->promoted_setOwner(s)); -} - diff --git a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QUrlInfo.h b/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QUrlInfo.h deleted file mode 100644 index f150456..0000000 --- a/generated_cpp/com_trolltech_qt_network/PythonQtWrapper_QUrlInfo.h +++ /dev/null @@ -1,96 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QURLINFO_H -#define PYTHONQTWRAPPER_QURLINFO_H - -#include -#include - -#include - -#include -#include -#include -#include - -class PythonQtShell_QUrlInfo : public QUrlInfo -{ -public: - PythonQtShell_QUrlInfo():QUrlInfo(),_wrapper(NULL) {}; - PythonQtShell_QUrlInfo(const QString& name, int permissions, const QString& owner, const QString& group, qint64 size, const QDateTime& lastModified, const QDateTime& lastRead, bool isDir, bool isFile, bool isSymLink, bool isWritable, bool isReadable, bool isExecutable):QUrlInfo(name, permissions, owner, group, size, lastModified, lastRead, isDir, isFile, isSymLink, isWritable, isReadable, isExecutable),_wrapper(NULL) {}; - PythonQtShell_QUrlInfo(const QUrl& url, int permissions, const QString& owner, const QString& group, qint64 size, const QDateTime& lastModified, const QDateTime& lastRead, bool isDir, bool isFile, bool isSymLink, bool isWritable, bool isReadable, bool isExecutable):QUrlInfo(url, permissions, owner, group, size, lastModified, lastRead, isDir, isFile, isSymLink, isWritable, isReadable, isExecutable),_wrapper(NULL) {}; - PythonQtShell_QUrlInfo(const QUrlInfo& ui):QUrlInfo(ui),_wrapper(NULL) {}; - -virtual void setDir(bool b); -virtual void setFile(bool b); -virtual void setGroup(const QString& s); -virtual void setLastModified(const QDateTime& dt); -virtual void setName(const QString& name); -virtual void setOwner(const QString& s); -virtual void setPermissions(int p); -virtual void setReadable(bool b); -virtual void setSize(qint64 size); -virtual void setSymLink(bool b); -virtual void setWritable(bool b); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QUrlInfo : public QUrlInfo -{ public: -inline void promoted_setSize(qint64 size) { QUrlInfo::setSize(size); } -inline void promoted_setSymLink(bool b) { QUrlInfo::setSymLink(b); } -inline void promoted_setDir(bool b) { QUrlInfo::setDir(b); } -inline void promoted_setLastModified(const QDateTime& dt) { QUrlInfo::setLastModified(dt); } -inline void promoted_setName(const QString& name) { QUrlInfo::setName(name); } -inline void promoted_setReadable(bool b) { QUrlInfo::setReadable(b); } -inline void promoted_setWritable(bool b) { QUrlInfo::setWritable(b); } -inline void promoted_setPermissions(int p) { QUrlInfo::setPermissions(p); } -inline void promoted_setFile(bool b) { QUrlInfo::setFile(b); } -inline void promoted_setGroup(const QString& s) { QUrlInfo::setGroup(s); } -inline void promoted_setOwner(const QString& s) { QUrlInfo::setOwner(s); } -}; - -class PythonQtWrapper_QUrlInfo : public QObject -{ Q_OBJECT -public: -Q_ENUMS(PermissionSpec ) -enum PermissionSpec{ - ReadOwner = QUrlInfo::ReadOwner, WriteOwner = QUrlInfo::WriteOwner, ExeOwner = QUrlInfo::ExeOwner, ReadGroup = QUrlInfo::ReadGroup, WriteGroup = QUrlInfo::WriteGroup, ExeGroup = QUrlInfo::ExeGroup, ReadOther = QUrlInfo::ReadOther, WriteOther = QUrlInfo::WriteOther, ExeOther = QUrlInfo::ExeOther}; -public slots: -QUrlInfo* new_QUrlInfo(); -QUrlInfo* new_QUrlInfo(const QString& name, int permissions, const QString& owner, const QString& group, qint64 size, const QDateTime& lastModified, const QDateTime& lastRead, bool isDir, bool isFile, bool isSymLink, bool isWritable, bool isReadable, bool isExecutable); -QUrlInfo* new_QUrlInfo(const QUrl& url, int permissions, const QString& owner, const QString& group, qint64 size, const QDateTime& lastModified, const QDateTime& lastRead, bool isDir, bool isFile, bool isSymLink, bool isWritable, bool isReadable, bool isExecutable); -QUrlInfo* new_QUrlInfo(const QUrlInfo& ui); -void delete_QUrlInfo(QUrlInfo* obj) { delete obj; } - bool static_QUrlInfo_greaterThan(const QUrlInfo& i1, const QUrlInfo& i2, int sortBy); - bool static_QUrlInfo_lessThan(const QUrlInfo& i1, const QUrlInfo& i2, int sortBy); - bool isSymLink(QUrlInfo* theWrappedObject) const; - bool isValid(QUrlInfo* theWrappedObject) const; - QString group(QUrlInfo* theWrappedObject) const; - bool isReadable(QUrlInfo* theWrappedObject) const; - void setSize(QUrlInfo* theWrappedObject, qint64 size); - QDateTime lastModified(QUrlInfo* theWrappedObject) const; - void setSymLink(QUrlInfo* theWrappedObject, bool b); - bool isDir(QUrlInfo* theWrappedObject) const; - bool isFile(QUrlInfo* theWrappedObject) const; - bool static_QUrlInfo_equal(const QUrlInfo& i1, const QUrlInfo& i2, int sortBy); - QDateTime lastRead(QUrlInfo* theWrappedObject) const; - void setDir(QUrlInfo* theWrappedObject, bool b); - void setLastModified(QUrlInfo* theWrappedObject, const QDateTime& dt); - void setName(QUrlInfo* theWrappedObject, const QString& name); - void setReadable(QUrlInfo* theWrappedObject, bool b); - QString name(QUrlInfo* theWrappedObject) const; - void setWritable(QUrlInfo* theWrappedObject, bool b); - bool isWritable(QUrlInfo* theWrappedObject) const; - void setLastRead(QUrlInfo* theWrappedObject, const QDateTime& dt); - void setPermissions(QUrlInfo* theWrappedObject, int p); - bool isExecutable(QUrlInfo* theWrappedObject) const; - void setFile(QUrlInfo* theWrappedObject, bool b); - qint64 size(QUrlInfo* theWrappedObject) const; - QString owner(QUrlInfo* theWrappedObject) const; - int permissions(QUrlInfo* theWrappedObject) const; - void setGroup(QUrlInfo* theWrappedObject, const QString& s); - bool operator_equal(QUrlInfo* theWrappedObject, const QUrlInfo& i) const; - void setOwner(QUrlInfo* theWrappedObject, const QString& s); -}; - -#endif // PYTHONQTWRAPPER_QURLINFO_H diff --git a/generated_cpp/com_trolltech_qt_network/com_trolltech_qt_network.pri b/generated_cpp/com_trolltech_qt_network/com_trolltech_qt_network.pri deleted file mode 100644 index 01499ba..0000000 --- a/generated_cpp/com_trolltech_qt_network/com_trolltech_qt_network.pri +++ /dev/null @@ -1,54 +0,0 @@ -HEADERS += \ - $$PWD/PythonQtWrapper_QAbstractSocket.h \ - $$PWD/PythonQtWrapper_QAuthenticator.h \ - $$PWD/PythonQtWrapper_QFtp.h \ - $$PWD/PythonQtWrapper_QHostAddress.h \ - $$PWD/PythonQtWrapper_QHostInfo.h \ - $$PWD/PythonQtWrapper_QHttp.h \ - $$PWD/PythonQtWrapper_QHttpHeader.h \ - $$PWD/PythonQtWrapper_QHttpRequestHeader.h \ - $$PWD/PythonQtWrapper_QHttpResponseHeader.h \ - $$PWD/PythonQtWrapper_QIPv6Address.h \ - $$PWD/PythonQtWrapper_QLocalServer.h \ - $$PWD/PythonQtWrapper_QLocalSocket.h \ - $$PWD/PythonQtWrapper_QNetworkAccessManager.h \ - $$PWD/PythonQtWrapper_QNetworkAddressEntry.h \ - $$PWD/PythonQtWrapper_QNetworkCookie.h \ - $$PWD/PythonQtWrapper_QNetworkCookieJar.h \ - $$PWD/PythonQtWrapper_QNetworkInterface.h \ - $$PWD/PythonQtWrapper_QNetworkProxy.h \ - $$PWD/PythonQtWrapper_QNetworkReply.h \ - $$PWD/PythonQtWrapper_QNetworkRequest.h \ - $$PWD/PythonQtWrapper_QSsl.h \ - $$PWD/PythonQtWrapper_QTcpServer.h \ - $$PWD/PythonQtWrapper_QTcpSocket.h \ - $$PWD/PythonQtWrapper_QUdpSocket.h \ - $$PWD/PythonQtWrapper_QUrlInfo.h \ - -SOURCES += \ - $$PWD/PythonQtWrapper_QAbstractSocket.cpp \ - $$PWD/PythonQtWrapper_QAuthenticator.cpp \ - $$PWD/PythonQtWrapper_QFtp.cpp \ - $$PWD/PythonQtWrapper_QHostAddress.cpp \ - $$PWD/PythonQtWrapper_QHostInfo.cpp \ - $$PWD/PythonQtWrapper_QHttp.cpp \ - $$PWD/PythonQtWrapper_QHttpHeader.cpp \ - $$PWD/PythonQtWrapper_QHttpRequestHeader.cpp \ - $$PWD/PythonQtWrapper_QHttpResponseHeader.cpp \ - $$PWD/PythonQtWrapper_QIPv6Address.cpp \ - $$PWD/PythonQtWrapper_QLocalServer.cpp \ - $$PWD/PythonQtWrapper_QLocalSocket.cpp \ - $$PWD/PythonQtWrapper_QNetworkAccessManager.cpp \ - $$PWD/PythonQtWrapper_QNetworkAddressEntry.cpp \ - $$PWD/PythonQtWrapper_QNetworkCookie.cpp \ - $$PWD/PythonQtWrapper_QNetworkCookieJar.cpp \ - $$PWD/PythonQtWrapper_QNetworkInterface.cpp \ - $$PWD/PythonQtWrapper_QNetworkProxy.cpp \ - $$PWD/PythonQtWrapper_QNetworkReply.cpp \ - $$PWD/PythonQtWrapper_QNetworkRequest.cpp \ - $$PWD/PythonQtWrapper_QSsl.cpp \ - $$PWD/PythonQtWrapper_QTcpServer.cpp \ - $$PWD/PythonQtWrapper_QTcpSocket.cpp \ - $$PWD/PythonQtWrapper_QUdpSocket.cpp \ - $$PWD/PythonQtWrapper_QUrlInfo.cpp \ - $$PWD/com_trolltech_qt_network_init.cpp diff --git a/generated_cpp/com_trolltech_qt_network/com_trolltech_qt_network_init.cpp b/generated_cpp/com_trolltech_qt_network/com_trolltech_qt_network_init.cpp deleted file mode 100644 index 69d7b5a..0000000 --- a/generated_cpp/com_trolltech_qt_network/com_trolltech_qt_network_init.cpp +++ /dev/null @@ -1,56 +0,0 @@ -#include -#include "PythonQtWrapper_QNetworkCookie.h" -#include "PythonQtWrapper_QHostInfo.h" -#include "PythonQtWrapper_QAuthenticator.h" -#include "PythonQtWrapper_QUrlInfo.h" -#include "PythonQtWrapper_QHttpHeader.h" -#include "PythonQtWrapper_QNetworkInterface.h" -#include "PythonQtWrapper_QNetworkProxy.h" -#include "PythonQtWrapper_QHostAddress.h" -#include "PythonQtWrapper_QIPv6Address.h" -#include "PythonQtWrapper_QNetworkRequest.h" -#include "PythonQtWrapper_QNetworkAddressEntry.h" -#include "PythonQtWrapper_QSsl.h" -#include "PythonQtWrapper_QTcpServer.h" -#include "PythonQtWrapper_QNetworkCookieJar.h" -#include "PythonQtWrapper_QFtp.h" -#include "PythonQtWrapper_QHttpRequestHeader.h" -#include "PythonQtWrapper_QLocalServer.h" -#include "PythonQtWrapper_QNetworkAccessManager.h" -#include "PythonQtWrapper_QHttpResponseHeader.h" -#include "PythonQtWrapper_QHttp.h" -#include "PythonQtWrapper_QNetworkReply.h" -#include "PythonQtWrapper_QAbstractSocket.h" -#include "PythonQtWrapper_QLocalSocket.h" -#include "PythonQtWrapper_QUdpSocket.h" -#include "PythonQtWrapper_QTcpSocket.h" - - -void PythonQt_init_QtNetwork() { -PythonQt::self()->registerCPPClass("QNetworkCookie", "", "QtNetwork", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QHostInfo", "", "QtNetwork", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QAuthenticator", "", "QtNetwork", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QUrlInfo", "", "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QHttpHeader", "", "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QNetworkInterface", "", "QtNetwork", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QNetworkProxy", "", "QtNetwork", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QHostAddress", "", "QtNetwork", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QIPv6Address", "", "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QNetworkRequest", "", "QtNetwork", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QNetworkAddressEntry", "", "QtNetwork", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QSsl", "", "QtNetwork", PythonQtCreateObject); -PythonQt::self()->registerClass(&QTcpServer::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QNetworkCookieJar::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QFtp::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QHttpRequestHeader", "QHttpHeader", "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QLocalServer::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QNetworkAccessManager::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QHttpResponseHeader", "QHttpHeader", "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QHttp::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QNetworkReply::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QAbstractSocket::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QLocalSocket::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QUdpSocket::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QTcpSocket::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); - -} diff --git a/generated_cpp/com_trolltech_qt_opengl/PythonQtWrapper_QGLColormap.cpp b/generated_cpp/com_trolltech_qt_opengl/PythonQtWrapper_QGLColormap.cpp deleted file mode 100644 index 81e5197..0000000 --- a/generated_cpp/com_trolltech_qt_opengl/PythonQtWrapper_QGLColormap.cpp +++ /dev/null @@ -1,62 +0,0 @@ -#include "PythonQtWrapper_QGLColormap.h" - -#include -#include -#include -#include -#include -#include - -QGLColormap* PythonQtWrapper_QGLColormap::new_QGLColormap() -{ -return new PythonQtShell_QGLColormap(); } - -QGLColormap* PythonQtWrapper_QGLColormap::new_QGLColormap(const QGLColormap& arg__1) -{ -return new PythonQtShell_QGLColormap(arg__1); } - -unsigned int PythonQtWrapper_QGLColormap::entryRgb(QGLColormap* theWrappedObject, int idx) const -{ - return ( theWrappedObject->entryRgb(idx)); -} - -QColor PythonQtWrapper_QGLColormap::entryColor(QGLColormap* theWrappedObject, int idx) const -{ - return ( theWrappedObject->entryColor(idx)); -} - -int PythonQtWrapper_QGLColormap::find(QGLColormap* theWrappedObject, unsigned int color) const -{ - return ( theWrappedObject->find(color)); -} - -int PythonQtWrapper_QGLColormap::size(QGLColormap* theWrappedObject) const -{ - return ( theWrappedObject->size()); -} - -int PythonQtWrapper_QGLColormap::findNearest(QGLColormap* theWrappedObject, unsigned int color) const -{ - return ( theWrappedObject->findNearest(color)); -} - -void PythonQtWrapper_QGLColormap::setEntries(QGLColormap* theWrappedObject, int count, const unsigned int* colors, int base) -{ - ( theWrappedObject->setEntries(count, colors, base)); -} - -bool PythonQtWrapper_QGLColormap::isEmpty(QGLColormap* theWrappedObject) const -{ - return ( theWrappedObject->isEmpty()); -} - -void PythonQtWrapper_QGLColormap::setEntry(QGLColormap* theWrappedObject, int idx, const QColor& color) -{ - ( theWrappedObject->setEntry(idx, color)); -} - -void PythonQtWrapper_QGLColormap::setEntry(QGLColormap* theWrappedObject, int idx, unsigned int color) -{ - ( theWrappedObject->setEntry(idx, color)); -} - diff --git a/generated_cpp/com_trolltech_qt_opengl/PythonQtWrapper_QGLColormap.h b/generated_cpp/com_trolltech_qt_opengl/PythonQtWrapper_QGLColormap.h deleted file mode 100644 index f098bf5..0000000 --- a/generated_cpp/com_trolltech_qt_opengl/PythonQtWrapper_QGLColormap.h +++ /dev/null @@ -1,41 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QGLCOLORMAP_H -#define PYTHONQTWRAPPER_QGLCOLORMAP_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtShell_QGLColormap : public QGLColormap -{ -public: - PythonQtShell_QGLColormap():QGLColormap(),_wrapper(NULL) {}; - PythonQtShell_QGLColormap(const QGLColormap& arg__1):QGLColormap(arg__1),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QGLColormap : public QObject -{ Q_OBJECT -public: -public slots: -QGLColormap* new_QGLColormap(); -QGLColormap* new_QGLColormap(const QGLColormap& arg__1); -void delete_QGLColormap(QGLColormap* obj) { delete obj; } - unsigned int entryRgb(QGLColormap* theWrappedObject, int idx) const; - QColor entryColor(QGLColormap* theWrappedObject, int idx) const; - int find(QGLColormap* theWrappedObject, unsigned int color) const; - int size(QGLColormap* theWrappedObject) const; - int findNearest(QGLColormap* theWrappedObject, unsigned int color) const; - void setEntries(QGLColormap* theWrappedObject, int count, const unsigned int* colors, int base = 0); - bool isEmpty(QGLColormap* theWrappedObject) const; - void setEntry(QGLColormap* theWrappedObject, int idx, const QColor& color); - void setEntry(QGLColormap* theWrappedObject, int idx, unsigned int color); -}; - -#endif // PYTHONQTWRAPPER_QGLCOLORMAP_H diff --git a/generated_cpp/com_trolltech_qt_opengl/PythonQtWrapper_QGLContext.cpp b/generated_cpp/com_trolltech_qt_opengl/PythonQtWrapper_QGLContext.cpp deleted file mode 100644 index 64466ed..0000000 --- a/generated_cpp/com_trolltech_qt_opengl/PythonQtWrapper_QGLContext.cpp +++ /dev/null @@ -1,239 +0,0 @@ -#include "PythonQtWrapper_QGLContext.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -bool PythonQtShell_QGLContext::chooseContext(const QGLContext* shareContext) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "chooseContext"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QGLContext*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&shareContext}; - 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("chooseContext", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGLContext::chooseContext(shareContext); -} -bool PythonQtShell_QGLContext::create(const QGLContext* shareContext) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "create"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QGLContext*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&shareContext}; - 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("create", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGLContext::create(shareContext); -} -void PythonQtShell_QGLContext::doneCurrent() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "doneCurrent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGLContext::doneCurrent(); -} -void PythonQtShell_QGLContext::makeCurrent() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "makeCurrent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGLContext::makeCurrent(); -} -void PythonQtShell_QGLContext::swapBuffers() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "swapBuffers"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGLContext::swapBuffers(); -} -QGLContext* PythonQtWrapper_QGLContext::new_QGLContext(const QGLFormat& format) -{ -return new PythonQtShell_QGLContext(format); } - -QGLContext* PythonQtWrapper_QGLContext::new_QGLContext(const QGLFormat& format, QPaintDevice* device) -{ -return new PythonQtShell_QGLContext(format, device); } - -void PythonQtWrapper_QGLContext::setFormat(QGLContext* theWrappedObject, const QGLFormat& format) -{ - ( theWrappedObject->setFormat(format)); -} - -bool PythonQtWrapper_QGLContext::create(QGLContext* theWrappedObject, const QGLContext* shareContext) -{ - return ( ((PythonQtPublicPromoter_QGLContext*)theWrappedObject)->promoted_create(shareContext)); -} - -void PythonQtWrapper_QGLContext::makeCurrent(QGLContext* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QGLContext*)theWrappedObject)->promoted_makeCurrent()); -} - -void PythonQtWrapper_QGLContext::reset(QGLContext* theWrappedObject) -{ - ( theWrappedObject->reset()); -} - -void PythonQtWrapper_QGLContext::deleteTexture(QGLContext* theWrappedObject, unsigned int tx_id) -{ - ( theWrappedObject->deleteTexture(tx_id)); -} - -QPaintDevice* PythonQtWrapper_QGLContext::device(QGLContext* theWrappedObject) const -{ - return ( theWrappedObject->device()); -} - -void PythonQtWrapper_QGLContext::drawTexture(QGLContext* theWrappedObject, const QRectF& target, unsigned int textureId, unsigned int textureTarget) -{ - ( theWrappedObject->drawTexture(target, textureId, textureTarget)); -} - -unsigned int PythonQtWrapper_QGLContext::bindTexture(QGLContext* theWrappedObject, const QPixmap& pixmap, unsigned int target, int format) -{ - return ( theWrappedObject->bindTexture(pixmap, target, format)); -} - -void PythonQtWrapper_QGLContext::swapBuffers(QGLContext* theWrappedObject) const -{ - ( ((PythonQtPublicPromoter_QGLContext*)theWrappedObject)->promoted_swapBuffers()); -} - -bool PythonQtWrapper_QGLContext::isSharing(QGLContext* theWrappedObject) const -{ - return ( theWrappedObject->isSharing()); -} - -void PythonQtWrapper_QGLContext::drawTexture(QGLContext* theWrappedObject, const QPointF& point, unsigned int textureId, unsigned int textureTarget) -{ - ( theWrappedObject->drawTexture(point, textureId, textureTarget)); -} - -QGLFormat PythonQtWrapper_QGLContext::requestedFormat(QGLContext* theWrappedObject) const -{ - return ( theWrappedObject->requestedFormat()); -} - -QGLFormat PythonQtWrapper_QGLContext::format(QGLContext* theWrappedObject) const -{ - return ( theWrappedObject->format()); -} - -QColor PythonQtWrapper_QGLContext::overlayTransparentColor(QGLContext* theWrappedObject) const -{ - return ( theWrappedObject->overlayTransparentColor()); -} - -void PythonQtWrapper_QGLContext::static_QGLContext_setTextureCacheLimit(int size) -{ - (QGLContext::setTextureCacheLimit(size)); -} - -const QGLContext* PythonQtWrapper_QGLContext::static_QGLContext_currentContext() -{ - return (QGLContext::currentContext()); -} - -void PythonQtWrapper_QGLContext::doneCurrent(QGLContext* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QGLContext*)theWrappedObject)->promoted_doneCurrent()); -} - -int PythonQtWrapper_QGLContext::static_QGLContext_textureCacheLimit() -{ - return (QGLContext::textureCacheLimit()); -} - -unsigned int PythonQtWrapper_QGLContext::bindTexture(QGLContext* theWrappedObject, const QString& fileName) -{ - return ( theWrappedObject->bindTexture(fileName)); -} - -bool PythonQtWrapper_QGLContext::isValid(QGLContext* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -unsigned int PythonQtWrapper_QGLContext::bindTexture(QGLContext* theWrappedObject, const QImage& image, unsigned int target, int format) -{ - return ( theWrappedObject->bindTexture(image, target, format)); -} - -bool PythonQtWrapper_QGLContext::chooseContext(QGLContext* theWrappedObject, const QGLContext* shareContext) -{ - return ( ((PythonQtPublicPromoter_QGLContext*)theWrappedObject)->promoted_chooseContext(shareContext)); -} - diff --git a/generated_cpp/com_trolltech_qt_opengl/PythonQtWrapper_QGLContext.h b/generated_cpp/com_trolltech_qt_opengl/PythonQtWrapper_QGLContext.h deleted file mode 100644 index 039ab4d..0000000 --- a/generated_cpp/com_trolltech_qt_opengl/PythonQtWrapper_QGLContext.h +++ /dev/null @@ -1,73 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QGLCONTEXT_H -#define PYTHONQTWRAPPER_QGLCONTEXT_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QGLContext : public QGLContext -{ -public: - PythonQtShell_QGLContext(const QGLFormat& format):QGLContext(format),_wrapper(NULL) {}; - PythonQtShell_QGLContext(const QGLFormat& format, QPaintDevice* device):QGLContext(format, device),_wrapper(NULL) {}; - -virtual bool chooseContext(const QGLContext* shareContext = 0); -virtual bool create(const QGLContext* shareContext = 0); -virtual void doneCurrent(); -virtual void makeCurrent(); -virtual void swapBuffers() const; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QGLContext : public QGLContext -{ public: -inline bool promoted_create(const QGLContext* shareContext = 0) { return QGLContext::create(shareContext); } -inline void promoted_makeCurrent() { QGLContext::makeCurrent(); } -inline void promoted_swapBuffers() const { QGLContext::swapBuffers(); } -inline void promoted_doneCurrent() { QGLContext::doneCurrent(); } -inline bool promoted_chooseContext(const QGLContext* shareContext = 0) { return QGLContext::chooseContext(shareContext); } -}; - -class PythonQtWrapper_QGLContext : public QObject -{ Q_OBJECT -public: -public slots: -QGLContext* new_QGLContext(const QGLFormat& format); -QGLContext* new_QGLContext(const QGLFormat& format, QPaintDevice* device); -void delete_QGLContext(QGLContext* obj) { delete obj; } - void setFormat(QGLContext* theWrappedObject, const QGLFormat& format); - bool create(QGLContext* theWrappedObject, const QGLContext* shareContext = 0); - void makeCurrent(QGLContext* theWrappedObject); - void reset(QGLContext* theWrappedObject); - void deleteTexture(QGLContext* theWrappedObject, unsigned int tx_id); - QPaintDevice* device(QGLContext* theWrappedObject) const; - void drawTexture(QGLContext* theWrappedObject, const QRectF& target, unsigned int textureId, unsigned int textureTarget = 0x0DE1); - unsigned int bindTexture(QGLContext* theWrappedObject, const QPixmap& pixmap, unsigned int target = 0x0DE1, int format = 0x1908); - void swapBuffers(QGLContext* theWrappedObject) const; - bool isSharing(QGLContext* theWrappedObject) const; - void drawTexture(QGLContext* theWrappedObject, const QPointF& point, unsigned int textureId, unsigned int textureTarget = 0x0DE1); - QGLFormat requestedFormat(QGLContext* theWrappedObject) const; - QGLFormat format(QGLContext* theWrappedObject) const; - QColor overlayTransparentColor(QGLContext* theWrappedObject) const; - void static_QGLContext_setTextureCacheLimit(int size); - const QGLContext* static_QGLContext_currentContext(); - void doneCurrent(QGLContext* theWrappedObject); - int static_QGLContext_textureCacheLimit(); - unsigned int bindTexture(QGLContext* theWrappedObject, const QString& fileName); - bool isValid(QGLContext* theWrappedObject) const; - unsigned int bindTexture(QGLContext* theWrappedObject, const QImage& image, unsigned int target = 0x0DE1, int format = 0x1908); - bool chooseContext(QGLContext* theWrappedObject, const QGLContext* shareContext = 0); -}; - -#endif // PYTHONQTWRAPPER_QGLCONTEXT_H diff --git a/generated_cpp/com_trolltech_qt_opengl/PythonQtWrapper_QGLFramebufferObject.cpp b/generated_cpp/com_trolltech_qt_opengl/PythonQtWrapper_QGLFramebufferObject.cpp deleted file mode 100644 index b519d66..0000000 --- a/generated_cpp/com_trolltech_qt_opengl/PythonQtWrapper_QGLFramebufferObject.cpp +++ /dev/null @@ -1,184 +0,0 @@ -#include "PythonQtWrapper_QGLFramebufferObject.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -int PythonQtShell_QGLFramebufferObject::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGLFramebufferObject::devType(); -} -int PythonQtShell_QGLFramebufferObject::metric(QPaintDevice::PaintDeviceMetric metric) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&metric}; - 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("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGLFramebufferObject::metric(metric); -} -QPaintEngine* PythonQtShell_QGLFramebufferObject::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGLFramebufferObject::paintEngine(); -} -QGLFramebufferObject* PythonQtWrapper_QGLFramebufferObject::new_QGLFramebufferObject(const QSize& size, QGLFramebufferObject::Attachment attachment, unsigned int target, unsigned int internal_format) -{ -return new PythonQtShell_QGLFramebufferObject(size, attachment, target, internal_format); } - -QGLFramebufferObject* PythonQtWrapper_QGLFramebufferObject::new_QGLFramebufferObject(const QSize& size, unsigned int target) -{ -return new PythonQtShell_QGLFramebufferObject(size, target); } - -QGLFramebufferObject* PythonQtWrapper_QGLFramebufferObject::new_QGLFramebufferObject(int width, int height, QGLFramebufferObject::Attachment attachment, unsigned int target, unsigned int internal_format) -{ -return new PythonQtShell_QGLFramebufferObject(width, height, attachment, target, internal_format); } - -QGLFramebufferObject* PythonQtWrapper_QGLFramebufferObject::new_QGLFramebufferObject(int width, int height, unsigned int target) -{ -return new PythonQtShell_QGLFramebufferObject(width, height, target); } - -bool PythonQtWrapper_QGLFramebufferObject::release(QGLFramebufferObject* theWrappedObject) -{ - return ( theWrappedObject->release()); -} - -int PythonQtWrapper_QGLFramebufferObject::devType(QGLFramebufferObject* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QGLFramebufferObject*)theWrappedObject)->promoted_devType()); -} - -bool PythonQtWrapper_QGLFramebufferObject::isValid(QGLFramebufferObject* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -QImage PythonQtWrapper_QGLFramebufferObject::toImage(QGLFramebufferObject* theWrappedObject) const -{ - return ( theWrappedObject->toImage()); -} - -int PythonQtWrapper_QGLFramebufferObject::metric(QGLFramebufferObject* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const -{ - return ( ((PythonQtPublicPromoter_QGLFramebufferObject*)theWrappedObject)->promoted_metric(metric)); -} - -QPaintEngine* PythonQtWrapper_QGLFramebufferObject::paintEngine(QGLFramebufferObject* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QGLFramebufferObject*)theWrappedObject)->promoted_paintEngine()); -} - -QGLFramebufferObject::Attachment PythonQtWrapper_QGLFramebufferObject::attachment(QGLFramebufferObject* theWrappedObject) const -{ - return ( theWrappedObject->attachment()); -} - -void PythonQtWrapper_QGLFramebufferObject::drawTexture(QGLFramebufferObject* theWrappedObject, const QRectF& target, unsigned int textureId, unsigned int textureTarget) -{ - ( theWrappedObject->drawTexture(target, textureId, textureTarget)); -} - -bool PythonQtWrapper_QGLFramebufferObject::static_QGLFramebufferObject_hasOpenGLFramebufferObjects() -{ - return (QGLFramebufferObject::hasOpenGLFramebufferObjects()); -} - -QSize PythonQtWrapper_QGLFramebufferObject::size(QGLFramebufferObject* theWrappedObject) const -{ - return ( theWrappedObject->size()); -} - -unsigned int PythonQtWrapper_QGLFramebufferObject::texture(QGLFramebufferObject* theWrappedObject) const -{ - return ( theWrappedObject->texture()); -} - -unsigned int PythonQtWrapper_QGLFramebufferObject::handle(QGLFramebufferObject* theWrappedObject) const -{ - return ( theWrappedObject->handle()); -} - -bool PythonQtWrapper_QGLFramebufferObject::bind(QGLFramebufferObject* theWrappedObject) -{ - return ( theWrappedObject->bind()); -} - -void PythonQtWrapper_QGLFramebufferObject::drawTexture(QGLFramebufferObject* theWrappedObject, const QPointF& point, unsigned int textureId, unsigned int textureTarget) -{ - ( theWrappedObject->drawTexture(point, textureId, textureTarget)); -} - diff --git a/generated_cpp/com_trolltech_qt_opengl/PythonQtWrapper_QGLFramebufferObject.h b/generated_cpp/com_trolltech_qt_opengl/PythonQtWrapper_QGLFramebufferObject.h deleted file mode 100644 index 3f8a621..0000000 --- a/generated_cpp/com_trolltech_qt_opengl/PythonQtWrapper_QGLFramebufferObject.h +++ /dev/null @@ -1,68 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QGLFRAMEBUFFEROBJECT_H -#define PYTHONQTWRAPPER_QGLFRAMEBUFFEROBJECT_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QGLFramebufferObject : public QGLFramebufferObject -{ -public: - PythonQtShell_QGLFramebufferObject(const QSize& size, QGLFramebufferObject::Attachment attachment, unsigned int target = 0x0DE1, unsigned int internal_format = 0x8058):QGLFramebufferObject(size, attachment, target, internal_format),_wrapper(NULL) {}; - PythonQtShell_QGLFramebufferObject(const QSize& size, unsigned int target = 0x0DE1):QGLFramebufferObject(size, target),_wrapper(NULL) {}; - PythonQtShell_QGLFramebufferObject(int width, int height, QGLFramebufferObject::Attachment attachment, unsigned int target = 0x0DE1, unsigned int internal_format = 0x8058):QGLFramebufferObject(width, height, attachment, target, internal_format),_wrapper(NULL) {}; - PythonQtShell_QGLFramebufferObject(int width, int height, unsigned int target = 0x0DE1):QGLFramebufferObject(width, height, target),_wrapper(NULL) {}; - -virtual int devType() const; -virtual int metric(QPaintDevice::PaintDeviceMetric metric) const; -virtual QPaintEngine* paintEngine() const; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QGLFramebufferObject : public QGLFramebufferObject -{ public: -inline int promoted_devType() const { return QGLFramebufferObject::devType(); } -inline int promoted_metric(QPaintDevice::PaintDeviceMetric metric) const { return QGLFramebufferObject::metric(metric); } -inline QPaintEngine* promoted_paintEngine() const { return QGLFramebufferObject::paintEngine(); } -}; - -class PythonQtWrapper_QGLFramebufferObject : public QObject -{ Q_OBJECT -public: -Q_ENUMS(Attachment ) -enum Attachment{ - NoAttachment = QGLFramebufferObject::NoAttachment, CombinedDepthStencil = QGLFramebufferObject::CombinedDepthStencil, Depth = QGLFramebufferObject::Depth}; -public slots: -QGLFramebufferObject* new_QGLFramebufferObject(const QSize& size, QGLFramebufferObject::Attachment attachment, unsigned int target = 0x0DE1, unsigned int internal_format = 0x8058); -QGLFramebufferObject* new_QGLFramebufferObject(const QSize& size, unsigned int target = 0x0DE1); -QGLFramebufferObject* new_QGLFramebufferObject(int width, int height, QGLFramebufferObject::Attachment attachment, unsigned int target = 0x0DE1, unsigned int internal_format = 0x8058); -QGLFramebufferObject* new_QGLFramebufferObject(int width, int height, unsigned int target = 0x0DE1); -void delete_QGLFramebufferObject(QGLFramebufferObject* obj) { delete obj; } - bool release(QGLFramebufferObject* theWrappedObject); - int devType(QGLFramebufferObject* theWrappedObject) const; - bool isValid(QGLFramebufferObject* theWrappedObject) const; - QImage toImage(QGLFramebufferObject* theWrappedObject) const; - int metric(QGLFramebufferObject* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const; - QPaintEngine* paintEngine(QGLFramebufferObject* theWrappedObject) const; - QGLFramebufferObject::Attachment attachment(QGLFramebufferObject* theWrappedObject) const; - void drawTexture(QGLFramebufferObject* theWrappedObject, const QRectF& target, unsigned int textureId, unsigned int textureTarget = 0x0DE1); - bool static_QGLFramebufferObject_hasOpenGLFramebufferObjects(); - QSize size(QGLFramebufferObject* theWrappedObject) const; - unsigned int texture(QGLFramebufferObject* theWrappedObject) const; - unsigned int handle(QGLFramebufferObject* theWrappedObject) const; - bool bind(QGLFramebufferObject* theWrappedObject); - void drawTexture(QGLFramebufferObject* theWrappedObject, const QPointF& point, unsigned int textureId, unsigned int textureTarget = 0x0DE1); -}; - -#endif // PYTHONQTWRAPPER_QGLFRAMEBUFFEROBJECT_H diff --git a/generated_cpp/com_trolltech_qt_opengl/PythonQtWrapper_QGLPixelBuffer.cpp b/generated_cpp/com_trolltech_qt_opengl/PythonQtWrapper_QGLPixelBuffer.cpp deleted file mode 100644 index 9552ea1..0000000 --- a/generated_cpp/com_trolltech_qt_opengl/PythonQtWrapper_QGLPixelBuffer.cpp +++ /dev/null @@ -1,214 +0,0 @@ -#include "PythonQtWrapper_QGLPixelBuffer.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -int PythonQtShell_QGLPixelBuffer::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGLPixelBuffer::devType(); -} -int PythonQtShell_QGLPixelBuffer::metric(QPaintDevice::PaintDeviceMetric metric) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&metric}; - 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("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGLPixelBuffer::metric(metric); -} -QPaintEngine* PythonQtShell_QGLPixelBuffer::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGLPixelBuffer::paintEngine(); -} -QGLPixelBuffer* PythonQtWrapper_QGLPixelBuffer::new_QGLPixelBuffer(const QSize& size, const QGLFormat& format, QGLWidget* shareWidget) -{ -return new PythonQtShell_QGLPixelBuffer(size, format, shareWidget); } - -QGLPixelBuffer* PythonQtWrapper_QGLPixelBuffer::new_QGLPixelBuffer(int width, int height, const QGLFormat& format, QGLWidget* shareWidget) -{ -return new PythonQtShell_QGLPixelBuffer(width, height, format, shareWidget); } - -unsigned int PythonQtWrapper_QGLPixelBuffer::bindTexture(QGLPixelBuffer* theWrappedObject, const QString& fileName) -{ - return ( theWrappedObject->bindTexture(fileName)); -} - -QSize PythonQtWrapper_QGLPixelBuffer::size(QGLPixelBuffer* theWrappedObject) const -{ - return ( theWrappedObject->size()); -} - -QGLFormat PythonQtWrapper_QGLPixelBuffer::format(QGLPixelBuffer* theWrappedObject) const -{ - return ( theWrappedObject->format()); -} - -void PythonQtWrapper_QGLPixelBuffer::drawTexture(QGLPixelBuffer* theWrappedObject, const QPointF& point, unsigned int textureId, unsigned int textureTarget) -{ - ( theWrappedObject->drawTexture(point, textureId, textureTarget)); -} - -Qt::HANDLE PythonQtWrapper_QGLPixelBuffer::handle(QGLPixelBuffer* theWrappedObject) const -{ - return ( theWrappedObject->handle()); -} - -void PythonQtWrapper_QGLPixelBuffer::releaseFromDynamicTexture(QGLPixelBuffer* theWrappedObject) -{ - ( theWrappedObject->releaseFromDynamicTexture()); -} - -bool PythonQtWrapper_QGLPixelBuffer::doneCurrent(QGLPixelBuffer* theWrappedObject) -{ - return ( theWrappedObject->doneCurrent()); -} - -bool PythonQtWrapper_QGLPixelBuffer::static_QGLPixelBuffer_hasOpenGLPbuffers() -{ - return (QGLPixelBuffer::hasOpenGLPbuffers()); -} - -bool PythonQtWrapper_QGLPixelBuffer::bindToDynamicTexture(QGLPixelBuffer* theWrappedObject, unsigned int texture) -{ - return ( theWrappedObject->bindToDynamicTexture(texture)); -} - -void PythonQtWrapper_QGLPixelBuffer::drawTexture(QGLPixelBuffer* theWrappedObject, const QRectF& target, unsigned int textureId, unsigned int textureTarget) -{ - ( theWrappedObject->drawTexture(target, textureId, textureTarget)); -} - -unsigned int PythonQtWrapper_QGLPixelBuffer::bindTexture(QGLPixelBuffer* theWrappedObject, const QImage& image, unsigned int target) -{ - return ( theWrappedObject->bindTexture(image, target)); -} - -void PythonQtWrapper_QGLPixelBuffer::updateDynamicTexture(QGLPixelBuffer* theWrappedObject, unsigned int texture_id) const -{ - ( theWrappedObject->updateDynamicTexture(texture_id)); -} - -bool PythonQtWrapper_QGLPixelBuffer::isValid(QGLPixelBuffer* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -unsigned int PythonQtWrapper_QGLPixelBuffer::bindTexture(QGLPixelBuffer* theWrappedObject, const QPixmap& pixmap, unsigned int target) -{ - return ( theWrappedObject->bindTexture(pixmap, target)); -} - -void PythonQtWrapper_QGLPixelBuffer::deleteTexture(QGLPixelBuffer* theWrappedObject, unsigned int texture_id) -{ - ( theWrappedObject->deleteTexture(texture_id)); -} - -unsigned int PythonQtWrapper_QGLPixelBuffer::generateDynamicTexture(QGLPixelBuffer* theWrappedObject) const -{ - return ( theWrappedObject->generateDynamicTexture()); -} - -int PythonQtWrapper_QGLPixelBuffer::metric(QGLPixelBuffer* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const -{ - return ( ((PythonQtPublicPromoter_QGLPixelBuffer*)theWrappedObject)->promoted_metric(metric)); -} - -int PythonQtWrapper_QGLPixelBuffer::devType(QGLPixelBuffer* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QGLPixelBuffer*)theWrappedObject)->promoted_devType()); -} - -QImage PythonQtWrapper_QGLPixelBuffer::toImage(QGLPixelBuffer* theWrappedObject) const -{ - return ( theWrappedObject->toImage()); -} - -QPaintEngine* PythonQtWrapper_QGLPixelBuffer::paintEngine(QGLPixelBuffer* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QGLPixelBuffer*)theWrappedObject)->promoted_paintEngine()); -} - -bool PythonQtWrapper_QGLPixelBuffer::makeCurrent(QGLPixelBuffer* theWrappedObject) -{ - return ( theWrappedObject->makeCurrent()); -} - diff --git a/generated_cpp/com_trolltech_qt_opengl/PythonQtWrapper_QGLPixelBuffer.h b/generated_cpp/com_trolltech_qt_opengl/PythonQtWrapper_QGLPixelBuffer.h deleted file mode 100644 index 08b9b59..0000000 --- a/generated_cpp/com_trolltech_qt_opengl/PythonQtWrapper_QGLPixelBuffer.h +++ /dev/null @@ -1,71 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QGLPIXELBUFFER_H -#define PYTHONQTWRAPPER_QGLPIXELBUFFER_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QGLPixelBuffer : public QGLPixelBuffer -{ -public: - PythonQtShell_QGLPixelBuffer(const QSize& size, const QGLFormat& format = QGLFormat::defaultFormat(), QGLWidget* shareWidget = 0):QGLPixelBuffer(size, format, shareWidget),_wrapper(NULL) {}; - PythonQtShell_QGLPixelBuffer(int width, int height, const QGLFormat& format = QGLFormat::defaultFormat(), QGLWidget* shareWidget = 0):QGLPixelBuffer(width, height, format, shareWidget),_wrapper(NULL) {}; - -virtual int devType() const; -virtual int metric(QPaintDevice::PaintDeviceMetric metric) const; -virtual QPaintEngine* paintEngine() const; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QGLPixelBuffer : public QGLPixelBuffer -{ public: -inline int promoted_metric(QPaintDevice::PaintDeviceMetric metric) const { return QGLPixelBuffer::metric(metric); } -inline int promoted_devType() const { return QGLPixelBuffer::devType(); } -inline QPaintEngine* promoted_paintEngine() const { return QGLPixelBuffer::paintEngine(); } -}; - -class PythonQtWrapper_QGLPixelBuffer : public QObject -{ Q_OBJECT -public: -public slots: -QGLPixelBuffer* new_QGLPixelBuffer(const QSize& size, const QGLFormat& format = QGLFormat::defaultFormat(), QGLWidget* shareWidget = 0); -QGLPixelBuffer* new_QGLPixelBuffer(int width, int height, const QGLFormat& format = QGLFormat::defaultFormat(), QGLWidget* shareWidget = 0); -void delete_QGLPixelBuffer(QGLPixelBuffer* obj) { delete obj; } - unsigned int bindTexture(QGLPixelBuffer* theWrappedObject, const QString& fileName); - QSize size(QGLPixelBuffer* theWrappedObject) const; - QGLFormat format(QGLPixelBuffer* theWrappedObject) const; - void drawTexture(QGLPixelBuffer* theWrappedObject, const QPointF& point, unsigned int textureId, unsigned int textureTarget = 0x0DE1); - Qt::HANDLE handle(QGLPixelBuffer* theWrappedObject) const; - void releaseFromDynamicTexture(QGLPixelBuffer* theWrappedObject); - bool doneCurrent(QGLPixelBuffer* theWrappedObject); - bool static_QGLPixelBuffer_hasOpenGLPbuffers(); - bool bindToDynamicTexture(QGLPixelBuffer* theWrappedObject, unsigned int texture); - void drawTexture(QGLPixelBuffer* theWrappedObject, const QRectF& target, unsigned int textureId, unsigned int textureTarget = 0x0DE1); - unsigned int bindTexture(QGLPixelBuffer* theWrappedObject, const QImage& image, unsigned int target = 0x0DE1); - void updateDynamicTexture(QGLPixelBuffer* theWrappedObject, unsigned int texture_id) const; - bool isValid(QGLPixelBuffer* theWrappedObject) const; - unsigned int bindTexture(QGLPixelBuffer* theWrappedObject, const QPixmap& pixmap, unsigned int target = 0x0DE1); - void deleteTexture(QGLPixelBuffer* theWrappedObject, unsigned int texture_id); - unsigned int generateDynamicTexture(QGLPixelBuffer* theWrappedObject) const; - int metric(QGLPixelBuffer* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const; - int devType(QGLPixelBuffer* theWrappedObject) const; - QImage toImage(QGLPixelBuffer* theWrappedObject) const; - QPaintEngine* paintEngine(QGLPixelBuffer* theWrappedObject) const; - bool makeCurrent(QGLPixelBuffer* theWrappedObject); -}; - -#endif // PYTHONQTWRAPPER_QGLPIXELBUFFER_H diff --git a/generated_cpp/com_trolltech_qt_opengl/PythonQtWrapper_QGLWidget.cpp b/generated_cpp/com_trolltech_qt_opengl/PythonQtWrapper_QGLWidget.cpp deleted file mode 100644 index 5410caa..0000000 --- a/generated_cpp/com_trolltech_qt_opengl/PythonQtWrapper_QGLWidget.cpp +++ /dev/null @@ -1,1196 +0,0 @@ -#include "PythonQtWrapper_QGLWidget.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QGLWidget::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QGLWidget::actionEvent(arg__1); -} -void PythonQtShell_QGLWidget::changeEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGLWidget::changeEvent(arg__1); -} -void PythonQtShell_QGLWidget::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; - } -} - QGLWidget::childEvent(arg__1); -} -void PythonQtShell_QGLWidget::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QGLWidget::closeEvent(arg__1); -} -void PythonQtShell_QGLWidget::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGLWidget::contextMenuEvent(arg__1); -} -void PythonQtShell_QGLWidget::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; - } -} - QGLWidget::customEvent(arg__1); -} -int PythonQtShell_QGLWidget::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGLWidget::devType(); -} -void PythonQtShell_QGLWidget::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QGLWidget::dragEnterEvent(arg__1); -} -void PythonQtShell_QGLWidget::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QGLWidget::dragLeaveEvent(arg__1); -} -void PythonQtShell_QGLWidget::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QGLWidget::dragMoveEvent(arg__1); -} -void PythonQtShell_QGLWidget::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QGLWidget::dropEvent(arg__1); -} -void PythonQtShell_QGLWidget::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QGLWidget::enterEvent(arg__1); -} -bool PythonQtShell_QGLWidget::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGLWidget::event(arg__1); -} -bool PythonQtShell_QGLWidget::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGLWidget::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QGLWidget::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QGLWidget::focusInEvent(arg__1); -} -bool PythonQtShell_QGLWidget::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGLWidget::focusNextPrevChild(next); -} -void PythonQtShell_QGLWidget::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QGLWidget::focusOutEvent(arg__1); -} -void PythonQtShell_QGLWidget::glDraw() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "glDraw"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGLWidget::glDraw(); -} -void PythonQtShell_QGLWidget::glInit() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "glInit"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGLWidget::glInit(); -} -int PythonQtShell_QGLWidget::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGLWidget::heightForWidth(arg__1); -} -void PythonQtShell_QGLWidget::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QGLWidget::hideEvent(arg__1); -} -void PythonQtShell_QGLWidget::initializeGL() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "initializeGL"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGLWidget::initializeGL(); -} -void PythonQtShell_QGLWidget::initializeOverlayGL() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "initializeOverlayGL"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGLWidget::initializeOverlayGL(); -} -void PythonQtShell_QGLWidget::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QGLWidget::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QGLWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGLWidget::inputMethodQuery(arg__1); -} -void PythonQtShell_QGLWidget::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGLWidget::keyPressEvent(arg__1); -} -void PythonQtShell_QGLWidget::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGLWidget::keyReleaseEvent(arg__1); -} -void PythonQtShell_QGLWidget::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGLWidget::languageChange(); -} -void PythonQtShell_QGLWidget::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QGLWidget::leaveEvent(arg__1); -} -int PythonQtShell_QGLWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGLWidget::metric(arg__1); -} -QSize PythonQtShell_QGLWidget::minimumSizeHint() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGLWidget::minimumSizeHint(); -} -void PythonQtShell_QGLWidget::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QGLWidget::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QGLWidget::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QGLWidget::mouseMoveEvent(arg__1); -} -void PythonQtShell_QGLWidget::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QGLWidget::mousePressEvent(arg__1); -} -void PythonQtShell_QGLWidget::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QGLWidget::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QGLWidget::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGLWidget::moveEvent(arg__1); -} -QPaintEngine* PythonQtShell_QGLWidget::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGLWidget::paintEngine(); -} -void PythonQtShell_QGLWidget::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - 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; - } -} - QGLWidget::paintEvent(arg__1); -} -void PythonQtShell_QGLWidget::paintGL() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintGL"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGLWidget::paintGL(); -} -void PythonQtShell_QGLWidget::paintOverlayGL() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintOverlayGL"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGLWidget::paintOverlayGL(); -} -void PythonQtShell_QGLWidget::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - 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; - } -} - QGLWidget::resizeEvent(arg__1); -} -void PythonQtShell_QGLWidget::resizeGL(int w, int h) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeGL"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&w, (void*)&h}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGLWidget::resizeGL(w, h); -} -void PythonQtShell_QGLWidget::resizeOverlayGL(int w, int h) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeOverlayGL"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&w, (void*)&h}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGLWidget::resizeOverlayGL(w, h); -} -void PythonQtShell_QGLWidget::showEvent(QShowEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QGLWidget::showEvent(arg__1); -} -QSize PythonQtShell_QGLWidget::sizeHint() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getSizeHint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QGLWidget::sizeHint(); -} -void PythonQtShell_QGLWidget::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QGLWidget::tabletEvent(arg__1); -} -void PythonQtShell_QGLWidget::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; - } -} - QGLWidget::timerEvent(arg__1); -} -void PythonQtShell_QGLWidget::updateGL() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateGL"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGLWidget::updateGL(); -} -void PythonQtShell_QGLWidget::updateOverlayGL() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateOverlayGL"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGLWidget::updateOverlayGL(); -} -void PythonQtShell_QGLWidget::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QGLWidget::wheelEvent(arg__1); -} -QGLWidget* PythonQtWrapper_QGLWidget::new_QGLWidget(QGLContext* context, QWidget* parent, const QGLWidget* shareWidget, Qt::WindowFlags f) -{ -return new PythonQtShell_QGLWidget(context, parent, shareWidget, f); } - -QGLWidget* PythonQtWrapper_QGLWidget::new_QGLWidget(QWidget* parent, const QGLWidget* shareWidget, Qt::WindowFlags f) -{ -return new PythonQtShell_QGLWidget(parent, shareWidget, f); } - -QGLWidget* PythonQtWrapper_QGLWidget::new_QGLWidget(const QGLFormat& format, QWidget* parent, const QGLWidget* shareWidget, Qt::WindowFlags f) -{ -return new PythonQtShell_QGLWidget(format, parent, shareWidget, f); } - -QPaintEngine* PythonQtWrapper_QGLWidget::paintEngine(QGLWidget* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->promoted_paintEngine()); -} - -unsigned int PythonQtWrapper_QGLWidget::bindTexture(QGLWidget* theWrappedObject, const QPixmap& pixmap, unsigned int target, int format) -{ - return ( theWrappedObject->bindTexture(pixmap, target, format)); -} - -void PythonQtWrapper_QGLWidget::qglColor(QGLWidget* theWrappedObject, const QColor& c) const -{ - ( theWrappedObject->qglColor(c)); -} - -void PythonQtWrapper_QGLWidget::drawTexture(QGLWidget* theWrappedObject, const QPointF& point, unsigned int textureId, unsigned int textureTarget) -{ - ( theWrappedObject->drawTexture(point, textureId, textureTarget)); -} - -QPixmap PythonQtWrapper_QGLWidget::renderPixmap(QGLWidget* theWrappedObject, int w, int h, bool useContext) -{ - return ( theWrappedObject->renderPixmap(w, h, useContext)); -} - -void PythonQtWrapper_QGLWidget::resizeGL(QGLWidget* theWrappedObject, int w, int h) -{ - ( ((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->promoted_resizeGL(w, h)); -} - -QGLFormat PythonQtWrapper_QGLWidget::format(QGLWidget* theWrappedObject) const -{ - return ( theWrappedObject->format()); -} - -void PythonQtWrapper_QGLWidget::drawTexture(QGLWidget* theWrappedObject, const QRectF& target, unsigned int textureId, unsigned int textureTarget) -{ - ( theWrappedObject->drawTexture(target, textureId, textureTarget)); -} - -void PythonQtWrapper_QGLWidget::initializeOverlayGL(QGLWidget* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->promoted_initializeOverlayGL()); -} - -void PythonQtWrapper_QGLWidget::glDraw(QGLWidget* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->promoted_glDraw()); -} - -void PythonQtWrapper_QGLWidget::renderText(QGLWidget* theWrappedObject, int x, int y, const QString& str, const QFont& fnt, int listBase) -{ - ( theWrappedObject->renderText(x, y, str, fnt, listBase)); -} - -bool PythonQtWrapper_QGLWidget::isValid(QGLWidget* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -unsigned int PythonQtWrapper_QGLWidget::bindTexture(QGLWidget* theWrappedObject, const QString& fileName) -{ - return ( theWrappedObject->bindTexture(fileName)); -} - -void PythonQtWrapper_QGLWidget::resizeEvent(QGLWidget* theWrappedObject, QResizeEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->promoted_resizeEvent(arg__1)); -} - -void PythonQtWrapper_QGLWidget::renderText(QGLWidget* theWrappedObject, double x, double y, double z, const QString& str, const QFont& fnt, int listBase) -{ - ( theWrappedObject->renderText(x, y, z, str, fnt, listBase)); -} - -void PythonQtWrapper_QGLWidget::makeOverlayCurrent(QGLWidget* theWrappedObject) -{ - ( theWrappedObject->makeOverlayCurrent()); -} - -void PythonQtWrapper_QGLWidget::qglClearColor(QGLWidget* theWrappedObject, const QColor& c) const -{ - ( theWrappedObject->qglClearColor(c)); -} - -void PythonQtWrapper_QGLWidget::glInit(QGLWidget* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->promoted_glInit()); -} - -const QGLContext* PythonQtWrapper_QGLWidget::overlayContext(QGLWidget* theWrappedObject) const -{ - return ( theWrappedObject->overlayContext()); -} - -QImage PythonQtWrapper_QGLWidget::grabFrameBuffer(QGLWidget* theWrappedObject, bool withAlpha) -{ - return ( theWrappedObject->grabFrameBuffer(withAlpha)); -} - -void PythonQtWrapper_QGLWidget::resizeOverlayGL(QGLWidget* theWrappedObject, int w, int h) -{ - ( ((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->promoted_resizeOverlayGL(w, h)); -} - -void PythonQtWrapper_QGLWidget::setColormap(QGLWidget* theWrappedObject, const QGLColormap& map) -{ - ( theWrappedObject->setColormap(map)); -} - -void PythonQtWrapper_QGLWidget::paintGL(QGLWidget* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->promoted_paintGL()); -} - -bool PythonQtWrapper_QGLWidget::doubleBuffer(QGLWidget* theWrappedObject) const -{ - return ( theWrappedObject->doubleBuffer()); -} - -bool PythonQtWrapper_QGLWidget::isSharing(QGLWidget* theWrappedObject) const -{ - return ( theWrappedObject->isSharing()); -} - -void PythonQtWrapper_QGLWidget::doneCurrent(QGLWidget* theWrappedObject) -{ - ( theWrappedObject->doneCurrent()); -} - -void PythonQtWrapper_QGLWidget::initializeGL(QGLWidget* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->promoted_initializeGL()); -} - -bool PythonQtWrapper_QGLWidget::event(QGLWidget* theWrappedObject, QEvent* arg__1) -{ - return ( ((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->promoted_event(arg__1)); -} - -void PythonQtWrapper_QGLWidget::swapBuffers(QGLWidget* theWrappedObject) -{ - ( theWrappedObject->swapBuffers()); -} - -unsigned int PythonQtWrapper_QGLWidget::bindTexture(QGLWidget* theWrappedObject, const QImage& image, unsigned int target, int format) -{ - return ( theWrappedObject->bindTexture(image, target, format)); -} - -const QGLContext* PythonQtWrapper_QGLWidget::context(QGLWidget* theWrappedObject) const -{ - return ( theWrappedObject->context()); -} - -QImage PythonQtWrapper_QGLWidget::static_QGLWidget_convertToGLFormat(const QImage& img) -{ - return (QGLWidget::convertToGLFormat(img)); -} - -const QGLColormap* PythonQtWrapper_QGLWidget::colormap(QGLWidget* theWrappedObject) const -{ - return &( theWrappedObject->colormap()); -} - -void PythonQtWrapper_QGLWidget::makeCurrent(QGLWidget* theWrappedObject) -{ - ( theWrappedObject->makeCurrent()); -} - -void PythonQtWrapper_QGLWidget::paintOverlayGL(QGLWidget* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->promoted_paintOverlayGL()); -} - -void PythonQtWrapper_QGLWidget::paintEvent(QGLWidget* theWrappedObject, QPaintEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->promoted_paintEvent(arg__1)); -} - -void PythonQtWrapper_QGLWidget::deleteTexture(QGLWidget* theWrappedObject, unsigned int tx_id) -{ - ( theWrappedObject->deleteTexture(tx_id)); -} - diff --git a/generated_cpp/com_trolltech_qt_opengl/PythonQtWrapper_QGLWidget.h b/generated_cpp/com_trolltech_qt_opengl/PythonQtWrapper_QGLWidget.h deleted file mode 100644 index ee0fa71..0000000 --- a/generated_cpp/com_trolltech_qt_opengl/PythonQtWrapper_QGLWidget.h +++ /dev/null @@ -1,169 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QGLWIDGET_H -#define PYTHONQTWRAPPER_QGLWIDGET_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QGLWidget : public QGLWidget -{ -public: - PythonQtShell_QGLWidget(QGLContext* context, QWidget* parent = 0, const QGLWidget* shareWidget = 0, Qt::WindowFlags f = 0):QGLWidget(context, parent, shareWidget, f),_wrapper(NULL) {}; - PythonQtShell_QGLWidget(QWidget* parent = 0, const QGLWidget* shareWidget = 0, Qt::WindowFlags f = 0):QGLWidget(parent, shareWidget, f),_wrapper(NULL) {}; - PythonQtShell_QGLWidget(const QGLFormat& format, QWidget* parent = 0, const QGLWidget* shareWidget = 0, Qt::WindowFlags f = 0):QGLWidget(format, parent, shareWidget, f),_wrapper(NULL) {}; - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual void glDraw(); -virtual void glInit(); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void initializeGL(); -virtual void initializeOverlayGL(); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* arg__1); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual void paintGL(); -virtual void paintOverlayGL(); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void resizeGL(int w, int h); -virtual void resizeOverlayGL(int w, int h); -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void updateGL(); -virtual void updateOverlayGL(); -virtual void wheelEvent(QWheelEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QGLWidget : public QGLWidget -{ public: -inline QPaintEngine* promoted_paintEngine() const { return QGLWidget::paintEngine(); } -inline void promoted_resizeGL(int w, int h) { QGLWidget::resizeGL(w, h); } -inline void promoted_initializeOverlayGL() { QGLWidget::initializeOverlayGL(); } -inline void promoted_glDraw() { QGLWidget::glDraw(); } -inline void promoted_resizeEvent(QResizeEvent* arg__1) { QGLWidget::resizeEvent(arg__1); } -inline void promoted_glInit() { QGLWidget::glInit(); } -inline void promoted_updateOverlayGL() { QGLWidget::updateOverlayGL(); } -inline void promoted_updateGL() { QGLWidget::updateGL(); } -inline void promoted_resizeOverlayGL(int w, int h) { QGLWidget::resizeOverlayGL(w, h); } -inline void promoted_paintGL() { QGLWidget::paintGL(); } -inline void promoted_initializeGL() { QGLWidget::initializeGL(); } -inline bool promoted_event(QEvent* arg__1) { return QGLWidget::event(arg__1); } -inline void promoted_paintOverlayGL() { QGLWidget::paintOverlayGL(); } -inline void promoted_paintEvent(QPaintEvent* arg__1) { QGLWidget::paintEvent(arg__1); } -}; - -class PythonQtWrapper_QGLWidget : public QObject -{ Q_OBJECT -public: -public slots: -QGLWidget* new_QGLWidget(QGLContext* context, QWidget* parent = 0, const QGLWidget* shareWidget = 0, Qt::WindowFlags f = 0); -QGLWidget* new_QGLWidget(QWidget* parent = 0, const QGLWidget* shareWidget = 0, Qt::WindowFlags f = 0); -QGLWidget* new_QGLWidget(const QGLFormat& format, QWidget* parent = 0, const QGLWidget* shareWidget = 0, Qt::WindowFlags f = 0); -void delete_QGLWidget(QGLWidget* obj) { delete obj; } - QPaintEngine* paintEngine(QGLWidget* theWrappedObject) const; - unsigned int bindTexture(QGLWidget* theWrappedObject, const QPixmap& pixmap, unsigned int target = 0x0DE1, int format = 0x1908); - void qglColor(QGLWidget* theWrappedObject, const QColor& c) const; - void drawTexture(QGLWidget* theWrappedObject, const QPointF& point, unsigned int textureId, unsigned int textureTarget = 0x0DE1); - QPixmap renderPixmap(QGLWidget* theWrappedObject, int w = 0, int h = 0, bool useContext = false); - void resizeGL(QGLWidget* theWrappedObject, int w, int h); - QGLFormat format(QGLWidget* theWrappedObject) const; - void drawTexture(QGLWidget* theWrappedObject, const QRectF& target, unsigned int textureId, unsigned int textureTarget = 0x0DE1); - void initializeOverlayGL(QGLWidget* theWrappedObject); - void glDraw(QGLWidget* theWrappedObject); - void renderText(QGLWidget* theWrappedObject, int x, int y, const QString& str, const QFont& fnt = QFont(), int listBase = 2000); - bool isValid(QGLWidget* theWrappedObject) const; - unsigned int bindTexture(QGLWidget* theWrappedObject, const QString& fileName); - void resizeEvent(QGLWidget* theWrappedObject, QResizeEvent* arg__1); - void renderText(QGLWidget* theWrappedObject, double x, double y, double z, const QString& str, const QFont& fnt = QFont(), int listBase = 2000); - void makeOverlayCurrent(QGLWidget* theWrappedObject); - void qglClearColor(QGLWidget* theWrappedObject, const QColor& c) const; - void glInit(QGLWidget* theWrappedObject); - const QGLContext* overlayContext(QGLWidget* theWrappedObject) const; - QImage grabFrameBuffer(QGLWidget* theWrappedObject, bool withAlpha = false); - void resizeOverlayGL(QGLWidget* theWrappedObject, int w, int h); - void setColormap(QGLWidget* theWrappedObject, const QGLColormap& map); - void paintGL(QGLWidget* theWrappedObject); - bool doubleBuffer(QGLWidget* theWrappedObject) const; - bool isSharing(QGLWidget* theWrappedObject) const; - void doneCurrent(QGLWidget* theWrappedObject); - void initializeGL(QGLWidget* theWrappedObject); - bool event(QGLWidget* theWrappedObject, QEvent* arg__1); - void swapBuffers(QGLWidget* theWrappedObject); - unsigned int bindTexture(QGLWidget* theWrappedObject, const QImage& image, unsigned int target = 0x0DE1, int format = 0x1908); - const QGLContext* context(QGLWidget* theWrappedObject) const; - QImage static_QGLWidget_convertToGLFormat(const QImage& img); - const QGLColormap* colormap(QGLWidget* theWrappedObject) const; - void makeCurrent(QGLWidget* theWrappedObject); - void paintOverlayGL(QGLWidget* theWrappedObject); - void paintEvent(QGLWidget* theWrappedObject, QPaintEvent* arg__1); - void deleteTexture(QGLWidget* theWrappedObject, unsigned int tx_id); -}; - -#endif // PYTHONQTWRAPPER_QGLWIDGET_H diff --git a/generated_cpp/com_trolltech_qt_opengl/com_trolltech_qt_opengl.pri b/generated_cpp/com_trolltech_qt_opengl/com_trolltech_qt_opengl.pri deleted file mode 100644 index c213ef8..0000000 --- a/generated_cpp/com_trolltech_qt_opengl/com_trolltech_qt_opengl.pri +++ /dev/null @@ -1,14 +0,0 @@ -HEADERS += \ - $$PWD/PythonQtWrapper_QGLColormap.h \ - $$PWD/PythonQtWrapper_QGLContext.h \ - $$PWD/PythonQtWrapper_QGLFramebufferObject.h \ - $$PWD/PythonQtWrapper_QGLPixelBuffer.h \ - $$PWD/PythonQtWrapper_QGLWidget.h \ - -SOURCES += \ - $$PWD/PythonQtWrapper_QGLColormap.cpp \ - $$PWD/PythonQtWrapper_QGLContext.cpp \ - $$PWD/PythonQtWrapper_QGLFramebufferObject.cpp \ - $$PWD/PythonQtWrapper_QGLPixelBuffer.cpp \ - $$PWD/PythonQtWrapper_QGLWidget.cpp \ - $$PWD/com_trolltech_qt_opengl_init.cpp diff --git a/generated_cpp/com_trolltech_qt_opengl/com_trolltech_qt_opengl_init.cpp b/generated_cpp/com_trolltech_qt_opengl/com_trolltech_qt_opengl_init.cpp deleted file mode 100644 index b292363..0000000 --- a/generated_cpp/com_trolltech_qt_opengl/com_trolltech_qt_opengl_init.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include -#include "PythonQtWrapper_QGLColormap.h" -#include "PythonQtWrapper_QGLContext.h" -#include "PythonQtWrapper_QGLFramebufferObject.h" -#include "PythonQtWrapper_QGLPixelBuffer.h" -#include "PythonQtWrapper_QGLWidget.h" - - -void PythonQt_init_QtOpenGL() { -PythonQt::self()->registerCPPClass("QGLColormap", "", "QtOpenGL", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QGLContext", "", "QtOpenGL", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QGLFramebufferObject", "", "QtOpenGL", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->addParentClass("QGLFramebufferObject", "QPaintDevice",PythonQtUpcastingOffset()); -PythonQt::self()->registerCPPClass("QGLPixelBuffer", "", "QtOpenGL", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->addParentClass("QGLPixelBuffer", "QPaintDevice",PythonQtUpcastingOffset()); -PythonQt::self()->registerClass(&QGLWidget::staticMetaObject, "QtOpenGL", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); - -} diff --git a/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSql.cpp b/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSql.cpp deleted file mode 100644 index 332f841..0000000 --- a/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSql.cpp +++ /dev/null @@ -1,7 +0,0 @@ -#include "PythonQtWrapper_QSql.h" - -#include -#include -#include -#include - diff --git a/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSql.h b/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSql.h deleted file mode 100644 index 7f53804..0000000 --- a/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSql.h +++ /dev/null @@ -1,28 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSQL_H -#define PYTHONQTWRAPPER_QSQL_H - -#include -#include - -#include - -#include - -class PythonQtWrapper_QSql : public QObject -{ Q_OBJECT -public: -Q_ENUMS(NumericalPrecisionPolicy Location ParamTypeFlag TableType ) -Q_FLAGS(ParamType ) -enum NumericalPrecisionPolicy{ - LowPrecisionInt32 = QSql::LowPrecisionInt32, LowPrecisionInt64 = QSql::LowPrecisionInt64, LowPrecisionDouble = QSql::LowPrecisionDouble, HighPrecision = QSql::HighPrecision}; -enum Location{ - BeforeFirstRow = QSql::BeforeFirstRow, AfterLastRow = QSql::AfterLastRow}; -enum ParamTypeFlag{ - In = QSql::In, Out = QSql::Out, InOut = QSql::InOut, Binary = QSql::Binary}; -enum TableType{ - Tables = QSql::Tables, SystemTables = QSql::SystemTables, Views = QSql::Views, AllTables = QSql::AllTables}; -Q_DECLARE_FLAGS(ParamType, ParamTypeFlag) -public slots: -}; - -#endif // PYTHONQTWRAPPER_QSQL_H diff --git a/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlDatabase.cpp b/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlDatabase.cpp deleted file mode 100644 index bb49b20..0000000 --- a/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlDatabase.cpp +++ /dev/null @@ -1,230 +0,0 @@ -#include "PythonQtWrapper_QSqlDatabase.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QSqlDatabase* PythonQtWrapper_QSqlDatabase::new_QSqlDatabase() -{ -return new PythonQtShell_QSqlDatabase(); } - -QSqlDatabase* PythonQtWrapper_QSqlDatabase::new_QSqlDatabase(const QSqlDatabase& other) -{ -return new PythonQtShell_QSqlDatabase(other); } - -bool PythonQtWrapper_QSqlDatabase::static_QSqlDatabase_contains(const QString& connectionName) -{ - return (QSqlDatabase::contains(connectionName)); -} - -bool PythonQtWrapper_QSqlDatabase::isOpenError(QSqlDatabase* theWrappedObject) const -{ - return ( theWrappedObject->isOpenError()); -} - -bool PythonQtWrapper_QSqlDatabase::isValid(QSqlDatabase* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -QSqlError PythonQtWrapper_QSqlDatabase::lastError(QSqlDatabase* theWrappedObject) const -{ - return ( theWrappedObject->lastError()); -} - -void PythonQtWrapper_QSqlDatabase::setConnectOptions(QSqlDatabase* theWrappedObject, const QString& options) -{ - ( theWrappedObject->setConnectOptions(options)); -} - -void PythonQtWrapper_QSqlDatabase::setUserName(QSqlDatabase* theWrappedObject, const QString& name) -{ - ( theWrappedObject->setUserName(name)); -} - -void PythonQtWrapper_QSqlDatabase::setHostName(QSqlDatabase* theWrappedObject, const QString& host) -{ - ( theWrappedObject->setHostName(host)); -} - -QStringList PythonQtWrapper_QSqlDatabase::tables(QSqlDatabase* theWrappedObject, QSql::TableType type) const -{ - return ( theWrappedObject->tables(type)); -} - -void PythonQtWrapper_QSqlDatabase::setPort(QSqlDatabase* theWrappedObject, int p) -{ - ( theWrappedObject->setPort(p)); -} - -QString PythonQtWrapper_QSqlDatabase::connectionName(QSqlDatabase* theWrappedObject) const -{ - return ( theWrappedObject->connectionName()); -} - -void PythonQtWrapper_QSqlDatabase::static_QSqlDatabase_removeDatabase(const QString& connectionName) -{ - (QSqlDatabase::removeDatabase(connectionName)); -} - -QSqlDatabase PythonQtWrapper_QSqlDatabase::static_QSqlDatabase_cloneDatabase(const QSqlDatabase& other, const QString& connectionName) -{ - return (QSqlDatabase::cloneDatabase(other, connectionName)); -} - -QString PythonQtWrapper_QSqlDatabase::connectOptions(QSqlDatabase* theWrappedObject) const -{ - return ( theWrappedObject->connectOptions()); -} - -QStringList PythonQtWrapper_QSqlDatabase::static_QSqlDatabase_connectionNames() -{ - return (QSqlDatabase::connectionNames()); -} - -QSqlDatabase PythonQtWrapper_QSqlDatabase::static_QSqlDatabase_addDatabase(QSqlDriver* driver, const QString& connectionName) -{ - return (QSqlDatabase::addDatabase(driver, connectionName)); -} - -bool PythonQtWrapper_QSqlDatabase::rollback(QSqlDatabase* theWrappedObject) -{ - return ( theWrappedObject->rollback()); -} - -bool PythonQtWrapper_QSqlDatabase::isOpen(QSqlDatabase* theWrappedObject) const -{ - return ( theWrappedObject->isOpen()); -} - -int PythonQtWrapper_QSqlDatabase::port(QSqlDatabase* theWrappedObject) const -{ - return ( theWrappedObject->port()); -} - -QString PythonQtWrapper_QSqlDatabase::driverName(QSqlDatabase* theWrappedObject) const -{ - return ( theWrappedObject->driverName()); -} - -QSqlQuery PythonQtWrapper_QSqlDatabase::exec(QSqlDatabase* theWrappedObject, const QString& query) const -{ - return ( theWrappedObject->exec(query)); -} - -void PythonQtWrapper_QSqlDatabase::setDatabaseName(QSqlDatabase* theWrappedObject, const QString& name) -{ - ( theWrappedObject->setDatabaseName(name)); -} - -void PythonQtWrapper_QSqlDatabase::close(QSqlDatabase* theWrappedObject) -{ - ( theWrappedObject->close()); -} - -QSqlRecord PythonQtWrapper_QSqlDatabase::record(QSqlDatabase* theWrappedObject, const QString& tablename) const -{ - return ( theWrappedObject->record(tablename)); -} - -QString PythonQtWrapper_QSqlDatabase::userName(QSqlDatabase* theWrappedObject) const -{ - return ( theWrappedObject->userName()); -} - -QString PythonQtWrapper_QSqlDatabase::password(QSqlDatabase* theWrappedObject) const -{ - return ( theWrappedObject->password()); -} - -QString PythonQtWrapper_QSqlDatabase::databaseName(QSqlDatabase* theWrappedObject) const -{ - return ( theWrappedObject->databaseName()); -} - -QSqlDatabase PythonQtWrapper_QSqlDatabase::static_QSqlDatabase_database(const QString& connectionName, bool open) -{ - return (QSqlDatabase::database(connectionName, open)); -} - -QStringList PythonQtWrapper_QSqlDatabase::static_QSqlDatabase_drivers() -{ - return (QSqlDatabase::drivers()); -} - -void PythonQtWrapper_QSqlDatabase::static_QSqlDatabase_registerSqlDriver(const QString& name, QSqlDriverCreatorBase* creator) -{ - (QSqlDatabase::registerSqlDriver(name, creator)); -} - -void PythonQtWrapper_QSqlDatabase::setPassword(QSqlDatabase* theWrappedObject, const QString& password) -{ - ( theWrappedObject->setPassword(password)); -} - -bool PythonQtWrapper_QSqlDatabase::commit(QSqlDatabase* theWrappedObject) -{ - return ( theWrappedObject->commit()); -} - -QSqlDatabase PythonQtWrapper_QSqlDatabase::static_QSqlDatabase_addDatabase(const QString& type, const QString& connectionName) -{ - return (QSqlDatabase::addDatabase(type, connectionName)); -} - -QSqlDriver* PythonQtWrapper_QSqlDatabase::driver(QSqlDatabase* theWrappedObject) const -{ - return ( theWrappedObject->driver()); -} - -bool PythonQtWrapper_QSqlDatabase::transaction(QSqlDatabase* theWrappedObject) -{ - return ( theWrappedObject->transaction()); -} - -bool PythonQtWrapper_QSqlDatabase::open(QSqlDatabase* theWrappedObject, const QString& user, const QString& password) -{ - return ( theWrappedObject->open(user, password)); -} - -QSqlIndex PythonQtWrapper_QSqlDatabase::primaryIndex(QSqlDatabase* theWrappedObject, const QString& tablename) const -{ - return ( theWrappedObject->primaryIndex(tablename)); -} - -QString PythonQtWrapper_QSqlDatabase::hostName(QSqlDatabase* theWrappedObject) const -{ - return ( theWrappedObject->hostName()); -} - -bool PythonQtWrapper_QSqlDatabase::static_QSqlDatabase_isDriverAvailable(const QString& name) -{ - return (QSqlDatabase::isDriverAvailable(name)); -} - -bool PythonQtWrapper_QSqlDatabase::open(QSqlDatabase* theWrappedObject) -{ - return ( theWrappedObject->open()); -} - -QString PythonQtWrapper_QSqlDatabase::toString(QSqlDatabase* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; -} - diff --git a/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlDatabase.h b/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlDatabase.h deleted file mode 100644 index f91f0b8..0000000 --- a/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlDatabase.h +++ /dev/null @@ -1,85 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSQLDATABASE_H -#define PYTHONQTWRAPPER_QSQLDATABASE_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QSqlDatabase : public QSqlDatabase -{ -public: - PythonQtShell_QSqlDatabase():QSqlDatabase(),_wrapper(NULL) {}; - PythonQtShell_QSqlDatabase(QSqlDriver* driver):QSqlDatabase(driver),_wrapper(NULL) {}; - PythonQtShell_QSqlDatabase(const QSqlDatabase& other):QSqlDatabase(other),_wrapper(NULL) {}; - PythonQtShell_QSqlDatabase(const QString& type):QSqlDatabase(type),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QSqlDatabase : public QObject -{ Q_OBJECT -public: -public slots: -QSqlDatabase* new_QSqlDatabase(); -QSqlDatabase* new_QSqlDatabase(const QSqlDatabase& other); -void delete_QSqlDatabase(QSqlDatabase* obj) { delete obj; } - bool static_QSqlDatabase_contains(const QString& connectionName = QLatin1String(QSqlDatabase::defaultConnection)); - bool isOpenError(QSqlDatabase* theWrappedObject) const; - bool isValid(QSqlDatabase* theWrappedObject) const; - QSqlError lastError(QSqlDatabase* theWrappedObject) const; - void setConnectOptions(QSqlDatabase* theWrappedObject, const QString& options = QString()); - void setUserName(QSqlDatabase* theWrappedObject, const QString& name); - void setHostName(QSqlDatabase* theWrappedObject, const QString& host); - QStringList tables(QSqlDatabase* theWrappedObject, QSql::TableType type = QSql::Tables) const; - void setPort(QSqlDatabase* theWrappedObject, int p); - QString connectionName(QSqlDatabase* theWrappedObject) const; - void static_QSqlDatabase_removeDatabase(const QString& connectionName); - QSqlDatabase static_QSqlDatabase_cloneDatabase(const QSqlDatabase& other, const QString& connectionName); - QString connectOptions(QSqlDatabase* theWrappedObject) const; - QStringList static_QSqlDatabase_connectionNames(); - QSqlDatabase static_QSqlDatabase_addDatabase(QSqlDriver* driver, const QString& connectionName = QLatin1String(QSqlDatabase::defaultConnection)); - bool rollback(QSqlDatabase* theWrappedObject); - bool isOpen(QSqlDatabase* theWrappedObject) const; - int port(QSqlDatabase* theWrappedObject) const; - QString driverName(QSqlDatabase* theWrappedObject) const; - QSqlQuery exec(QSqlDatabase* theWrappedObject, const QString& query = QString()) const; - void setDatabaseName(QSqlDatabase* theWrappedObject, const QString& name); - void close(QSqlDatabase* theWrappedObject); - QSqlRecord record(QSqlDatabase* theWrappedObject, const QString& tablename) const; - QString userName(QSqlDatabase* theWrappedObject) const; - QString password(QSqlDatabase* theWrappedObject) const; - QString databaseName(QSqlDatabase* theWrappedObject) const; - QSqlDatabase static_QSqlDatabase_database(const QString& connectionName = QLatin1String(QSqlDatabase::defaultConnection), bool open = true); - QStringList static_QSqlDatabase_drivers(); - void static_QSqlDatabase_registerSqlDriver(const QString& name, QSqlDriverCreatorBase* creator); - void setPassword(QSqlDatabase* theWrappedObject, const QString& password); - bool commit(QSqlDatabase* theWrappedObject); - QSqlDatabase static_QSqlDatabase_addDatabase(const QString& type, const QString& connectionName = QLatin1String(QSqlDatabase::defaultConnection)); - QSqlDriver* driver(QSqlDatabase* theWrappedObject) const; - bool transaction(QSqlDatabase* theWrappedObject); - bool open(QSqlDatabase* theWrappedObject, const QString& user, const QString& password); - QSqlIndex primaryIndex(QSqlDatabase* theWrappedObject, const QString& tablename) const; - QString hostName(QSqlDatabase* theWrappedObject) const; - bool static_QSqlDatabase_isDriverAvailable(const QString& name); - bool open(QSqlDatabase* theWrappedObject); - QString toString(QSqlDatabase*); -}; - -#endif // PYTHONQTWRAPPER_QSQLDATABASE_H diff --git a/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlDriver.cpp b/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlDriver.cpp deleted file mode 100644 index 28255d4..0000000 --- a/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlDriver.cpp +++ /dev/null @@ -1,693 +0,0 @@ -#include "PythonQtWrapper_QSqlDriver.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -bool PythonQtShell_QSqlDriver::beginTransaction() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "beginTransaction"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("beginTransaction", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlDriver::beginTransaction(); -} -void PythonQtShell_QSqlDriver::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; - } -} - QSqlDriver::childEvent(arg__1); -} -void PythonQtShell_QSqlDriver::close() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "close"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - -} -bool PythonQtShell_QSqlDriver::commitTransaction() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "commitTransaction"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("commitTransaction", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlDriver::commitTransaction(); -} -QSqlResult* PythonQtShell_QSqlDriver::createResult() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "createResult"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSqlResult*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSqlResult* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("createResult", methodInfo, result); - } else { - returnValue = *((QSqlResult**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QSqlResult* result; -return result; -} -void PythonQtShell_QSqlDriver::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; - } -} - QSqlDriver::customEvent(arg__1); -} -QString PythonQtShell_QSqlDriver::escapeIdentifier(const QString& identifier, QSqlDriver::IdentifierType type) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "escapeIdentifier"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QString" , "const QString&" , "QSqlDriver::IdentifierType"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QString returnValue; - void* args[3] = {NULL, (void*)&identifier, (void*)&type}; - 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("escapeIdentifier", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlDriver::escapeIdentifier(identifier, type); -} -bool PythonQtShell_QSqlDriver::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlDriver::event(arg__1); -} -bool PythonQtShell_QSqlDriver::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlDriver::eventFilter(arg__1, arg__2); -} -QString PythonQtShell_QSqlDriver::formatValue(const QSqlField& field, bool trimStrings) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "formatValue"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QString" , "const QSqlField&" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QString returnValue; - void* args[3] = {NULL, (void*)&field, (void*)&trimStrings}; - 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("formatValue", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlDriver::formatValue(field, trimStrings); -} -QVariant PythonQtShell_QSqlDriver::handle() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "handle"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QVariant returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("handle", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlDriver::handle(); -} -bool PythonQtShell_QSqlDriver::hasFeature(QSqlDriver::DriverFeature f) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hasFeature"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QSqlDriver::DriverFeature"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&f}; - 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("hasFeature", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - bool result; -return result; -} -bool PythonQtShell_QSqlDriver::isOpen() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isOpen"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isOpen", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlDriver::isOpen(); -} -bool PythonQtShell_QSqlDriver::open(const QString& db, const QString& user, const QString& password, const QString& host, int port, const QString& connOpts) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "open"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "const QString&" , "const QString&" , "int" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(7, argumentList); - bool returnValue; - void* args[7] = {NULL, (void*)&db, (void*)&user, (void*)&password, (void*)&host, (void*)&port, (void*)&connOpts}; - 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("open", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - bool result; -return result; -} -QSqlIndex PythonQtShell_QSqlDriver::primaryIndex(const QString& tableName) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "primaryIndex"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSqlIndex" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QSqlIndex returnValue; - void* args[2] = {NULL, (void*)&tableName}; - 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("primaryIndex", methodInfo, result); - } else { - returnValue = *((QSqlIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlDriver::primaryIndex(tableName); -} -QSqlRecord PythonQtShell_QSqlDriver::record(const QString& tableName) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "record"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSqlRecord" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QSqlRecord returnValue; - void* args[2] = {NULL, (void*)&tableName}; - 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("record", methodInfo, result); - } else { - returnValue = *((QSqlRecord*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlDriver::record(tableName); -} -bool PythonQtShell_QSqlDriver::rollbackTransaction() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rollbackTransaction"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("rollbackTransaction", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlDriver::rollbackTransaction(); -} -void PythonQtShell_QSqlDriver::setLastError(const QSqlError& e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setLastError"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QSqlError&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSqlDriver::setLastError(e); -} -void PythonQtShell_QSqlDriver::setOpen(bool o) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setOpen"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&o}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSqlDriver::setOpen(o); -} -void PythonQtShell_QSqlDriver::setOpenError(bool e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setOpenError"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSqlDriver::setOpenError(e); -} -QString PythonQtShell_QSqlDriver::sqlStatement(QSqlDriver::StatementType type, const QString& tableName, const QSqlRecord& rec, bool preparedStatement) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sqlStatement"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QString" , "QSqlDriver::StatementType" , "const QString&" , "const QSqlRecord&" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - QString returnValue; - void* args[5] = {NULL, (void*)&type, (void*)&tableName, (void*)&rec, (void*)&preparedStatement}; - 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("sqlStatement", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlDriver::sqlStatement(type, tableName, rec, preparedStatement); -} -QStringList PythonQtShell_QSqlDriver::tables(QSql::TableType tableType) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tables"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QStringList" , "QSql::TableType"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QStringList returnValue; - void* args[2] = {NULL, (void*)&tableType}; - 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("tables", methodInfo, result); - } else { - returnValue = *((QStringList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlDriver::tables(tableType); -} -void PythonQtShell_QSqlDriver::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; - } -} - QSqlDriver::timerEvent(arg__1); -} -QSqlDriver* PythonQtWrapper_QSqlDriver::new_QSqlDriver(QObject* parent) -{ -return new PythonQtShell_QSqlDriver(parent); } - -QString PythonQtWrapper_QSqlDriver::sqlStatement(QSqlDriver* theWrappedObject, QSqlDriver::StatementType type, const QString& tableName, const QSqlRecord& rec, bool preparedStatement) const -{ - return ( ((PythonQtPublicPromoter_QSqlDriver*)theWrappedObject)->promoted_sqlStatement(type, tableName, rec, preparedStatement)); -} - -bool PythonQtWrapper_QSqlDriver::subscribeToNotification(QSqlDriver* theWrappedObject, const QString& name) -{ - return ( theWrappedObject->subscribeToNotification(name)); -} - -QVariant PythonQtWrapper_QSqlDriver::handle(QSqlDriver* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QSqlDriver*)theWrappedObject)->promoted_handle()); -} - -bool PythonQtWrapper_QSqlDriver::isOpenError(QSqlDriver* theWrappedObject) const -{ - return ( theWrappedObject->isOpenError()); -} - -void PythonQtWrapper_QSqlDriver::setLastError(QSqlDriver* theWrappedObject, const QSqlError& e) -{ - ( ((PythonQtPublicPromoter_QSqlDriver*)theWrappedObject)->promoted_setLastError(e)); -} - -void PythonQtWrapper_QSqlDriver::setOpenError(QSqlDriver* theWrappedObject, bool e) -{ - ( ((PythonQtPublicPromoter_QSqlDriver*)theWrappedObject)->promoted_setOpenError(e)); -} - -QSqlRecord PythonQtWrapper_QSqlDriver::record(QSqlDriver* theWrappedObject, const QString& tableName) const -{ - return ( ((PythonQtPublicPromoter_QSqlDriver*)theWrappedObject)->promoted_record(tableName)); -} - -QStringList PythonQtWrapper_QSqlDriver::tables(QSqlDriver* theWrappedObject, QSql::TableType tableType) const -{ - return ( ((PythonQtPublicPromoter_QSqlDriver*)theWrappedObject)->promoted_tables(tableType)); -} - -bool PythonQtWrapper_QSqlDriver::isOpen(QSqlDriver* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QSqlDriver*)theWrappedObject)->promoted_isOpen()); -} - -QString PythonQtWrapper_QSqlDriver::formatValue(QSqlDriver* theWrappedObject, const QSqlField& field, bool trimStrings) const -{ - return ( ((PythonQtPublicPromoter_QSqlDriver*)theWrappedObject)->promoted_formatValue(field, trimStrings)); -} - -QSqlError PythonQtWrapper_QSqlDriver::lastError(QSqlDriver* theWrappedObject) const -{ - return ( theWrappedObject->lastError()); -} - -bool PythonQtWrapper_QSqlDriver::beginTransaction(QSqlDriver* theWrappedObject) -{ - return ( ((PythonQtPublicPromoter_QSqlDriver*)theWrappedObject)->promoted_beginTransaction()); -} - -QStringList PythonQtWrapper_QSqlDriver::subscribedToNotifications(QSqlDriver* theWrappedObject) const -{ - return ( theWrappedObject->subscribedToNotifications()); -} - -bool PythonQtWrapper_QSqlDriver::commitTransaction(QSqlDriver* theWrappedObject) -{ - return ( ((PythonQtPublicPromoter_QSqlDriver*)theWrappedObject)->promoted_commitTransaction()); -} - -QSqlIndex PythonQtWrapper_QSqlDriver::primaryIndex(QSqlDriver* theWrappedObject, const QString& tableName) const -{ - return ( ((PythonQtPublicPromoter_QSqlDriver*)theWrappedObject)->promoted_primaryIndex(tableName)); -} - -bool PythonQtWrapper_QSqlDriver::unsubscribeFromNotification(QSqlDriver* theWrappedObject, const QString& name) -{ - return ( theWrappedObject->unsubscribeFromNotification(name)); -} - -void PythonQtWrapper_QSqlDriver::setOpen(QSqlDriver* theWrappedObject, bool o) -{ - ( ((PythonQtPublicPromoter_QSqlDriver*)theWrappedObject)->promoted_setOpen(o)); -} - -QString PythonQtWrapper_QSqlDriver::escapeIdentifier(QSqlDriver* theWrappedObject, const QString& identifier, QSqlDriver::IdentifierType type) const -{ - return ( ((PythonQtPublicPromoter_QSqlDriver*)theWrappedObject)->promoted_escapeIdentifier(identifier, type)); -} - -bool PythonQtWrapper_QSqlDriver::rollbackTransaction(QSqlDriver* theWrappedObject) -{ - return ( ((PythonQtPublicPromoter_QSqlDriver*)theWrappedObject)->promoted_rollbackTransaction()); -} - diff --git a/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlDriver.h b/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlDriver.h deleted file mode 100644 index 7c18131..0000000 --- a/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlDriver.h +++ /dev/null @@ -1,112 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSQLDRIVER_H -#define PYTHONQTWRAPPER_QSQLDRIVER_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QSqlDriver : public QSqlDriver -{ -public: - PythonQtShell_QSqlDriver(QObject* parent = 0):QSqlDriver(parent),_wrapper(NULL) {}; - -virtual bool beginTransaction(); -virtual void childEvent(QChildEvent* arg__1); -virtual void close(); -virtual bool commitTransaction(); -virtual QSqlResult* createResult() const; -virtual void customEvent(QEvent* arg__1); -virtual QString escapeIdentifier(const QString& identifier, QSqlDriver::IdentifierType type) const; -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual QString formatValue(const QSqlField& field, bool trimStrings = false) const; -virtual QVariant handle() const; -virtual bool hasFeature(QSqlDriver::DriverFeature f) const; -virtual bool isOpen() const; -virtual bool open(const QString& db, const QString& user = QString(), const QString& password = QString(), const QString& host = QString(), int port = -1, const QString& connOpts = QString()); -virtual QSqlIndex primaryIndex(const QString& tableName) const; -virtual QSqlRecord record(const QString& tableName) const; -virtual bool rollbackTransaction(); -virtual void setLastError(const QSqlError& e); -virtual void setOpen(bool o); -virtual void setOpenError(bool e); -virtual QString sqlStatement(QSqlDriver::StatementType type, const QString& tableName, const QSqlRecord& rec, bool preparedStatement) const; -virtual QStringList tables(QSql::TableType tableType) const; -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QSqlDriver : public QSqlDriver -{ public: -inline QString promoted_sqlStatement(QSqlDriver::StatementType type, const QString& tableName, const QSqlRecord& rec, bool preparedStatement) const { return QSqlDriver::sqlStatement(type, tableName, rec, preparedStatement); } -inline QVariant promoted_handle() const { return QSqlDriver::handle(); } -inline void promoted_setLastError(const QSqlError& e) { QSqlDriver::setLastError(e); } -inline void promoted_setOpenError(bool e) { QSqlDriver::setOpenError(e); } -inline QSqlRecord promoted_record(const QString& tableName) const { return QSqlDriver::record(tableName); } -inline QStringList promoted_tables(QSql::TableType tableType) const { return QSqlDriver::tables(tableType); } -inline bool promoted_isOpen() const { return QSqlDriver::isOpen(); } -inline QString promoted_formatValue(const QSqlField& field, bool trimStrings = false) const { return QSqlDriver::formatValue(field, trimStrings); } -inline bool promoted_beginTransaction() { return QSqlDriver::beginTransaction(); } -inline bool promoted_commitTransaction() { return QSqlDriver::commitTransaction(); } -inline QSqlIndex promoted_primaryIndex(const QString& tableName) const { return QSqlDriver::primaryIndex(tableName); } -inline void promoted_setOpen(bool o) { QSqlDriver::setOpen(o); } -inline QString promoted_escapeIdentifier(const QString& identifier, QSqlDriver::IdentifierType type) const { return QSqlDriver::escapeIdentifier(identifier, type); } -inline bool promoted_rollbackTransaction() { return QSqlDriver::rollbackTransaction(); } -}; - -class PythonQtWrapper_QSqlDriver : public QObject -{ Q_OBJECT -public: -Q_ENUMS(StatementType IdentifierType DriverFeature ) -enum StatementType{ - WhereStatement = QSqlDriver::WhereStatement, SelectStatement = QSqlDriver::SelectStatement, UpdateStatement = QSqlDriver::UpdateStatement, InsertStatement = QSqlDriver::InsertStatement, DeleteStatement = QSqlDriver::DeleteStatement}; -enum IdentifierType{ - FieldName = QSqlDriver::FieldName, TableName = QSqlDriver::TableName}; -enum DriverFeature{ - Transactions = QSqlDriver::Transactions, QuerySize = QSqlDriver::QuerySize, BLOB = QSqlDriver::BLOB, Unicode = QSqlDriver::Unicode, PreparedQueries = QSqlDriver::PreparedQueries, NamedPlaceholders = QSqlDriver::NamedPlaceholders, PositionalPlaceholders = QSqlDriver::PositionalPlaceholders, LastInsertId = QSqlDriver::LastInsertId, BatchOperations = QSqlDriver::BatchOperations, SimpleLocking = QSqlDriver::SimpleLocking, LowPrecisionNumbers = QSqlDriver::LowPrecisionNumbers, EventNotifications = QSqlDriver::EventNotifications, FinishQuery = QSqlDriver::FinishQuery, MultipleResultSets = QSqlDriver::MultipleResultSets}; -public slots: -QSqlDriver* new_QSqlDriver(QObject* parent = 0); -void delete_QSqlDriver(QSqlDriver* obj) { delete obj; } - QString sqlStatement(QSqlDriver* theWrappedObject, QSqlDriver::StatementType type, const QString& tableName, const QSqlRecord& rec, bool preparedStatement) const; - bool subscribeToNotification(QSqlDriver* theWrappedObject, const QString& name); - QVariant handle(QSqlDriver* theWrappedObject) const; - bool isOpenError(QSqlDriver* theWrappedObject) const; - void setLastError(QSqlDriver* theWrappedObject, const QSqlError& e); - void setOpenError(QSqlDriver* theWrappedObject, bool e); - QSqlRecord record(QSqlDriver* theWrappedObject, const QString& tableName) const; - QStringList tables(QSqlDriver* theWrappedObject, QSql::TableType tableType) const; - bool isOpen(QSqlDriver* theWrappedObject) const; - QString formatValue(QSqlDriver* theWrappedObject, const QSqlField& field, bool trimStrings = false) const; - QSqlError lastError(QSqlDriver* theWrappedObject) const; - bool beginTransaction(QSqlDriver* theWrappedObject); - QStringList subscribedToNotifications(QSqlDriver* theWrappedObject) const; - bool commitTransaction(QSqlDriver* theWrappedObject); - QSqlIndex primaryIndex(QSqlDriver* theWrappedObject, const QString& tableName) const; - bool unsubscribeFromNotification(QSqlDriver* theWrappedObject, const QString& name); - void setOpen(QSqlDriver* theWrappedObject, bool o); - QString escapeIdentifier(QSqlDriver* theWrappedObject, const QString& identifier, QSqlDriver::IdentifierType type) const; - bool rollbackTransaction(QSqlDriver* theWrappedObject); -}; - -#endif // PYTHONQTWRAPPER_QSQLDRIVER_H diff --git a/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlDriverCreatorBase.cpp b/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlDriverCreatorBase.cpp deleted file mode 100644 index bec7bef..0000000 --- a/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlDriverCreatorBase.cpp +++ /dev/null @@ -1,42 +0,0 @@ -#include "PythonQtWrapper_QSqlDriverCreatorBase.h" - -#include -#include -#include -#include -#include -#include - -QSqlDriver* PythonQtShell_QSqlDriverCreatorBase::createObject() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "createObject"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSqlDriver*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSqlDriver* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("createObject", methodInfo, result); - } else { - returnValue = *((QSqlDriver**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QSqlDriver* result; -return result; -} -QSqlDriverCreatorBase* PythonQtWrapper_QSqlDriverCreatorBase::new_QSqlDriverCreatorBase() -{ -return new PythonQtShell_QSqlDriverCreatorBase(); } - diff --git a/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlDriverCreatorBase.h b/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlDriverCreatorBase.h deleted file mode 100644 index 41c0f0b..0000000 --- a/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlDriverCreatorBase.h +++ /dev/null @@ -1,31 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSQLDRIVERCREATORBASE_H -#define PYTHONQTWRAPPER_QSQLDRIVERCREATORBASE_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtShell_QSqlDriverCreatorBase : public QSqlDriverCreatorBase -{ -public: - PythonQtShell_QSqlDriverCreatorBase():QSqlDriverCreatorBase(),_wrapper(NULL) {}; - -virtual QSqlDriver* createObject() const; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QSqlDriverCreatorBase : public QObject -{ Q_OBJECT -public: -public slots: -QSqlDriverCreatorBase* new_QSqlDriverCreatorBase(); -void delete_QSqlDriverCreatorBase(QSqlDriverCreatorBase* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QSQLDRIVERCREATORBASE_H diff --git a/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlError.cpp b/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlError.cpp deleted file mode 100644 index e2d7cd5..0000000 --- a/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlError.cpp +++ /dev/null @@ -1,73 +0,0 @@ -#include "PythonQtWrapper_QSqlError.h" - -#include -#include -#include -#include -#include - -QSqlError* PythonQtWrapper_QSqlError::new_QSqlError(const QSqlError& other) -{ -return new QSqlError(other); } - -QSqlError* PythonQtWrapper_QSqlError::new_QSqlError(const QString& driverText, const QString& databaseText, QSqlError::ErrorType type, int number) -{ -return new QSqlError(driverText, databaseText, type, number); } - -QString PythonQtWrapper_QSqlError::text(QSqlError* theWrappedObject) const -{ - return ( theWrappedObject->text()); -} - -QString PythonQtWrapper_QSqlError::databaseText(QSqlError* theWrappedObject) const -{ - return ( theWrappedObject->databaseText()); -} - -int PythonQtWrapper_QSqlError::number(QSqlError* theWrappedObject) const -{ - return ( theWrappedObject->number()); -} - -void PythonQtWrapper_QSqlError::setDriverText(QSqlError* theWrappedObject, const QString& driverText) -{ - ( theWrappedObject->setDriverText(driverText)); -} - -QSqlError::ErrorType PythonQtWrapper_QSqlError::type(QSqlError* theWrappedObject) const -{ - return ( theWrappedObject->type()); -} - -bool PythonQtWrapper_QSqlError::isValid(QSqlError* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -void PythonQtWrapper_QSqlError::setType(QSqlError* theWrappedObject, QSqlError::ErrorType type) -{ - ( theWrappedObject->setType(type)); -} - -QString PythonQtWrapper_QSqlError::driverText(QSqlError* theWrappedObject) const -{ - return ( theWrappedObject->driverText()); -} - -void PythonQtWrapper_QSqlError::setNumber(QSqlError* theWrappedObject, int number) -{ - ( theWrappedObject->setNumber(number)); -} - -void PythonQtWrapper_QSqlError::setDatabaseText(QSqlError* theWrappedObject, const QString& databaseText) -{ - ( theWrappedObject->setDatabaseText(databaseText)); -} - -QString PythonQtWrapper_QSqlError::toString(QSqlError* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; -} - diff --git a/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlError.h b/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlError.h deleted file mode 100644 index 878a5f5..0000000 --- a/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlError.h +++ /dev/null @@ -1,35 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSQLERROR_H -#define PYTHONQTWRAPPER_QSQLERROR_H - -#include -#include - -#include - -#include -#include - -class PythonQtWrapper_QSqlError : public QObject -{ Q_OBJECT -public: -Q_ENUMS(ErrorType ) -enum ErrorType{ - NoError = QSqlError::NoError, ConnectionError = QSqlError::ConnectionError, StatementError = QSqlError::StatementError, TransactionError = QSqlError::TransactionError, UnknownError = QSqlError::UnknownError}; -public slots: -QSqlError* new_QSqlError(const QSqlError& other); -QSqlError* new_QSqlError(const QString& driverText = QString(), const QString& databaseText = QString(), QSqlError::ErrorType type = QSqlError::NoError, int number = -1); -void delete_QSqlError(QSqlError* obj) { delete obj; } - QString text(QSqlError* theWrappedObject) const; - QString databaseText(QSqlError* theWrappedObject) const; - int number(QSqlError* theWrappedObject) const; - void setDriverText(QSqlError* theWrappedObject, const QString& driverText); - QSqlError::ErrorType type(QSqlError* theWrappedObject) const; - bool isValid(QSqlError* theWrappedObject) const; - void setType(QSqlError* theWrappedObject, QSqlError::ErrorType type); - QString driverText(QSqlError* theWrappedObject) const; - void setNumber(QSqlError* theWrappedObject, int number); - void setDatabaseText(QSqlError* theWrappedObject, const QString& databaseText); - QString toString(QSqlError*); -}; - -#endif // PYTHONQTWRAPPER_QSQLERROR_H diff --git a/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlField.cpp b/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlField.cpp deleted file mode 100644 index 3e7c28c..0000000 --- a/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlField.cpp +++ /dev/null @@ -1,158 +0,0 @@ -#include "PythonQtWrapper_QSqlField.h" - -#include -#include -#include -#include -#include - -QSqlField* PythonQtWrapper_QSqlField::new_QSqlField(const QSqlField& other) -{ -return new QSqlField(other); } - -QSqlField* PythonQtWrapper_QSqlField::new_QSqlField(const QString& fieldName, QVariant::Type type) -{ -return new QSqlField(fieldName, type); } - -bool PythonQtWrapper_QSqlField::isGenerated(QSqlField* theWrappedObject) const -{ - return ( theWrappedObject->isGenerated()); -} - -bool PythonQtWrapper_QSqlField::isValid(QSqlField* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -int PythonQtWrapper_QSqlField::length(QSqlField* theWrappedObject) const -{ - return ( theWrappedObject->length()); -} - -bool PythonQtWrapper_QSqlField::operator_equal(QSqlField* theWrappedObject, const QSqlField& other) const -{ - return ( (*theWrappedObject)== other); -} - -void PythonQtWrapper_QSqlField::setReadOnly(QSqlField* theWrappedObject, bool readOnly) -{ - ( theWrappedObject->setReadOnly(readOnly)); -} - -void PythonQtWrapper_QSqlField::clear(QSqlField* theWrappedObject) -{ - ( theWrappedObject->clear()); -} - -void PythonQtWrapper_QSqlField::setAutoValue(QSqlField* theWrappedObject, bool autoVal) -{ - ( theWrappedObject->setAutoValue(autoVal)); -} - -int PythonQtWrapper_QSqlField::precision(QSqlField* theWrappedObject) const -{ - return ( theWrappedObject->precision()); -} - -void PythonQtWrapper_QSqlField::setGenerated(QSqlField* theWrappedObject, bool gen) -{ - ( theWrappedObject->setGenerated(gen)); -} - -void PythonQtWrapper_QSqlField::setType(QSqlField* theWrappedObject, QVariant::Type type) -{ - ( theWrappedObject->setType(type)); -} - -bool PythonQtWrapper_QSqlField::isReadOnly(QSqlField* theWrappedObject) const -{ - return ( theWrappedObject->isReadOnly()); -} - -QVariant PythonQtWrapper_QSqlField::value(QSqlField* theWrappedObject) const -{ - return ( theWrappedObject->value()); -} - -bool PythonQtWrapper_QSqlField::isNull(QSqlField* theWrappedObject) const -{ - return ( theWrappedObject->isNull()); -} - -QVariant::Type PythonQtWrapper_QSqlField::type(QSqlField* theWrappedObject) const -{ - return ( theWrappedObject->type()); -} - -void PythonQtWrapper_QSqlField::setRequired(QSqlField* theWrappedObject, bool required) -{ - ( theWrappedObject->setRequired(required)); -} - -int PythonQtWrapper_QSqlField::typeID(QSqlField* theWrappedObject) const -{ - return ( theWrappedObject->typeID()); -} - -QString PythonQtWrapper_QSqlField::name(QSqlField* theWrappedObject) const -{ - return ( theWrappedObject->name()); -} - -QSqlField::RequiredStatus PythonQtWrapper_QSqlField::requiredStatus(QSqlField* theWrappedObject) const -{ - return ( theWrappedObject->requiredStatus()); -} - -bool PythonQtWrapper_QSqlField::isAutoValue(QSqlField* theWrappedObject) const -{ - return ( theWrappedObject->isAutoValue()); -} - -void PythonQtWrapper_QSqlField::setPrecision(QSqlField* theWrappedObject, int precision) -{ - ( theWrappedObject->setPrecision(precision)); -} - -void PythonQtWrapper_QSqlField::setValue(QSqlField* theWrappedObject, const QVariant& value) -{ - ( theWrappedObject->setValue(value)); -} - -QVariant PythonQtWrapper_QSqlField::defaultValue(QSqlField* theWrappedObject) const -{ - return ( theWrappedObject->defaultValue()); -} - -void PythonQtWrapper_QSqlField::setName(QSqlField* theWrappedObject, const QString& name) -{ - ( theWrappedObject->setName(name)); -} - -void PythonQtWrapper_QSqlField::setDefaultValue(QSqlField* theWrappedObject, const QVariant& value) -{ - ( theWrappedObject->setDefaultValue(value)); -} - -void PythonQtWrapper_QSqlField::setLength(QSqlField* theWrappedObject, int fieldLength) -{ - ( theWrappedObject->setLength(fieldLength)); -} - -void PythonQtWrapper_QSqlField::setRequiredStatus(QSqlField* theWrappedObject, QSqlField::RequiredStatus status) -{ - ( theWrappedObject->setRequiredStatus(status)); -} - -void PythonQtWrapper_QSqlField::setSqlType(QSqlField* theWrappedObject, int type) -{ - ( theWrappedObject->setSqlType(type)); -} - -QString PythonQtWrapper_QSqlField::toString(QSqlField* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; -} - diff --git a/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlField.h b/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlField.h deleted file mode 100644 index 4409dda..0000000 --- a/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlField.h +++ /dev/null @@ -1,52 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSQLFIELD_H -#define PYTHONQTWRAPPER_QSQLFIELD_H - -#include -#include - -#include - -#include -#include - -class PythonQtWrapper_QSqlField : public QObject -{ Q_OBJECT -public: -Q_ENUMS(RequiredStatus ) -enum RequiredStatus{ - Unknown = QSqlField::Unknown, Optional = QSqlField::Optional, Required = QSqlField::Required}; -public slots: -QSqlField* new_QSqlField(const QSqlField& other); -QSqlField* new_QSqlField(const QString& fieldName = QString(), QVariant::Type type = QVariant::Invalid); -void delete_QSqlField(QSqlField* obj) { delete obj; } - bool isGenerated(QSqlField* theWrappedObject) const; - bool isValid(QSqlField* theWrappedObject) const; - int length(QSqlField* theWrappedObject) const; - bool operator_equal(QSqlField* theWrappedObject, const QSqlField& other) const; - void setReadOnly(QSqlField* theWrappedObject, bool readOnly); - void clear(QSqlField* theWrappedObject); - void setAutoValue(QSqlField* theWrappedObject, bool autoVal); - int precision(QSqlField* theWrappedObject) const; - void setGenerated(QSqlField* theWrappedObject, bool gen); - void setType(QSqlField* theWrappedObject, QVariant::Type type); - bool isReadOnly(QSqlField* theWrappedObject) const; - QVariant value(QSqlField* theWrappedObject) const; - bool isNull(QSqlField* theWrappedObject) const; - QVariant::Type type(QSqlField* theWrappedObject) const; - void setRequired(QSqlField* theWrappedObject, bool required); - int typeID(QSqlField* theWrappedObject) const; - QString name(QSqlField* theWrappedObject) const; - QSqlField::RequiredStatus requiredStatus(QSqlField* theWrappedObject) const; - bool isAutoValue(QSqlField* theWrappedObject) const; - void setPrecision(QSqlField* theWrappedObject, int precision); - void setValue(QSqlField* theWrappedObject, const QVariant& value); - QVariant defaultValue(QSqlField* theWrappedObject) const; - void setName(QSqlField* theWrappedObject, const QString& name); - void setDefaultValue(QSqlField* theWrappedObject, const QVariant& value); - void setLength(QSqlField* theWrappedObject, int fieldLength); - void setRequiredStatus(QSqlField* theWrappedObject, QSqlField::RequiredStatus status); - void setSqlType(QSqlField* theWrappedObject, int type); - QString toString(QSqlField*); -}; - -#endif // PYTHONQTWRAPPER_QSQLFIELD_H diff --git a/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlIndex.cpp b/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlIndex.cpp deleted file mode 100644 index a1644b7..0000000 --- a/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlIndex.cpp +++ /dev/null @@ -1,58 +0,0 @@ -#include "PythonQtWrapper_QSqlIndex.h" - -#include -#include -#include -#include -#include -#include -#include - -QSqlIndex* PythonQtWrapper_QSqlIndex::new_QSqlIndex(const QSqlIndex& other) -{ -return new QSqlIndex(other); } - -QSqlIndex* PythonQtWrapper_QSqlIndex::new_QSqlIndex(const QString& cursorName, const QString& name) -{ -return new QSqlIndex(cursorName, name); } - -bool PythonQtWrapper_QSqlIndex::isDescending(QSqlIndex* theWrappedObject, int i) const -{ - return ( theWrappedObject->isDescending(i)); -} - -QString PythonQtWrapper_QSqlIndex::name(QSqlIndex* theWrappedObject) const -{ - return ( theWrappedObject->name()); -} - -void PythonQtWrapper_QSqlIndex::append(QSqlIndex* theWrappedObject, const QSqlField& field, bool desc) -{ - ( theWrappedObject->append(field, desc)); -} - -void PythonQtWrapper_QSqlIndex::setDescending(QSqlIndex* theWrappedObject, int i, bool desc) -{ - ( theWrappedObject->setDescending(i, desc)); -} - -void PythonQtWrapper_QSqlIndex::setName(QSqlIndex* theWrappedObject, const QString& name) -{ - ( theWrappedObject->setName(name)); -} - -QString PythonQtWrapper_QSqlIndex::cursorName(QSqlIndex* theWrappedObject) const -{ - return ( theWrappedObject->cursorName()); -} - -void PythonQtWrapper_QSqlIndex::setCursorName(QSqlIndex* theWrappedObject, const QString& cursorName) -{ - ( theWrappedObject->setCursorName(cursorName)); -} - -void PythonQtWrapper_QSqlIndex::append(QSqlIndex* theWrappedObject, const QSqlField& field) -{ - ( theWrappedObject->append(field)); -} - diff --git a/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlIndex.h b/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlIndex.h deleted file mode 100644 index 656ae21..0000000 --- a/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlIndex.h +++ /dev/null @@ -1,31 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSQLINDEX_H -#define PYTHONQTWRAPPER_QSQLINDEX_H - -#include -#include - -#include - -#include -#include -#include -#include - -class PythonQtWrapper_QSqlIndex : public QObject -{ Q_OBJECT -public: -public slots: -QSqlIndex* new_QSqlIndex(const QSqlIndex& other); -QSqlIndex* new_QSqlIndex(const QString& cursorName = QString(), const QString& name = QString()); -void delete_QSqlIndex(QSqlIndex* obj) { delete obj; } - bool isDescending(QSqlIndex* theWrappedObject, int i) const; - QString name(QSqlIndex* theWrappedObject) const; - void append(QSqlIndex* theWrappedObject, const QSqlField& field, bool desc); - void setDescending(QSqlIndex* theWrappedObject, int i, bool desc); - void setName(QSqlIndex* theWrappedObject, const QString& name); - QString cursorName(QSqlIndex* theWrappedObject) const; - void setCursorName(QSqlIndex* theWrappedObject, const QString& cursorName); - void append(QSqlIndex* theWrappedObject, const QSqlField& field); -}; - -#endif // PYTHONQTWRAPPER_QSQLINDEX_H diff --git a/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlQuery.cpp b/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlQuery.cpp deleted file mode 100644 index 6500df6..0000000 --- a/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlQuery.cpp +++ /dev/null @@ -1,218 +0,0 @@ -#include "PythonQtWrapper_QSqlQuery.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QSqlQuery* PythonQtWrapper_QSqlQuery::new_QSqlQuery(QSqlDatabase db) -{ -return new QSqlQuery(db); } - -QSqlQuery* PythonQtWrapper_QSqlQuery::new_QSqlQuery(QSqlResult* r) -{ -return new QSqlQuery(r); } - -QSqlQuery* PythonQtWrapper_QSqlQuery::new_QSqlQuery(const QSqlQuery& other) -{ -return new QSqlQuery(other); } - -QSqlQuery* PythonQtWrapper_QSqlQuery::new_QSqlQuery(const QString& query, QSqlDatabase db) -{ -return new QSqlQuery(query, db); } - -QSqlRecord PythonQtWrapper_QSqlQuery::record(QSqlQuery* theWrappedObject) const -{ - return ( theWrappedObject->record()); -} - -bool PythonQtWrapper_QSqlQuery::exec(QSqlQuery* theWrappedObject) -{ - return ( theWrappedObject->exec()); -} - -QVariant PythonQtWrapper_QSqlQuery::lastInsertId(QSqlQuery* theWrappedObject) const -{ - return ( theWrappedObject->lastInsertId()); -} - -bool PythonQtWrapper_QSqlQuery::nextResult(QSqlQuery* theWrappedObject) -{ - return ( theWrappedObject->nextResult()); -} - -void PythonQtWrapper_QSqlQuery::addBindValue(QSqlQuery* theWrappedObject, const QVariant& val, QSql::ParamType type) -{ - ( theWrappedObject->addBindValue(val, type)); -} - -QVariant PythonQtWrapper_QSqlQuery::boundValue(QSqlQuery* theWrappedObject, const QString& placeholder) const -{ - return ( theWrappedObject->boundValue(placeholder)); -} - -void PythonQtWrapper_QSqlQuery::bindValue(QSqlQuery* theWrappedObject, int pos, const QVariant& val, QSql::ParamType type) -{ - ( theWrappedObject->bindValue(pos, val, type)); -} - -bool PythonQtWrapper_QSqlQuery::isActive(QSqlQuery* theWrappedObject) const -{ - return ( theWrappedObject->isActive()); -} - -bool PythonQtWrapper_QSqlQuery::isNull(QSqlQuery* theWrappedObject, int field) const -{ - return ( theWrappedObject->isNull(field)); -} - -int PythonQtWrapper_QSqlQuery::at(QSqlQuery* theWrappedObject) const -{ - return ( theWrappedObject->at()); -} - -void PythonQtWrapper_QSqlQuery::bindValue(QSqlQuery* theWrappedObject, const QString& placeholder, const QVariant& val, QSql::ParamType type) -{ - ( theWrappedObject->bindValue(placeholder, val, type)); -} - -bool PythonQtWrapper_QSqlQuery::previous(QSqlQuery* theWrappedObject) -{ - return ( theWrappedObject->previous()); -} - -const QSqlDriver* PythonQtWrapper_QSqlQuery::driver(QSqlQuery* theWrappedObject) const -{ - return ( theWrappedObject->driver()); -} - -bool PythonQtWrapper_QSqlQuery::execBatch(QSqlQuery* theWrappedObject, QSqlQuery::BatchExecutionMode mode) -{ - return ( theWrappedObject->execBatch(mode)); -} - -void PythonQtWrapper_QSqlQuery::finish(QSqlQuery* theWrappedObject) -{ - ( theWrappedObject->finish()); -} - -bool PythonQtWrapper_QSqlQuery::isValid(QSqlQuery* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -const QSqlResult* PythonQtWrapper_QSqlQuery::result(QSqlQuery* theWrappedObject) const -{ - return ( theWrappedObject->result()); -} - -QVariant PythonQtWrapper_QSqlQuery::boundValue(QSqlQuery* theWrappedObject, int pos) const -{ - return ( theWrappedObject->boundValue(pos)); -} - -QSqlError PythonQtWrapper_QSqlQuery::lastError(QSqlQuery* theWrappedObject) const -{ - return ( theWrappedObject->lastError()); -} - -QSql::NumericalPrecisionPolicy PythonQtWrapper_QSqlQuery::numericalPrecisionPolicy(QSqlQuery* theWrappedObject) const -{ - return ( theWrappedObject->numericalPrecisionPolicy()); -} - -QMap PythonQtWrapper_QSqlQuery::boundValues(QSqlQuery* theWrappedObject) const -{ - return ( theWrappedObject->boundValues()); -} - -bool PythonQtWrapper_QSqlQuery::next(QSqlQuery* theWrappedObject) -{ - return ( theWrappedObject->next()); -} - -void PythonQtWrapper_QSqlQuery::setNumericalPrecisionPolicy(QSqlQuery* theWrappedObject, QSql::NumericalPrecisionPolicy precisionPolicy) -{ - ( theWrappedObject->setNumericalPrecisionPolicy(precisionPolicy)); -} - -bool PythonQtWrapper_QSqlQuery::exec(QSqlQuery* theWrappedObject, const QString& query) -{ - return ( theWrappedObject->exec(query)); -} - -QString PythonQtWrapper_QSqlQuery::lastQuery(QSqlQuery* theWrappedObject) const -{ - return ( theWrappedObject->lastQuery()); -} - -int PythonQtWrapper_QSqlQuery::numRowsAffected(QSqlQuery* theWrappedObject) const -{ - return ( theWrappedObject->numRowsAffected()); -} - -QVariant PythonQtWrapper_QSqlQuery::value(QSqlQuery* theWrappedObject, int i) const -{ - return ( theWrappedObject->value(i)); -} - -void PythonQtWrapper_QSqlQuery::clear(QSqlQuery* theWrappedObject) -{ - ( theWrappedObject->clear()); -} - -bool PythonQtWrapper_QSqlQuery::first(QSqlQuery* theWrappedObject) -{ - return ( theWrappedObject->first()); -} - -void PythonQtWrapper_QSqlQuery::setForwardOnly(QSqlQuery* theWrappedObject, bool forward) -{ - ( theWrappedObject->setForwardOnly(forward)); -} - -bool PythonQtWrapper_QSqlQuery::isForwardOnly(QSqlQuery* theWrappedObject) const -{ - return ( theWrappedObject->isForwardOnly()); -} - -bool PythonQtWrapper_QSqlQuery::prepare(QSqlQuery* theWrappedObject, const QString& query) -{ - return ( theWrappedObject->prepare(query)); -} - -bool PythonQtWrapper_QSqlQuery::isSelect(QSqlQuery* theWrappedObject) const -{ - return ( theWrappedObject->isSelect()); -} - -bool PythonQtWrapper_QSqlQuery::seek(QSqlQuery* theWrappedObject, int i, bool relative) -{ - return ( theWrappedObject->seek(i, relative)); -} - -QString PythonQtWrapper_QSqlQuery::executedQuery(QSqlQuery* theWrappedObject) const -{ - return ( theWrappedObject->executedQuery()); -} - -int PythonQtWrapper_QSqlQuery::size(QSqlQuery* theWrappedObject) const -{ - return ( theWrappedObject->size()); -} - -bool PythonQtWrapper_QSqlQuery::last(QSqlQuery* theWrappedObject) -{ - return ( theWrappedObject->last()); -} - diff --git a/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlQuery.h b/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlQuery.h deleted file mode 100644 index a90e9f2..0000000 --- a/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlQuery.h +++ /dev/null @@ -1,72 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSQLQUERY_H -#define PYTHONQTWRAPPER_QSQLQUERY_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtWrapper_QSqlQuery : public QObject -{ Q_OBJECT -public: -Q_ENUMS(BatchExecutionMode ) -enum BatchExecutionMode{ - ValuesAsRows = QSqlQuery::ValuesAsRows, ValuesAsColumns = QSqlQuery::ValuesAsColumns}; -public slots: -QSqlQuery* new_QSqlQuery(QSqlDatabase db); -QSqlQuery* new_QSqlQuery(QSqlResult* r); -QSqlQuery* new_QSqlQuery(const QSqlQuery& other); -QSqlQuery* new_QSqlQuery(const QString& query = QString(), QSqlDatabase db = QSqlDatabase()); -void delete_QSqlQuery(QSqlQuery* obj) { delete obj; } - QSqlRecord record(QSqlQuery* theWrappedObject) const; - bool exec(QSqlQuery* theWrappedObject); - QVariant lastInsertId(QSqlQuery* theWrappedObject) const; - bool nextResult(QSqlQuery* theWrappedObject); - void addBindValue(QSqlQuery* theWrappedObject, const QVariant& val, QSql::ParamType type = QSql::In); - QVariant boundValue(QSqlQuery* theWrappedObject, const QString& placeholder) const; - void bindValue(QSqlQuery* theWrappedObject, int pos, const QVariant& val, QSql::ParamType type = QSql::In); - bool isActive(QSqlQuery* theWrappedObject) const; - bool isNull(QSqlQuery* theWrappedObject, int field) const; - int at(QSqlQuery* theWrappedObject) const; - void bindValue(QSqlQuery* theWrappedObject, const QString& placeholder, const QVariant& val, QSql::ParamType type = QSql::In); - bool previous(QSqlQuery* theWrappedObject); - const QSqlDriver* driver(QSqlQuery* theWrappedObject) const; - bool execBatch(QSqlQuery* theWrappedObject, QSqlQuery::BatchExecutionMode mode = QSqlQuery::ValuesAsRows); - void finish(QSqlQuery* theWrappedObject); - bool isValid(QSqlQuery* theWrappedObject) const; - const QSqlResult* result(QSqlQuery* theWrappedObject) const; - QVariant boundValue(QSqlQuery* theWrappedObject, int pos) const; - QSqlError lastError(QSqlQuery* theWrappedObject) const; - QSql::NumericalPrecisionPolicy numericalPrecisionPolicy(QSqlQuery* theWrappedObject) const; - QMap boundValues(QSqlQuery* theWrappedObject) const; - bool next(QSqlQuery* theWrappedObject); - void setNumericalPrecisionPolicy(QSqlQuery* theWrappedObject, QSql::NumericalPrecisionPolicy precisionPolicy); - bool exec(QSqlQuery* theWrappedObject, const QString& query); - QString lastQuery(QSqlQuery* theWrappedObject) const; - int numRowsAffected(QSqlQuery* theWrappedObject) const; - QVariant value(QSqlQuery* theWrappedObject, int i) const; - void clear(QSqlQuery* theWrappedObject); - bool first(QSqlQuery* theWrappedObject); - void setForwardOnly(QSqlQuery* theWrappedObject, bool forward); - bool isForwardOnly(QSqlQuery* theWrappedObject) const; - bool prepare(QSqlQuery* theWrappedObject, const QString& query); - bool isSelect(QSqlQuery* theWrappedObject) const; - bool seek(QSqlQuery* theWrappedObject, int i, bool relative = false); - QString executedQuery(QSqlQuery* theWrappedObject) const; - int size(QSqlQuery* theWrappedObject) const; - bool last(QSqlQuery* theWrappedObject); -}; - -#endif // PYTHONQTWRAPPER_QSQLQUERY_H diff --git a/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlQueryModel.cpp b/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlQueryModel.cpp deleted file mode 100644 index 73d6611..0000000 --- a/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlQueryModel.cpp +++ /dev/null @@ -1,950 +0,0 @@ -#include "PythonQtWrapper_QSqlQueryModel.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QModelIndex PythonQtShell_QSqlQueryModel::buddy(const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "buddy"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex 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) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlQueryModel::buddy(index); -} -bool PythonQtShell_QSqlQueryModel::canFetchMore(const QModelIndex& parent) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "canFetchMore"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&parent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlQueryModel::canFetchMore(parent); -} -void PythonQtShell_QSqlQueryModel::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; - } -} - QSqlQueryModel::childEvent(arg__1); -} -void PythonQtShell_QSqlQueryModel::clear() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "clear"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSqlQueryModel::clear(); -} -int PythonQtShell_QSqlQueryModel::columnCount(const QModelIndex& parent) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "columnCount"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&parent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlQueryModel::columnCount(parent); -} -void PythonQtShell_QSqlQueryModel::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; - } -} - QSqlQueryModel::customEvent(arg__1); -} -QVariant PythonQtShell_QSqlQueryModel::data(const QModelIndex& item, int role) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "data"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&item, (void*)&role}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlQueryModel::data(item, role); -} -bool PythonQtShell_QSqlQueryModel::dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropMimeData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QMimeData*" , "Qt::DropAction" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue; - void* args[6] = {NULL, (void*)&data, (void*)&action, (void*)&row, (void*)&column, (void*)&parent}; - 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("dropMimeData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlQueryModel::dropMimeData(data, action, row, column, parent); -} -bool PythonQtShell_QSqlQueryModel::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlQueryModel::event(arg__1); -} -bool PythonQtShell_QSqlQueryModel::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlQueryModel::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QSqlQueryModel::fetchMore(const QModelIndex& parent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "fetchMore"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&parent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSqlQueryModel::fetchMore(parent); -} -Qt::ItemFlags PythonQtShell_QSqlQueryModel::flags(const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "flags"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - Qt::ItemFlags returnValue; - void* args[2] = {NULL, (void*)&index}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); - } else { - returnValue = *((Qt::ItemFlags*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlQueryModel::flags(index); -} -QVariant PythonQtShell_QSqlQueryModel::headerData(int section, Qt::Orientation orientation, int role) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "headerData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QVariant returnValue; - void* args[4] = {NULL, (void*)§ion, (void*)&orientation, (void*)&role}; - 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("headerData", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlQueryModel::headerData(section, orientation, role); -} -QModelIndex PythonQtShell_QSqlQueryModel::index(int row, int column, const QModelIndex& parent) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "index"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QModelIndex returnValue; - void* args[4] = {NULL, (void*)&row, (void*)&column, (void*)&parent}; - 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("index", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlQueryModel::index(row, column, parent); -} -bool PythonQtShell_QSqlQueryModel::insertColumns(int column, int count, const QModelIndex& parent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "insertColumns"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&column, (void*)&count, (void*)&parent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlQueryModel::insertColumns(column, count, parent); -} -bool PythonQtShell_QSqlQueryModel::insertRows(int row, int count, const QModelIndex& parent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "insertRows"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&row, (void*)&count, (void*)&parent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlQueryModel::insertRows(row, count, parent); -} -QMap PythonQtShell_QSqlQueryModel::itemData(const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMap 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) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); - } else { - returnValue = *((QMap*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlQueryModel::itemData(index); -} -QList PythonQtShell_QSqlQueryModel::match(const QModelIndex& start, int role, const QVariant& value, int hits, Qt::MatchFlags flags) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "match"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QList" , "const QModelIndex&" , "int" , "const QVariant&" , "int" , "Qt::MatchFlags"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - QList returnValue; - void* args[6] = {NULL, (void*)&start, (void*)&role, (void*)&value, (void*)&hits, (void*)&flags}; - 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("match", methodInfo, result); - } else { - returnValue = *((QList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlQueryModel::match(start, role, value, hits, flags); -} -QMimeData* PythonQtShell_QSqlQueryModel::mimeData(const QList& indexes) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mimeData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QMimeData*" , "const QList&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMimeData* returnValue; - void* args[2] = {NULL, (void*)&indexes}; - 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("mimeData", methodInfo, result); - } else { - returnValue = *((QMimeData**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlQueryModel::mimeData(indexes); -} -QStringList PythonQtShell_QSqlQueryModel::mimeTypes() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mimeTypes"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QStringList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStringList returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); - } else { - returnValue = *((QStringList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlQueryModel::mimeTypes(); -} -void PythonQtShell_QSqlQueryModel::queryChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "queryChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSqlQueryModel::queryChange(); -} -bool PythonQtShell_QSqlQueryModel::removeColumns(int column, int count, const QModelIndex& parent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "removeColumns"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&column, (void*)&count, (void*)&parent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlQueryModel::removeColumns(column, count, parent); -} -bool PythonQtShell_QSqlQueryModel::removeRows(int row, int count, const QModelIndex& parent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "removeRows"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&row, (void*)&count, (void*)&parent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlQueryModel::removeRows(row, count, parent); -} -void PythonQtShell_QSqlQueryModel::revert() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "revert"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSqlQueryModel::revert(); -} -int PythonQtShell_QSqlQueryModel::rowCount(const QModelIndex& parent) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowCount"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&parent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlQueryModel::rowCount(parent); -} -bool PythonQtShell_QSqlQueryModel::setData(const QModelIndex& index, const QVariant& value, int role) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QVariant&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&index, (void*)&value, (void*)&role}; - 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("setData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlQueryModel::setData(index, value, role); -} -bool PythonQtShell_QSqlQueryModel::setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setHeaderData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int" , "Qt::Orientation" , "const QVariant&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - bool returnValue; - void* args[5] = {NULL, (void*)§ion, (void*)&orientation, (void*)&value, (void*)&role}; - 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("setHeaderData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlQueryModel::setHeaderData(section, orientation, value, role); -} -bool PythonQtShell_QSqlQueryModel::setItemData(const QModelIndex& index, const QMap& roles) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setItemData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&index, (void*)&roles}; - 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("setItemData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlQueryModel::setItemData(index, roles); -} -void PythonQtShell_QSqlQueryModel::sort(int column, Qt::SortOrder order) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sort"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&column, (void*)&order}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSqlQueryModel::sort(column, order); -} -QSize PythonQtShell_QSqlQueryModel::span(const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "span"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QSize 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) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlQueryModel::span(index); -} -bool PythonQtShell_QSqlQueryModel::submit() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "submit"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlQueryModel::submit(); -} -Qt::DropActions PythonQtShell_QSqlQueryModel::supportedDropActions() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "supportedDropActions"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"Qt::DropActions"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); - } else { - returnValue = *((Qt::DropActions*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlQueryModel::supportedDropActions(); -} -void PythonQtShell_QSqlQueryModel::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; - } -} - QSqlQueryModel::timerEvent(arg__1); -} -QSqlQueryModel* PythonQtWrapper_QSqlQueryModel::new_QSqlQueryModel(QObject* parent) -{ -return new PythonQtShell_QSqlQueryModel(parent); } - -int PythonQtWrapper_QSqlQueryModel::columnCount(QSqlQueryModel* theWrappedObject, const QModelIndex& parent) const -{ - return ( ((PythonQtPublicPromoter_QSqlQueryModel*)theWrappedObject)->promoted_columnCount(parent)); -} - -QVariant PythonQtWrapper_QSqlQueryModel::data(QSqlQueryModel* theWrappedObject, const QModelIndex& item, int role) const -{ - return ( ((PythonQtPublicPromoter_QSqlQueryModel*)theWrappedObject)->promoted_data(item, role)); -} - -void PythonQtWrapper_QSqlQueryModel::queryChange(QSqlQueryModel* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QSqlQueryModel*)theWrappedObject)->promoted_queryChange()); -} - -bool PythonQtWrapper_QSqlQueryModel::setHeaderData(QSqlQueryModel* theWrappedObject, int section, Qt::Orientation orientation, const QVariant& value, int role) -{ - return ( ((PythonQtPublicPromoter_QSqlQueryModel*)theWrappedObject)->promoted_setHeaderData(section, orientation, value, role)); -} - -QSqlRecord PythonQtWrapper_QSqlQueryModel::record(QSqlQueryModel* theWrappedObject) const -{ - return ( theWrappedObject->record()); -} - -void PythonQtWrapper_QSqlQueryModel::fetchMore(QSqlQueryModel* theWrappedObject, const QModelIndex& parent) -{ - ( ((PythonQtPublicPromoter_QSqlQueryModel*)theWrappedObject)->promoted_fetchMore(parent)); -} - -void PythonQtWrapper_QSqlQueryModel::clear(QSqlQueryModel* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QSqlQueryModel*)theWrappedObject)->promoted_clear()); -} - -int PythonQtWrapper_QSqlQueryModel::rowCount(QSqlQueryModel* theWrappedObject, const QModelIndex& parent) const -{ - return ( ((PythonQtPublicPromoter_QSqlQueryModel*)theWrappedObject)->promoted_rowCount(parent)); -} - -void PythonQtWrapper_QSqlQueryModel::setQuery(QSqlQueryModel* theWrappedObject, const QString& query, const QSqlDatabase& db) -{ - ( theWrappedObject->setQuery(query, db)); -} - -bool PythonQtWrapper_QSqlQueryModel::insertColumns(QSqlQueryModel* theWrappedObject, int column, int count, const QModelIndex& parent) -{ - return ( ((PythonQtPublicPromoter_QSqlQueryModel*)theWrappedObject)->promoted_insertColumns(column, count, parent)); -} - -QSqlError PythonQtWrapper_QSqlQueryModel::lastError(QSqlQueryModel* theWrappedObject) const -{ - return ( theWrappedObject->lastError()); -} - -bool PythonQtWrapper_QSqlQueryModel::removeColumns(QSqlQueryModel* theWrappedObject, int column, int count, const QModelIndex& parent) -{ - return ( ((PythonQtPublicPromoter_QSqlQueryModel*)theWrappedObject)->promoted_removeColumns(column, count, parent)); -} - -bool PythonQtWrapper_QSqlQueryModel::canFetchMore(QSqlQueryModel* theWrappedObject, const QModelIndex& parent) const -{ - return ( ((PythonQtPublicPromoter_QSqlQueryModel*)theWrappedObject)->promoted_canFetchMore(parent)); -} - -void PythonQtWrapper_QSqlQueryModel::setQuery(QSqlQueryModel* theWrappedObject, const QSqlQuery& query) -{ - ( theWrappedObject->setQuery(query)); -} - -QVariant PythonQtWrapper_QSqlQueryModel::headerData(QSqlQueryModel* theWrappedObject, int section, Qt::Orientation orientation, int role) const -{ - return ( ((PythonQtPublicPromoter_QSqlQueryModel*)theWrappedObject)->promoted_headerData(section, orientation, role)); -} - -QSqlQuery PythonQtWrapper_QSqlQueryModel::query(QSqlQueryModel* theWrappedObject) const -{ - return ( theWrappedObject->query()); -} - -QSqlRecord PythonQtWrapper_QSqlQueryModel::record(QSqlQueryModel* theWrappedObject, int row) const -{ - return ( theWrappedObject->record(row)); -} - diff --git a/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlQueryModel.h b/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlQueryModel.h deleted file mode 100644 index 66f4317..0000000 --- a/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlQueryModel.h +++ /dev/null @@ -1,111 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSQLQUERYMODEL_H -#define PYTHONQTWRAPPER_QSQLQUERYMODEL_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QSqlQueryModel : public QSqlQueryModel -{ -public: - PythonQtShell_QSqlQueryModel(QObject* parent = 0):QSqlQueryModel(parent),_wrapper(NULL) {}; - -virtual QModelIndex buddy(const QModelIndex& index) const; -virtual bool canFetchMore(const QModelIndex& parent = QModelIndex()) const; -virtual void childEvent(QChildEvent* arg__1); -virtual void clear(); -virtual int columnCount(const QModelIndex& parent = QModelIndex()) const; -virtual void customEvent(QEvent* arg__1); -virtual QVariant data(const QModelIndex& item, int role = Qt::DisplayRole) const; -virtual bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void fetchMore(const QModelIndex& parent = QModelIndex()); -virtual Qt::ItemFlags flags(const QModelIndex& index) const; -virtual QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const; -virtual QModelIndex index(int row, int column, const QModelIndex& parent) const; -virtual bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool insertRows(int row, int count, const QModelIndex& parent); -virtual QMap itemData(const QModelIndex& index) const; -virtual QList match(const QModelIndex& start, int role, const QVariant& value, int hits, Qt::MatchFlags flags) const; -virtual QMimeData* mimeData(const QList& indexes) const; -virtual QStringList mimeTypes() const; -virtual void queryChange(); -virtual bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool removeRows(int row, int count, const QModelIndex& parent); -virtual void revert(); -virtual int rowCount(const QModelIndex& parent = QModelIndex()) const; -virtual bool setData(const QModelIndex& index, const QVariant& value, int role); -virtual bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole); -virtual bool setItemData(const QModelIndex& index, const QMap& roles); -virtual void sort(int column, Qt::SortOrder order); -virtual QSize span(const QModelIndex& index) const; -virtual bool submit(); -virtual Qt::DropActions supportedDropActions() const; -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QSqlQueryModel : public QSqlQueryModel -{ public: -inline int promoted_columnCount(const QModelIndex& parent = QModelIndex()) const { return QSqlQueryModel::columnCount(parent); } -inline QVariant promoted_data(const QModelIndex& item, int role = Qt::DisplayRole) const { return QSqlQueryModel::data(item, role); } -inline void promoted_queryChange() { QSqlQueryModel::queryChange(); } -inline bool promoted_setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole) { return QSqlQueryModel::setHeaderData(section, orientation, value, role); } -inline void promoted_fetchMore(const QModelIndex& parent = QModelIndex()) { QSqlQueryModel::fetchMore(parent); } -inline void promoted_clear() { QSqlQueryModel::clear(); } -inline int promoted_rowCount(const QModelIndex& parent = QModelIndex()) const { return QSqlQueryModel::rowCount(parent); } -inline bool promoted_insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()) { return QSqlQueryModel::insertColumns(column, count, parent); } -inline bool promoted_removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()) { return QSqlQueryModel::removeColumns(column, count, parent); } -inline bool promoted_canFetchMore(const QModelIndex& parent = QModelIndex()) const { return QSqlQueryModel::canFetchMore(parent); } -inline QVariant promoted_headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const { return QSqlQueryModel::headerData(section, orientation, role); } -}; - -class PythonQtWrapper_QSqlQueryModel : public QObject -{ Q_OBJECT -public: -public slots: -QSqlQueryModel* new_QSqlQueryModel(QObject* parent = 0); -void delete_QSqlQueryModel(QSqlQueryModel* obj) { delete obj; } - int columnCount(QSqlQueryModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const; - QVariant data(QSqlQueryModel* theWrappedObject, const QModelIndex& item, int role = Qt::DisplayRole) const; - void queryChange(QSqlQueryModel* theWrappedObject); - bool setHeaderData(QSqlQueryModel* theWrappedObject, int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole); - QSqlRecord record(QSqlQueryModel* theWrappedObject) const; - void fetchMore(QSqlQueryModel* theWrappedObject, const QModelIndex& parent = QModelIndex()); - void clear(QSqlQueryModel* theWrappedObject); - int rowCount(QSqlQueryModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const; - void setQuery(QSqlQueryModel* theWrappedObject, const QString& query, const QSqlDatabase& db = QSqlDatabase()); - bool insertColumns(QSqlQueryModel* theWrappedObject, int column, int count, const QModelIndex& parent = QModelIndex()); - QSqlError lastError(QSqlQueryModel* theWrappedObject) const; - bool removeColumns(QSqlQueryModel* theWrappedObject, int column, int count, const QModelIndex& parent = QModelIndex()); - bool canFetchMore(QSqlQueryModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const; - void setQuery(QSqlQueryModel* theWrappedObject, const QSqlQuery& query); - QVariant headerData(QSqlQueryModel* theWrappedObject, int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const; - QSqlQuery query(QSqlQueryModel* theWrappedObject) const; - QSqlRecord record(QSqlQueryModel* theWrappedObject, int row) const; -}; - -#endif // PYTHONQTWRAPPER_QSQLQUERYMODEL_H diff --git a/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlRecord.cpp b/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlRecord.cpp deleted file mode 100644 index 1f5a48c..0000000 --- a/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlRecord.cpp +++ /dev/null @@ -1,155 +0,0 @@ -#include "PythonQtWrapper_QSqlRecord.h" - -#include -#include -#include -#include -#include -#include -#include - -QSqlRecord* PythonQtWrapper_QSqlRecord::new_QSqlRecord() -{ -return new QSqlRecord(); } - -QSqlRecord* PythonQtWrapper_QSqlRecord::new_QSqlRecord(const QSqlRecord& other) -{ -return new QSqlRecord(other); } - -bool PythonQtWrapper_QSqlRecord::isGenerated(QSqlRecord* theWrappedObject, const QString& name) const -{ - return ( theWrappedObject->isGenerated(name)); -} - -void PythonQtWrapper_QSqlRecord::setNull(QSqlRecord* theWrappedObject, const QString& name) -{ - ( theWrappedObject->setNull(name)); -} - -void PythonQtWrapper_QSqlRecord::append(QSqlRecord* theWrappedObject, const QSqlField& field) -{ - ( theWrappedObject->append(field)); -} - -void PythonQtWrapper_QSqlRecord::setValue(QSqlRecord* theWrappedObject, int i, const QVariant& val) -{ - ( theWrappedObject->setValue(i, val)); -} - -bool PythonQtWrapper_QSqlRecord::isNull(QSqlRecord* theWrappedObject, int i) const -{ - return ( theWrappedObject->isNull(i)); -} - -bool PythonQtWrapper_QSqlRecord::contains(QSqlRecord* theWrappedObject, const QString& name) const -{ - return ( theWrappedObject->contains(name)); -} - -void PythonQtWrapper_QSqlRecord::setGenerated(QSqlRecord* theWrappedObject, const QString& name, bool generated) -{ - ( theWrappedObject->setGenerated(name, generated)); -} - -QVariant PythonQtWrapper_QSqlRecord::value(QSqlRecord* theWrappedObject, int i) const -{ - return ( theWrappedObject->value(i)); -} - -bool PythonQtWrapper_QSqlRecord::isGenerated(QSqlRecord* theWrappedObject, int i) const -{ - return ( theWrappedObject->isGenerated(i)); -} - -void PythonQtWrapper_QSqlRecord::remove(QSqlRecord* theWrappedObject, int pos) -{ - ( theWrappedObject->remove(pos)); -} - -void PythonQtWrapper_QSqlRecord::setGenerated(QSqlRecord* theWrappedObject, int i, bool generated) -{ - ( theWrappedObject->setGenerated(i, generated)); -} - -void PythonQtWrapper_QSqlRecord::replace(QSqlRecord* theWrappedObject, int pos, const QSqlField& field) -{ - ( theWrappedObject->replace(pos, field)); -} - -QSqlField PythonQtWrapper_QSqlRecord::field(QSqlRecord* theWrappedObject, int i) const -{ - return ( theWrappedObject->field(i)); -} - -void PythonQtWrapper_QSqlRecord::insert(QSqlRecord* theWrappedObject, int pos, const QSqlField& field) -{ - ( theWrappedObject->insert(pos, field)); -} - -bool PythonQtWrapper_QSqlRecord::isNull(QSqlRecord* theWrappedObject, const QString& name) const -{ - return ( theWrappedObject->isNull(name)); -} - -bool PythonQtWrapper_QSqlRecord::operator_equal(QSqlRecord* theWrappedObject, const QSqlRecord& other) const -{ - return ( (*theWrappedObject)== other); -} - -QString PythonQtWrapper_QSqlRecord::fieldName(QSqlRecord* theWrappedObject, int i) const -{ - return ( theWrappedObject->fieldName(i)); -} - -void PythonQtWrapper_QSqlRecord::clearValues(QSqlRecord* theWrappedObject) -{ - ( theWrappedObject->clearValues()); -} - -QSqlField PythonQtWrapper_QSqlRecord::field(QSqlRecord* theWrappedObject, const QString& name) const -{ - return ( theWrappedObject->field(name)); -} - -int PythonQtWrapper_QSqlRecord::indexOf(QSqlRecord* theWrappedObject, const QString& name) const -{ - return ( theWrappedObject->indexOf(name)); -} - -void PythonQtWrapper_QSqlRecord::clear(QSqlRecord* theWrappedObject) -{ - ( theWrappedObject->clear()); -} - -int PythonQtWrapper_QSqlRecord::count(QSqlRecord* theWrappedObject) const -{ - return ( theWrappedObject->count()); -} - -bool PythonQtWrapper_QSqlRecord::isEmpty(QSqlRecord* theWrappedObject) const -{ - return ( theWrappedObject->isEmpty()); -} - -void PythonQtWrapper_QSqlRecord::setNull(QSqlRecord* theWrappedObject, int i) -{ - ( theWrappedObject->setNull(i)); -} - -void PythonQtWrapper_QSqlRecord::setValue(QSqlRecord* theWrappedObject, const QString& name, const QVariant& val) -{ - ( theWrappedObject->setValue(name, val)); -} - -QVariant PythonQtWrapper_QSqlRecord::value(QSqlRecord* theWrappedObject, const QString& name) const -{ - return ( theWrappedObject->value(name)); -} - -QString PythonQtWrapper_QSqlRecord::toString(QSqlRecord* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; -} - diff --git a/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlRecord.h b/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlRecord.h deleted file mode 100644 index c3139a8..0000000 --- a/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlRecord.h +++ /dev/null @@ -1,50 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSQLRECORD_H -#define PYTHONQTWRAPPER_QSQLRECORD_H - -#include -#include - -#include - -#include -#include -#include -#include - -class PythonQtWrapper_QSqlRecord : public QObject -{ Q_OBJECT -public: -public slots: -QSqlRecord* new_QSqlRecord(); -QSqlRecord* new_QSqlRecord(const QSqlRecord& other); -void delete_QSqlRecord(QSqlRecord* obj) { delete obj; } - bool isGenerated(QSqlRecord* theWrappedObject, const QString& name) const; - void setNull(QSqlRecord* theWrappedObject, const QString& name); - void append(QSqlRecord* theWrappedObject, const QSqlField& field); - void setValue(QSqlRecord* theWrappedObject, int i, const QVariant& val); - bool isNull(QSqlRecord* theWrappedObject, int i) const; - bool contains(QSqlRecord* theWrappedObject, const QString& name) const; - void setGenerated(QSqlRecord* theWrappedObject, const QString& name, bool generated); - QVariant value(QSqlRecord* theWrappedObject, int i) const; - bool isGenerated(QSqlRecord* theWrappedObject, int i) const; - void remove(QSqlRecord* theWrappedObject, int pos); - void setGenerated(QSqlRecord* theWrappedObject, int i, bool generated); - void replace(QSqlRecord* theWrappedObject, int pos, const QSqlField& field); - QSqlField field(QSqlRecord* theWrappedObject, int i) const; - void insert(QSqlRecord* theWrappedObject, int pos, const QSqlField& field); - bool isNull(QSqlRecord* theWrappedObject, const QString& name) const; - bool operator_equal(QSqlRecord* theWrappedObject, const QSqlRecord& other) const; - QString fieldName(QSqlRecord* theWrappedObject, int i) const; - void clearValues(QSqlRecord* theWrappedObject); - QSqlField field(QSqlRecord* theWrappedObject, const QString& name) const; - int indexOf(QSqlRecord* theWrappedObject, const QString& name) const; - void clear(QSqlRecord* theWrappedObject); - int count(QSqlRecord* theWrappedObject) const; - bool isEmpty(QSqlRecord* theWrappedObject) const; - void setNull(QSqlRecord* theWrappedObject, int i); - void setValue(QSqlRecord* theWrappedObject, const QString& name, const QVariant& val); - QVariant value(QSqlRecord* theWrappedObject, const QString& name) const; - QString toString(QSqlRecord*); -}; - -#endif // PYTHONQTWRAPPER_QSQLRECORD_H diff --git a/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlRelation.cpp b/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlRelation.cpp deleted file mode 100644 index 784d143..0000000 --- a/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlRelation.cpp +++ /dev/null @@ -1,35 +0,0 @@ -#include "PythonQtWrapper_QSqlRelation.h" - -#include -#include -#include -#include - -QSqlRelation* PythonQtWrapper_QSqlRelation::new_QSqlRelation() -{ -return new QSqlRelation(); } - -QSqlRelation* PythonQtWrapper_QSqlRelation::new_QSqlRelation(const QString& aTableName, const QString& indexCol, const QString& displayCol) -{ -return new QSqlRelation(aTableName, indexCol, displayCol); } - -QString PythonQtWrapper_QSqlRelation::indexColumn(QSqlRelation* theWrappedObject) const -{ - return ( theWrappedObject->indexColumn()); -} - -QString PythonQtWrapper_QSqlRelation::displayColumn(QSqlRelation* theWrappedObject) const -{ - return ( theWrappedObject->displayColumn()); -} - -bool PythonQtWrapper_QSqlRelation::isValid(QSqlRelation* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -QString PythonQtWrapper_QSqlRelation::tableName(QSqlRelation* theWrappedObject) const -{ - return ( theWrappedObject->tableName()); -} - diff --git a/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlRelation.h b/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlRelation.h deleted file mode 100644 index 8cb6037..0000000 --- a/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlRelation.h +++ /dev/null @@ -1,28 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSQLRELATION_H -#define PYTHONQTWRAPPER_QSQLRELATION_H - -#include -#include - -#include - -#include - -class PythonQtWrapper_QSqlRelation : public QObject -{ Q_OBJECT -public: -public slots: -QSqlRelation* new_QSqlRelation(); -QSqlRelation* new_QSqlRelation(const QString& aTableName, const QString& indexCol, const QString& displayCol); -QSqlRelation* new_QSqlRelation(const QSqlRelation& other) { -QSqlRelation* a = new QSqlRelation(); -*((QSqlRelation*)a) = other; -return a; } -void delete_QSqlRelation(QSqlRelation* obj) { delete obj; } - QString indexColumn(QSqlRelation* theWrappedObject) const; - QString displayColumn(QSqlRelation* theWrappedObject) const; - bool isValid(QSqlRelation* theWrappedObject) const; - QString tableName(QSqlRelation* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QSQLRELATION_H diff --git a/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlRelationalTableModel.cpp b/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlRelationalTableModel.cpp deleted file mode 100644 index b49e323..0000000 --- a/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlRelationalTableModel.cpp +++ /dev/null @@ -1,1228 +0,0 @@ -#include "PythonQtWrapper_QSqlRelationalTableModel.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QModelIndex PythonQtShell_QSqlRelationalTableModel::buddy(const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "buddy"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex 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) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlRelationalTableModel::buddy(index); -} -bool PythonQtShell_QSqlRelationalTableModel::canFetchMore(const QModelIndex& parent) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "canFetchMore"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&parent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlRelationalTableModel::canFetchMore(parent); -} -void PythonQtShell_QSqlRelationalTableModel::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; - } -} - QSqlRelationalTableModel::childEvent(arg__1); -} -void PythonQtShell_QSqlRelationalTableModel::clear() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "clear"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSqlRelationalTableModel::clear(); -} -int PythonQtShell_QSqlRelationalTableModel::columnCount(const QModelIndex& parent) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "columnCount"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&parent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlRelationalTableModel::columnCount(parent); -} -void PythonQtShell_QSqlRelationalTableModel::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; - } -} - QSqlRelationalTableModel::customEvent(arg__1); -} -QVariant PythonQtShell_QSqlRelationalTableModel::data(const QModelIndex& item, int role) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "data"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&item, (void*)&role}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlRelationalTableModel::data(item, role); -} -bool PythonQtShell_QSqlRelationalTableModel::deleteRowFromTable(int row) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "deleteRowFromTable"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&row}; - 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("deleteRowFromTable", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlRelationalTableModel::deleteRowFromTable(row); -} -bool PythonQtShell_QSqlRelationalTableModel::dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropMimeData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QMimeData*" , "Qt::DropAction" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue; - void* args[6] = {NULL, (void*)&data, (void*)&action, (void*)&row, (void*)&column, (void*)&parent}; - 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("dropMimeData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlRelationalTableModel::dropMimeData(data, action, row, column, parent); -} -bool PythonQtShell_QSqlRelationalTableModel::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlRelationalTableModel::event(arg__1); -} -bool PythonQtShell_QSqlRelationalTableModel::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlRelationalTableModel::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QSqlRelationalTableModel::fetchMore(const QModelIndex& parent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "fetchMore"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&parent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSqlRelationalTableModel::fetchMore(parent); -} -Qt::ItemFlags PythonQtShell_QSqlRelationalTableModel::flags(const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "flags"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - Qt::ItemFlags returnValue; - void* args[2] = {NULL, (void*)&index}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); - } else { - returnValue = *((Qt::ItemFlags*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlRelationalTableModel::flags(index); -} -QVariant PythonQtShell_QSqlRelationalTableModel::headerData(int section, Qt::Orientation orientation, int role) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "headerData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QVariant returnValue; - void* args[4] = {NULL, (void*)§ion, (void*)&orientation, (void*)&role}; - 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("headerData", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlRelationalTableModel::headerData(section, orientation, role); -} -QModelIndex PythonQtShell_QSqlRelationalTableModel::index(int row, int column, const QModelIndex& parent) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "index"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QModelIndex returnValue; - void* args[4] = {NULL, (void*)&row, (void*)&column, (void*)&parent}; - 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("index", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlRelationalTableModel::index(row, column, parent); -} -bool PythonQtShell_QSqlRelationalTableModel::insertColumns(int column, int count, const QModelIndex& parent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "insertColumns"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&column, (void*)&count, (void*)&parent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlRelationalTableModel::insertColumns(column, count, parent); -} -bool PythonQtShell_QSqlRelationalTableModel::insertRowIntoTable(const QSqlRecord& values) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "insertRowIntoTable"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QSqlRecord&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&values}; - 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("insertRowIntoTable", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlRelationalTableModel::insertRowIntoTable(values); -} -bool PythonQtShell_QSqlRelationalTableModel::insertRows(int row, int count, const QModelIndex& parent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "insertRows"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&row, (void*)&count, (void*)&parent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlRelationalTableModel::insertRows(row, count, parent); -} -QMap PythonQtShell_QSqlRelationalTableModel::itemData(const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMap 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) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); - } else { - returnValue = *((QMap*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlRelationalTableModel::itemData(index); -} -QList PythonQtShell_QSqlRelationalTableModel::match(const QModelIndex& start, int role, const QVariant& value, int hits, Qt::MatchFlags flags) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "match"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QList" , "const QModelIndex&" , "int" , "const QVariant&" , "int" , "Qt::MatchFlags"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - QList returnValue; - void* args[6] = {NULL, (void*)&start, (void*)&role, (void*)&value, (void*)&hits, (void*)&flags}; - 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("match", methodInfo, result); - } else { - returnValue = *((QList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlRelationalTableModel::match(start, role, value, hits, flags); -} -QMimeData* PythonQtShell_QSqlRelationalTableModel::mimeData(const QList& indexes) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mimeData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QMimeData*" , "const QList&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMimeData* returnValue; - void* args[2] = {NULL, (void*)&indexes}; - 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("mimeData", methodInfo, result); - } else { - returnValue = *((QMimeData**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlRelationalTableModel::mimeData(indexes); -} -QStringList PythonQtShell_QSqlRelationalTableModel::mimeTypes() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mimeTypes"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QStringList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStringList returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); - } else { - returnValue = *((QStringList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlRelationalTableModel::mimeTypes(); -} -QString PythonQtShell_QSqlRelationalTableModel::orderByClause() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "orderByClause"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QString"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QString returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("orderByClause", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlRelationalTableModel::orderByClause(); -} -void PythonQtShell_QSqlRelationalTableModel::queryChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "queryChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSqlRelationalTableModel::queryChange(); -} -QSqlTableModel* PythonQtShell_QSqlRelationalTableModel::relationModel(int column) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "relationModel"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSqlTableModel*" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QSqlTableModel* returnValue; - void* args[2] = {NULL, (void*)&column}; - 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("relationModel", methodInfo, result); - } else { - returnValue = *((QSqlTableModel**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlRelationalTableModel::relationModel(column); -} -bool PythonQtShell_QSqlRelationalTableModel::removeColumns(int column, int count, const QModelIndex& parent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "removeColumns"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&column, (void*)&count, (void*)&parent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlRelationalTableModel::removeColumns(column, count, parent); -} -bool PythonQtShell_QSqlRelationalTableModel::removeRows(int row, int count, const QModelIndex& parent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "removeRows"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&row, (void*)&count, (void*)&parent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlRelationalTableModel::removeRows(row, count, parent); -} -void PythonQtShell_QSqlRelationalTableModel::revert() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "revert"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSqlRelationalTableModel::revert(); -} -void PythonQtShell_QSqlRelationalTableModel::revertRow(int row) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "revertRow"); - 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*)&row}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSqlRelationalTableModel::revertRow(row); -} -int PythonQtShell_QSqlRelationalTableModel::rowCount(const QModelIndex& parent) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowCount"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&parent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlRelationalTableModel::rowCount(parent); -} -bool PythonQtShell_QSqlRelationalTableModel::select() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "select"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("select", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlRelationalTableModel::select(); -} -QString PythonQtShell_QSqlRelationalTableModel::selectStatement() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectStatement"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QString"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QString returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("selectStatement", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlRelationalTableModel::selectStatement(); -} -bool PythonQtShell_QSqlRelationalTableModel::setData(const QModelIndex& item, const QVariant& value, int role) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QVariant&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&item, (void*)&value, (void*)&role}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlRelationalTableModel::setData(item, value, role); -} -void PythonQtShell_QSqlRelationalTableModel::setEditStrategy(QSqlTableModel::EditStrategy strategy) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setEditStrategy"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QSqlTableModel::EditStrategy"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&strategy}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSqlRelationalTableModel::setEditStrategy(strategy); -} -void PythonQtShell_QSqlRelationalTableModel::setFilter(const QString& filter) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&filter}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSqlRelationalTableModel::setFilter(filter); -} -bool PythonQtShell_QSqlRelationalTableModel::setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setHeaderData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int" , "Qt::Orientation" , "const QVariant&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - bool returnValue; - void* args[5] = {NULL, (void*)§ion, (void*)&orientation, (void*)&value, (void*)&role}; - 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("setHeaderData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlRelationalTableModel::setHeaderData(section, orientation, value, role); -} -bool PythonQtShell_QSqlRelationalTableModel::setItemData(const QModelIndex& index, const QMap& roles) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setItemData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&index, (void*)&roles}; - 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("setItemData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlRelationalTableModel::setItemData(index, roles); -} -void PythonQtShell_QSqlRelationalTableModel::setRelation(int column, const QSqlRelation& relation) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setRelation"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "int" , "const QSqlRelation&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&column, (void*)&relation}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSqlRelationalTableModel::setRelation(column, relation); -} -void PythonQtShell_QSqlRelationalTableModel::setSort(int column, Qt::SortOrder order) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setSort"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&column, (void*)&order}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSqlRelationalTableModel::setSort(column, order); -} -void PythonQtShell_QSqlRelationalTableModel::setTable(const QString& tableName) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setTable"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&tableName}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSqlRelationalTableModel::setTable(tableName); -} -void PythonQtShell_QSqlRelationalTableModel::sort(int column, Qt::SortOrder order) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sort"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&column, (void*)&order}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSqlRelationalTableModel::sort(column, order); -} -QSize PythonQtShell_QSqlRelationalTableModel::span(const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "span"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QSize 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) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlRelationalTableModel::span(index); -} -bool PythonQtShell_QSqlRelationalTableModel::submit() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "submit"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlRelationalTableModel::submit(); -} -Qt::DropActions PythonQtShell_QSqlRelationalTableModel::supportedDropActions() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "supportedDropActions"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"Qt::DropActions"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); - } else { - returnValue = *((Qt::DropActions*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlRelationalTableModel::supportedDropActions(); -} -void PythonQtShell_QSqlRelationalTableModel::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; - } -} - QSqlRelationalTableModel::timerEvent(arg__1); -} -bool PythonQtShell_QSqlRelationalTableModel::updateRowInTable(int row, const QSqlRecord& values) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateRowInTable"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int" , "const QSqlRecord&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&row, (void*)&values}; - 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("updateRowInTable", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlRelationalTableModel::updateRowInTable(row, values); -} -QSqlRelationalTableModel* PythonQtWrapper_QSqlRelationalTableModel::new_QSqlRelationalTableModel(QObject* parent, QSqlDatabase db) -{ -return new PythonQtShell_QSqlRelationalTableModel(parent, db); } - -QVariant PythonQtWrapper_QSqlRelationalTableModel::data(QSqlRelationalTableModel* theWrappedObject, const QModelIndex& item, int role) const -{ - return ( ((PythonQtPublicPromoter_QSqlRelationalTableModel*)theWrappedObject)->promoted_data(item, role)); -} - -bool PythonQtWrapper_QSqlRelationalTableModel::removeColumns(QSqlRelationalTableModel* theWrappedObject, int column, int count, const QModelIndex& parent) -{ - return ( ((PythonQtPublicPromoter_QSqlRelationalTableModel*)theWrappedObject)->promoted_removeColumns(column, count, parent)); -} - -void PythonQtWrapper_QSqlRelationalTableModel::clear(QSqlRelationalTableModel* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QSqlRelationalTableModel*)theWrappedObject)->promoted_clear()); -} - -QSqlRelation PythonQtWrapper_QSqlRelationalTableModel::relation(QSqlRelationalTableModel* theWrappedObject, int column) const -{ - return ( theWrappedObject->relation(column)); -} - -bool PythonQtWrapper_QSqlRelationalTableModel::select(QSqlRelationalTableModel* theWrappedObject) -{ - return ( ((PythonQtPublicPromoter_QSqlRelationalTableModel*)theWrappedObject)->promoted_select()); -} - -bool PythonQtWrapper_QSqlRelationalTableModel::updateRowInTable(QSqlRelationalTableModel* theWrappedObject, int row, const QSqlRecord& values) -{ - return ( ((PythonQtPublicPromoter_QSqlRelationalTableModel*)theWrappedObject)->promoted_updateRowInTable(row, values)); -} - -bool PythonQtWrapper_QSqlRelationalTableModel::insertRowIntoTable(QSqlRelationalTableModel* theWrappedObject, const QSqlRecord& values) -{ - return ( ((PythonQtPublicPromoter_QSqlRelationalTableModel*)theWrappedObject)->promoted_insertRowIntoTable(values)); -} - -void PythonQtWrapper_QSqlRelationalTableModel::setTable(QSqlRelationalTableModel* theWrappedObject, const QString& tableName) -{ - ( ((PythonQtPublicPromoter_QSqlRelationalTableModel*)theWrappedObject)->promoted_setTable(tableName)); -} - -QString PythonQtWrapper_QSqlRelationalTableModel::orderByClause(QSqlRelationalTableModel* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QSqlRelationalTableModel*)theWrappedObject)->promoted_orderByClause()); -} - -bool PythonQtWrapper_QSqlRelationalTableModel::setData(QSqlRelationalTableModel* theWrappedObject, const QModelIndex& item, const QVariant& value, int role) -{ - return ( ((PythonQtPublicPromoter_QSqlRelationalTableModel*)theWrappedObject)->promoted_setData(item, value, role)); -} - -void PythonQtWrapper_QSqlRelationalTableModel::setRelation(QSqlRelationalTableModel* theWrappedObject, int column, const QSqlRelation& relation) -{ - ( ((PythonQtPublicPromoter_QSqlRelationalTableModel*)theWrappedObject)->promoted_setRelation(column, relation)); -} - -QString PythonQtWrapper_QSqlRelationalTableModel::selectStatement(QSqlRelationalTableModel* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QSqlRelationalTableModel*)theWrappedObject)->promoted_selectStatement()); -} - -QSqlTableModel* PythonQtWrapper_QSqlRelationalTableModel::relationModel(QSqlRelationalTableModel* theWrappedObject, int column) const -{ - return ( ((PythonQtPublicPromoter_QSqlRelationalTableModel*)theWrappedObject)->promoted_relationModel(column)); -} - diff --git a/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlRelationalTableModel.h b/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlRelationalTableModel.h deleted file mode 100644 index 2f48b7e..0000000 --- a/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlRelationalTableModel.h +++ /dev/null @@ -1,122 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSQLRELATIONALTABLEMODEL_H -#define PYTHONQTWRAPPER_QSQLRELATIONALTABLEMODEL_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QSqlRelationalTableModel : public QSqlRelationalTableModel -{ -public: - PythonQtShell_QSqlRelationalTableModel(QObject* parent = 0, QSqlDatabase db = QSqlDatabase()):QSqlRelationalTableModel(parent, db),_wrapper(NULL) {}; - -virtual QModelIndex buddy(const QModelIndex& index) const; -virtual bool canFetchMore(const QModelIndex& parent) const; -virtual void childEvent(QChildEvent* arg__1); -virtual void clear(); -virtual int columnCount(const QModelIndex& parent) const; -virtual void customEvent(QEvent* arg__1); -virtual QVariant data(const QModelIndex& item, int role = Qt::DisplayRole) const; -virtual bool deleteRowFromTable(int row); -virtual bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void fetchMore(const QModelIndex& parent); -virtual Qt::ItemFlags flags(const QModelIndex& index) const; -virtual QVariant headerData(int section, Qt::Orientation orientation, int role) const; -virtual QModelIndex index(int row, int column, const QModelIndex& parent) const; -virtual bool insertColumns(int column, int count, const QModelIndex& parent); -virtual bool insertRowIntoTable(const QSqlRecord& values); -virtual bool insertRows(int row, int count, const QModelIndex& parent); -virtual QMap itemData(const QModelIndex& index) const; -virtual QList match(const QModelIndex& start, int role, const QVariant& value, int hits, Qt::MatchFlags flags) const; -virtual QMimeData* mimeData(const QList& indexes) const; -virtual QStringList mimeTypes() const; -virtual QString orderByClause() const; -virtual void queryChange(); -virtual QSqlTableModel* relationModel(int column) const; -virtual bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool removeRows(int row, int count, const QModelIndex& parent); -virtual void revert(); -virtual void revertRow(int row); -virtual int rowCount(const QModelIndex& parent) const; -virtual bool select(); -virtual QString selectStatement() const; -virtual bool setData(const QModelIndex& item, const QVariant& value, int role = Qt::EditRole); -virtual void setEditStrategy(QSqlTableModel::EditStrategy strategy); -virtual void setFilter(const QString& filter); -virtual bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role); -virtual bool setItemData(const QModelIndex& index, const QMap& roles); -virtual void setRelation(int column, const QSqlRelation& relation); -virtual void setSort(int column, Qt::SortOrder order); -virtual void setTable(const QString& tableName); -virtual void sort(int column, Qt::SortOrder order); -virtual QSize span(const QModelIndex& index) const; -virtual bool submit(); -virtual Qt::DropActions supportedDropActions() const; -virtual void timerEvent(QTimerEvent* arg__1); -virtual bool updateRowInTable(int row, const QSqlRecord& values); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QSqlRelationalTableModel : public QSqlRelationalTableModel -{ public: -inline QVariant promoted_data(const QModelIndex& item, int role = Qt::DisplayRole) const { return QSqlRelationalTableModel::data(item, role); } -inline bool promoted_removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()) { return QSqlRelationalTableModel::removeColumns(column, count, parent); } -inline void promoted_clear() { QSqlRelationalTableModel::clear(); } -inline void promoted_revertRow(int row) { QSqlRelationalTableModel::revertRow(row); } -inline bool promoted_select() { return QSqlRelationalTableModel::select(); } -inline bool promoted_updateRowInTable(int row, const QSqlRecord& values) { return QSqlRelationalTableModel::updateRowInTable(row, values); } -inline bool promoted_insertRowIntoTable(const QSqlRecord& values) { return QSqlRelationalTableModel::insertRowIntoTable(values); } -inline void promoted_setTable(const QString& tableName) { QSqlRelationalTableModel::setTable(tableName); } -inline QString promoted_orderByClause() const { return QSqlRelationalTableModel::orderByClause(); } -inline bool promoted_setData(const QModelIndex& item, const QVariant& value, int role = Qt::EditRole) { return QSqlRelationalTableModel::setData(item, value, role); } -inline void promoted_setRelation(int column, const QSqlRelation& relation) { QSqlRelationalTableModel::setRelation(column, relation); } -inline QString promoted_selectStatement() const { return QSqlRelationalTableModel::selectStatement(); } -inline QSqlTableModel* promoted_relationModel(int column) const { return QSqlRelationalTableModel::relationModel(column); } -}; - -class PythonQtWrapper_QSqlRelationalTableModel : public QObject -{ Q_OBJECT -public: -public slots: -QSqlRelationalTableModel* new_QSqlRelationalTableModel(QObject* parent = 0, QSqlDatabase db = QSqlDatabase()); -void delete_QSqlRelationalTableModel(QSqlRelationalTableModel* obj) { delete obj; } - QVariant data(QSqlRelationalTableModel* theWrappedObject, const QModelIndex& item, int role = Qt::DisplayRole) const; - bool removeColumns(QSqlRelationalTableModel* theWrappedObject, int column, int count, const QModelIndex& parent = QModelIndex()); - void clear(QSqlRelationalTableModel* theWrappedObject); - QSqlRelation relation(QSqlRelationalTableModel* theWrappedObject, int column) const; - bool select(QSqlRelationalTableModel* theWrappedObject); - bool updateRowInTable(QSqlRelationalTableModel* theWrappedObject, int row, const QSqlRecord& values); - bool insertRowIntoTable(QSqlRelationalTableModel* theWrappedObject, const QSqlRecord& values); - void setTable(QSqlRelationalTableModel* theWrappedObject, const QString& tableName); - QString orderByClause(QSqlRelationalTableModel* theWrappedObject) const; - bool setData(QSqlRelationalTableModel* theWrappedObject, const QModelIndex& item, const QVariant& value, int role = Qt::EditRole); - void setRelation(QSqlRelationalTableModel* theWrappedObject, int column, const QSqlRelation& relation); - QString selectStatement(QSqlRelationalTableModel* theWrappedObject) const; - QSqlTableModel* relationModel(QSqlRelationalTableModel* theWrappedObject, int column) const; -}; - -#endif // PYTHONQTWRAPPER_QSQLRELATIONALTABLEMODEL_H diff --git a/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlResult.cpp b/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlResult.cpp deleted file mode 100644 index 10dab94..0000000 --- a/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlResult.cpp +++ /dev/null @@ -1,706 +0,0 @@ -#include "PythonQtWrapper_QSqlResult.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QSqlResult::bindValue(const QString& placeholder, const QVariant& val, QSql::ParamType type) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "bindValue"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QString&" , "const QVariant&" , "QSql::ParamType"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&placeholder, (void*)&val, (void*)&type}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSqlResult::bindValue(placeholder, val, type); -} -void PythonQtShell_QSqlResult::bindValue(int pos, const QVariant& val, QSql::ParamType type) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "bindValue"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "int" , "const QVariant&" , "QSql::ParamType"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&pos, (void*)&val, (void*)&type}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSqlResult::bindValue(pos, val, type); -} -QVariant PythonQtShell_QSqlResult::data(int i) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "data"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&i}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QVariant result; -return result; -} -bool PythonQtShell_QSqlResult::exec() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "exec"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlResult::exec(); -} -bool PythonQtShell_QSqlResult::fetch(int i) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "fetch"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&i}; - 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("fetch", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - bool result; -return result; -} -bool PythonQtShell_QSqlResult::fetchFirst() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "fetchFirst"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("fetchFirst", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - bool result; -return result; -} -bool PythonQtShell_QSqlResult::fetchLast() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "fetchLast"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("fetchLast", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - bool result; -return result; -} -bool PythonQtShell_QSqlResult::fetchNext() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "fetchNext"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("fetchNext", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlResult::fetchNext(); -} -bool PythonQtShell_QSqlResult::fetchPrevious() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "fetchPrevious"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("fetchPrevious", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlResult::fetchPrevious(); -} -QVariant PythonQtShell_QSqlResult::handle() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "handle"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QVariant returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("handle", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlResult::handle(); -} -bool PythonQtShell_QSqlResult::isNull(int i) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isNull"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&i}; - 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("isNull", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - bool result; -return result; -} -QVariant PythonQtShell_QSqlResult::lastInsertId() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "lastInsertId"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QVariant returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("lastInsertId", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlResult::lastInsertId(); -} -int PythonQtShell_QSqlResult::numRowsAffected() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "numRowsAffected"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("numRowsAffected", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - int result; -return result; -} -bool PythonQtShell_QSqlResult::prepare(const QString& query) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "prepare"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&query}; - 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("prepare", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlResult::prepare(query); -} -QSqlRecord PythonQtShell_QSqlResult::record() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "record"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSqlRecord"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSqlRecord returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("record", methodInfo, result); - } else { - returnValue = *((QSqlRecord*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlResult::record(); -} -bool PythonQtShell_QSqlResult::reset(const QString& sqlquery) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reset"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&sqlquery}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - bool result; -return result; -} -bool PythonQtShell_QSqlResult::savePrepare(const QString& sqlquery) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "savePrepare"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&sqlquery}; - 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("savePrepare", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlResult::savePrepare(sqlquery); -} -void PythonQtShell_QSqlResult::setActive(bool a) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setActive"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&a}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSqlResult::setActive(a); -} -void PythonQtShell_QSqlResult::setAt(int at) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setAt"); - 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*)&at}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSqlResult::setAt(at); -} -void PythonQtShell_QSqlResult::setForwardOnly(bool forward) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setForwardOnly"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&forward}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSqlResult::setForwardOnly(forward); -} -void PythonQtShell_QSqlResult::setLastError(const QSqlError& e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setLastError"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QSqlError&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSqlResult::setLastError(e); -} -void PythonQtShell_QSqlResult::setQuery(const QString& query) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&query}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSqlResult::setQuery(query); -} -void PythonQtShell_QSqlResult::setSelect(bool s) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setSelect"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&s}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSqlResult::setSelect(s); -} -int PythonQtShell_QSqlResult::size() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "size"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - int result; -return result; -} -void PythonQtShell_QSqlResult::virtual_hook(int id, void* data) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "virtual_hook"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "int" , "void*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&id, (void*)&data}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSqlResult::virtual_hook(id, data); -} -void PythonQtWrapper_QSqlResult::setForwardOnly(QSqlResult* theWrappedObject, bool forward) -{ - ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_setForwardOnly(forward)); -} - -void PythonQtWrapper_QSqlResult::bindValue(QSqlResult* theWrappedObject, int pos, const QVariant& val, QSql::ParamType type) -{ - ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_bindValue(pos, val, type)); -} - -void PythonQtWrapper_QSqlResult::setSelect(QSqlResult* theWrappedObject, bool s) -{ - ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_setSelect(s)); -} - -bool PythonQtWrapper_QSqlResult::exec(QSqlResult* theWrappedObject) -{ - return ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_exec()); -} - -bool PythonQtWrapper_QSqlResult::fetchNext(QSqlResult* theWrappedObject) -{ - return ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_fetchNext()); -} - -QSqlRecord PythonQtWrapper_QSqlResult::record(QSqlResult* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_record()); -} - -void PythonQtWrapper_QSqlResult::setLastError(QSqlResult* theWrappedObject, const QSqlError& e) -{ - ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_setLastError(e)); -} - -void PythonQtWrapper_QSqlResult::bindValue(QSqlResult* theWrappedObject, const QString& placeholder, const QVariant& val, QSql::ParamType type) -{ - ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_bindValue(placeholder, val, type)); -} - -void PythonQtWrapper_QSqlResult::setQuery(QSqlResult* theWrappedObject, const QString& query) -{ - ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_setQuery(query)); -} - -QVariant PythonQtWrapper_QSqlResult::lastInsertId(QSqlResult* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_lastInsertId()); -} - -bool PythonQtWrapper_QSqlResult::prepare(QSqlResult* theWrappedObject, const QString& query) -{ - return ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_prepare(query)); -} - -void PythonQtWrapper_QSqlResult::setActive(QSqlResult* theWrappedObject, bool a) -{ - ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_setActive(a)); -} - -QVariant PythonQtWrapper_QSqlResult::handle(QSqlResult* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_handle()); -} - -bool PythonQtWrapper_QSqlResult::fetchPrevious(QSqlResult* theWrappedObject) -{ - return ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_fetchPrevious()); -} - -void PythonQtWrapper_QSqlResult::setAt(QSqlResult* theWrappedObject, int at) -{ - ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_setAt(at)); -} - -bool PythonQtWrapper_QSqlResult::savePrepare(QSqlResult* theWrappedObject, const QString& sqlquery) -{ - return ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_savePrepare(sqlquery)); -} - diff --git a/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlResult.h b/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlResult.h deleted file mode 100644 index 67f86c7..0000000 --- a/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlResult.h +++ /dev/null @@ -1,98 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSQLRESULT_H -#define PYTHONQTWRAPPER_QSQLRESULT_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QSqlResult : public QSqlResult -{ -public: - PythonQtShell_QSqlResult(const QSqlDriver* db):QSqlResult(db),_wrapper(NULL) {}; - -virtual void bindValue(const QString& placeholder, const QVariant& val, QSql::ParamType type); -virtual void bindValue(int pos, const QVariant& val, QSql::ParamType type); -virtual QVariant data(int i); -virtual bool exec(); -virtual bool fetch(int i); -virtual bool fetchFirst(); -virtual bool fetchLast(); -virtual bool fetchNext(); -virtual bool fetchPrevious(); -virtual QVariant handle() const; -virtual bool isNull(int i); -virtual QVariant lastInsertId() const; -virtual int numRowsAffected(); -virtual bool prepare(const QString& query); -virtual QSqlRecord record() const; -virtual bool reset(const QString& sqlquery); -virtual bool savePrepare(const QString& sqlquery); -virtual void setActive(bool a); -virtual void setAt(int at); -virtual void setForwardOnly(bool forward); -virtual void setLastError(const QSqlError& e); -virtual void setQuery(const QString& query); -virtual void setSelect(bool s); -virtual int size(); -virtual void virtual_hook(int id, void* data); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QSqlResult : public QSqlResult -{ public: -inline void promoted_setForwardOnly(bool forward) { QSqlResult::setForwardOnly(forward); } -inline void promoted_bindValue(int pos, const QVariant& val, QSql::ParamType type) { QSqlResult::bindValue(pos, val, type); } -inline void promoted_setSelect(bool s) { QSqlResult::setSelect(s); } -inline bool promoted_exec() { return QSqlResult::exec(); } -inline bool promoted_fetchNext() { return QSqlResult::fetchNext(); } -inline QSqlRecord promoted_record() const { return QSqlResult::record(); } -inline void promoted_setLastError(const QSqlError& e) { QSqlResult::setLastError(e); } -inline void promoted_bindValue(const QString& placeholder, const QVariant& val, QSql::ParamType type) { QSqlResult::bindValue(placeholder, val, type); } -inline void promoted_setQuery(const QString& query) { QSqlResult::setQuery(query); } -inline QVariant promoted_lastInsertId() const { return QSqlResult::lastInsertId(); } -inline bool promoted_prepare(const QString& query) { return QSqlResult::prepare(query); } -inline void promoted_setActive(bool a) { QSqlResult::setActive(a); } -inline QVariant promoted_handle() const { return QSqlResult::handle(); } -inline bool promoted_fetchPrevious() { return QSqlResult::fetchPrevious(); } -inline void promoted_setAt(int at) { QSqlResult::setAt(at); } -inline bool promoted_savePrepare(const QString& sqlquery) { return QSqlResult::savePrepare(sqlquery); } -}; - -class PythonQtWrapper_QSqlResult : public QObject -{ Q_OBJECT -public: -public slots: -void delete_QSqlResult(QSqlResult* obj) { delete obj; } - void setForwardOnly(QSqlResult* theWrappedObject, bool forward); - void bindValue(QSqlResult* theWrappedObject, int pos, const QVariant& val, QSql::ParamType type); - void setSelect(QSqlResult* theWrappedObject, bool s); - bool exec(QSqlResult* theWrappedObject); - bool fetchNext(QSqlResult* theWrappedObject); - QSqlRecord record(QSqlResult* theWrappedObject) const; - void setLastError(QSqlResult* theWrappedObject, const QSqlError& e); - void bindValue(QSqlResult* theWrappedObject, const QString& placeholder, const QVariant& val, QSql::ParamType type); - void setQuery(QSqlResult* theWrappedObject, const QString& query); - QVariant lastInsertId(QSqlResult* theWrappedObject) const; - bool prepare(QSqlResult* theWrappedObject, const QString& query); - void setActive(QSqlResult* theWrappedObject, bool a); - QVariant handle(QSqlResult* theWrappedObject) const; - bool fetchPrevious(QSqlResult* theWrappedObject); - void setAt(QSqlResult* theWrappedObject, int at); - bool savePrepare(QSqlResult* theWrappedObject, const QString& sqlquery); -}; - -#endif // PYTHONQTWRAPPER_QSQLRESULT_H diff --git a/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlTableModel.cpp b/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlTableModel.cpp deleted file mode 100644 index e3997ac..0000000 --- a/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlTableModel.cpp +++ /dev/null @@ -1,1267 +0,0 @@ -#include "PythonQtWrapper_QSqlTableModel.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QModelIndex PythonQtShell_QSqlTableModel::buddy(const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "buddy"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex 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) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlTableModel::buddy(index); -} -bool PythonQtShell_QSqlTableModel::canFetchMore(const QModelIndex& parent) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "canFetchMore"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&parent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlTableModel::canFetchMore(parent); -} -void PythonQtShell_QSqlTableModel::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; - } -} - QSqlTableModel::childEvent(arg__1); -} -void PythonQtShell_QSqlTableModel::clear() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "clear"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSqlTableModel::clear(); -} -int PythonQtShell_QSqlTableModel::columnCount(const QModelIndex& parent) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "columnCount"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&parent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlTableModel::columnCount(parent); -} -void PythonQtShell_QSqlTableModel::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; - } -} - QSqlTableModel::customEvent(arg__1); -} -QVariant PythonQtShell_QSqlTableModel::data(const QModelIndex& idx, int role) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "data"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&idx, (void*)&role}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlTableModel::data(idx, role); -} -bool PythonQtShell_QSqlTableModel::deleteRowFromTable(int row) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "deleteRowFromTable"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&row}; - 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("deleteRowFromTable", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlTableModel::deleteRowFromTable(row); -} -bool PythonQtShell_QSqlTableModel::dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropMimeData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QMimeData*" , "Qt::DropAction" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue; - void* args[6] = {NULL, (void*)&data, (void*)&action, (void*)&row, (void*)&column, (void*)&parent}; - 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("dropMimeData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlTableModel::dropMimeData(data, action, row, column, parent); -} -bool PythonQtShell_QSqlTableModel::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlTableModel::event(arg__1); -} -bool PythonQtShell_QSqlTableModel::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlTableModel::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QSqlTableModel::fetchMore(const QModelIndex& parent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "fetchMore"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&parent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSqlTableModel::fetchMore(parent); -} -Qt::ItemFlags PythonQtShell_QSqlTableModel::flags(const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "flags"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - Qt::ItemFlags returnValue; - void* args[2] = {NULL, (void*)&index}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); - } else { - returnValue = *((Qt::ItemFlags*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlTableModel::flags(index); -} -QVariant PythonQtShell_QSqlTableModel::headerData(int section, Qt::Orientation orientation, int role) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "headerData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QVariant returnValue; - void* args[4] = {NULL, (void*)§ion, (void*)&orientation, (void*)&role}; - 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("headerData", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlTableModel::headerData(section, orientation, role); -} -QModelIndex PythonQtShell_QSqlTableModel::index(int row, int column, const QModelIndex& parent) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "index"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QModelIndex returnValue; - void* args[4] = {NULL, (void*)&row, (void*)&column, (void*)&parent}; - 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("index", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlTableModel::index(row, column, parent); -} -bool PythonQtShell_QSqlTableModel::insertColumns(int column, int count, const QModelIndex& parent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "insertColumns"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&column, (void*)&count, (void*)&parent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlTableModel::insertColumns(column, count, parent); -} -bool PythonQtShell_QSqlTableModel::insertRowIntoTable(const QSqlRecord& values) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "insertRowIntoTable"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QSqlRecord&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&values}; - 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("insertRowIntoTable", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlTableModel::insertRowIntoTable(values); -} -bool PythonQtShell_QSqlTableModel::insertRows(int row, int count, const QModelIndex& parent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "insertRows"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&row, (void*)&count, (void*)&parent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlTableModel::insertRows(row, count, parent); -} -QMap PythonQtShell_QSqlTableModel::itemData(const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMap 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) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); - } else { - returnValue = *((QMap*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlTableModel::itemData(index); -} -QList PythonQtShell_QSqlTableModel::match(const QModelIndex& start, int role, const QVariant& value, int hits, Qt::MatchFlags flags) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "match"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QList" , "const QModelIndex&" , "int" , "const QVariant&" , "int" , "Qt::MatchFlags"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - QList returnValue; - void* args[6] = {NULL, (void*)&start, (void*)&role, (void*)&value, (void*)&hits, (void*)&flags}; - 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("match", methodInfo, result); - } else { - returnValue = *((QList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlTableModel::match(start, role, value, hits, flags); -} -QMimeData* PythonQtShell_QSqlTableModel::mimeData(const QList& indexes) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mimeData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QMimeData*" , "const QList&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMimeData* returnValue; - void* args[2] = {NULL, (void*)&indexes}; - 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("mimeData", methodInfo, result); - } else { - returnValue = *((QMimeData**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlTableModel::mimeData(indexes); -} -QStringList PythonQtShell_QSqlTableModel::mimeTypes() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mimeTypes"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QStringList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStringList returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); - } else { - returnValue = *((QStringList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlTableModel::mimeTypes(); -} -QString PythonQtShell_QSqlTableModel::orderByClause() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "orderByClause"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QString"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QString returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("orderByClause", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlTableModel::orderByClause(); -} -void PythonQtShell_QSqlTableModel::queryChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "queryChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSqlTableModel::queryChange(); -} -bool PythonQtShell_QSqlTableModel::removeColumns(int column, int count, const QModelIndex& parent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "removeColumns"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&column, (void*)&count, (void*)&parent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlTableModel::removeColumns(column, count, parent); -} -bool PythonQtShell_QSqlTableModel::removeRows(int row, int count, const QModelIndex& parent) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "removeRows"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&row, (void*)&count, (void*)&parent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlTableModel::removeRows(row, count, parent); -} -void PythonQtShell_QSqlTableModel::revert() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "revert"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSqlTableModel::revert(); -} -void PythonQtShell_QSqlTableModel::revertRow(int row) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "revertRow"); - 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*)&row}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSqlTableModel::revertRow(row); -} -int PythonQtShell_QSqlTableModel::rowCount(const QModelIndex& parent) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "rowCount"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&parent}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlTableModel::rowCount(parent); -} -bool PythonQtShell_QSqlTableModel::select() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "select"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("select", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlTableModel::select(); -} -QString PythonQtShell_QSqlTableModel::selectStatement() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "selectStatement"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QString"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QString returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("selectStatement", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlTableModel::selectStatement(); -} -bool PythonQtShell_QSqlTableModel::setData(const QModelIndex& index, const QVariant& value, int role) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QVariant&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&index, (void*)&value, (void*)&role}; - 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("setData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlTableModel::setData(index, value, role); -} -void PythonQtShell_QSqlTableModel::setEditStrategy(QSqlTableModel::EditStrategy strategy) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setEditStrategy"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QSqlTableModel::EditStrategy"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&strategy}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSqlTableModel::setEditStrategy(strategy); -} -void PythonQtShell_QSqlTableModel::setFilter(const QString& filter) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&filter}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSqlTableModel::setFilter(filter); -} -bool PythonQtShell_QSqlTableModel::setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setHeaderData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int" , "Qt::Orientation" , "const QVariant&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - bool returnValue; - void* args[5] = {NULL, (void*)§ion, (void*)&orientation, (void*)&value, (void*)&role}; - 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("setHeaderData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlTableModel::setHeaderData(section, orientation, value, role); -} -bool PythonQtShell_QSqlTableModel::setItemData(const QModelIndex& index, const QMap& roles) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setItemData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&index, (void*)&roles}; - 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("setItemData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlTableModel::setItemData(index, roles); -} -void PythonQtShell_QSqlTableModel::setSort(int column, Qt::SortOrder order) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setSort"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&column, (void*)&order}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSqlTableModel::setSort(column, order); -} -void PythonQtShell_QSqlTableModel::setTable(const QString& tableName) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setTable"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&tableName}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSqlTableModel::setTable(tableName); -} -void PythonQtShell_QSqlTableModel::sort(int column, Qt::SortOrder order) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sort"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&column, (void*)&order}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSqlTableModel::sort(column, order); -} -QSize PythonQtShell_QSqlTableModel::span(const QModelIndex& index) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "span"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QSize 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) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlTableModel::span(index); -} -bool PythonQtShell_QSqlTableModel::submit() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "submit"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlTableModel::submit(); -} -Qt::DropActions PythonQtShell_QSqlTableModel::supportedDropActions() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "supportedDropActions"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"Qt::DropActions"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); - } else { - returnValue = *((Qt::DropActions*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlTableModel::supportedDropActions(); -} -void PythonQtShell_QSqlTableModel::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; - } -} - QSqlTableModel::timerEvent(arg__1); -} -bool PythonQtShell_QSqlTableModel::updateRowInTable(int row, const QSqlRecord& values) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "updateRowInTable"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "int" , "const QSqlRecord&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&row, (void*)&values}; - 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("updateRowInTable", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSqlTableModel::updateRowInTable(row, values); -} -QSqlTableModel* PythonQtWrapper_QSqlTableModel::new_QSqlTableModel(QObject* parent, QSqlDatabase db) -{ -return new PythonQtShell_QSqlTableModel(parent, db); } - -int PythonQtWrapper_QSqlTableModel::fieldIndex(QSqlTableModel* theWrappedObject, const QString& fieldName) const -{ - return ( theWrappedObject->fieldIndex(fieldName)); -} - -QString PythonQtWrapper_QSqlTableModel::tableName(QSqlTableModel* theWrappedObject) const -{ - return ( theWrappedObject->tableName()); -} - -QString PythonQtWrapper_QSqlTableModel::selectStatement(QSqlTableModel* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->promoted_selectStatement()); -} - -bool PythonQtWrapper_QSqlTableModel::isDirty(QSqlTableModel* theWrappedObject, const QModelIndex& index) const -{ - return ( theWrappedObject->isDirty(index)); -} - -QSqlIndex PythonQtWrapper_QSqlTableModel::primaryKey(QSqlTableModel* theWrappedObject) const -{ - return ( theWrappedObject->primaryKey()); -} - -bool PythonQtWrapper_QSqlTableModel::deleteRowFromTable(QSqlTableModel* theWrappedObject, int row) -{ - return ( ((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->promoted_deleteRowFromTable(row)); -} - -QSqlTableModel::EditStrategy PythonQtWrapper_QSqlTableModel::editStrategy(QSqlTableModel* theWrappedObject) const -{ - return ( theWrappedObject->editStrategy()); -} - -bool PythonQtWrapper_QSqlTableModel::select(QSqlTableModel* theWrappedObject) -{ - return ( ((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->promoted_select()); -} - -void PythonQtWrapper_QSqlTableModel::setTable(QSqlTableModel* theWrappedObject, const QString& tableName) -{ - ( ((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->promoted_setTable(tableName)); -} - -int PythonQtWrapper_QSqlTableModel::rowCount(QSqlTableModel* theWrappedObject, const QModelIndex& parent) const -{ - return ( ((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->promoted_rowCount(parent)); -} - -Qt::ItemFlags PythonQtWrapper_QSqlTableModel::flags(QSqlTableModel* theWrappedObject, const QModelIndex& index) const -{ - return ( ((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->promoted_flags(index)); -} - -bool PythonQtWrapper_QSqlTableModel::insertRows(QSqlTableModel* theWrappedObject, int row, int count, const QModelIndex& parent) -{ - return ( ((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->promoted_insertRows(row, count, parent)); -} - -void PythonQtWrapper_QSqlTableModel::clear(QSqlTableModel* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->promoted_clear()); -} - -bool PythonQtWrapper_QSqlTableModel::removeColumns(QSqlTableModel* theWrappedObject, int column, int count, const QModelIndex& parent) -{ - return ( ((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->promoted_removeColumns(column, count, parent)); -} - -bool PythonQtWrapper_QSqlTableModel::insertRowIntoTable(QSqlTableModel* theWrappedObject, const QSqlRecord& values) -{ - return ( ((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->promoted_insertRowIntoTable(values)); -} - -bool PythonQtWrapper_QSqlTableModel::setRecord(QSqlTableModel* theWrappedObject, int row, const QSqlRecord& record) -{ - return ( theWrappedObject->setRecord(row, record)); -} - -bool PythonQtWrapper_QSqlTableModel::setData(QSqlTableModel* theWrappedObject, const QModelIndex& index, const QVariant& value, int role) -{ - return ( ((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->promoted_setData(index, value, role)); -} - -void PythonQtWrapper_QSqlTableModel::setSort(QSqlTableModel* theWrappedObject, int column, Qt::SortOrder order) -{ - ( ((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->promoted_setSort(column, order)); -} - -bool PythonQtWrapper_QSqlTableModel::insertRecord(QSqlTableModel* theWrappedObject, int row, const QSqlRecord& record) -{ - return ( theWrappedObject->insertRecord(row, record)); -} - -void PythonQtWrapper_QSqlTableModel::setFilter(QSqlTableModel* theWrappedObject, const QString& filter) -{ - ( ((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->promoted_setFilter(filter)); -} - -void PythonQtWrapper_QSqlTableModel::sort(QSqlTableModel* theWrappedObject, int column, Qt::SortOrder order) -{ - ( ((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->promoted_sort(column, order)); -} - -QString PythonQtWrapper_QSqlTableModel::orderByClause(QSqlTableModel* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->promoted_orderByClause()); -} - -QSqlDatabase PythonQtWrapper_QSqlTableModel::database(QSqlTableModel* theWrappedObject) const -{ - return ( theWrappedObject->database()); -} - -void PythonQtWrapper_QSqlTableModel::setEditStrategy(QSqlTableModel* theWrappedObject, QSqlTableModel::EditStrategy strategy) -{ - ( ((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->promoted_setEditStrategy(strategy)); -} - -bool PythonQtWrapper_QSqlTableModel::removeRows(QSqlTableModel* theWrappedObject, int row, int count, const QModelIndex& parent) -{ - return ( ((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->promoted_removeRows(row, count, parent)); -} - -QVariant PythonQtWrapper_QSqlTableModel::data(QSqlTableModel* theWrappedObject, const QModelIndex& idx, int role) const -{ - return ( ((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->promoted_data(idx, role)); -} - -QString PythonQtWrapper_QSqlTableModel::filter(QSqlTableModel* theWrappedObject) const -{ - return ( theWrappedObject->filter()); -} - -QVariant PythonQtWrapper_QSqlTableModel::headerData(QSqlTableModel* theWrappedObject, int section, Qt::Orientation orientation, int role) const -{ - return ( ((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->promoted_headerData(section, orientation, role)); -} - -void PythonQtWrapper_QSqlTableModel::revertRow(QSqlTableModel* theWrappedObject, int row) -{ - ( ((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->promoted_revertRow(row)); -} - -bool PythonQtWrapper_QSqlTableModel::updateRowInTable(QSqlTableModel* theWrappedObject, int row, const QSqlRecord& values) -{ - return ( ((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->promoted_updateRowInTable(row, values)); -} - diff --git a/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlTableModel.h b/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlTableModel.h deleted file mode 100644 index 0efd322..0000000 --- a/generated_cpp/com_trolltech_qt_sql/PythonQtWrapper_QSqlTableModel.h +++ /dev/null @@ -1,149 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSQLTABLEMODEL_H -#define PYTHONQTWRAPPER_QSQLTABLEMODEL_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QSqlTableModel : public QSqlTableModel -{ -public: - PythonQtShell_QSqlTableModel(QObject* parent = 0, QSqlDatabase db = QSqlDatabase()):QSqlTableModel(parent, db),_wrapper(NULL) {}; - -virtual QModelIndex buddy(const QModelIndex& index) const; -virtual bool canFetchMore(const QModelIndex& parent) const; -virtual void childEvent(QChildEvent* arg__1); -virtual void clear(); -virtual int columnCount(const QModelIndex& parent) const; -virtual void customEvent(QEvent* arg__1); -virtual QVariant data(const QModelIndex& idx, int role = Qt::DisplayRole) const; -virtual bool deleteRowFromTable(int row); -virtual bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void fetchMore(const QModelIndex& parent); -virtual Qt::ItemFlags flags(const QModelIndex& index) const; -virtual QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const; -virtual QModelIndex index(int row, int column, const QModelIndex& parent) const; -virtual bool insertColumns(int column, int count, const QModelIndex& parent); -virtual bool insertRowIntoTable(const QSqlRecord& values); -virtual bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual QMap itemData(const QModelIndex& index) const; -virtual QList match(const QModelIndex& start, int role, const QVariant& value, int hits, Qt::MatchFlags flags) const; -virtual QMimeData* mimeData(const QList& indexes) const; -virtual QStringList mimeTypes() const; -virtual QString orderByClause() const; -virtual void queryChange(); -virtual bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual void revert(); -virtual void revertRow(int row); -virtual int rowCount(const QModelIndex& parent = QModelIndex()) const; -virtual bool select(); -virtual QString selectStatement() const; -virtual bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole); -virtual void setEditStrategy(QSqlTableModel::EditStrategy strategy); -virtual void setFilter(const QString& filter); -virtual bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role); -virtual bool setItemData(const QModelIndex& index, const QMap& roles); -virtual void setSort(int column, Qt::SortOrder order); -virtual void setTable(const QString& tableName); -virtual void sort(int column, Qt::SortOrder order); -virtual QSize span(const QModelIndex& index) const; -virtual bool submit(); -virtual Qt::DropActions supportedDropActions() const; -virtual void timerEvent(QTimerEvent* arg__1); -virtual bool updateRowInTable(int row, const QSqlRecord& values); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QSqlTableModel : public QSqlTableModel -{ public: -inline QString promoted_selectStatement() const { return QSqlTableModel::selectStatement(); } -inline bool promoted_deleteRowFromTable(int row) { return QSqlTableModel::deleteRowFromTable(row); } -inline bool promoted_select() { return QSqlTableModel::select(); } -inline void promoted_setTable(const QString& tableName) { QSqlTableModel::setTable(tableName); } -inline int promoted_rowCount(const QModelIndex& parent = QModelIndex()) const { return QSqlTableModel::rowCount(parent); } -inline Qt::ItemFlags promoted_flags(const QModelIndex& index) const { return QSqlTableModel::flags(index); } -inline bool promoted_insertRows(int row, int count, const QModelIndex& parent = QModelIndex()) { return QSqlTableModel::insertRows(row, count, parent); } -inline void promoted_clear() { QSqlTableModel::clear(); } -inline bool promoted_removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()) { return QSqlTableModel::removeColumns(column, count, parent); } -inline bool promoted_insertRowIntoTable(const QSqlRecord& values) { return QSqlTableModel::insertRowIntoTable(values); } -inline bool promoted_setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole) { return QSqlTableModel::setData(index, value, role); } -inline void promoted_setSort(int column, Qt::SortOrder order) { QSqlTableModel::setSort(column, order); } -inline bool promoted_submit() { return QSqlTableModel::submit(); } -inline void promoted_setFilter(const QString& filter) { QSqlTableModel::setFilter(filter); } -inline void promoted_sort(int column, Qt::SortOrder order) { QSqlTableModel::sort(column, order); } -inline QString promoted_orderByClause() const { return QSqlTableModel::orderByClause(); } -inline void promoted_revert() { QSqlTableModel::revert(); } -inline void promoted_setEditStrategy(QSqlTableModel::EditStrategy strategy) { QSqlTableModel::setEditStrategy(strategy); } -inline bool promoted_removeRows(int row, int count, const QModelIndex& parent = QModelIndex()) { return QSqlTableModel::removeRows(row, count, parent); } -inline QVariant promoted_data(const QModelIndex& idx, int role = Qt::DisplayRole) const { return QSqlTableModel::data(idx, role); } -inline QVariant promoted_headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const { return QSqlTableModel::headerData(section, orientation, role); } -inline void promoted_revertRow(int row) { QSqlTableModel::revertRow(row); } -inline bool promoted_updateRowInTable(int row, const QSqlRecord& values) { return QSqlTableModel::updateRowInTable(row, values); } -}; - -class PythonQtWrapper_QSqlTableModel : public QObject -{ Q_OBJECT -public: -Q_ENUMS(EditStrategy ) -enum EditStrategy{ - OnFieldChange = QSqlTableModel::OnFieldChange, OnRowChange = QSqlTableModel::OnRowChange, OnManualSubmit = QSqlTableModel::OnManualSubmit}; -public slots: -QSqlTableModel* new_QSqlTableModel(QObject* parent = 0, QSqlDatabase db = QSqlDatabase()); -void delete_QSqlTableModel(QSqlTableModel* obj) { delete obj; } - int fieldIndex(QSqlTableModel* theWrappedObject, const QString& fieldName) const; - QString tableName(QSqlTableModel* theWrappedObject) const; - QString selectStatement(QSqlTableModel* theWrappedObject) const; - bool isDirty(QSqlTableModel* theWrappedObject, const QModelIndex& index) const; - QSqlIndex primaryKey(QSqlTableModel* theWrappedObject) const; - bool deleteRowFromTable(QSqlTableModel* theWrappedObject, int row); - QSqlTableModel::EditStrategy editStrategy(QSqlTableModel* theWrappedObject) const; - bool select(QSqlTableModel* theWrappedObject); - void setTable(QSqlTableModel* theWrappedObject, const QString& tableName); - int rowCount(QSqlTableModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const; - Qt::ItemFlags flags(QSqlTableModel* theWrappedObject, const QModelIndex& index) const; - bool insertRows(QSqlTableModel* theWrappedObject, int row, int count, const QModelIndex& parent = QModelIndex()); - void clear(QSqlTableModel* theWrappedObject); - bool removeColumns(QSqlTableModel* theWrappedObject, int column, int count, const QModelIndex& parent = QModelIndex()); - bool insertRowIntoTable(QSqlTableModel* theWrappedObject, const QSqlRecord& values); - bool setRecord(QSqlTableModel* theWrappedObject, int row, const QSqlRecord& record); - bool setData(QSqlTableModel* theWrappedObject, const QModelIndex& index, const QVariant& value, int role = Qt::EditRole); - void setSort(QSqlTableModel* theWrappedObject, int column, Qt::SortOrder order); - bool insertRecord(QSqlTableModel* theWrappedObject, int row, const QSqlRecord& record); - void setFilter(QSqlTableModel* theWrappedObject, const QString& filter); - void sort(QSqlTableModel* theWrappedObject, int column, Qt::SortOrder order); - QString orderByClause(QSqlTableModel* theWrappedObject) const; - QSqlDatabase database(QSqlTableModel* theWrappedObject) const; - void setEditStrategy(QSqlTableModel* theWrappedObject, QSqlTableModel::EditStrategy strategy); - bool removeRows(QSqlTableModel* theWrappedObject, int row, int count, const QModelIndex& parent = QModelIndex()); - QVariant data(QSqlTableModel* theWrappedObject, const QModelIndex& idx, int role = Qt::DisplayRole) const; - QString filter(QSqlTableModel* theWrappedObject) const; - QVariant headerData(QSqlTableModel* theWrappedObject, int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const; - void revertRow(QSqlTableModel* theWrappedObject, int row); - bool updateRowInTable(QSqlTableModel* theWrappedObject, int row, const QSqlRecord& values); -}; - -#endif // PYTHONQTWRAPPER_QSQLTABLEMODEL_H diff --git a/generated_cpp/com_trolltech_qt_sql/com_trolltech_qt_sql.pri b/generated_cpp/com_trolltech_qt_sql/com_trolltech_qt_sql.pri deleted file mode 100644 index af25cf1..0000000 --- a/generated_cpp/com_trolltech_qt_sql/com_trolltech_qt_sql.pri +++ /dev/null @@ -1,32 +0,0 @@ -HEADERS += \ - $$PWD/PythonQtWrapper_QSql.h \ - $$PWD/PythonQtWrapper_QSqlDatabase.h \ - $$PWD/PythonQtWrapper_QSqlDriver.h \ - $$PWD/PythonQtWrapper_QSqlDriverCreatorBase.h \ - $$PWD/PythonQtWrapper_QSqlError.h \ - $$PWD/PythonQtWrapper_QSqlField.h \ - $$PWD/PythonQtWrapper_QSqlIndex.h \ - $$PWD/PythonQtWrapper_QSqlQuery.h \ - $$PWD/PythonQtWrapper_QSqlQueryModel.h \ - $$PWD/PythonQtWrapper_QSqlRecord.h \ - $$PWD/PythonQtWrapper_QSqlRelation.h \ - $$PWD/PythonQtWrapper_QSqlRelationalTableModel.h \ - $$PWD/PythonQtWrapper_QSqlResult.h \ - $$PWD/PythonQtWrapper_QSqlTableModel.h \ - -SOURCES += \ - $$PWD/PythonQtWrapper_QSql.cpp \ - $$PWD/PythonQtWrapper_QSqlDatabase.cpp \ - $$PWD/PythonQtWrapper_QSqlDriver.cpp \ - $$PWD/PythonQtWrapper_QSqlDriverCreatorBase.cpp \ - $$PWD/PythonQtWrapper_QSqlError.cpp \ - $$PWD/PythonQtWrapper_QSqlField.cpp \ - $$PWD/PythonQtWrapper_QSqlIndex.cpp \ - $$PWD/PythonQtWrapper_QSqlQuery.cpp \ - $$PWD/PythonQtWrapper_QSqlQueryModel.cpp \ - $$PWD/PythonQtWrapper_QSqlRecord.cpp \ - $$PWD/PythonQtWrapper_QSqlRelation.cpp \ - $$PWD/PythonQtWrapper_QSqlRelationalTableModel.cpp \ - $$PWD/PythonQtWrapper_QSqlResult.cpp \ - $$PWD/PythonQtWrapper_QSqlTableModel.cpp \ - $$PWD/com_trolltech_qt_sql_init.cpp diff --git a/generated_cpp/com_trolltech_qt_sql/com_trolltech_qt_sql_init.cpp b/generated_cpp/com_trolltech_qt_sql/com_trolltech_qt_sql_init.cpp deleted file mode 100644 index 043df2e..0000000 --- a/generated_cpp/com_trolltech_qt_sql/com_trolltech_qt_sql_init.cpp +++ /dev/null @@ -1,34 +0,0 @@ -#include -#include "PythonQtWrapper_QSqlRelation.h" -#include "PythonQtWrapper_QSqlDatabase.h" -#include "PythonQtWrapper_QSqlDriverCreatorBase.h" -#include "PythonQtWrapper_QSqlQuery.h" -#include "PythonQtWrapper_QSqlRecord.h" -#include "PythonQtWrapper_QSqlResult.h" -#include "PythonQtWrapper_QSqlError.h" -#include "PythonQtWrapper_QSqlField.h" -#include "PythonQtWrapper_QSql.h" -#include "PythonQtWrapper_QSqlIndex.h" -#include "PythonQtWrapper_QSqlDriver.h" -#include "PythonQtWrapper_QSqlQueryModel.h" -#include "PythonQtWrapper_QSqlTableModel.h" -#include "PythonQtWrapper_QSqlRelationalTableModel.h" - - -void PythonQt_init_QtSql() { -PythonQt::self()->registerCPPClass("QSqlRelation", "", "QtSql", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QSqlDatabase", "", "QtSql", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QSqlDriverCreatorBase", "", "QtSql", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QSqlQuery", "", "QtSql", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QSqlRecord", "", "QtSql", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QSqlResult", "", "QtSql", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QSqlError", "", "QtSql", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QSqlField", "", "QtSql", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QSql", "", "QtSql", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QSqlIndex", "QSqlRecord", "QtSql", PythonQtCreateObject); -PythonQt::self()->registerClass(&QSqlDriver::staticMetaObject, "QtSql", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QSqlQueryModel::staticMetaObject, "QtSql", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QSqlTableModel::staticMetaObject, "QtSql", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QSqlRelationalTableModel::staticMetaObject, "QtSql", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); - -} diff --git a/generated_cpp/com_trolltech_qt_svg/PythonQtWrapper_QSvgGenerator.cpp b/generated_cpp/com_trolltech_qt_svg/PythonQtWrapper_QSvgGenerator.cpp deleted file mode 100644 index 5f58a33..0000000 --- a/generated_cpp/com_trolltech_qt_svg/PythonQtWrapper_QSvgGenerator.cpp +++ /dev/null @@ -1,149 +0,0 @@ -#include "PythonQtWrapper_QSvgGenerator.h" - -#include -#include -#include -#include -#include -#include -#include -#include - -int PythonQtShell_QSvgGenerator::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSvgGenerator::devType(); -} -int PythonQtShell_QSvgGenerator::metric(QPaintDevice::PaintDeviceMetric metric) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&metric}; - 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("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSvgGenerator::metric(metric); -} -QPaintEngine* PythonQtShell_QSvgGenerator::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSvgGenerator::paintEngine(); -} -QSvgGenerator* PythonQtWrapper_QSvgGenerator::new_QSvgGenerator() -{ -return new PythonQtShell_QSvgGenerator(); } - -QString PythonQtWrapper_QSvgGenerator::fileName(QSvgGenerator* theWrappedObject) const -{ - return ( theWrappedObject->fileName()); -} - -void PythonQtWrapper_QSvgGenerator::setOutputDevice(QSvgGenerator* theWrappedObject, QIODevice* outputDevice) -{ - ( theWrappedObject->setOutputDevice(outputDevice)); -} - -QPaintEngine* PythonQtWrapper_QSvgGenerator::paintEngine(QSvgGenerator* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QSvgGenerator*)theWrappedObject)->promoted_paintEngine()); -} - -int PythonQtWrapper_QSvgGenerator::resolution(QSvgGenerator* theWrappedObject) const -{ - return ( theWrappedObject->resolution()); -} - -void PythonQtWrapper_QSvgGenerator::setResolution(QSvgGenerator* theWrappedObject, int dpi) -{ - ( theWrappedObject->setResolution(dpi)); -} - -void PythonQtWrapper_QSvgGenerator::setSize(QSvgGenerator* theWrappedObject, const QSize& size) -{ - ( theWrappedObject->setSize(size)); -} - -QIODevice* PythonQtWrapper_QSvgGenerator::outputDevice(QSvgGenerator* theWrappedObject) const -{ - return ( theWrappedObject->outputDevice()); -} - -QSize PythonQtWrapper_QSvgGenerator::size(QSvgGenerator* theWrappedObject) const -{ - return ( theWrappedObject->size()); -} - -int PythonQtWrapper_QSvgGenerator::metric(QSvgGenerator* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const -{ - return ( ((PythonQtPublicPromoter_QSvgGenerator*)theWrappedObject)->promoted_metric(metric)); -} - -void PythonQtWrapper_QSvgGenerator::setFileName(QSvgGenerator* theWrappedObject, const QString& fileName) -{ - ( theWrappedObject->setFileName(fileName)); -} - diff --git a/generated_cpp/com_trolltech_qt_svg/PythonQtWrapper_QSvgGenerator.h b/generated_cpp/com_trolltech_qt_svg/PythonQtWrapper_QSvgGenerator.h deleted file mode 100644 index 1889ee8..0000000 --- a/generated_cpp/com_trolltech_qt_svg/PythonQtWrapper_QSvgGenerator.h +++ /dev/null @@ -1,51 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSVGGENERATOR_H -#define PYTHONQTWRAPPER_QSVGGENERATOR_H - -#include -#include - -#include - -#include -#include -#include -#include -#include - -class PythonQtShell_QSvgGenerator : public QSvgGenerator -{ -public: - PythonQtShell_QSvgGenerator():QSvgGenerator(),_wrapper(NULL) {}; - -virtual int devType() const; -virtual int metric(QPaintDevice::PaintDeviceMetric metric) const; -virtual QPaintEngine* paintEngine() const; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QSvgGenerator : public QSvgGenerator -{ public: -inline QPaintEngine* promoted_paintEngine() const { return QSvgGenerator::paintEngine(); } -inline int promoted_metric(QPaintDevice::PaintDeviceMetric metric) const { return QSvgGenerator::metric(metric); } -}; - -class PythonQtWrapper_QSvgGenerator : public QObject -{ Q_OBJECT -public: -public slots: -QSvgGenerator* new_QSvgGenerator(); -void delete_QSvgGenerator(QSvgGenerator* obj) { delete obj; } - QString fileName(QSvgGenerator* theWrappedObject) const; - void setOutputDevice(QSvgGenerator* theWrappedObject, QIODevice* outputDevice); - QPaintEngine* paintEngine(QSvgGenerator* theWrappedObject) const; - int resolution(QSvgGenerator* theWrappedObject) const; - void setResolution(QSvgGenerator* theWrappedObject, int dpi); - void setSize(QSvgGenerator* theWrappedObject, const QSize& size); - QIODevice* outputDevice(QSvgGenerator* theWrappedObject) const; - QSize size(QSvgGenerator* theWrappedObject) const; - int metric(QSvgGenerator* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const; - void setFileName(QSvgGenerator* theWrappedObject, const QString& fileName); -}; - -#endif // PYTHONQTWRAPPER_QSVGGENERATOR_H diff --git a/generated_cpp/com_trolltech_qt_svg/PythonQtWrapper_QSvgRenderer.cpp b/generated_cpp/com_trolltech_qt_svg/PythonQtWrapper_QSvgRenderer.cpp deleted file mode 100644 index 497591b..0000000 --- a/generated_cpp/com_trolltech_qt_svg/PythonQtWrapper_QSvgRenderer.cpp +++ /dev/null @@ -1,213 +0,0 @@ -#include "PythonQtWrapper_QSvgRenderer.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QSvgRenderer::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; - } -} - QSvgRenderer::childEvent(arg__1); -} -void PythonQtShell_QSvgRenderer::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; - } -} - QSvgRenderer::customEvent(arg__1); -} -bool PythonQtShell_QSvgRenderer::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSvgRenderer::event(arg__1); -} -bool PythonQtShell_QSvgRenderer::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSvgRenderer::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QSvgRenderer::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; - } -} - QSvgRenderer::timerEvent(arg__1); -} -QSvgRenderer* PythonQtWrapper_QSvgRenderer::new_QSvgRenderer(QObject* parent) -{ -return new PythonQtShell_QSvgRenderer(parent); } - -QSvgRenderer* PythonQtWrapper_QSvgRenderer::new_QSvgRenderer(const QByteArray& contents, QObject* parent) -{ -return new PythonQtShell_QSvgRenderer(contents, parent); } - -QSvgRenderer* PythonQtWrapper_QSvgRenderer::new_QSvgRenderer(const QString& filename, QObject* parent) -{ -return new PythonQtShell_QSvgRenderer(filename, parent); } - -QRect PythonQtWrapper_QSvgRenderer::viewBox(QSvgRenderer* theWrappedObject) const -{ - return ( theWrappedObject->viewBox()); -} - -void PythonQtWrapper_QSvgRenderer::setCurrentFrame(QSvgRenderer* theWrappedObject, int arg__1) -{ - ( theWrappedObject->setCurrentFrame(arg__1)); -} - -int PythonQtWrapper_QSvgRenderer::currentFrame(QSvgRenderer* theWrappedObject) const -{ - return ( theWrappedObject->currentFrame()); -} - -int PythonQtWrapper_QSvgRenderer::animationDuration(QSvgRenderer* theWrappedObject) const -{ - return ( theWrappedObject->animationDuration()); -} - -bool PythonQtWrapper_QSvgRenderer::animated(QSvgRenderer* theWrappedObject) const -{ - return ( theWrappedObject->animated()); -} - -QSize PythonQtWrapper_QSvgRenderer::defaultSize(QSvgRenderer* theWrappedObject) const -{ - return ( theWrappedObject->defaultSize()); -} - -int PythonQtWrapper_QSvgRenderer::framesPerSecond(QSvgRenderer* theWrappedObject) const -{ - return ( theWrappedObject->framesPerSecond()); -} - -void PythonQtWrapper_QSvgRenderer::setFramesPerSecond(QSvgRenderer* theWrappedObject, int num) -{ - ( theWrappedObject->setFramesPerSecond(num)); -} - -QRectF PythonQtWrapper_QSvgRenderer::boundsOnElement(QSvgRenderer* theWrappedObject, const QString& id) const -{ - return ( theWrappedObject->boundsOnElement(id)); -} - -QMatrix PythonQtWrapper_QSvgRenderer::matrixForElement(QSvgRenderer* theWrappedObject, const QString& id) const -{ - return ( theWrappedObject->matrixForElement(id)); -} - -bool PythonQtWrapper_QSvgRenderer::elementExists(QSvgRenderer* theWrappedObject, const QString& id) const -{ - return ( theWrappedObject->elementExists(id)); -} - -bool PythonQtWrapper_QSvgRenderer::isValid(QSvgRenderer* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -void PythonQtWrapper_QSvgRenderer::setViewBox(QSvgRenderer* theWrappedObject, const QRect& viewbox) -{ - ( theWrappedObject->setViewBox(viewbox)); -} - -void PythonQtWrapper_QSvgRenderer::setViewBox(QSvgRenderer* theWrappedObject, const QRectF& viewbox) -{ - ( theWrappedObject->setViewBox(viewbox)); -} - -QRectF PythonQtWrapper_QSvgRenderer::viewBoxF(QSvgRenderer* theWrappedObject) const -{ - return ( theWrappedObject->viewBoxF()); -} - diff --git a/generated_cpp/com_trolltech_qt_svg/PythonQtWrapper_QSvgRenderer.h b/generated_cpp/com_trolltech_qt_svg/PythonQtWrapper_QSvgRenderer.h deleted file mode 100644 index 44cb5e1..0000000 --- a/generated_cpp/com_trolltech_qt_svg/PythonQtWrapper_QSvgRenderer.h +++ /dev/null @@ -1,64 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSVGRENDERER_H -#define PYTHONQTWRAPPER_QSVGRENDERER_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QSvgRenderer : public QSvgRenderer -{ -public: - PythonQtShell_QSvgRenderer(QObject* parent = 0):QSvgRenderer(parent),_wrapper(NULL) {}; - PythonQtShell_QSvgRenderer(const QByteArray& contents, QObject* parent = 0):QSvgRenderer(contents, parent),_wrapper(NULL) {}; - PythonQtShell_QSvgRenderer(const QString& filename, QObject* parent = 0):QSvgRenderer(filename, parent),_wrapper(NULL) {}; - -virtual void childEvent(QChildEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QSvgRenderer : public QObject -{ Q_OBJECT -public: -public slots: -QSvgRenderer* new_QSvgRenderer(QObject* parent = 0); -QSvgRenderer* new_QSvgRenderer(const QByteArray& contents, QObject* parent = 0); -QSvgRenderer* new_QSvgRenderer(const QString& filename, QObject* parent = 0); -void delete_QSvgRenderer(QSvgRenderer* obj) { delete obj; } - QRect viewBox(QSvgRenderer* theWrappedObject) const; - void setCurrentFrame(QSvgRenderer* theWrappedObject, int arg__1); - int currentFrame(QSvgRenderer* theWrappedObject) const; - int animationDuration(QSvgRenderer* theWrappedObject) const; - bool animated(QSvgRenderer* theWrappedObject) const; - QSize defaultSize(QSvgRenderer* theWrappedObject) const; - int framesPerSecond(QSvgRenderer* theWrappedObject) const; - void setFramesPerSecond(QSvgRenderer* theWrappedObject, int num); - QRectF boundsOnElement(QSvgRenderer* theWrappedObject, const QString& id) const; - QMatrix matrixForElement(QSvgRenderer* theWrappedObject, const QString& id) const; - bool elementExists(QSvgRenderer* theWrappedObject, const QString& id) const; - bool isValid(QSvgRenderer* theWrappedObject) const; - void setViewBox(QSvgRenderer* theWrappedObject, const QRect& viewbox); - void setViewBox(QSvgRenderer* theWrappedObject, const QRectF& viewbox); - QRectF viewBoxF(QSvgRenderer* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QSVGRENDERER_H diff --git a/generated_cpp/com_trolltech_qt_svg/PythonQtWrapper_QSvgWidget.cpp b/generated_cpp/com_trolltech_qt_svg/PythonQtWrapper_QSvgWidget.cpp deleted file mode 100644 index 207a1ab..0000000 --- a/generated_cpp/com_trolltech_qt_svg/PythonQtWrapper_QSvgWidget.cpp +++ /dev/null @@ -1,822 +0,0 @@ -#include "PythonQtWrapper_QSvgWidget.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QSvgWidget::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - 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; - } -} - QSvgWidget::actionEvent(arg__1); -} -void PythonQtShell_QSvgWidget::changeEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSvgWidget::changeEvent(arg__1); -} -void PythonQtShell_QSvgWidget::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; - } -} - QSvgWidget::childEvent(arg__1); -} -void PythonQtShell_QSvgWidget::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - 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; - } -} - QSvgWidget::closeEvent(arg__1); -} -void PythonQtShell_QSvgWidget::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSvgWidget::contextMenuEvent(arg__1); -} -void PythonQtShell_QSvgWidget::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; - } -} - QSvgWidget::customEvent(arg__1); -} -int PythonQtShell_QSvgWidget::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSvgWidget::devType(); -} -void PythonQtShell_QSvgWidget::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - 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; - } -} - QSvgWidget::dragEnterEvent(arg__1); -} -void PythonQtShell_QSvgWidget::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - 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; - } -} - QSvgWidget::dragLeaveEvent(arg__1); -} -void PythonQtShell_QSvgWidget::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - 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; - } -} - QSvgWidget::dragMoveEvent(arg__1); -} -void PythonQtShell_QSvgWidget::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - 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; - } -} - QSvgWidget::dropEvent(arg__1); -} -void PythonQtShell_QSvgWidget::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QSvgWidget::enterEvent(arg__1); -} -bool PythonQtShell_QSvgWidget::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSvgWidget::event(arg__1); -} -bool PythonQtShell_QSvgWidget::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSvgWidget::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QSvgWidget::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QSvgWidget::focusInEvent(arg__1); -} -bool PythonQtShell_QSvgWidget::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSvgWidget::focusNextPrevChild(next); -} -void PythonQtShell_QSvgWidget::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - 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; - } -} - QSvgWidget::focusOutEvent(arg__1); -} -int PythonQtShell_QSvgWidget::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSvgWidget::heightForWidth(arg__1); -} -void PythonQtShell_QSvgWidget::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - 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; - } -} - QSvgWidget::hideEvent(arg__1); -} -void PythonQtShell_QSvgWidget::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - 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; - } -} - QSvgWidget::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QSvgWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSvgWidget::inputMethodQuery(arg__1); -} -void PythonQtShell_QSvgWidget::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSvgWidget::keyPressEvent(arg__1); -} -void PythonQtShell_QSvgWidget::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSvgWidget::keyReleaseEvent(arg__1); -} -void PythonQtShell_QSvgWidget::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSvgWidget::languageChange(); -} -void PythonQtShell_QSvgWidget::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QSvgWidget::leaveEvent(arg__1); -} -int PythonQtShell_QSvgWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSvgWidget::metric(arg__1); -} -QSize PythonQtShell_QSvgWidget::minimumSizeHint() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSvgWidget::minimumSizeHint(); -} -void PythonQtShell_QSvgWidget::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QSvgWidget::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QSvgWidget::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QSvgWidget::mouseMoveEvent(arg__1); -} -void PythonQtShell_QSvgWidget::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QSvgWidget::mousePressEvent(arg__1); -} -void PythonQtShell_QSvgWidget::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - 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; - } -} - QSvgWidget::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QSvgWidget::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSvgWidget::moveEvent(arg__1); -} -QPaintEngine* PythonQtShell_QSvgWidget::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSvgWidget::paintEngine(); -} -void PythonQtShell_QSvgWidget::paintEvent(QPaintEvent* event) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - 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; - } -} - QSvgWidget::paintEvent(event); -} -void PythonQtShell_QSvgWidget::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - 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; - } -} - QSvgWidget::resizeEvent(arg__1); -} -void PythonQtShell_QSvgWidget::showEvent(QShowEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - 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; - } -} - QSvgWidget::showEvent(arg__1); -} -void PythonQtShell_QSvgWidget::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - 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; - } -} - QSvgWidget::tabletEvent(arg__1); -} -void PythonQtShell_QSvgWidget::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; - } -} - QSvgWidget::timerEvent(arg__1); -} -void PythonQtShell_QSvgWidget::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QSvgWidget::wheelEvent(arg__1); -} -QSvgWidget* PythonQtWrapper_QSvgWidget::new_QSvgWidget(QWidget* parent) -{ -return new PythonQtShell_QSvgWidget(parent); } - -QSvgWidget* PythonQtWrapper_QSvgWidget::new_QSvgWidget(const QString& file, QWidget* parent) -{ -return new PythonQtShell_QSvgWidget(file, parent); } - -QSize PythonQtWrapper_QSvgWidget::sizeHint(QSvgWidget* theWrappedObject) const -{ - return ( theWrappedObject->sizeHint()); -} - -void PythonQtWrapper_QSvgWidget::paintEvent(QSvgWidget* theWrappedObject, QPaintEvent* event) -{ - ( ((PythonQtPublicPromoter_QSvgWidget*)theWrappedObject)->promoted_paintEvent(event)); -} - -QSvgRenderer* PythonQtWrapper_QSvgWidget::renderer(QSvgWidget* theWrappedObject) const -{ - return ( theWrappedObject->renderer()); -} - diff --git a/generated_cpp/com_trolltech_qt_svg/PythonQtWrapper_QSvgWidget.h b/generated_cpp/com_trolltech_qt_svg/PythonQtWrapper_QSvgWidget.h deleted file mode 100644 index 9c76af9..0000000 --- a/generated_cpp/com_trolltech_qt_svg/PythonQtWrapper_QSvgWidget.h +++ /dev/null @@ -1,107 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSVGWIDGET_H -#define PYTHONQTWRAPPER_QSVGWIDGET_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QSvgWidget : public QSvgWidget -{ -public: - PythonQtShell_QSvgWidget(QWidget* parent = 0):QSvgWidget(parent),_wrapper(NULL) {}; - PythonQtShell_QSvgWidget(const QString& file, QWidget* parent = 0):QSvgWidget(file, parent),_wrapper(NULL) {}; - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* arg__1); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void showEvent(QShowEvent* arg__1); -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QSvgWidget : public QSvgWidget -{ public: -inline void promoted_paintEvent(QPaintEvent* event) { QSvgWidget::paintEvent(event); } -}; - -class PythonQtWrapper_QSvgWidget : public QObject -{ Q_OBJECT -public: -public slots: -QSvgWidget* new_QSvgWidget(QWidget* parent = 0); -QSvgWidget* new_QSvgWidget(const QString& file, QWidget* parent = 0); -void delete_QSvgWidget(QSvgWidget* obj) { delete obj; } - QSize sizeHint(QSvgWidget* theWrappedObject) const; - void paintEvent(QSvgWidget* theWrappedObject, QPaintEvent* event); - QSvgRenderer* renderer(QSvgWidget* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QSVGWIDGET_H diff --git a/generated_cpp/com_trolltech_qt_svg/com_trolltech_qt_svg.pri b/generated_cpp/com_trolltech_qt_svg/com_trolltech_qt_svg.pri deleted file mode 100644 index d1f5f56..0000000 --- a/generated_cpp/com_trolltech_qt_svg/com_trolltech_qt_svg.pri +++ /dev/null @@ -1,10 +0,0 @@ -HEADERS += \ - $$PWD/PythonQtWrapper_QSvgGenerator.h \ - $$PWD/PythonQtWrapper_QSvgRenderer.h \ - $$PWD/PythonQtWrapper_QSvgWidget.h \ - -SOURCES += \ - $$PWD/PythonQtWrapper_QSvgGenerator.cpp \ - $$PWD/PythonQtWrapper_QSvgRenderer.cpp \ - $$PWD/PythonQtWrapper_QSvgWidget.cpp \ - $$PWD/com_trolltech_qt_svg_init.cpp diff --git a/generated_cpp/com_trolltech_qt_svg/com_trolltech_qt_svg_init.cpp b/generated_cpp/com_trolltech_qt_svg/com_trolltech_qt_svg_init.cpp deleted file mode 100644 index 6046b6e..0000000 --- a/generated_cpp/com_trolltech_qt_svg/com_trolltech_qt_svg_init.cpp +++ /dev/null @@ -1,13 +0,0 @@ -#include -#include "PythonQtWrapper_QSvgRenderer.h" -#include "PythonQtWrapper_QSvgGenerator.h" -#include "PythonQtWrapper_QSvgWidget.h" - - -void PythonQt_init_QtSvg() { -PythonQt::self()->registerClass(&QSvgRenderer::staticMetaObject, "QtSvg", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QSvgGenerator", "", "QtSvg", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->addParentClass("QSvgGenerator", "QPaintDevice",PythonQtUpcastingOffset()); -PythonQt::self()->registerClass(&QSvgWidget::staticMetaObject, "QtSvg", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); - -} diff --git a/generated_cpp/com_trolltech_qt_uitools/PythonQtWrapper_QUiLoader.cpp b/generated_cpp/com_trolltech_qt_uitools/PythonQtWrapper_QUiLoader.cpp deleted file mode 100644 index b2062ce..0000000 --- a/generated_cpp/com_trolltech_qt_uitools/PythonQtWrapper_QUiLoader.cpp +++ /dev/null @@ -1,307 +0,0 @@ -#include "PythonQtWrapper_QUiLoader.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QUiLoader::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; - } -} - QUiLoader::childEvent(arg__1); -} -QAction* PythonQtShell_QUiLoader::createAction(QObject* parent, const QString& name) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "createAction"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QAction*" , "QObject*" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QAction* returnValue; - void* args[3] = {NULL, (void*)&parent, (void*)&name}; - 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("createAction", methodInfo, result); - } else { - returnValue = *((QAction**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QUiLoader::createAction(parent, name); -} -QActionGroup* PythonQtShell_QUiLoader::createActionGroup(QObject* parent, const QString& name) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "createActionGroup"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QActionGroup*" , "QObject*" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QActionGroup* returnValue; - void* args[3] = {NULL, (void*)&parent, (void*)&name}; - 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("createActionGroup", methodInfo, result); - } else { - returnValue = *((QActionGroup**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QUiLoader::createActionGroup(parent, name); -} -QLayout* PythonQtShell_QUiLoader::createLayout(const QString& className, QObject* parent, const QString& name) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "createLayout"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QLayout*" , "const QString&" , "QObject*" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QLayout* returnValue; - void* args[4] = {NULL, (void*)&className, (void*)&parent, (void*)&name}; - 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("createLayout", methodInfo, result); - } else { - returnValue = *((QLayout**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QUiLoader::createLayout(className, parent, name); -} -QWidget* PythonQtShell_QUiLoader::createWidget(const QString& className, QWidget* parent, const QString& name) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "createWidget"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QWidget*" , "const QString&" , "QWidget*" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QWidget* returnValue; - void* args[4] = {NULL, (void*)&className, (void*)&parent, (void*)&name}; - 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("createWidget", methodInfo, result); - } else { - returnValue = *((QWidget**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QUiLoader::createWidget(className, parent, name); -} -void PythonQtShell_QUiLoader::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; - } -} - QUiLoader::customEvent(arg__1); -} -bool PythonQtShell_QUiLoader::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QUiLoader::event(arg__1); -} -bool PythonQtShell_QUiLoader::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QUiLoader::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QUiLoader::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; - } -} - QUiLoader::timerEvent(arg__1); -} -QUiLoader* PythonQtWrapper_QUiLoader::new_QUiLoader(QObject* parent) -{ -return new PythonQtShell_QUiLoader(parent); } - -bool PythonQtWrapper_QUiLoader::isScriptingEnabled(QUiLoader* theWrappedObject) const -{ - return ( theWrappedObject->isScriptingEnabled()); -} - -void PythonQtWrapper_QUiLoader::setWorkingDirectory(QUiLoader* theWrappedObject, const QDir& dir) -{ - ( theWrappedObject->setWorkingDirectory(dir)); -} - -QDir PythonQtWrapper_QUiLoader::workingDirectory(QUiLoader* theWrappedObject) const -{ - return ( theWrappedObject->workingDirectory()); -} - -QWidget* PythonQtWrapper_QUiLoader::createWidget(QUiLoader* theWrappedObject, const QString& className, QWidget* parent, const QString& name) -{ - return ( ((PythonQtPublicPromoter_QUiLoader*)theWrappedObject)->promoted_createWidget(className, parent, name)); -} - -QStringList PythonQtWrapper_QUiLoader::availableWidgets(QUiLoader* theWrappedObject) const -{ - return ( theWrappedObject->availableWidgets()); -} - -QStringList PythonQtWrapper_QUiLoader::pluginPaths(QUiLoader* theWrappedObject) const -{ - return ( theWrappedObject->pluginPaths()); -} - -void PythonQtWrapper_QUiLoader::clearPluginPaths(QUiLoader* theWrappedObject) -{ - ( theWrappedObject->clearPluginPaths()); -} - -QAction* PythonQtWrapper_QUiLoader::createAction(QUiLoader* theWrappedObject, QObject* parent, const QString& name) -{ - return ( ((PythonQtPublicPromoter_QUiLoader*)theWrappedObject)->promoted_createAction(parent, name)); -} - -void PythonQtWrapper_QUiLoader::setScriptingEnabled(QUiLoader* theWrappedObject, bool enabled) -{ - ( theWrappedObject->setScriptingEnabled(enabled)); -} - -void PythonQtWrapper_QUiLoader::addPluginPath(QUiLoader* theWrappedObject, const QString& path) -{ - ( theWrappedObject->addPluginPath(path)); -} - -QWidget* PythonQtWrapper_QUiLoader::load(QUiLoader* theWrappedObject, QIODevice* device, QWidget* parentWidget) -{ - return ( theWrappedObject->load(device, parentWidget)); -} - -QActionGroup* PythonQtWrapper_QUiLoader::createActionGroup(QUiLoader* theWrappedObject, QObject* parent, const QString& name) -{ - return ( ((PythonQtPublicPromoter_QUiLoader*)theWrappedObject)->promoted_createActionGroup(parent, name)); -} - -QLayout* PythonQtWrapper_QUiLoader::createLayout(QUiLoader* theWrappedObject, const QString& className, QObject* parent, const QString& name) -{ - return ( ((PythonQtPublicPromoter_QUiLoader*)theWrappedObject)->promoted_createLayout(className, parent, name)); -} - diff --git a/generated_cpp/com_trolltech_qt_uitools/PythonQtWrapper_QUiLoader.h b/generated_cpp/com_trolltech_qt_uitools/PythonQtWrapper_QUiLoader.h deleted file mode 100644 index 1adb028..0000000 --- a/generated_cpp/com_trolltech_qt_uitools/PythonQtWrapper_QUiLoader.h +++ /dev/null @@ -1,70 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QUILOADER_H -#define PYTHONQTWRAPPER_QUILOADER_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QUiLoader : public QUiLoader -{ -public: - PythonQtShell_QUiLoader(QObject* parent = 0):QUiLoader(parent),_wrapper(NULL) {}; - -virtual void childEvent(QChildEvent* arg__1); -virtual QAction* createAction(QObject* parent = 0, const QString& name = QString()); -virtual QActionGroup* createActionGroup(QObject* parent = 0, const QString& name = QString()); -virtual QLayout* createLayout(const QString& className, QObject* parent = 0, const QString& name = QString()); -virtual QWidget* createWidget(const QString& className, QWidget* parent = 0, const QString& name = QString()); -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QUiLoader : public QUiLoader -{ public: -inline QWidget* promoted_createWidget(const QString& className, QWidget* parent = 0, const QString& name = QString()) { return QUiLoader::createWidget(className, parent, name); } -inline QAction* promoted_createAction(QObject* parent = 0, const QString& name = QString()) { return QUiLoader::createAction(parent, name); } -inline QActionGroup* promoted_createActionGroup(QObject* parent = 0, const QString& name = QString()) { return QUiLoader::createActionGroup(parent, name); } -inline QLayout* promoted_createLayout(const QString& className, QObject* parent = 0, const QString& name = QString()) { return QUiLoader::createLayout(className, parent, name); } -}; - -class PythonQtWrapper_QUiLoader : public QObject -{ Q_OBJECT -public: -public slots: -QUiLoader* new_QUiLoader(QObject* parent = 0); -void delete_QUiLoader(QUiLoader* obj) { delete obj; } - bool isScriptingEnabled(QUiLoader* theWrappedObject) const; - void setWorkingDirectory(QUiLoader* theWrappedObject, const QDir& dir); - QDir workingDirectory(QUiLoader* theWrappedObject) const; - QWidget* createWidget(QUiLoader* theWrappedObject, const QString& className, QWidget* parent = 0, const QString& name = QString()); - QStringList availableWidgets(QUiLoader* theWrappedObject) const; - QStringList pluginPaths(QUiLoader* theWrappedObject) const; - void clearPluginPaths(QUiLoader* theWrappedObject); - QAction* createAction(QUiLoader* theWrappedObject, QObject* parent = 0, const QString& name = QString()); - void setScriptingEnabled(QUiLoader* theWrappedObject, bool enabled); - void addPluginPath(QUiLoader* theWrappedObject, const QString& path); - QWidget* load(QUiLoader* theWrappedObject, QIODevice* device, QWidget* parentWidget = 0); - QActionGroup* createActionGroup(QUiLoader* theWrappedObject, QObject* parent = 0, const QString& name = QString()); - QLayout* createLayout(QUiLoader* theWrappedObject, const QString& className, QObject* parent = 0, const QString& name = QString()); -}; - -#endif // PYTHONQTWRAPPER_QUILOADER_H diff --git a/generated_cpp/com_trolltech_qt_uitools/com_trolltech_qt_uitools.pri b/generated_cpp/com_trolltech_qt_uitools/com_trolltech_qt_uitools.pri deleted file mode 100644 index 52d4013..0000000 --- a/generated_cpp/com_trolltech_qt_uitools/com_trolltech_qt_uitools.pri +++ /dev/null @@ -1,6 +0,0 @@ -HEADERS += \ - $$PWD/PythonQtWrapper_QUiLoader.h \ - -SOURCES += \ - $$PWD/PythonQtWrapper_QUiLoader.cpp \ - $$PWD/com_trolltech_qt_uitools_init.cpp diff --git a/generated_cpp/com_trolltech_qt_uitools/com_trolltech_qt_uitools_init.cpp b/generated_cpp/com_trolltech_qt_uitools/com_trolltech_qt_uitools_init.cpp deleted file mode 100644 index f55e1b8..0000000 --- a/generated_cpp/com_trolltech_qt_uitools/com_trolltech_qt_uitools_init.cpp +++ /dev/null @@ -1,8 +0,0 @@ -#include -#include "PythonQtWrapper_QUiLoader.h" - - -void PythonQt_init_QtUiTools() { -PythonQt::self()->registerClass(&QUiLoader::staticMetaObject, "QtUiTools", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); - -} diff --git a/generated_cpp/com_trolltech_qt_webkit/PythonQtWrapper_QWebFrame.cpp b/generated_cpp/com_trolltech_qt_webkit/PythonQtWrapper_QWebFrame.cpp deleted file mode 100644 index 7df8a4d..0000000 --- a/generated_cpp/com_trolltech_qt_webkit/PythonQtWrapper_QWebFrame.cpp +++ /dev/null @@ -1,177 +0,0 @@ -#include "PythonQtWrapper_QWebFrame.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtWrapper_QWebFrame::load(QWebFrame* theWrappedObject, const QUrl& url) -{ - ( theWrappedObject->load(url)); -} - -QString PythonQtWrapper_QWebFrame::title(QWebFrame* theWrappedObject) const -{ - return ( theWrappedObject->title()); -} - -QWebFrame* PythonQtWrapper_QWebFrame::parentFrame(QWebFrame* theWrappedObject) const -{ - return ( theWrappedObject->parentFrame()); -} - -QString PythonQtWrapper_QWebFrame::toHtml(QWebFrame* theWrappedObject) const -{ - return ( theWrappedObject->toHtml()); -} - -int PythonQtWrapper_QWebFrame::scrollBarMinimum(QWebFrame* theWrappedObject, Qt::Orientation orientation) const -{ - return ( theWrappedObject->scrollBarMinimum(orientation)); -} - -Qt::ScrollBarPolicy PythonQtWrapper_QWebFrame::scrollBarPolicy(QWebFrame* theWrappedObject, Qt::Orientation orientation) const -{ - return ( theWrappedObject->scrollBarPolicy(orientation)); -} - -void PythonQtWrapper_QWebFrame::load(QWebFrame* theWrappedObject, const QNetworkRequest& request, QNetworkAccessManager::Operation operation, const QByteArray& body) -{ - ( theWrappedObject->load(request, operation, body)); -} - -int PythonQtWrapper_QWebFrame::scrollBarValue(QWebFrame* theWrappedObject, Qt::Orientation orientation) const -{ - return ( theWrappedObject->scrollBarValue(orientation)); -} - -void PythonQtWrapper_QWebFrame::setTextSizeMultiplier(QWebFrame* theWrappedObject, qreal factor) -{ - ( theWrappedObject->setTextSizeMultiplier(factor)); -} - -QString PythonQtWrapper_QWebFrame::frameName(QWebFrame* theWrappedObject) const -{ - return ( theWrappedObject->frameName()); -} - -QRect PythonQtWrapper_QWebFrame::geometry(QWebFrame* theWrappedObject) const -{ - return ( theWrappedObject->geometry()); -} - -void PythonQtWrapper_QWebFrame::render(QWebFrame* theWrappedObject, QPainter* painter) -{ - ( theWrappedObject->render(painter)); -} - -void PythonQtWrapper_QWebFrame::setContent(QWebFrame* theWrappedObject, const QByteArray& data, const QString& mimeType, const QUrl& baseUrl) -{ - ( theWrappedObject->setContent(data, mimeType, baseUrl)); -} - -void PythonQtWrapper_QWebFrame::setScrollBarPolicy(QWebFrame* theWrappedObject, Qt::Orientation orientation, Qt::ScrollBarPolicy policy) -{ - ( theWrappedObject->setScrollBarPolicy(orientation, policy)); -} - -void PythonQtWrapper_QWebFrame::addToJavaScriptWindowObject(QWebFrame* theWrappedObject, const QString& name, QObject* object) -{ - ( theWrappedObject->addToJavaScriptWindowObject(name, object)); -} - -int PythonQtWrapper_QWebFrame::scrollBarMaximum(QWebFrame* theWrappedObject, Qt::Orientation orientation) const -{ - return ( theWrappedObject->scrollBarMaximum(orientation)); -} - -QWebPage* PythonQtWrapper_QWebFrame::page(QWebFrame* theWrappedObject) const -{ - return ( theWrappedObject->page()); -} - -QString PythonQtWrapper_QWebFrame::renderTreeDump(QWebFrame* theWrappedObject) const -{ - return ( theWrappedObject->renderTreeDump()); -} - -QIcon PythonQtWrapper_QWebFrame::icon(QWebFrame* theWrappedObject) const -{ - return ( theWrappedObject->icon()); -} - -qreal PythonQtWrapper_QWebFrame::textSizeMultiplier(QWebFrame* theWrappedObject) const -{ - return ( theWrappedObject->textSizeMultiplier()); -} - -QList PythonQtWrapper_QWebFrame::childFrames(QWebFrame* theWrappedObject) const -{ - return ( theWrappedObject->childFrames()); -} - -bool PythonQtWrapper_QWebFrame::event(QWebFrame* theWrappedObject, QEvent* arg__1) -{ - return ( ((PythonQtPublicPromoter_QWebFrame*)theWrappedObject)->promoted_event(arg__1)); -} - -void PythonQtWrapper_QWebFrame::setHtml(QWebFrame* theWrappedObject, const QString& html, const QUrl& baseUrl) -{ - ( theWrappedObject->setHtml(html, baseUrl)); -} - -QUrl PythonQtWrapper_QWebFrame::url(QWebFrame* theWrappedObject) const -{ - return ( theWrappedObject->url()); -} - -void PythonQtWrapper_QWebFrame::setScrollBarValue(QWebFrame* theWrappedObject, Qt::Orientation orientation, int value) -{ - ( theWrappedObject->setScrollBarValue(orientation, value)); -} - -void PythonQtWrapper_QWebFrame::setUrl(QWebFrame* theWrappedObject, const QUrl& url) -{ - ( theWrappedObject->setUrl(url)); -} - -void PythonQtWrapper_QWebFrame::render(QWebFrame* theWrappedObject, QPainter* painter, const QRegion& clip) -{ - ( theWrappedObject->render(painter, clip)); -} - -QString PythonQtWrapper_QWebFrame::toPlainText(QWebFrame* theWrappedObject) const -{ - return ( theWrappedObject->toPlainText()); -} - -QSize PythonQtWrapper_QWebFrame::contentsSize(QWebFrame* theWrappedObject) const -{ - return ( theWrappedObject->contentsSize()); -} - -QWebHitTestResult PythonQtWrapper_QWebFrame::hitTestContent(QWebFrame* theWrappedObject, const QPoint& pos) const -{ - return ( theWrappedObject->hitTestContent(pos)); -} - -QPoint PythonQtWrapper_QWebFrame::pos(QWebFrame* theWrappedObject) const -{ - return ( theWrappedObject->pos()); -} - diff --git a/generated_cpp/com_trolltech_qt_webkit/PythonQtWrapper_QWebFrame.h b/generated_cpp/com_trolltech_qt_webkit/PythonQtWrapper_QWebFrame.h deleted file mode 100644 index 8f70cf4..0000000 --- a/generated_cpp/com_trolltech_qt_webkit/PythonQtWrapper_QWebFrame.h +++ /dev/null @@ -1,68 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QWEBFRAME_H -#define PYTHONQTWRAPPER_QWEBFRAME_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtPublicPromoter_QWebFrame : public QWebFrame -{ public: -inline bool promoted_event(QEvent* arg__1) { return QWebFrame::event(arg__1); } -}; - -class PythonQtWrapper_QWebFrame : public QObject -{ Q_OBJECT -public: -public slots: - void load(QWebFrame* theWrappedObject, const QUrl& url); - QString title(QWebFrame* theWrappedObject) const; - QWebFrame* parentFrame(QWebFrame* theWrappedObject) const; - QString toHtml(QWebFrame* theWrappedObject) const; - int scrollBarMinimum(QWebFrame* theWrappedObject, Qt::Orientation orientation) const; - Qt::ScrollBarPolicy scrollBarPolicy(QWebFrame* theWrappedObject, Qt::Orientation orientation) const; - void load(QWebFrame* theWrappedObject, const QNetworkRequest& request, QNetworkAccessManager::Operation operation = QNetworkAccessManager::GetOperation, const QByteArray& body = QByteArray()); - int scrollBarValue(QWebFrame* theWrappedObject, Qt::Orientation orientation) const; - void setTextSizeMultiplier(QWebFrame* theWrappedObject, qreal factor); - QString frameName(QWebFrame* theWrappedObject) const; - QRect geometry(QWebFrame* theWrappedObject) const; - void render(QWebFrame* theWrappedObject, QPainter* painter); - void setContent(QWebFrame* theWrappedObject, const QByteArray& data, const QString& mimeType = QString(), const QUrl& baseUrl = QUrl()); - void setScrollBarPolicy(QWebFrame* theWrappedObject, Qt::Orientation orientation, Qt::ScrollBarPolicy policy); - void addToJavaScriptWindowObject(QWebFrame* theWrappedObject, const QString& name, QObject* object); - int scrollBarMaximum(QWebFrame* theWrappedObject, Qt::Orientation orientation) const; - QWebPage* page(QWebFrame* theWrappedObject) const; - QString renderTreeDump(QWebFrame* theWrappedObject) const; - QIcon icon(QWebFrame* theWrappedObject) const; - qreal textSizeMultiplier(QWebFrame* theWrappedObject) const; - QList childFrames(QWebFrame* theWrappedObject) const; - bool event(QWebFrame* theWrappedObject, QEvent* arg__1); - void setHtml(QWebFrame* theWrappedObject, const QString& html, const QUrl& baseUrl = QUrl()); - QUrl url(QWebFrame* theWrappedObject) const; - void setScrollBarValue(QWebFrame* theWrappedObject, Qt::Orientation orientation, int value); - void setUrl(QWebFrame* theWrappedObject, const QUrl& url); - void render(QWebFrame* theWrappedObject, QPainter* painter, const QRegion& clip); - QString toPlainText(QWebFrame* theWrappedObject) const; - QSize contentsSize(QWebFrame* theWrappedObject) const; - QWebHitTestResult hitTestContent(QWebFrame* theWrappedObject, const QPoint& pos) const; - QPoint pos(QWebFrame* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QWEBFRAME_H diff --git a/generated_cpp/com_trolltech_qt_webkit/PythonQtWrapper_QWebHistoryInterface.cpp b/generated_cpp/com_trolltech_qt_webkit/PythonQtWrapper_QWebHistoryInterface.cpp deleted file mode 100644 index f1d6d2b..0000000 --- a/generated_cpp/com_trolltech_qt_webkit/PythonQtWrapper_QWebHistoryInterface.cpp +++ /dev/null @@ -1,179 +0,0 @@ -#include "PythonQtWrapper_QWebHistoryInterface.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QWebHistoryInterface::addHistoryEntry(const QString& url) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "addHistoryEntry"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&url}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - -} -void PythonQtShell_QWebHistoryInterface::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; - } -} - QWebHistoryInterface::childEvent(arg__1); -} -void PythonQtShell_QWebHistoryInterface::customEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWebHistoryInterface::customEvent(arg__1); -} -bool PythonQtShell_QWebHistoryInterface::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWebHistoryInterface::event(arg__1); -} -bool PythonQtShell_QWebHistoryInterface::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWebHistoryInterface::eventFilter(arg__1, arg__2); -} -bool PythonQtShell_QWebHistoryInterface::historyContains(const QString& url) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "historyContains"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&url}; - 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("historyContains", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - bool result; -return result; -} -void PythonQtShell_QWebHistoryInterface::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; - } -} - QWebHistoryInterface::timerEvent(arg__1); -} -QWebHistoryInterface* PythonQtWrapper_QWebHistoryInterface::new_QWebHistoryInterface(QObject* parent) -{ -return new PythonQtShell_QWebHistoryInterface(parent); } - -QWebHistoryInterface* PythonQtWrapper_QWebHistoryInterface::static_QWebHistoryInterface_defaultInterface() -{ - return (QWebHistoryInterface::defaultInterface()); -} - -void PythonQtWrapper_QWebHistoryInterface::static_QWebHistoryInterface_setDefaultInterface(QWebHistoryInterface* defaultInterface) -{ - (QWebHistoryInterface::setDefaultInterface(defaultInterface)); -} - diff --git a/generated_cpp/com_trolltech_qt_webkit/PythonQtWrapper_QWebHistoryInterface.h b/generated_cpp/com_trolltech_qt_webkit/PythonQtWrapper_QWebHistoryInterface.h deleted file mode 100644 index e272c3a..0000000 --- a/generated_cpp/com_trolltech_qt_webkit/PythonQtWrapper_QWebHistoryInterface.h +++ /dev/null @@ -1,42 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QWEBHISTORYINTERFACE_H -#define PYTHONQTWRAPPER_QWEBHISTORYINTERFACE_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QWebHistoryInterface : public QWebHistoryInterface -{ -public: - PythonQtShell_QWebHistoryInterface(QObject* parent = 0):QWebHistoryInterface(parent),_wrapper(NULL) {}; - -virtual void addHistoryEntry(const QString& url); -virtual void childEvent(QChildEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual bool historyContains(const QString& url) const; -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QWebHistoryInterface : public QObject -{ Q_OBJECT -public: -public slots: -QWebHistoryInterface* new_QWebHistoryInterface(QObject* parent = 0); -void delete_QWebHistoryInterface(QWebHistoryInterface* obj) { delete obj; } - QWebHistoryInterface* static_QWebHistoryInterface_defaultInterface(); - void static_QWebHistoryInterface_setDefaultInterface(QWebHistoryInterface* defaultInterface); -}; - -#endif // PYTHONQTWRAPPER_QWEBHISTORYINTERFACE_H diff --git a/generated_cpp/com_trolltech_qt_webkit/PythonQtWrapper_QWebHitTestResult.cpp b/generated_cpp/com_trolltech_qt_webkit/PythonQtWrapper_QWebHitTestResult.cpp deleted file mode 100644 index da49fca..0000000 --- a/generated_cpp/com_trolltech_qt_webkit/PythonQtWrapper_QWebHitTestResult.cpp +++ /dev/null @@ -1,84 +0,0 @@ -#include "PythonQtWrapper_QWebHitTestResult.h" - -#include -#include -#include -#include -#include -#include -#include -#include - -QWebHitTestResult* PythonQtWrapper_QWebHitTestResult::new_QWebHitTestResult() -{ -return new QWebHitTestResult(); } - -QWebHitTestResult* PythonQtWrapper_QWebHitTestResult::new_QWebHitTestResult(const QWebHitTestResult& other) -{ -return new QWebHitTestResult(other); } - -bool PythonQtWrapper_QWebHitTestResult::isContentSelected(QWebHitTestResult* theWrappedObject) const -{ - return ( theWrappedObject->isContentSelected()); -} - -bool PythonQtWrapper_QWebHitTestResult::isNull(QWebHitTestResult* theWrappedObject) const -{ - return ( theWrappedObject->isNull()); -} - -QUrl PythonQtWrapper_QWebHitTestResult::linkUrl(QWebHitTestResult* theWrappedObject) const -{ - return ( theWrappedObject->linkUrl()); -} - -QString PythonQtWrapper_QWebHitTestResult::alternateText(QWebHitTestResult* theWrappedObject) const -{ - return ( theWrappedObject->alternateText()); -} - -QPixmap PythonQtWrapper_QWebHitTestResult::pixmap(QWebHitTestResult* theWrappedObject) const -{ - return ( theWrappedObject->pixmap()); -} - -QWebFrame* PythonQtWrapper_QWebHitTestResult::linkTargetFrame(QWebHitTestResult* theWrappedObject) const -{ - return ( theWrappedObject->linkTargetFrame()); -} - -QString PythonQtWrapper_QWebHitTestResult::linkText(QWebHitTestResult* theWrappedObject) const -{ - return ( theWrappedObject->linkText()); -} - -QPoint PythonQtWrapper_QWebHitTestResult::pos(QWebHitTestResult* theWrappedObject) const -{ - return ( theWrappedObject->pos()); -} - -QWebFrame* PythonQtWrapper_QWebHitTestResult::frame(QWebHitTestResult* theWrappedObject) const -{ - return ( theWrappedObject->frame()); -} - -bool PythonQtWrapper_QWebHitTestResult::isContentEditable(QWebHitTestResult* theWrappedObject) const -{ - return ( theWrappedObject->isContentEditable()); -} - -QUrl PythonQtWrapper_QWebHitTestResult::linkTitle(QWebHitTestResult* theWrappedObject) const -{ - return ( theWrappedObject->linkTitle()); -} - -QUrl PythonQtWrapper_QWebHitTestResult::imageUrl(QWebHitTestResult* theWrappedObject) const -{ - return ( theWrappedObject->imageUrl()); -} - -QString PythonQtWrapper_QWebHitTestResult::title(QWebHitTestResult* theWrappedObject) const -{ - return ( theWrappedObject->title()); -} - diff --git a/generated_cpp/com_trolltech_qt_webkit/PythonQtWrapper_QWebHitTestResult.h b/generated_cpp/com_trolltech_qt_webkit/PythonQtWrapper_QWebHitTestResult.h deleted file mode 100644 index ceb943c..0000000 --- a/generated_cpp/com_trolltech_qt_webkit/PythonQtWrapper_QWebHitTestResult.h +++ /dev/null @@ -1,37 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QWEBHITTESTRESULT_H -#define PYTHONQTWRAPPER_QWEBHITTESTRESULT_H - -#include -#include - -#include - -#include -#include -#include -#include -#include - -class PythonQtWrapper_QWebHitTestResult : public QObject -{ Q_OBJECT -public: -public slots: -QWebHitTestResult* new_QWebHitTestResult(); -QWebHitTestResult* new_QWebHitTestResult(const QWebHitTestResult& other); -void delete_QWebHitTestResult(QWebHitTestResult* obj) { delete obj; } - bool isContentSelected(QWebHitTestResult* theWrappedObject) const; - bool isNull(QWebHitTestResult* theWrappedObject) const; - QUrl linkUrl(QWebHitTestResult* theWrappedObject) const; - QString alternateText(QWebHitTestResult* theWrappedObject) const; - QPixmap pixmap(QWebHitTestResult* theWrappedObject) const; - QWebFrame* linkTargetFrame(QWebHitTestResult* theWrappedObject) const; - QString linkText(QWebHitTestResult* theWrappedObject) const; - QPoint pos(QWebHitTestResult* theWrappedObject) const; - QWebFrame* frame(QWebHitTestResult* theWrappedObject) const; - bool isContentEditable(QWebHitTestResult* theWrappedObject) const; - QUrl linkTitle(QWebHitTestResult* theWrappedObject) const; - QUrl imageUrl(QWebHitTestResult* theWrappedObject) const; - QString title(QWebHitTestResult* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QWEBHITTESTRESULT_H diff --git a/generated_cpp/com_trolltech_qt_webkit/PythonQtWrapper_QWebPage.cpp b/generated_cpp/com_trolltech_qt_webkit/PythonQtWrapper_QWebPage.cpp deleted file mode 100644 index 6253c84..0000000 --- a/generated_cpp/com_trolltech_qt_webkit/PythonQtWrapper_QWebPage.cpp +++ /dev/null @@ -1,619 +0,0 @@ -#include "PythonQtWrapper_QWebPage.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -bool PythonQtShell_QWebPage::acceptNavigationRequest(QWebFrame* frame, const QNetworkRequest& request, QWebPage::NavigationType type) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "acceptNavigationRequest"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QWebFrame*" , "const QNetworkRequest&" , "QWebPage::NavigationType"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&frame, (void*)&request, (void*)&type}; - 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("acceptNavigationRequest", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWebPage::acceptNavigationRequest(frame, request, type); -} -void PythonQtShell_QWebPage::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; - } -} - QWebPage::childEvent(arg__1); -} -QString PythonQtShell_QWebPage::chooseFile(QWebFrame* originatingFrame, const QString& oldFile) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "chooseFile"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QString" , "QWebFrame*" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QString returnValue; - void* args[3] = {NULL, (void*)&originatingFrame, (void*)&oldFile}; - 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("chooseFile", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWebPage::chooseFile(originatingFrame, oldFile); -} -QObject* PythonQtShell_QWebPage::createPlugin(const QString& classid, const QUrl& url, const QStringList& paramNames, const QStringList& paramValues) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "createPlugin"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QObject*" , "const QString&" , "const QUrl&" , "const QStringList&" , "const QStringList&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - QObject* returnValue; - void* args[5] = {NULL, (void*)&classid, (void*)&url, (void*)¶mNames, (void*)¶mValues}; - 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("createPlugin", methodInfo, result); - } else { - returnValue = *((QObject**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWebPage::createPlugin(classid, url, paramNames, paramValues); -} -QWebPage* PythonQtShell_QWebPage::createWindow(QWebPage::WebWindowType type) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "createWindow"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QWebPage*" , "QWebPage::WebWindowType"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QWebPage* returnValue; - void* args[2] = {NULL, (void*)&type}; - 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("createWindow", methodInfo, result); - } else { - returnValue = *((QWebPage**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWebPage::createWindow(type); -} -void PythonQtShell_QWebPage::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; - } -} - QWebPage::customEvent(arg__1); -} -bool PythonQtShell_QWebPage::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWebPage::event(arg__1); -} -bool PythonQtShell_QWebPage::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWebPage::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QWebPage::javaScriptAlert(QWebFrame* originatingFrame, const QString& msg) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "javaScriptAlert"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWebFrame*" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&originatingFrame, (void*)&msg}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWebPage::javaScriptAlert(originatingFrame, msg); -} -bool PythonQtShell_QWebPage::javaScriptConfirm(QWebFrame* originatingFrame, const QString& msg) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "javaScriptConfirm"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QWebFrame*" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&originatingFrame, (void*)&msg}; - 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("javaScriptConfirm", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWebPage::javaScriptConfirm(originatingFrame, msg); -} -void PythonQtShell_QWebPage::javaScriptConsoleMessage(const QString& message, int lineNumber, const QString& sourceID) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "javaScriptConsoleMessage"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QString&" , "int" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&message, (void*)&lineNumber, (void*)&sourceID}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWebPage::javaScriptConsoleMessage(message, lineNumber, sourceID); -} -bool PythonQtShell_QWebPage::javaScriptPrompt(QWebFrame* originatingFrame, const QString& msg, const QString& defaultValue, QString* result) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "javaScriptPrompt"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QWebFrame*" , "const QString&" , "const QString&" , "QString*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - bool returnValue; - void* args[5] = {NULL, (void*)&originatingFrame, (void*)&msg, (void*)&defaultValue, (void*)&result}; - 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("javaScriptPrompt", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWebPage::javaScriptPrompt(originatingFrame, msg, defaultValue, result); -} -bool PythonQtShell_QWebPage::supportsExtension(QWebPage::Extension extension) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "supportsExtension"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QWebPage::Extension"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&extension}; - 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("supportsExtension", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWebPage::supportsExtension(extension); -} -void PythonQtShell_QWebPage::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; - } -} - QWebPage::timerEvent(arg__1); -} -void PythonQtShell_QWebPage::triggerAction(QWebPage::WebAction action, bool checked) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "triggerAction"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWebPage::WebAction" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&action, (void*)&checked}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWebPage::triggerAction(action, checked); -} -QString PythonQtShell_QWebPage::userAgentForUrl(const QUrl& url) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "userAgentForUrl"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QString" , "const QUrl&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QString returnValue; - void* args[2] = {NULL, (void*)&url}; - 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("userAgentForUrl", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWebPage::userAgentForUrl(url); -} -QWebPage* PythonQtWrapper_QWebPage::new_QWebPage(QObject* parent) -{ -return new PythonQtShell_QWebPage(parent); } - -QSize PythonQtWrapper_QWebPage::viewportSize(QWebPage* theWrappedObject) const -{ - return ( theWrappedObject->viewportSize()); -} - -bool PythonQtWrapper_QWebPage::javaScriptPrompt(QWebPage* theWrappedObject, QWebFrame* originatingFrame, const QString& msg, const QString& defaultValue, QString* result) -{ - return ( ((PythonQtPublicPromoter_QWebPage*)theWrappedObject)->promoted_javaScriptPrompt(originatingFrame, msg, defaultValue, result)); -} - -bool PythonQtWrapper_QWebPage::event(QWebPage* theWrappedObject, QEvent* arg__1) -{ - return ( ((PythonQtPublicPromoter_QWebPage*)theWrappedObject)->promoted_event(arg__1)); -} - -QVariant PythonQtWrapper_QWebPage::inputMethodQuery(QWebPage* theWrappedObject, Qt::InputMethodQuery property) const -{ - return ( theWrappedObject->inputMethodQuery(property)); -} - -bool PythonQtWrapper_QWebPage::focusNextPrevChild(QWebPage* theWrappedObject, bool next) -{ - return ( theWrappedObject->focusNextPrevChild(next)); -} - -bool PythonQtWrapper_QWebPage::forwardUnsupportedContent(QWebPage* theWrappedObject) const -{ - return ( theWrappedObject->forwardUnsupportedContent()); -} - -void PythonQtWrapper_QWebPage::setPalette(QWebPage* theWrappedObject, const QPalette& palette) -{ - ( theWrappedObject->setPalette(palette)); -} - -QWebSettings* PythonQtWrapper_QWebPage::settings(QWebPage* theWrappedObject) const -{ - return ( theWrappedObject->settings()); -} - -QWebPluginFactory* PythonQtWrapper_QWebPage::pluginFactory(QWebPage* theWrappedObject) const -{ - return ( theWrappedObject->pluginFactory()); -} - -QWebFrame* PythonQtWrapper_QWebPage::mainFrame(QWebPage* theWrappedObject) const -{ - return ( theWrappedObject->mainFrame()); -} - -void PythonQtWrapper_QWebPage::javaScriptAlert(QWebPage* theWrappedObject, QWebFrame* originatingFrame, const QString& msg) -{ - ( ((PythonQtPublicPromoter_QWebPage*)theWrappedObject)->promoted_javaScriptAlert(originatingFrame, msg)); -} - -QWebPage* PythonQtWrapper_QWebPage::createWindow(QWebPage* theWrappedObject, QWebPage::WebWindowType type) -{ - return ( ((PythonQtPublicPromoter_QWebPage*)theWrappedObject)->promoted_createWindow(type)); -} - -QUndoStack* PythonQtWrapper_QWebPage::undoStack(QWebPage* theWrappedObject) const -{ - return ( theWrappedObject->undoStack()); -} - -bool PythonQtWrapper_QWebPage::findText(QWebPage* theWrappedObject, const QString& subString, QWebPage::FindFlags options) -{ - return ( theWrappedObject->findText(subString, options)); -} - -bool PythonQtWrapper_QWebPage::javaScriptConfirm(QWebPage* theWrappedObject, QWebFrame* originatingFrame, const QString& msg) -{ - return ( ((PythonQtPublicPromoter_QWebPage*)theWrappedObject)->promoted_javaScriptConfirm(originatingFrame, msg)); -} - -QNetworkAccessManager* PythonQtWrapper_QWebPage::networkAccessManager(QWebPage* theWrappedObject) const -{ - return ( theWrappedObject->networkAccessManager()); -} - -QPalette PythonQtWrapper_QWebPage::palette(QWebPage* theWrappedObject) const -{ - return ( theWrappedObject->palette()); -} - -void PythonQtWrapper_QWebPage::setPluginFactory(QWebPage* theWrappedObject, QWebPluginFactory* factory) -{ - ( theWrappedObject->setPluginFactory(factory)); -} - -bool PythonQtWrapper_QWebPage::isModified(QWebPage* theWrappedObject) const -{ - return ( theWrappedObject->isModified()); -} - -void PythonQtWrapper_QWebPage::setForwardUnsupportedContent(QWebPage* theWrappedObject, bool forward) -{ - ( theWrappedObject->setForwardUnsupportedContent(forward)); -} - -bool PythonQtWrapper_QWebPage::acceptNavigationRequest(QWebPage* theWrappedObject, QWebFrame* frame, const QNetworkRequest& request, QWebPage::NavigationType type) -{ - return ( ((PythonQtPublicPromoter_QWebPage*)theWrappedObject)->promoted_acceptNavigationRequest(frame, request, type)); -} - -quint64 PythonQtWrapper_QWebPage::totalBytes(QWebPage* theWrappedObject) const -{ - return ( theWrappedObject->totalBytes()); -} - -QString PythonQtWrapper_QWebPage::userAgentForUrl(QWebPage* theWrappedObject, const QUrl& url) const -{ - return ( ((PythonQtPublicPromoter_QWebPage*)theWrappedObject)->promoted_userAgentForUrl(url)); -} - -void PythonQtWrapper_QWebPage::setViewportSize(QWebPage* theWrappedObject, const QSize& size) const -{ - ( theWrappedObject->setViewportSize(size)); -} - -void PythonQtWrapper_QWebPage::setLinkDelegationPolicy(QWebPage* theWrappedObject, QWebPage::LinkDelegationPolicy policy) -{ - ( theWrappedObject->setLinkDelegationPolicy(policy)); -} - -void PythonQtWrapper_QWebPage::triggerAction(QWebPage* theWrappedObject, QWebPage::WebAction action, bool checked) -{ - ( ((PythonQtPublicPromoter_QWebPage*)theWrappedObject)->promoted_triggerAction(action, checked)); -} - -void PythonQtWrapper_QWebPage::javaScriptConsoleMessage(QWebPage* theWrappedObject, const QString& message, int lineNumber, const QString& sourceID) -{ - ( ((PythonQtPublicPromoter_QWebPage*)theWrappedObject)->promoted_javaScriptConsoleMessage(message, lineNumber, sourceID)); -} - -QAction* PythonQtWrapper_QWebPage::action(QWebPage* theWrappedObject, QWebPage::WebAction action) const -{ - return ( theWrappedObject->action(action)); -} - -quint64 PythonQtWrapper_QWebPage::bytesReceived(QWebPage* theWrappedObject) const -{ - return ( theWrappedObject->bytesReceived()); -} - -void PythonQtWrapper_QWebPage::updatePositionDependentActions(QWebPage* theWrappedObject, const QPoint& pos) -{ - ( theWrappedObject->updatePositionDependentActions(pos)); -} - -QWidget* PythonQtWrapper_QWebPage::view(QWebPage* theWrappedObject) const -{ - return ( theWrappedObject->view()); -} - -void PythonQtWrapper_QWebPage::setNetworkAccessManager(QWebPage* theWrappedObject, QNetworkAccessManager* manager) -{ - ( theWrappedObject->setNetworkAccessManager(manager)); -} - -void PythonQtWrapper_QWebPage::setView(QWebPage* theWrappedObject, QWidget* view) -{ - ( theWrappedObject->setView(view)); -} - -QWebHistory* PythonQtWrapper_QWebPage::history(QWebPage* theWrappedObject) const -{ - return ( theWrappedObject->history()); -} - -QWebPage::LinkDelegationPolicy PythonQtWrapper_QWebPage::linkDelegationPolicy(QWebPage* theWrappedObject) const -{ - return ( theWrappedObject->linkDelegationPolicy()); -} - -bool PythonQtWrapper_QWebPage::swallowContextMenuEvent(QWebPage* theWrappedObject, QContextMenuEvent* event) -{ - return ( theWrappedObject->swallowContextMenuEvent(event)); -} - -QString PythonQtWrapper_QWebPage::chooseFile(QWebPage* theWrappedObject, QWebFrame* originatingFrame, const QString& oldFile) -{ - return ( ((PythonQtPublicPromoter_QWebPage*)theWrappedObject)->promoted_chooseFile(originatingFrame, oldFile)); -} - -QWebFrame* PythonQtWrapper_QWebPage::currentFrame(QWebPage* theWrappedObject) const -{ - return ( theWrappedObject->currentFrame()); -} - -QString PythonQtWrapper_QWebPage::selectedText(QWebPage* theWrappedObject) const -{ - return ( theWrappedObject->selectedText()); -} - -bool PythonQtWrapper_QWebPage::supportsExtension(QWebPage* theWrappedObject, QWebPage::Extension extension) const -{ - return ( ((PythonQtPublicPromoter_QWebPage*)theWrappedObject)->promoted_supportsExtension(extension)); -} - -QObject* PythonQtWrapper_QWebPage::createPlugin(QWebPage* theWrappedObject, const QString& classid, const QUrl& url, const QStringList& paramNames, const QStringList& paramValues) -{ - return ( ((PythonQtPublicPromoter_QWebPage*)theWrappedObject)->promoted_createPlugin(classid, url, paramNames, paramValues)); -} - diff --git a/generated_cpp/com_trolltech_qt_webkit/PythonQtWrapper_QWebPage.h b/generated_cpp/com_trolltech_qt_webkit/PythonQtWrapper_QWebPage.h deleted file mode 100644 index bd4222b..0000000 --- a/generated_cpp/com_trolltech_qt_webkit/PythonQtWrapper_QWebPage.h +++ /dev/null @@ -1,131 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QWEBPAGE_H -#define PYTHONQTWRAPPER_QWEBPAGE_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QWebPage : public QWebPage -{ -public: - PythonQtShell_QWebPage(QObject* parent = 0):QWebPage(parent),_wrapper(NULL) {}; - -virtual bool acceptNavigationRequest(QWebFrame* frame, const QNetworkRequest& request, QWebPage::NavigationType type); -virtual void childEvent(QChildEvent* arg__1); -virtual QString chooseFile(QWebFrame* originatingFrame, const QString& oldFile); -virtual QObject* createPlugin(const QString& classid, const QUrl& url, const QStringList& paramNames, const QStringList& paramValues); -virtual QWebPage* createWindow(QWebPage::WebWindowType type); -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void javaScriptAlert(QWebFrame* originatingFrame, const QString& msg); -virtual bool javaScriptConfirm(QWebFrame* originatingFrame, const QString& msg); -virtual void javaScriptConsoleMessage(const QString& message, int lineNumber, const QString& sourceID); -virtual bool javaScriptPrompt(QWebFrame* originatingFrame, const QString& msg, const QString& defaultValue, QString* result); -virtual bool supportsExtension(QWebPage::Extension extension) const; -virtual void timerEvent(QTimerEvent* arg__1); -virtual void triggerAction(QWebPage::WebAction action, bool checked = false); -virtual QString userAgentForUrl(const QUrl& url) const; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QWebPage : public QWebPage -{ public: -inline bool promoted_javaScriptPrompt(QWebFrame* originatingFrame, const QString& msg, const QString& defaultValue, QString* result) { return QWebPage::javaScriptPrompt(originatingFrame, msg, defaultValue, result); } -inline bool promoted_event(QEvent* arg__1) { return QWebPage::event(arg__1); } -inline void promoted_javaScriptAlert(QWebFrame* originatingFrame, const QString& msg) { QWebPage::javaScriptAlert(originatingFrame, msg); } -inline QWebPage* promoted_createWindow(QWebPage::WebWindowType type) { return QWebPage::createWindow(type); } -inline bool promoted_javaScriptConfirm(QWebFrame* originatingFrame, const QString& msg) { return QWebPage::javaScriptConfirm(originatingFrame, msg); } -inline bool promoted_acceptNavigationRequest(QWebFrame* frame, const QNetworkRequest& request, QWebPage::NavigationType type) { return QWebPage::acceptNavigationRequest(frame, request, type); } -inline QString promoted_userAgentForUrl(const QUrl& url) const { return QWebPage::userAgentForUrl(url); } -inline void promoted_triggerAction(QWebPage::WebAction action, bool checked = false) { QWebPage::triggerAction(action, checked); } -inline void promoted_javaScriptConsoleMessage(const QString& message, int lineNumber, const QString& sourceID) { QWebPage::javaScriptConsoleMessage(message, lineNumber, sourceID); } -inline QString promoted_chooseFile(QWebFrame* originatingFrame, const QString& oldFile) { return QWebPage::chooseFile(originatingFrame, oldFile); } -inline bool promoted_supportsExtension(QWebPage::Extension extension) const { return QWebPage::supportsExtension(extension); } -inline QObject* promoted_createPlugin(const QString& classid, const QUrl& url, const QStringList& paramNames, const QStringList& paramValues) { return QWebPage::createPlugin(classid, url, paramNames, paramValues); } -}; - -class PythonQtWrapper_QWebPage : public QObject -{ Q_OBJECT -public: -Q_ENUMS(WebWindowType FindFlag Extension ) -Q_FLAGS(FindFlags ) -enum WebWindowType{ - WebBrowserWindow = QWebPage::WebBrowserWindow, WebModalDialog = QWebPage::WebModalDialog}; -enum FindFlag{ - FindBackward = QWebPage::FindBackward, FindCaseSensitively = QWebPage::FindCaseSensitively, FindWrapsAroundDocument = QWebPage::FindWrapsAroundDocument}; -enum Extension{ -}; -Q_DECLARE_FLAGS(FindFlags, FindFlag) -public slots: -QWebPage* new_QWebPage(QObject* parent = 0); -void delete_QWebPage(QWebPage* obj) { delete obj; } - QSize viewportSize(QWebPage* theWrappedObject) const; - bool javaScriptPrompt(QWebPage* theWrappedObject, QWebFrame* originatingFrame, const QString& msg, const QString& defaultValue, QString* result); - bool event(QWebPage* theWrappedObject, QEvent* arg__1); - QVariant inputMethodQuery(QWebPage* theWrappedObject, Qt::InputMethodQuery property) const; - bool focusNextPrevChild(QWebPage* theWrappedObject, bool next); - bool forwardUnsupportedContent(QWebPage* theWrappedObject) const; - void setPalette(QWebPage* theWrappedObject, const QPalette& palette); - QWebSettings* settings(QWebPage* theWrappedObject) const; - QWebPluginFactory* pluginFactory(QWebPage* theWrappedObject) const; - QWebFrame* mainFrame(QWebPage* theWrappedObject) const; - void javaScriptAlert(QWebPage* theWrappedObject, QWebFrame* originatingFrame, const QString& msg); - QWebPage* createWindow(QWebPage* theWrappedObject, QWebPage::WebWindowType type); - QUndoStack* undoStack(QWebPage* theWrappedObject) const; - bool findText(QWebPage* theWrappedObject, const QString& subString, QWebPage::FindFlags options = 0); - bool javaScriptConfirm(QWebPage* theWrappedObject, QWebFrame* originatingFrame, const QString& msg); - QNetworkAccessManager* networkAccessManager(QWebPage* theWrappedObject) const; - QPalette palette(QWebPage* theWrappedObject) const; - void setPluginFactory(QWebPage* theWrappedObject, QWebPluginFactory* factory); - bool isModified(QWebPage* theWrappedObject) const; - void setForwardUnsupportedContent(QWebPage* theWrappedObject, bool forward); - bool acceptNavigationRequest(QWebPage* theWrappedObject, QWebFrame* frame, const QNetworkRequest& request, QWebPage::NavigationType type); - quint64 totalBytes(QWebPage* theWrappedObject) const; - QString userAgentForUrl(QWebPage* theWrappedObject, const QUrl& url) const; - void setViewportSize(QWebPage* theWrappedObject, const QSize& size) const; - void setLinkDelegationPolicy(QWebPage* theWrappedObject, QWebPage::LinkDelegationPolicy policy); - void triggerAction(QWebPage* theWrappedObject, QWebPage::WebAction action, bool checked = false); - void javaScriptConsoleMessage(QWebPage* theWrappedObject, const QString& message, int lineNumber, const QString& sourceID); - QAction* action(QWebPage* theWrappedObject, QWebPage::WebAction action) const; - quint64 bytesReceived(QWebPage* theWrappedObject) const; - void updatePositionDependentActions(QWebPage* theWrappedObject, const QPoint& pos); - QWidget* view(QWebPage* theWrappedObject) const; - void setNetworkAccessManager(QWebPage* theWrappedObject, QNetworkAccessManager* manager); - void setView(QWebPage* theWrappedObject, QWidget* view); - QWebHistory* history(QWebPage* theWrappedObject) const; - QWebPage::LinkDelegationPolicy linkDelegationPolicy(QWebPage* theWrappedObject) const; - bool swallowContextMenuEvent(QWebPage* theWrappedObject, QContextMenuEvent* event); - QString chooseFile(QWebPage* theWrappedObject, QWebFrame* originatingFrame, const QString& oldFile); - QWebFrame* currentFrame(QWebPage* theWrappedObject) const; - QString selectedText(QWebPage* theWrappedObject) const; - bool supportsExtension(QWebPage* theWrappedObject, QWebPage::Extension extension) const; - QObject* createPlugin(QWebPage* theWrappedObject, const QString& classid, const QUrl& url, const QStringList& paramNames, const QStringList& paramValues); -}; - -#endif // PYTHONQTWRAPPER_QWEBPAGE_H diff --git a/generated_cpp/com_trolltech_qt_webkit/PythonQtWrapper_QWebPluginFactory.cpp b/generated_cpp/com_trolltech_qt_webkit/PythonQtWrapper_QWebPluginFactory.cpp deleted file mode 100644 index 38df214..0000000 --- a/generated_cpp/com_trolltech_qt_webkit/PythonQtWrapper_QWebPluginFactory.cpp +++ /dev/null @@ -1,238 +0,0 @@ -#include "PythonQtWrapper_QWebPluginFactory.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QWebPluginFactory::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; - } -} - QWebPluginFactory::childEvent(arg__1); -} -QObject* PythonQtShell_QWebPluginFactory::create(const QString& mimeType, const QUrl& url, const QStringList& argumentNames, const QStringList& argumentValues) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "create"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QObject*" , "const QString&" , "const QUrl&" , "const QStringList&" , "const QStringList&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - QObject* returnValue; - void* args[5] = {NULL, (void*)&mimeType, (void*)&url, (void*)&argumentNames, (void*)&argumentValues}; - 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("create", methodInfo, result); - } else { - returnValue = *((QObject**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QObject* result; -return result; -} -void PythonQtShell_QWebPluginFactory::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; - } -} - QWebPluginFactory::customEvent(arg__1); -} -bool PythonQtShell_QWebPluginFactory::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWebPluginFactory::event(arg__1); -} -bool PythonQtShell_QWebPluginFactory::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWebPluginFactory::eventFilter(arg__1, arg__2); -} -QList PythonQtShell_QWebPluginFactory::plugins() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "plugins"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QList returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("plugins", methodInfo, result); - } else { - returnValue = *((QList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QList result; -return result; -} -void PythonQtShell_QWebPluginFactory::refreshPlugins() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "refreshPlugins"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWebPluginFactory::refreshPlugins(); -} -bool PythonQtShell_QWebPluginFactory::supportsExtension(QWebPluginFactory::Extension extension) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "supportsExtension"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QWebPluginFactory::Extension"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&extension}; - 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("supportsExtension", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWebPluginFactory::supportsExtension(extension); -} -void PythonQtShell_QWebPluginFactory::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; - } -} - QWebPluginFactory::timerEvent(arg__1); -} -QWebPluginFactory* PythonQtWrapper_QWebPluginFactory::new_QWebPluginFactory(QObject* parent) -{ -return new PythonQtShell_QWebPluginFactory(parent); } - -bool PythonQtWrapper_QWebPluginFactory::supportsExtension(QWebPluginFactory* theWrappedObject, QWebPluginFactory::Extension extension) const -{ - return ( ((PythonQtPublicPromoter_QWebPluginFactory*)theWrappedObject)->promoted_supportsExtension(extension)); -} - -void PythonQtWrapper_QWebPluginFactory::refreshPlugins(QWebPluginFactory* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QWebPluginFactory*)theWrappedObject)->promoted_refreshPlugins()); -} - diff --git a/generated_cpp/com_trolltech_qt_webkit/PythonQtWrapper_QWebPluginFactory.h b/generated_cpp/com_trolltech_qt_webkit/PythonQtWrapper_QWebPluginFactory.h deleted file mode 100644 index b7da466..0000000 --- a/generated_cpp/com_trolltech_qt_webkit/PythonQtWrapper_QWebPluginFactory.h +++ /dev/null @@ -1,55 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QWEBPLUGINFACTORY_H -#define PYTHONQTWRAPPER_QWEBPLUGINFACTORY_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QWebPluginFactory : public QWebPluginFactory -{ -public: - PythonQtShell_QWebPluginFactory(QObject* parent = 0):QWebPluginFactory(parent),_wrapper(NULL) {}; - -virtual void childEvent(QChildEvent* arg__1); -virtual QObject* create(const QString& mimeType, const QUrl& url, const QStringList& argumentNames, const QStringList& argumentValues) const; -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual QList plugins() const; -virtual void refreshPlugins(); -virtual bool supportsExtension(QWebPluginFactory::Extension extension) const; -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QWebPluginFactory : public QWebPluginFactory -{ public: -inline bool promoted_supportsExtension(QWebPluginFactory::Extension extension) const { return QWebPluginFactory::supportsExtension(extension); } -inline void promoted_refreshPlugins() { QWebPluginFactory::refreshPlugins(); } -}; - -class PythonQtWrapper_QWebPluginFactory : public QObject -{ Q_OBJECT -public: -Q_ENUMS(Extension ) -enum Extension{ -}; -public slots: -QWebPluginFactory* new_QWebPluginFactory(QObject* parent = 0); -void delete_QWebPluginFactory(QWebPluginFactory* obj) { delete obj; } - bool supportsExtension(QWebPluginFactory* theWrappedObject, QWebPluginFactory::Extension extension) const; - void refreshPlugins(QWebPluginFactory* theWrappedObject); -}; - -#endif // PYTHONQTWRAPPER_QWEBPLUGINFACTORY_H diff --git a/generated_cpp/com_trolltech_qt_webkit/PythonQtWrapper_QWebSettings.cpp b/generated_cpp/com_trolltech_qt_webkit/PythonQtWrapper_QWebSettings.cpp deleted file mode 100644 index bb84ea0..0000000 --- a/generated_cpp/com_trolltech_qt_webkit/PythonQtWrapper_QWebSettings.cpp +++ /dev/null @@ -1,116 +0,0 @@ -#include "PythonQtWrapper_QWebSettings.h" - -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtWrapper_QWebSettings::setUserStyleSheetUrl(QWebSettings* theWrappedObject, const QUrl& location) -{ - ( theWrappedObject->setUserStyleSheetUrl(location)); -} - -void PythonQtWrapper_QWebSettings::resetAttribute(QWebSettings* theWrappedObject, QWebSettings::WebAttribute attr) -{ - ( theWrappedObject->resetAttribute(attr)); -} - -void PythonQtWrapper_QWebSettings::static_QWebSettings_setMaximumPagesInCache(int pages) -{ - (QWebSettings::setMaximumPagesInCache(pages)); -} - -void PythonQtWrapper_QWebSettings::static_QWebSettings_clearIconDatabase() -{ - (QWebSettings::clearIconDatabase()); -} - -void PythonQtWrapper_QWebSettings::static_QWebSettings_setWebGraphic(QWebSettings::WebGraphic type, const QPixmap& graphic) -{ - (QWebSettings::setWebGraphic(type, graphic)); -} - -QPixmap PythonQtWrapper_QWebSettings::static_QWebSettings_webGraphic(QWebSettings::WebGraphic type) -{ - return (QWebSettings::webGraphic(type)); -} - -void PythonQtWrapper_QWebSettings::setFontSize(QWebSettings* theWrappedObject, QWebSettings::FontSize type, int size) -{ - ( theWrappedObject->setFontSize(type, size)); -} - -void PythonQtWrapper_QWebSettings::resetFontFamily(QWebSettings* theWrappedObject, QWebSettings::FontFamily which) -{ - ( theWrappedObject->resetFontFamily(which)); -} - -void PythonQtWrapper_QWebSettings::setAttribute(QWebSettings* theWrappedObject, QWebSettings::WebAttribute attr, bool on) -{ - ( theWrappedObject->setAttribute(attr, on)); -} - -void PythonQtWrapper_QWebSettings::static_QWebSettings_setObjectCacheCapacities(int cacheMinDeadCapacity, int cacheMaxDead, int totalCapacity) -{ - (QWebSettings::setObjectCacheCapacities(cacheMinDeadCapacity, cacheMaxDead, totalCapacity)); -} - -void PythonQtWrapper_QWebSettings::resetFontSize(QWebSettings* theWrappedObject, QWebSettings::FontSize type) -{ - ( theWrappedObject->resetFontSize(type)); -} - -void PythonQtWrapper_QWebSettings::static_QWebSettings_setIconDatabasePath(const QString& location) -{ - (QWebSettings::setIconDatabasePath(location)); -} - -int PythonQtWrapper_QWebSettings::fontSize(QWebSettings* theWrappedObject, QWebSettings::FontSize type) const -{ - return ( theWrappedObject->fontSize(type)); -} - -QWebSettings* PythonQtWrapper_QWebSettings::static_QWebSettings_globalSettings() -{ - return (QWebSettings::globalSettings()); -} - -QString PythonQtWrapper_QWebSettings::static_QWebSettings_iconDatabasePath() -{ - return (QWebSettings::iconDatabasePath()); -} - -bool PythonQtWrapper_QWebSettings::testAttribute(QWebSettings* theWrappedObject, QWebSettings::WebAttribute attr) const -{ - return ( theWrappedObject->testAttribute(attr)); -} - -QString PythonQtWrapper_QWebSettings::fontFamily(QWebSettings* theWrappedObject, QWebSettings::FontFamily which) const -{ - return ( theWrappedObject->fontFamily(which)); -} - -void PythonQtWrapper_QWebSettings::setFontFamily(QWebSettings* theWrappedObject, QWebSettings::FontFamily which, const QString& family) -{ - ( theWrappedObject->setFontFamily(which, family)); -} - -QUrl PythonQtWrapper_QWebSettings::userStyleSheetUrl(QWebSettings* theWrappedObject) const -{ - return ( theWrappedObject->userStyleSheetUrl()); -} - -QIcon PythonQtWrapper_QWebSettings::static_QWebSettings_iconForUrl(const QUrl& url) -{ - return (QWebSettings::iconForUrl(url)); -} - -int PythonQtWrapper_QWebSettings::static_QWebSettings_maximumPagesInCache() -{ - return (QWebSettings::maximumPagesInCache()); -} - diff --git a/generated_cpp/com_trolltech_qt_webkit/PythonQtWrapper_QWebSettings.h b/generated_cpp/com_trolltech_qt_webkit/PythonQtWrapper_QWebSettings.h deleted file mode 100644 index d885378..0000000 --- a/generated_cpp/com_trolltech_qt_webkit/PythonQtWrapper_QWebSettings.h +++ /dev/null @@ -1,51 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QWEBSETTINGS_H -#define PYTHONQTWRAPPER_QWEBSETTINGS_H - -#include -#include - -#include - -#include -#include -#include -#include -#include - -class PythonQtWrapper_QWebSettings : public QObject -{ Q_OBJECT -public: -Q_ENUMS(FontSize WebGraphic FontFamily WebAttribute ) -enum FontSize{ - MinimumFontSize = QWebSettings::MinimumFontSize, MinimumLogicalFontSize = QWebSettings::MinimumLogicalFontSize, DefaultFontSize = QWebSettings::DefaultFontSize, DefaultFixedFontSize = QWebSettings::DefaultFixedFontSize}; -enum WebGraphic{ - MissingImageGraphic = QWebSettings::MissingImageGraphic, MissingPluginGraphic = QWebSettings::MissingPluginGraphic, DefaultFrameIconGraphic = QWebSettings::DefaultFrameIconGraphic, TextAreaSizeGripCornerGraphic = QWebSettings::TextAreaSizeGripCornerGraphic}; -enum FontFamily{ - StandardFont = QWebSettings::StandardFont, FixedFont = QWebSettings::FixedFont, SerifFont = QWebSettings::SerifFont, SansSerifFont = QWebSettings::SansSerifFont, CursiveFont = QWebSettings::CursiveFont, FantasyFont = QWebSettings::FantasyFont}; -enum WebAttribute{ - AutoLoadImages = QWebSettings::AutoLoadImages, JavascriptEnabled = QWebSettings::JavascriptEnabled, JavaEnabled = QWebSettings::JavaEnabled, PluginsEnabled = QWebSettings::PluginsEnabled, PrivateBrowsingEnabled = QWebSettings::PrivateBrowsingEnabled, JavascriptCanOpenWindows = QWebSettings::JavascriptCanOpenWindows, JavascriptCanAccessClipboard = QWebSettings::JavascriptCanAccessClipboard, DeveloperExtrasEnabled = QWebSettings::DeveloperExtrasEnabled, LinksIncludedInFocusChain = QWebSettings::LinksIncludedInFocusChain}; -public slots: - void setUserStyleSheetUrl(QWebSettings* theWrappedObject, const QUrl& location); - void resetAttribute(QWebSettings* theWrappedObject, QWebSettings::WebAttribute attr); - void static_QWebSettings_setMaximumPagesInCache(int pages); - void static_QWebSettings_clearIconDatabase(); - void static_QWebSettings_setWebGraphic(QWebSettings::WebGraphic type, const QPixmap& graphic); - QPixmap static_QWebSettings_webGraphic(QWebSettings::WebGraphic type); - void setFontSize(QWebSettings* theWrappedObject, QWebSettings::FontSize type, int size); - void resetFontFamily(QWebSettings* theWrappedObject, QWebSettings::FontFamily which); - void setAttribute(QWebSettings* theWrappedObject, QWebSettings::WebAttribute attr, bool on); - void static_QWebSettings_setObjectCacheCapacities(int cacheMinDeadCapacity, int cacheMaxDead, int totalCapacity); - void resetFontSize(QWebSettings* theWrappedObject, QWebSettings::FontSize type); - void static_QWebSettings_setIconDatabasePath(const QString& location); - int fontSize(QWebSettings* theWrappedObject, QWebSettings::FontSize type) const; - QWebSettings* static_QWebSettings_globalSettings(); - QString static_QWebSettings_iconDatabasePath(); - bool testAttribute(QWebSettings* theWrappedObject, QWebSettings::WebAttribute attr) const; - QString fontFamily(QWebSettings* theWrappedObject, QWebSettings::FontFamily which) const; - void setFontFamily(QWebSettings* theWrappedObject, QWebSettings::FontFamily which, const QString& family); - QUrl userStyleSheetUrl(QWebSettings* theWrappedObject) const; - QIcon static_QWebSettings_iconForUrl(const QUrl& url); - int static_QWebSettings_maximumPagesInCache(); -}; - -#endif // PYTHONQTWRAPPER_QWEBSETTINGS_H diff --git a/generated_cpp/com_trolltech_qt_webkit/PythonQtWrapper_QWebView.cpp b/generated_cpp/com_trolltech_qt_webkit/PythonQtWrapper_QWebView.cpp deleted file mode 100644 index 2a507fb..0000000 --- a/generated_cpp/com_trolltech_qt_webkit/PythonQtWrapper_QWebView.cpp +++ /dev/null @@ -1,1042 +0,0 @@ -#include "PythonQtWrapper_QWebView.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QWebView::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWebView::actionEvent(arg__1); -} -void PythonQtShell_QWebView::changeEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWebView::changeEvent(arg__1); -} -void PythonQtShell_QWebView::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; - } -} - QWebView::childEvent(arg__1); -} -void PythonQtShell_QWebView::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWebView::closeEvent(arg__1); -} -void PythonQtShell_QWebView::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWebView::contextMenuEvent(arg__1); -} -QWebView* PythonQtShell_QWebView::createWindow(QWebPage::WebWindowType type) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "createWindow"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QWebView*" , "QWebPage::WebWindowType"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QWebView* returnValue; - void* args[2] = {NULL, (void*)&type}; - 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("createWindow", methodInfo, result); - } else { - returnValue = *((QWebView**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWebView::createWindow(type); -} -void PythonQtShell_QWebView::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; - } -} - QWebView::customEvent(arg__1); -} -int PythonQtShell_QWebView::devType() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - 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("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWebView::devType(); -} -void PythonQtShell_QWebView::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWebView::dragEnterEvent(arg__1); -} -void PythonQtShell_QWebView::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWebView::dragLeaveEvent(arg__1); -} -void PythonQtShell_QWebView::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWebView::dragMoveEvent(arg__1); -} -void PythonQtShell_QWebView::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWebView::dropEvent(arg__1); -} -void PythonQtShell_QWebView::enterEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); - 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; - } -} - QWebView::enterEvent(arg__1); -} -bool PythonQtShell_QWebView::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWebView::event(arg__1); -} -bool PythonQtShell_QWebView::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWebView::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QWebView::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWebView::focusInEvent(arg__1); -} -bool PythonQtShell_QWebView::focusNextPrevChild(bool next) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next}; - 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWebView::focusNextPrevChild(next); -} -void PythonQtShell_QWebView::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWebView::focusOutEvent(arg__1); -} -int PythonQtShell_QWebView::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWebView::heightForWidth(arg__1); -} -void PythonQtShell_QWebView::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWebView::hideEvent(arg__1); -} -void PythonQtShell_QWebView::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWebView::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QWebView::inputMethodQuery(Qt::InputMethodQuery property) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&property}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWebView::inputMethodQuery(property); -} -void PythonQtShell_QWebView::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWebView::keyPressEvent(arg__1); -} -void PythonQtShell_QWebView::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWebView::keyReleaseEvent(arg__1); -} -void PythonQtShell_QWebView::languageChange() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWebView::languageChange(); -} -void PythonQtShell_QWebView::leaveEvent(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); - 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; - } -} - QWebView::leaveEvent(arg__1); -} -int PythonQtShell_QWebView::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWebView::metric(arg__1); -} -QSize PythonQtShell_QWebView::minimumSizeHint() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWebView::minimumSizeHint(); -} -void PythonQtShell_QWebView::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWebView::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QWebView::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWebView::mouseMoveEvent(arg__1); -} -void PythonQtShell_QWebView::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWebView::mousePressEvent(arg__1); -} -void PythonQtShell_QWebView::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWebView::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QWebView::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWebView::moveEvent(arg__1); -} -QPaintEngine* PythonQtShell_QWebView::paintEngine() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QWebView::paintEngine(); -} -void PythonQtShell_QWebView::paintEvent(QPaintEvent* ev) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWebView::paintEvent(ev); -} -void PythonQtShell_QWebView::resizeEvent(QResizeEvent* e) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWebView::resizeEvent(e); -} -void PythonQtShell_QWebView::showEvent(QShowEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWebView::showEvent(arg__1); -} -void PythonQtShell_QWebView::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWebView::tabletEvent(arg__1); -} -void PythonQtShell_QWebView::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; - } -} - QWebView::timerEvent(arg__1); -} -void PythonQtShell_QWebView::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QWebView::wheelEvent(arg__1); -} -QWebView* PythonQtWrapper_QWebView::new_QWebView(QWidget* parent) -{ -return new PythonQtShell_QWebView(parent); } - -void PythonQtWrapper_QWebView::focusOutEvent(QWebView* theWrappedObject, QFocusEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWebView*)theWrappedObject)->promoted_focusOutEvent(arg__1)); -} - -void PythonQtWrapper_QWebView::setHtml(QWebView* theWrappedObject, const QString& html, const QUrl& baseUrl) -{ - ( theWrappedObject->setHtml(html, baseUrl)); -} - -void PythonQtWrapper_QWebView::dragEnterEvent(QWebView* theWrappedObject, QDragEnterEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWebView*)theWrappedObject)->promoted_dragEnterEvent(arg__1)); -} - -void PythonQtWrapper_QWebView::mouseReleaseEvent(QWebView* theWrappedObject, QMouseEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWebView*)theWrappedObject)->promoted_mouseReleaseEvent(arg__1)); -} - -void PythonQtWrapper_QWebView::resizeEvent(QWebView* theWrappedObject, QResizeEvent* e) -{ - ( ((PythonQtPublicPromoter_QWebView*)theWrappedObject)->promoted_resizeEvent(e)); -} - -bool PythonQtWrapper_QWebView::isModified(QWebView* theWrappedObject) const -{ - return ( theWrappedObject->isModified()); -} - -void PythonQtWrapper_QWebView::triggerPageAction(QWebView* theWrappedObject, QWebPage::WebAction action, bool checked) -{ - ( theWrappedObject->triggerPageAction(action, checked)); -} - -void PythonQtWrapper_QWebView::paintEvent(QWebView* theWrappedObject, QPaintEvent* ev) -{ - ( ((PythonQtPublicPromoter_QWebView*)theWrappedObject)->promoted_paintEvent(ev)); -} - -bool PythonQtWrapper_QWebView::findText(QWebView* theWrappedObject, const QString& subString, QWebPage::FindFlags options) -{ - return ( theWrappedObject->findText(subString, options)); -} - -bool PythonQtWrapper_QWebView::focusNextPrevChild(QWebView* theWrappedObject, bool next) -{ - return ( ((PythonQtPublicPromoter_QWebView*)theWrappedObject)->promoted_focusNextPrevChild(next)); -} - -void PythonQtWrapper_QWebView::dropEvent(QWebView* theWrappedObject, QDropEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWebView*)theWrappedObject)->promoted_dropEvent(arg__1)); -} - -QWebHistory* PythonQtWrapper_QWebView::history(QWebView* theWrappedObject) const -{ - return ( theWrappedObject->history()); -} - -void PythonQtWrapper_QWebView::setUrl(QWebView* theWrappedObject, const QUrl& url) -{ - ( theWrappedObject->setUrl(url)); -} - -void PythonQtWrapper_QWebView::mouseMoveEvent(QWebView* theWrappedObject, QMouseEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWebView*)theWrappedObject)->promoted_mouseMoveEvent(arg__1)); -} - -QWebPage* PythonQtWrapper_QWebView::page(QWebView* theWrappedObject) const -{ - return ( theWrappedObject->page()); -} - -void PythonQtWrapper_QWebView::dragMoveEvent(QWebView* theWrappedObject, QDragMoveEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWebView*)theWrappedObject)->promoted_dragMoveEvent(arg__1)); -} - -void PythonQtWrapper_QWebView::keyPressEvent(QWebView* theWrappedObject, QKeyEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWebView*)theWrappedObject)->promoted_keyPressEvent(arg__1)); -} - -QWebSettings* PythonQtWrapper_QWebView::settings(QWebView* theWrappedObject) const -{ - return ( theWrappedObject->settings()); -} - -bool PythonQtWrapper_QWebView::event(QWebView* theWrappedObject, QEvent* arg__1) -{ - return ( ((PythonQtPublicPromoter_QWebView*)theWrappedObject)->promoted_event(arg__1)); -} - -QString PythonQtWrapper_QWebView::selectedText(QWebView* theWrappedObject) const -{ - return ( theWrappedObject->selectedText()); -} - -void PythonQtWrapper_QWebView::mousePressEvent(QWebView* theWrappedObject, QMouseEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWebView*)theWrappedObject)->promoted_mousePressEvent(arg__1)); -} - -void PythonQtWrapper_QWebView::keyReleaseEvent(QWebView* theWrappedObject, QKeyEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWebView*)theWrappedObject)->promoted_keyReleaseEvent(arg__1)); -} - -QUrl PythonQtWrapper_QWebView::url(QWebView* theWrappedObject) const -{ - return ( theWrappedObject->url()); -} - -void PythonQtWrapper_QWebView::mouseDoubleClickEvent(QWebView* theWrappedObject, QMouseEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWebView*)theWrappedObject)->promoted_mouseDoubleClickEvent(arg__1)); -} - -QIcon PythonQtWrapper_QWebView::icon(QWebView* theWrappedObject) const -{ - return ( theWrappedObject->icon()); -} - -QWebView* PythonQtWrapper_QWebView::createWindow(QWebView* theWrappedObject, QWebPage::WebWindowType type) -{ - return ( ((PythonQtPublicPromoter_QWebView*)theWrappedObject)->promoted_createWindow(type)); -} - -void PythonQtWrapper_QWebView::focusInEvent(QWebView* theWrappedObject, QFocusEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWebView*)theWrappedObject)->promoted_focusInEvent(arg__1)); -} - -void PythonQtWrapper_QWebView::setPage(QWebView* theWrappedObject, QWebPage* page) -{ - ( theWrappedObject->setPage(page)); -} - -void PythonQtWrapper_QWebView::load(QWebView* theWrappedObject, const QUrl& url) -{ - ( theWrappedObject->load(url)); -} - -void PythonQtWrapper_QWebView::contextMenuEvent(QWebView* theWrappedObject, QContextMenuEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWebView*)theWrappedObject)->promoted_contextMenuEvent(arg__1)); -} - -QString PythonQtWrapper_QWebView::title(QWebView* theWrappedObject) const -{ - return ( theWrappedObject->title()); -} - -QSize PythonQtWrapper_QWebView::sizeHint(QWebView* theWrappedObject) const -{ - return ( theWrappedObject->sizeHint()); -} - -QAction* PythonQtWrapper_QWebView::pageAction(QWebView* theWrappedObject, QWebPage::WebAction action) const -{ - return ( theWrappedObject->pageAction(action)); -} - -QVariant PythonQtWrapper_QWebView::inputMethodQuery(QWebView* theWrappedObject, Qt::InputMethodQuery property) const -{ - return ( ((PythonQtPublicPromoter_QWebView*)theWrappedObject)->promoted_inputMethodQuery(property)); -} - -void PythonQtWrapper_QWebView::inputMethodEvent(QWebView* theWrappedObject, QInputMethodEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWebView*)theWrappedObject)->promoted_inputMethodEvent(arg__1)); -} - -void PythonQtWrapper_QWebView::load(QWebView* theWrappedObject, const QNetworkRequest& request, QNetworkAccessManager::Operation operation, const QByteArray& body) -{ - ( theWrappedObject->load(request, operation, body)); -} - -void PythonQtWrapper_QWebView::changeEvent(QWebView* theWrappedObject, QEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWebView*)theWrappedObject)->promoted_changeEvent(arg__1)); -} - -void PythonQtWrapper_QWebView::setContent(QWebView* theWrappedObject, const QByteArray& data, const QString& mimeType, const QUrl& baseUrl) -{ - ( theWrappedObject->setContent(data, mimeType, baseUrl)); -} - -void PythonQtWrapper_QWebView::dragLeaveEvent(QWebView* theWrappedObject, QDragLeaveEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWebView*)theWrappedObject)->promoted_dragLeaveEvent(arg__1)); -} - -void PythonQtWrapper_QWebView::setTextSizeMultiplier(QWebView* theWrappedObject, qreal factor) -{ - ( theWrappedObject->setTextSizeMultiplier(factor)); -} - -qreal PythonQtWrapper_QWebView::textSizeMultiplier(QWebView* theWrappedObject) const -{ - return ( theWrappedObject->textSizeMultiplier()); -} - -void PythonQtWrapper_QWebView::wheelEvent(QWebView* theWrappedObject, QWheelEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWebView*)theWrappedObject)->promoted_wheelEvent(arg__1)); -} - diff --git a/generated_cpp/com_trolltech_qt_webkit/PythonQtWrapper_QWebView.h b/generated_cpp/com_trolltech_qt_webkit/PythonQtWrapper_QWebView.h deleted file mode 100644 index 8aea033..0000000 --- a/generated_cpp/com_trolltech_qt_webkit/PythonQtWrapper_QWebView.h +++ /dev/null @@ -1,167 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QWEBVIEW_H -#define PYTHONQTWRAPPER_QWEBVIEW_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QWebView : public QWebView -{ -public: - PythonQtShell_QWebView(QWidget* parent = 0):QWebView(parent),_wrapper(NULL) {}; - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual QWebView* createWindow(QWebPage::WebWindowType type); -virtual void customEvent(QEvent* arg__1); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery property) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void languageChange(); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* arg__1); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* ev); -virtual void resizeEvent(QResizeEvent* e); -virtual void showEvent(QShowEvent* arg__1); -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QWebView : public QWebView -{ public: -inline void promoted_focusOutEvent(QFocusEvent* arg__1) { QWebView::focusOutEvent(arg__1); } -inline void promoted_dragEnterEvent(QDragEnterEvent* arg__1) { QWebView::dragEnterEvent(arg__1); } -inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { QWebView::mouseReleaseEvent(arg__1); } -inline void promoted_resizeEvent(QResizeEvent* e) { QWebView::resizeEvent(e); } -inline void promoted_paintEvent(QPaintEvent* ev) { QWebView::paintEvent(ev); } -inline bool promoted_focusNextPrevChild(bool next) { return QWebView::focusNextPrevChild(next); } -inline void promoted_dropEvent(QDropEvent* arg__1) { QWebView::dropEvent(arg__1); } -inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { QWebView::mouseMoveEvent(arg__1); } -inline void promoted_dragMoveEvent(QDragMoveEvent* arg__1) { QWebView::dragMoveEvent(arg__1); } -inline void promoted_keyPressEvent(QKeyEvent* arg__1) { QWebView::keyPressEvent(arg__1); } -inline bool promoted_event(QEvent* arg__1) { return QWebView::event(arg__1); } -inline void promoted_mousePressEvent(QMouseEvent* arg__1) { QWebView::mousePressEvent(arg__1); } -inline void promoted_keyReleaseEvent(QKeyEvent* arg__1) { QWebView::keyReleaseEvent(arg__1); } -inline void promoted_mouseDoubleClickEvent(QMouseEvent* arg__1) { QWebView::mouseDoubleClickEvent(arg__1); } -inline QWebView* promoted_createWindow(QWebPage::WebWindowType type) { return QWebView::createWindow(type); } -inline void promoted_focusInEvent(QFocusEvent* arg__1) { QWebView::focusInEvent(arg__1); } -inline void promoted_contextMenuEvent(QContextMenuEvent* arg__1) { QWebView::contextMenuEvent(arg__1); } -inline QVariant promoted_inputMethodQuery(Qt::InputMethodQuery property) const { return QWebView::inputMethodQuery(property); } -inline void promoted_inputMethodEvent(QInputMethodEvent* arg__1) { QWebView::inputMethodEvent(arg__1); } -inline void promoted_changeEvent(QEvent* arg__1) { QWebView::changeEvent(arg__1); } -inline void promoted_dragLeaveEvent(QDragLeaveEvent* arg__1) { QWebView::dragLeaveEvent(arg__1); } -inline void promoted_wheelEvent(QWheelEvent* arg__1) { QWebView::wheelEvent(arg__1); } -}; - -class PythonQtWrapper_QWebView : public QObject -{ Q_OBJECT -public: -public slots: -QWebView* new_QWebView(QWidget* parent = 0); -void delete_QWebView(QWebView* obj) { delete obj; } - void focusOutEvent(QWebView* theWrappedObject, QFocusEvent* arg__1); - void setHtml(QWebView* theWrappedObject, const QString& html, const QUrl& baseUrl = QUrl()); - void dragEnterEvent(QWebView* theWrappedObject, QDragEnterEvent* arg__1); - void mouseReleaseEvent(QWebView* theWrappedObject, QMouseEvent* arg__1); - void resizeEvent(QWebView* theWrappedObject, QResizeEvent* e); - bool isModified(QWebView* theWrappedObject) const; - void triggerPageAction(QWebView* theWrappedObject, QWebPage::WebAction action, bool checked = false); - void paintEvent(QWebView* theWrappedObject, QPaintEvent* ev); - bool findText(QWebView* theWrappedObject, const QString& subString, QWebPage::FindFlags options = 0); - bool focusNextPrevChild(QWebView* theWrappedObject, bool next); - void dropEvent(QWebView* theWrappedObject, QDropEvent* arg__1); - QWebHistory* history(QWebView* theWrappedObject) const; - void setUrl(QWebView* theWrappedObject, const QUrl& url); - void mouseMoveEvent(QWebView* theWrappedObject, QMouseEvent* arg__1); - QWebPage* page(QWebView* theWrappedObject) const; - void dragMoveEvent(QWebView* theWrappedObject, QDragMoveEvent* arg__1); - void keyPressEvent(QWebView* theWrappedObject, QKeyEvent* arg__1); - QWebSettings* settings(QWebView* theWrappedObject) const; - bool event(QWebView* theWrappedObject, QEvent* arg__1); - QString selectedText(QWebView* theWrappedObject) const; - void mousePressEvent(QWebView* theWrappedObject, QMouseEvent* arg__1); - void keyReleaseEvent(QWebView* theWrappedObject, QKeyEvent* arg__1); - QUrl url(QWebView* theWrappedObject) const; - void mouseDoubleClickEvent(QWebView* theWrappedObject, QMouseEvent* arg__1); - QIcon icon(QWebView* theWrappedObject) const; - QWebView* createWindow(QWebView* theWrappedObject, QWebPage::WebWindowType type); - void focusInEvent(QWebView* theWrappedObject, QFocusEvent* arg__1); - void setPage(QWebView* theWrappedObject, QWebPage* page); - void load(QWebView* theWrappedObject, const QUrl& url); - void contextMenuEvent(QWebView* theWrappedObject, QContextMenuEvent* arg__1); - QString title(QWebView* theWrappedObject) const; - QSize sizeHint(QWebView* theWrappedObject) const; - QAction* pageAction(QWebView* theWrappedObject, QWebPage::WebAction action) const; - QVariant inputMethodQuery(QWebView* theWrappedObject, Qt::InputMethodQuery property) const; - void inputMethodEvent(QWebView* theWrappedObject, QInputMethodEvent* arg__1); - void load(QWebView* theWrappedObject, const QNetworkRequest& request, QNetworkAccessManager::Operation operation = QNetworkAccessManager::GetOperation, const QByteArray& body = QByteArray()); - void changeEvent(QWebView* theWrappedObject, QEvent* arg__1); - void setContent(QWebView* theWrappedObject, const QByteArray& data, const QString& mimeType = QString(), const QUrl& baseUrl = QUrl()); - void dragLeaveEvent(QWebView* theWrappedObject, QDragLeaveEvent* arg__1); - void setTextSizeMultiplier(QWebView* theWrappedObject, qreal factor); - qreal textSizeMultiplier(QWebView* theWrappedObject) const; - void wheelEvent(QWebView* theWrappedObject, QWheelEvent* arg__1); -}; - -#endif // PYTHONQTWRAPPER_QWEBVIEW_H diff --git a/generated_cpp/com_trolltech_qt_webkit/com_trolltech_qt_webkit.pri b/generated_cpp/com_trolltech_qt_webkit/com_trolltech_qt_webkit.pri deleted file mode 100644 index 21f8b78..0000000 --- a/generated_cpp/com_trolltech_qt_webkit/com_trolltech_qt_webkit.pri +++ /dev/null @@ -1,18 +0,0 @@ -HEADERS += \ - $$PWD/PythonQtWrapper_QWebFrame.h \ - $$PWD/PythonQtWrapper_QWebHistoryInterface.h \ - $$PWD/PythonQtWrapper_QWebHitTestResult.h \ - $$PWD/PythonQtWrapper_QWebPage.h \ - $$PWD/PythonQtWrapper_QWebPluginFactory.h \ - $$PWD/PythonQtWrapper_QWebSettings.h \ - $$PWD/PythonQtWrapper_QWebView.h \ - -SOURCES += \ - $$PWD/PythonQtWrapper_QWebFrame.cpp \ - $$PWD/PythonQtWrapper_QWebHistoryInterface.cpp \ - $$PWD/PythonQtWrapper_QWebHitTestResult.cpp \ - $$PWD/PythonQtWrapper_QWebPage.cpp \ - $$PWD/PythonQtWrapper_QWebPluginFactory.cpp \ - $$PWD/PythonQtWrapper_QWebSettings.cpp \ - $$PWD/PythonQtWrapper_QWebView.cpp \ - $$PWD/com_trolltech_qt_webkit_init.cpp diff --git a/generated_cpp/com_trolltech_qt_webkit/com_trolltech_qt_webkit_init.cpp b/generated_cpp/com_trolltech_qt_webkit/com_trolltech_qt_webkit_init.cpp deleted file mode 100644 index 6eacde2..0000000 --- a/generated_cpp/com_trolltech_qt_webkit/com_trolltech_qt_webkit_init.cpp +++ /dev/null @@ -1,20 +0,0 @@ -#include -#include "PythonQtWrapper_QWebSettings.h" -#include "PythonQtWrapper_QWebHitTestResult.h" -#include "PythonQtWrapper_QWebPluginFactory.h" -#include "PythonQtWrapper_QWebFrame.h" -#include "PythonQtWrapper_QWebPage.h" -#include "PythonQtWrapper_QWebHistoryInterface.h" -#include "PythonQtWrapper_QWebView.h" - - -void PythonQt_init_QtWebKit() { -PythonQt::self()->registerCPPClass("QWebSettings", "", "QtWebKit", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QWebHitTestResult", "", "QtWebKit", PythonQtCreateObject); -PythonQt::self()->registerClass(&QWebPluginFactory::staticMetaObject, "QtWebKit", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QWebFrame::staticMetaObject, "QtWebKit", PythonQtCreateObject); -PythonQt::self()->registerClass(&QWebPage::staticMetaObject, "QtWebKit", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QWebHistoryInterface::staticMetaObject, "QtWebKit", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QWebView::staticMetaObject, "QtWebKit", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); - -} diff --git a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomAttr.cpp b/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomAttr.cpp deleted file mode 100644 index 4669173..0000000 --- a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomAttr.cpp +++ /dev/null @@ -1,42 +0,0 @@ -#include "PythonQtWrapper_QDomAttr.h" - -#include -#include -#include -#include -#include -#include - -QDomAttr* PythonQtWrapper_QDomAttr::new_QDomAttr() -{ -return new QDomAttr(); } - -QDomAttr* PythonQtWrapper_QDomAttr::new_QDomAttr(const QDomAttr& x) -{ -return new QDomAttr(x); } - -QString PythonQtWrapper_QDomAttr::name(QDomAttr* theWrappedObject) const -{ - return ( theWrappedObject->name()); -} - -void PythonQtWrapper_QDomAttr::setValue(QDomAttr* theWrappedObject, const QString& arg__1) -{ - ( theWrappedObject->setValue(arg__1)); -} - -bool PythonQtWrapper_QDomAttr::specified(QDomAttr* theWrappedObject) const -{ - return ( theWrappedObject->specified()); -} - -QDomElement PythonQtWrapper_QDomAttr::ownerElement(QDomAttr* theWrappedObject) const -{ - return ( theWrappedObject->ownerElement()); -} - -QString PythonQtWrapper_QDomAttr::value(QDomAttr* theWrappedObject) const -{ - return ( theWrappedObject->value()); -} - diff --git a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomAttr.h b/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomAttr.h deleted file mode 100644 index 5ccbc3d..0000000 --- a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomAttr.h +++ /dev/null @@ -1,27 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QDOMATTR_H -#define PYTHONQTWRAPPER_QDOMATTR_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtWrapper_QDomAttr : public QObject -{ Q_OBJECT -public: -public slots: -QDomAttr* new_QDomAttr(); -QDomAttr* new_QDomAttr(const QDomAttr& x); -void delete_QDomAttr(QDomAttr* obj) { delete obj; } - QString name(QDomAttr* theWrappedObject) const; - void setValue(QDomAttr* theWrappedObject, const QString& arg__1); - bool specified(QDomAttr* theWrappedObject) const; - QDomElement ownerElement(QDomAttr* theWrappedObject) const; - QString value(QDomAttr* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QDOMATTR_H diff --git a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomCDATASection.cpp b/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomCDATASection.cpp deleted file mode 100644 index c8aa027..0000000 --- a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomCDATASection.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "PythonQtWrapper_QDomCDATASection.h" - -#include -#include -#include -#include -#include -#include - -QDomCDATASection* PythonQtWrapper_QDomCDATASection::new_QDomCDATASection() -{ -return new QDomCDATASection(); } - -QDomCDATASection* PythonQtWrapper_QDomCDATASection::new_QDomCDATASection(const QDomCDATASection& x) -{ -return new QDomCDATASection(x); } - diff --git a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomCDATASection.h b/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomCDATASection.h deleted file mode 100644 index dc1d820..0000000 --- a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomCDATASection.h +++ /dev/null @@ -1,22 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QDOMCDATASECTION_H -#define PYTHONQTWRAPPER_QDOMCDATASECTION_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtWrapper_QDomCDATASection : public QObject -{ Q_OBJECT -public: -public slots: -QDomCDATASection* new_QDomCDATASection(); -QDomCDATASection* new_QDomCDATASection(const QDomCDATASection& x); -void delete_QDomCDATASection(QDomCDATASection* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QDOMCDATASECTION_H diff --git a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomCharacterData.cpp b/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomCharacterData.cpp deleted file mode 100644 index c0c2c3e..0000000 --- a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomCharacterData.cpp +++ /dev/null @@ -1,57 +0,0 @@ -#include "PythonQtWrapper_QDomCharacterData.h" - -#include -#include -#include -#include -#include -#include - -QDomCharacterData* PythonQtWrapper_QDomCharacterData::new_QDomCharacterData() -{ -return new QDomCharacterData(); } - -QDomCharacterData* PythonQtWrapper_QDomCharacterData::new_QDomCharacterData(const QDomCharacterData& x) -{ -return new QDomCharacterData(x); } - -QString PythonQtWrapper_QDomCharacterData::substringData(QDomCharacterData* theWrappedObject, unsigned long offset, unsigned long count) -{ - return ( theWrappedObject->substringData(offset, count)); -} - -void PythonQtWrapper_QDomCharacterData::replaceData(QDomCharacterData* theWrappedObject, unsigned long offset, unsigned long count, const QString& arg) -{ - ( theWrappedObject->replaceData(offset, count, arg)); -} - -QString PythonQtWrapper_QDomCharacterData::data(QDomCharacterData* theWrappedObject) const -{ - return ( theWrappedObject->data()); -} - -void PythonQtWrapper_QDomCharacterData::deleteData(QDomCharacterData* theWrappedObject, unsigned long offset, unsigned long count) -{ - ( theWrappedObject->deleteData(offset, count)); -} - -void PythonQtWrapper_QDomCharacterData::setData(QDomCharacterData* theWrappedObject, const QString& arg__1) -{ - ( theWrappedObject->setData(arg__1)); -} - -void PythonQtWrapper_QDomCharacterData::appendData(QDomCharacterData* theWrappedObject, const QString& arg) -{ - ( theWrappedObject->appendData(arg)); -} - -uint PythonQtWrapper_QDomCharacterData::length(QDomCharacterData* theWrappedObject) const -{ - return ( theWrappedObject->length()); -} - -void PythonQtWrapper_QDomCharacterData::insertData(QDomCharacterData* theWrappedObject, unsigned long offset, const QString& arg) -{ - ( theWrappedObject->insertData(offset, arg)); -} - diff --git a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomCharacterData.h b/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomCharacterData.h deleted file mode 100644 index 72771c1..0000000 --- a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomCharacterData.h +++ /dev/null @@ -1,30 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QDOMCHARACTERDATA_H -#define PYTHONQTWRAPPER_QDOMCHARACTERDATA_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtWrapper_QDomCharacterData : public QObject -{ Q_OBJECT -public: -public slots: -QDomCharacterData* new_QDomCharacterData(); -QDomCharacterData* new_QDomCharacterData(const QDomCharacterData& x); -void delete_QDomCharacterData(QDomCharacterData* obj) { delete obj; } - QString substringData(QDomCharacterData* theWrappedObject, unsigned long offset, unsigned long count); - void replaceData(QDomCharacterData* theWrappedObject, unsigned long offset, unsigned long count, const QString& arg); - QString data(QDomCharacterData* theWrappedObject) const; - void deleteData(QDomCharacterData* theWrappedObject, unsigned long offset, unsigned long count); - void setData(QDomCharacterData* theWrappedObject, const QString& arg__1); - void appendData(QDomCharacterData* theWrappedObject, const QString& arg); - uint length(QDomCharacterData* theWrappedObject) const; - void insertData(QDomCharacterData* theWrappedObject, unsigned long offset, const QString& arg); -}; - -#endif // PYTHONQTWRAPPER_QDOMCHARACTERDATA_H diff --git a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomComment.cpp b/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomComment.cpp deleted file mode 100644 index d9a9180..0000000 --- a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomComment.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "PythonQtWrapper_QDomComment.h" - -#include -#include -#include -#include -#include -#include - -QDomComment* PythonQtWrapper_QDomComment::new_QDomComment() -{ -return new QDomComment(); } - -QDomComment* PythonQtWrapper_QDomComment::new_QDomComment(const QDomComment& x) -{ -return new QDomComment(x); } - diff --git a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomComment.h b/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomComment.h deleted file mode 100644 index 9567a0c..0000000 --- a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomComment.h +++ /dev/null @@ -1,22 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QDOMCOMMENT_H -#define PYTHONQTWRAPPER_QDOMCOMMENT_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtWrapper_QDomComment : public QObject -{ Q_OBJECT -public: -public slots: -QDomComment* new_QDomComment(); -QDomComment* new_QDomComment(const QDomComment& x); -void delete_QDomComment(QDomComment* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QDOMCOMMENT_H diff --git a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomDocument.cpp b/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomDocument.cpp deleted file mode 100644 index 509c56d..0000000 --- a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomDocument.cpp +++ /dev/null @@ -1,158 +0,0 @@ -#include "PythonQtWrapper_QDomDocument.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QDomDocument* PythonQtWrapper_QDomDocument::new_QDomDocument() -{ -return new QDomDocument(); } - -QDomDocument* PythonQtWrapper_QDomDocument::new_QDomDocument(const QDomDocument& x) -{ -return new QDomDocument(x); } - -QDomDocument* PythonQtWrapper_QDomDocument::new_QDomDocument(const QDomDocumentType& doctype) -{ -return new QDomDocument(doctype); } - -QDomDocument* PythonQtWrapper_QDomDocument::new_QDomDocument(const QString& name) -{ -return new QDomDocument(name); } - -bool PythonQtWrapper_QDomDocument::setContent(QDomDocument* theWrappedObject, const QByteArray& text, QString* errorMsg, int* errorLine, int* errorColumn) -{ - return ( theWrappedObject->setContent(text, errorMsg, errorLine, errorColumn)); -} - -QDomElement PythonQtWrapper_QDomDocument::createElement(QDomDocument* theWrappedObject, const QString& tagName) -{ - return ( theWrappedObject->createElement(tagName)); -} - -QDomAttr PythonQtWrapper_QDomDocument::createAttribute(QDomDocument* theWrappedObject, const QString& name) -{ - return ( theWrappedObject->createAttribute(name)); -} - -QDomDocumentFragment PythonQtWrapper_QDomDocument::createDocumentFragment(QDomDocument* theWrappedObject) -{ - return ( theWrappedObject->createDocumentFragment()); -} - -QDomNodeList PythonQtWrapper_QDomDocument::elementsByTagName(QDomDocument* theWrappedObject, const QString& tagname) const -{ - return ( theWrappedObject->elementsByTagName(tagname)); -} - -bool PythonQtWrapper_QDomDocument::setContent(QDomDocument* theWrappedObject, const QString& text, QString* errorMsg, int* errorLine, int* errorColumn) -{ - return ( theWrappedObject->setContent(text, errorMsg, errorLine, errorColumn)); -} - -QDomCDATASection PythonQtWrapper_QDomDocument::createCDATASection(QDomDocument* theWrappedObject, const QString& data) -{ - return ( theWrappedObject->createCDATASection(data)); -} - -QDomNode PythonQtWrapper_QDomDocument::importNode(QDomDocument* theWrappedObject, const QDomNode& importedNode, bool deep) -{ - return ( theWrappedObject->importNode(importedNode, deep)); -} - -bool PythonQtWrapper_QDomDocument::setContent(QDomDocument* theWrappedObject, QXmlInputSource* source, QXmlReader* reader, QString* errorMsg, int* errorLine, int* errorColumn) -{ - return ( theWrappedObject->setContent(source, reader, errorMsg, errorLine, errorColumn)); -} - -QDomText PythonQtWrapper_QDomDocument::createTextNode(QDomDocument* theWrappedObject, const QString& data) -{ - return ( theWrappedObject->createTextNode(data)); -} - -QDomComment PythonQtWrapper_QDomDocument::createComment(QDomDocument* theWrappedObject, const QString& data) -{ - return ( theWrappedObject->createComment(data)); -} - -QDomAttr PythonQtWrapper_QDomDocument::createAttributeNS(QDomDocument* theWrappedObject, const QString& nsURI, const QString& qName) -{ - return ( theWrappedObject->createAttributeNS(nsURI, qName)); -} - -QByteArray PythonQtWrapper_QDomDocument::toByteArray(QDomDocument* theWrappedObject, int arg__1) const -{ - return ( theWrappedObject->toByteArray(arg__1)); -} - -QDomNodeList PythonQtWrapper_QDomDocument::elementsByTagNameNS(QDomDocument* theWrappedObject, const QString& nsURI, const QString& localName) -{ - return ( theWrappedObject->elementsByTagNameNS(nsURI, localName)); -} - -QDomElement PythonQtWrapper_QDomDocument::documentElement(QDomDocument* theWrappedObject) const -{ - return ( theWrappedObject->documentElement()); -} - -QDomProcessingInstruction PythonQtWrapper_QDomDocument::createProcessingInstruction(QDomDocument* theWrappedObject, const QString& target, const QString& data) -{ - return ( theWrappedObject->createProcessingInstruction(target, data)); -} - -QDomDocumentType PythonQtWrapper_QDomDocument::doctype(QDomDocument* theWrappedObject) const -{ - return ( theWrappedObject->doctype()); -} - -QDomEntityReference PythonQtWrapper_QDomDocument::createEntityReference(QDomDocument* theWrappedObject, const QString& name) -{ - return ( theWrappedObject->createEntityReference(name)); -} - -bool PythonQtWrapper_QDomDocument::setContent(QDomDocument* theWrappedObject, const QByteArray& text, bool namespaceProcessing, QString* errorMsg, int* errorLine, int* errorColumn) -{ - return ( theWrappedObject->setContent(text, namespaceProcessing, errorMsg, errorLine, errorColumn)); -} - -bool PythonQtWrapper_QDomDocument::setContent(QDomDocument* theWrappedObject, const QString& text, bool namespaceProcessing, QString* errorMsg, int* errorLine, int* errorColumn) -{ - return ( theWrappedObject->setContent(text, namespaceProcessing, errorMsg, errorLine, errorColumn)); -} - -QString PythonQtWrapper_QDomDocument::toString(QDomDocument* theWrappedObject, int arg__1) const -{ - return ( theWrappedObject->toString(arg__1)); -} - -bool PythonQtWrapper_QDomDocument::setContent(QDomDocument* theWrappedObject, QIODevice* dev, bool namespaceProcessing, QString* errorMsg, int* errorLine, int* errorColumn) -{ - return ( theWrappedObject->setContent(dev, namespaceProcessing, errorMsg, errorLine, errorColumn)); -} - -QDomElement PythonQtWrapper_QDomDocument::elementById(QDomDocument* theWrappedObject, const QString& elementId) -{ - return ( theWrappedObject->elementById(elementId)); -} - -bool PythonQtWrapper_QDomDocument::setContent(QDomDocument* theWrappedObject, QIODevice* dev, QString* errorMsg, int* errorLine, int* errorColumn) -{ - return ( theWrappedObject->setContent(dev, errorMsg, errorLine, errorColumn)); -} - -QDomImplementation PythonQtWrapper_QDomDocument::implementation(QDomDocument* theWrappedObject) const -{ - return ( theWrappedObject->implementation()); -} - -QDomElement PythonQtWrapper_QDomDocument::createElementNS(QDomDocument* theWrappedObject, const QString& nsURI, const QString& qName) -{ - return ( theWrappedObject->createElementNS(nsURI, qName)); -} - diff --git a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomDocument.h b/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomDocument.h deleted file mode 100644 index 6866f89..0000000 --- a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomDocument.h +++ /dev/null @@ -1,53 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QDOMDOCUMENT_H -#define PYTHONQTWRAPPER_QDOMDOCUMENT_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include - -class PythonQtWrapper_QDomDocument : public QObject -{ Q_OBJECT -public: -public slots: -QDomDocument* new_QDomDocument(); -QDomDocument* new_QDomDocument(const QDomDocument& x); -QDomDocument* new_QDomDocument(const QDomDocumentType& doctype); -QDomDocument* new_QDomDocument(const QString& name); -void delete_QDomDocument(QDomDocument* obj) { delete obj; } - bool setContent(QDomDocument* theWrappedObject, const QByteArray& text, QString* errorMsg = 0, int* errorLine = 0, int* errorColumn = 0); - QDomElement createElement(QDomDocument* theWrappedObject, const QString& tagName); - QDomAttr createAttribute(QDomDocument* theWrappedObject, const QString& name); - QDomDocumentFragment createDocumentFragment(QDomDocument* theWrappedObject); - QDomNodeList elementsByTagName(QDomDocument* theWrappedObject, const QString& tagname) const; - bool setContent(QDomDocument* theWrappedObject, const QString& text, QString* errorMsg = 0, int* errorLine = 0, int* errorColumn = 0); - QDomCDATASection createCDATASection(QDomDocument* theWrappedObject, const QString& data); - QDomNode importNode(QDomDocument* theWrappedObject, const QDomNode& importedNode, bool deep); - bool setContent(QDomDocument* theWrappedObject, QXmlInputSource* source, QXmlReader* reader, QString* errorMsg = 0, int* errorLine = 0, int* errorColumn = 0); - QDomText createTextNode(QDomDocument* theWrappedObject, const QString& data); - QDomComment createComment(QDomDocument* theWrappedObject, const QString& data); - QDomAttr createAttributeNS(QDomDocument* theWrappedObject, const QString& nsURI, const QString& qName); - QByteArray toByteArray(QDomDocument* theWrappedObject, int arg__1 = 1) const; - QDomNodeList elementsByTagNameNS(QDomDocument* theWrappedObject, const QString& nsURI, const QString& localName); - QDomElement documentElement(QDomDocument* theWrappedObject) const; - QDomProcessingInstruction createProcessingInstruction(QDomDocument* theWrappedObject, const QString& target, const QString& data); - QDomDocumentType doctype(QDomDocument* theWrappedObject) const; - QDomEntityReference createEntityReference(QDomDocument* theWrappedObject, const QString& name); - bool setContent(QDomDocument* theWrappedObject, const QByteArray& text, bool namespaceProcessing, QString* errorMsg = 0, int* errorLine = 0, int* errorColumn = 0); - bool setContent(QDomDocument* theWrappedObject, const QString& text, bool namespaceProcessing, QString* errorMsg = 0, int* errorLine = 0, int* errorColumn = 0); - QString toString(QDomDocument* theWrappedObject, int arg__1 = 1) const; - bool setContent(QDomDocument* theWrappedObject, QIODevice* dev, bool namespaceProcessing, QString* errorMsg = 0, int* errorLine = 0, int* errorColumn = 0); - QDomElement elementById(QDomDocument* theWrappedObject, const QString& elementId); - bool setContent(QDomDocument* theWrappedObject, QIODevice* dev, QString* errorMsg = 0, int* errorLine = 0, int* errorColumn = 0); - QDomImplementation implementation(QDomDocument* theWrappedObject) const; - QDomElement createElementNS(QDomDocument* theWrappedObject, const QString& nsURI, const QString& qName); -}; - -#endif // PYTHONQTWRAPPER_QDOMDOCUMENT_H diff --git a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomDocumentFragment.cpp b/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomDocumentFragment.cpp deleted file mode 100644 index c432000..0000000 --- a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomDocumentFragment.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "PythonQtWrapper_QDomDocumentFragment.h" - -#include -#include -#include -#include -#include -#include - -QDomDocumentFragment* PythonQtWrapper_QDomDocumentFragment::new_QDomDocumentFragment() -{ -return new QDomDocumentFragment(); } - -QDomDocumentFragment* PythonQtWrapper_QDomDocumentFragment::new_QDomDocumentFragment(const QDomDocumentFragment& x) -{ -return new QDomDocumentFragment(x); } - diff --git a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomDocumentFragment.h b/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomDocumentFragment.h deleted file mode 100644 index 3aba0b4..0000000 --- a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomDocumentFragment.h +++ /dev/null @@ -1,22 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QDOMDOCUMENTFRAGMENT_H -#define PYTHONQTWRAPPER_QDOMDOCUMENTFRAGMENT_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtWrapper_QDomDocumentFragment : public QObject -{ Q_OBJECT -public: -public slots: -QDomDocumentFragment* new_QDomDocumentFragment(); -QDomDocumentFragment* new_QDomDocumentFragment(const QDomDocumentFragment& x); -void delete_QDomDocumentFragment(QDomDocumentFragment* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QDOMDOCUMENTFRAGMENT_H diff --git a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomDocumentType.cpp b/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomDocumentType.cpp deleted file mode 100644 index 141b62a..0000000 --- a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomDocumentType.cpp +++ /dev/null @@ -1,47 +0,0 @@ -#include "PythonQtWrapper_QDomDocumentType.h" - -#include -#include -#include -#include -#include -#include - -QDomDocumentType* PythonQtWrapper_QDomDocumentType::new_QDomDocumentType() -{ -return new QDomDocumentType(); } - -QDomDocumentType* PythonQtWrapper_QDomDocumentType::new_QDomDocumentType(const QDomDocumentType& x) -{ -return new QDomDocumentType(x); } - -QDomNamedNodeMap PythonQtWrapper_QDomDocumentType::entities(QDomDocumentType* theWrappedObject) const -{ - return ( theWrappedObject->entities()); -} - -QDomNamedNodeMap PythonQtWrapper_QDomDocumentType::notations(QDomDocumentType* theWrappedObject) const -{ - return ( theWrappedObject->notations()); -} - -QString PythonQtWrapper_QDomDocumentType::systemId(QDomDocumentType* theWrappedObject) const -{ - return ( theWrappedObject->systemId()); -} - -QString PythonQtWrapper_QDomDocumentType::name(QDomDocumentType* theWrappedObject) const -{ - return ( theWrappedObject->name()); -} - -QString PythonQtWrapper_QDomDocumentType::internalSubset(QDomDocumentType* theWrappedObject) const -{ - return ( theWrappedObject->internalSubset()); -} - -QString PythonQtWrapper_QDomDocumentType::publicId(QDomDocumentType* theWrappedObject) const -{ - return ( theWrappedObject->publicId()); -} - diff --git a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomDocumentType.h b/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomDocumentType.h deleted file mode 100644 index aef16d5..0000000 --- a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomDocumentType.h +++ /dev/null @@ -1,28 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QDOMDOCUMENTTYPE_H -#define PYTHONQTWRAPPER_QDOMDOCUMENTTYPE_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtWrapper_QDomDocumentType : public QObject -{ Q_OBJECT -public: -public slots: -QDomDocumentType* new_QDomDocumentType(); -QDomDocumentType* new_QDomDocumentType(const QDomDocumentType& x); -void delete_QDomDocumentType(QDomDocumentType* obj) { delete obj; } - QDomNamedNodeMap entities(QDomDocumentType* theWrappedObject) const; - QDomNamedNodeMap notations(QDomDocumentType* theWrappedObject) const; - QString systemId(QDomDocumentType* theWrappedObject) const; - QString name(QDomDocumentType* theWrappedObject) const; - QString internalSubset(QDomDocumentType* theWrappedObject) const; - QString publicId(QDomDocumentType* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QDOMDOCUMENTTYPE_H diff --git a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomElement.cpp b/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomElement.cpp deleted file mode 100644 index c216602..0000000 --- a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomElement.cpp +++ /dev/null @@ -1,147 +0,0 @@ -#include "PythonQtWrapper_QDomElement.h" - -#include -#include -#include -#include -#include -#include - -QDomElement* PythonQtWrapper_QDomElement::new_QDomElement() -{ -return new QDomElement(); } - -QDomElement* PythonQtWrapper_QDomElement::new_QDomElement(const QDomElement& x) -{ -return new QDomElement(x); } - -void PythonQtWrapper_QDomElement::removeAttribute(QDomElement* theWrappedObject, const QString& name) -{ - ( theWrappedObject->removeAttribute(name)); -} - -QString PythonQtWrapper_QDomElement::tagName(QDomElement* theWrappedObject) const -{ - return ( theWrappedObject->tagName()); -} - -void PythonQtWrapper_QDomElement::setAttribute(QDomElement* theWrappedObject, const QString& name, qlonglong value) -{ - ( theWrappedObject->setAttribute(name, value)); -} - -void PythonQtWrapper_QDomElement::setAttributeNS(QDomElement* theWrappedObject, const QString nsURI, const QString& qName, const QString& value) -{ - ( theWrappedObject->setAttributeNS(nsURI, qName, value)); -} - -QDomAttr PythonQtWrapper_QDomElement::attributeNodeNS(QDomElement* theWrappedObject, const QString& nsURI, const QString& localName) -{ - return ( theWrappedObject->attributeNodeNS(nsURI, localName)); -} - -QString PythonQtWrapper_QDomElement::attributeNS(QDomElement* theWrappedObject, const QString nsURI, const QString& localName, const QString& defValue) const -{ - return ( theWrappedObject->attributeNS(nsURI, localName, defValue)); -} - -void PythonQtWrapper_QDomElement::setAttribute(QDomElement* theWrappedObject, const QString& name, const QString& value) -{ - ( theWrappedObject->setAttribute(name, value)); -} - -void PythonQtWrapper_QDomElement::setAttributeNS(QDomElement* theWrappedObject, const QString nsURI, const QString& qName, int value) -{ - ( theWrappedObject->setAttributeNS(nsURI, qName, value)); -} - -QDomAttr PythonQtWrapper_QDomElement::attributeNode(QDomElement* theWrappedObject, const QString& name) -{ - return ( theWrappedObject->attributeNode(name)); -} - -bool PythonQtWrapper_QDomElement::hasAttributeNS(QDomElement* theWrappedObject, const QString& nsURI, const QString& localName) const -{ - return ( theWrappedObject->hasAttributeNS(nsURI, localName)); -} - -void PythonQtWrapper_QDomElement::setAttribute(QDomElement* theWrappedObject, const QString& name, float value) -{ - ( theWrappedObject->setAttribute(name, value)); -} - -QString PythonQtWrapper_QDomElement::text(QDomElement* theWrappedObject) const -{ - return ( theWrappedObject->text()); -} - -void PythonQtWrapper_QDomElement::removeAttributeNS(QDomElement* theWrappedObject, const QString& nsURI, const QString& localName) -{ - ( theWrappedObject->removeAttributeNS(nsURI, localName)); -} - -QDomAttr PythonQtWrapper_QDomElement::removeAttributeNode(QDomElement* theWrappedObject, const QDomAttr& oldAttr) -{ - return ( theWrappedObject->removeAttributeNode(oldAttr)); -} - -void PythonQtWrapper_QDomElement::setAttribute(QDomElement* theWrappedObject, const QString& name, double value) -{ - ( theWrappedObject->setAttribute(name, value)); -} - -QDomNamedNodeMap PythonQtWrapper_QDomElement::attributes(QDomElement* theWrappedObject) const -{ - return ( theWrappedObject->attributes()); -} - -void PythonQtWrapper_QDomElement::setAttributeNS(QDomElement* theWrappedObject, const QString nsURI, const QString& qName, qlonglong value) -{ - ( theWrappedObject->setAttributeNS(nsURI, qName, value)); -} - -void PythonQtWrapper_QDomElement::setTagName(QDomElement* theWrappedObject, const QString& name) -{ - ( theWrappedObject->setTagName(name)); -} - -QDomNodeList PythonQtWrapper_QDomElement::elementsByTagName(QDomElement* theWrappedObject, const QString& tagname) const -{ - return ( theWrappedObject->elementsByTagName(tagname)); -} - -void PythonQtWrapper_QDomElement::setAttribute(QDomElement* theWrappedObject, const QString& name, int value) -{ - ( theWrappedObject->setAttribute(name, value)); -} - -bool PythonQtWrapper_QDomElement::hasAttribute(QDomElement* theWrappedObject, const QString& name) const -{ - return ( theWrappedObject->hasAttribute(name)); -} - -QString PythonQtWrapper_QDomElement::attribute(QDomElement* theWrappedObject, const QString& name, const QString& defValue) const -{ - return ( theWrappedObject->attribute(name, defValue)); -} - -QDomNodeList PythonQtWrapper_QDomElement::elementsByTagNameNS(QDomElement* theWrappedObject, const QString& nsURI, const QString& localName) const -{ - return ( theWrappedObject->elementsByTagNameNS(nsURI, localName)); -} - -QDomAttr PythonQtWrapper_QDomElement::setAttributeNode(QDomElement* theWrappedObject, const QDomAttr& newAttr) -{ - return ( theWrappedObject->setAttributeNode(newAttr)); -} - -QDomAttr PythonQtWrapper_QDomElement::setAttributeNodeNS(QDomElement* theWrappedObject, const QDomAttr& newAttr) -{ - return ( theWrappedObject->setAttributeNodeNS(newAttr)); -} - -void PythonQtWrapper_QDomElement::setAttributeNS(QDomElement* theWrappedObject, const QString nsURI, const QString& qName, double value) -{ - ( theWrappedObject->setAttributeNS(nsURI, qName, value)); -} - diff --git a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomElement.h b/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomElement.h deleted file mode 100644 index 36b8a19..0000000 --- a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomElement.h +++ /dev/null @@ -1,48 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QDOMELEMENT_H -#define PYTHONQTWRAPPER_QDOMELEMENT_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtWrapper_QDomElement : public QObject -{ Q_OBJECT -public: -public slots: -QDomElement* new_QDomElement(); -QDomElement* new_QDomElement(const QDomElement& x); -void delete_QDomElement(QDomElement* obj) { delete obj; } - void removeAttribute(QDomElement* theWrappedObject, const QString& name); - QString tagName(QDomElement* theWrappedObject) const; - void setAttribute(QDomElement* theWrappedObject, const QString& name, qlonglong value); - void setAttributeNS(QDomElement* theWrappedObject, const QString nsURI, const QString& qName, const QString& value); - QDomAttr attributeNodeNS(QDomElement* theWrappedObject, const QString& nsURI, const QString& localName); - QString attributeNS(QDomElement* theWrappedObject, const QString nsURI, const QString& localName, const QString& defValue = QString()) const; - void setAttribute(QDomElement* theWrappedObject, const QString& name, const QString& value); - void setAttributeNS(QDomElement* theWrappedObject, const QString nsURI, const QString& qName, int value); - QDomAttr attributeNode(QDomElement* theWrappedObject, const QString& name); - bool hasAttributeNS(QDomElement* theWrappedObject, const QString& nsURI, const QString& localName) const; - void setAttribute(QDomElement* theWrappedObject, const QString& name, float value); - QString text(QDomElement* theWrappedObject) const; - void removeAttributeNS(QDomElement* theWrappedObject, const QString& nsURI, const QString& localName); - QDomAttr removeAttributeNode(QDomElement* theWrappedObject, const QDomAttr& oldAttr); - void setAttribute(QDomElement* theWrappedObject, const QString& name, double value); - QDomNamedNodeMap attributes(QDomElement* theWrappedObject) const; - void setAttributeNS(QDomElement* theWrappedObject, const QString nsURI, const QString& qName, qlonglong value); - void setTagName(QDomElement* theWrappedObject, const QString& name); - QDomNodeList elementsByTagName(QDomElement* theWrappedObject, const QString& tagname) const; - void setAttribute(QDomElement* theWrappedObject, const QString& name, int value); - bool hasAttribute(QDomElement* theWrappedObject, const QString& name) const; - QString attribute(QDomElement* theWrappedObject, const QString& name, const QString& defValue = QString()) const; - QDomNodeList elementsByTagNameNS(QDomElement* theWrappedObject, const QString& nsURI, const QString& localName) const; - QDomAttr setAttributeNode(QDomElement* theWrappedObject, const QDomAttr& newAttr); - QDomAttr setAttributeNodeNS(QDomElement* theWrappedObject, const QDomAttr& newAttr); - void setAttributeNS(QDomElement* theWrappedObject, const QString nsURI, const QString& qName, double value); -}; - -#endif // PYTHONQTWRAPPER_QDOMELEMENT_H diff --git a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomEntity.cpp b/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomEntity.cpp deleted file mode 100644 index 89dd6cc..0000000 --- a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomEntity.cpp +++ /dev/null @@ -1,32 +0,0 @@ -#include "PythonQtWrapper_QDomEntity.h" - -#include -#include -#include -#include -#include -#include - -QDomEntity* PythonQtWrapper_QDomEntity::new_QDomEntity() -{ -return new QDomEntity(); } - -QDomEntity* PythonQtWrapper_QDomEntity::new_QDomEntity(const QDomEntity& x) -{ -return new QDomEntity(x); } - -QString PythonQtWrapper_QDomEntity::notationName(QDomEntity* theWrappedObject) const -{ - return ( theWrappedObject->notationName()); -} - -QString PythonQtWrapper_QDomEntity::publicId(QDomEntity* theWrappedObject) const -{ - return ( theWrappedObject->publicId()); -} - -QString PythonQtWrapper_QDomEntity::systemId(QDomEntity* theWrappedObject) const -{ - return ( theWrappedObject->systemId()); -} - diff --git a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomEntity.h b/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomEntity.h deleted file mode 100644 index 18cc687..0000000 --- a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomEntity.h +++ /dev/null @@ -1,25 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QDOMENTITY_H -#define PYTHONQTWRAPPER_QDOMENTITY_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtWrapper_QDomEntity : public QObject -{ Q_OBJECT -public: -public slots: -QDomEntity* new_QDomEntity(); -QDomEntity* new_QDomEntity(const QDomEntity& x); -void delete_QDomEntity(QDomEntity* obj) { delete obj; } - QString notationName(QDomEntity* theWrappedObject) const; - QString publicId(QDomEntity* theWrappedObject) const; - QString systemId(QDomEntity* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QDOMENTITY_H diff --git a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomEntityReference.cpp b/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomEntityReference.cpp deleted file mode 100644 index c40adba..0000000 --- a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomEntityReference.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "PythonQtWrapper_QDomEntityReference.h" - -#include -#include -#include -#include -#include -#include - -QDomEntityReference* PythonQtWrapper_QDomEntityReference::new_QDomEntityReference() -{ -return new QDomEntityReference(); } - -QDomEntityReference* PythonQtWrapper_QDomEntityReference::new_QDomEntityReference(const QDomEntityReference& x) -{ -return new QDomEntityReference(x); } - diff --git a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomEntityReference.h b/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomEntityReference.h deleted file mode 100644 index 40afc99..0000000 --- a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomEntityReference.h +++ /dev/null @@ -1,22 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QDOMENTITYREFERENCE_H -#define PYTHONQTWRAPPER_QDOMENTITYREFERENCE_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtWrapper_QDomEntityReference : public QObject -{ Q_OBJECT -public: -public slots: -QDomEntityReference* new_QDomEntityReference(); -QDomEntityReference* new_QDomEntityReference(const QDomEntityReference& x); -void delete_QDomEntityReference(QDomEntityReference* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QDOMENTITYREFERENCE_H diff --git a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomImplementation.cpp b/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomImplementation.cpp deleted file mode 100644 index 6f1e05e..0000000 --- a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomImplementation.cpp +++ /dev/null @@ -1,51 +0,0 @@ -#include "PythonQtWrapper_QDomImplementation.h" - -#include -#include -#include -#include -#include - -QDomImplementation* PythonQtWrapper_QDomImplementation::new_QDomImplementation() -{ -return new QDomImplementation(); } - -QDomImplementation* PythonQtWrapper_QDomImplementation::new_QDomImplementation(const QDomImplementation& arg__1) -{ -return new QDomImplementation(arg__1); } - -QDomDocument PythonQtWrapper_QDomImplementation::createDocument(QDomImplementation* theWrappedObject, const QString& nsURI, const QString& qName, const QDomDocumentType& doctype) -{ - return ( theWrappedObject->createDocument(nsURI, qName, doctype)); -} - -bool PythonQtWrapper_QDomImplementation::isNull(QDomImplementation* theWrappedObject) -{ - return ( theWrappedObject->isNull()); -} - -QDomImplementation::InvalidDataPolicy PythonQtWrapper_QDomImplementation::static_QDomImplementation_invalidDataPolicy() -{ - return (QDomImplementation::invalidDataPolicy()); -} - -bool PythonQtWrapper_QDomImplementation::operator_equal(QDomImplementation* theWrappedObject, const QDomImplementation& arg__1) const -{ - return ( (*theWrappedObject)== arg__1); -} - -void PythonQtWrapper_QDomImplementation::static_QDomImplementation_setInvalidDataPolicy(QDomImplementation::InvalidDataPolicy policy) -{ - (QDomImplementation::setInvalidDataPolicy(policy)); -} - -QDomDocumentType PythonQtWrapper_QDomImplementation::createDocumentType(QDomImplementation* theWrappedObject, const QString& qName, const QString& publicId, const QString& systemId) -{ - return ( theWrappedObject->createDocumentType(qName, publicId, systemId)); -} - -bool PythonQtWrapper_QDomImplementation::hasFeature(QDomImplementation* theWrappedObject, const QString& feature, const QString& version) const -{ - return ( theWrappedObject->hasFeature(feature, version)); -} - diff --git a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomImplementation.h b/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomImplementation.h deleted file mode 100644 index 2cec490..0000000 --- a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomImplementation.h +++ /dev/null @@ -1,31 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QDOMIMPLEMENTATION_H -#define PYTHONQTWRAPPER_QDOMIMPLEMENTATION_H - -#include -#include - -#include - -#include -#include - -class PythonQtWrapper_QDomImplementation : public QObject -{ Q_OBJECT -public: -Q_ENUMS(InvalidDataPolicy ) -enum InvalidDataPolicy{ - AcceptInvalidChars = QDomImplementation::AcceptInvalidChars, DropInvalidChars = QDomImplementation::DropInvalidChars, ReturnNullNode = QDomImplementation::ReturnNullNode}; -public slots: -QDomImplementation* new_QDomImplementation(); -QDomImplementation* new_QDomImplementation(const QDomImplementation& arg__1); -void delete_QDomImplementation(QDomImplementation* obj) { delete obj; } - QDomDocument createDocument(QDomImplementation* theWrappedObject, const QString& nsURI, const QString& qName, const QDomDocumentType& doctype); - bool isNull(QDomImplementation* theWrappedObject); - QDomImplementation::InvalidDataPolicy static_QDomImplementation_invalidDataPolicy(); - bool operator_equal(QDomImplementation* theWrappedObject, const QDomImplementation& arg__1) const; - void static_QDomImplementation_setInvalidDataPolicy(QDomImplementation::InvalidDataPolicy policy); - QDomDocumentType createDocumentType(QDomImplementation* theWrappedObject, const QString& qName, const QString& publicId, const QString& systemId); - bool hasFeature(QDomImplementation* theWrappedObject, const QString& feature, const QString& version) const; -}; - -#endif // PYTHONQTWRAPPER_QDOMIMPLEMENTATION_H diff --git a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomNamedNodeMap.cpp b/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomNamedNodeMap.cpp deleted file mode 100644 index 004a036..0000000 --- a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomNamedNodeMap.cpp +++ /dev/null @@ -1,81 +0,0 @@ -#include "PythonQtWrapper_QDomNamedNodeMap.h" - -#include -#include -#include -#include -#include - -QDomNamedNodeMap* PythonQtWrapper_QDomNamedNodeMap::new_QDomNamedNodeMap() -{ -return new QDomNamedNodeMap(); } - -QDomNamedNodeMap* PythonQtWrapper_QDomNamedNodeMap::new_QDomNamedNodeMap(const QDomNamedNodeMap& arg__1) -{ -return new QDomNamedNodeMap(arg__1); } - -QDomNode PythonQtWrapper_QDomNamedNodeMap::removeNamedItemNS(QDomNamedNodeMap* theWrappedObject, const QString& nsURI, const QString& localName) -{ - return ( theWrappedObject->removeNamedItemNS(nsURI, localName)); -} - -QDomNode PythonQtWrapper_QDomNamedNodeMap::namedItem(QDomNamedNodeMap* theWrappedObject, const QString& name) const -{ - return ( theWrappedObject->namedItem(name)); -} - -bool PythonQtWrapper_QDomNamedNodeMap::operator_equal(QDomNamedNodeMap* theWrappedObject, const QDomNamedNodeMap& arg__1) const -{ - return ( (*theWrappedObject)== arg__1); -} - -QDomNode PythonQtWrapper_QDomNamedNodeMap::setNamedItemNS(QDomNamedNodeMap* theWrappedObject, const QDomNode& newNode) -{ - return ( theWrappedObject->setNamedItemNS(newNode)); -} - -QDomNode PythonQtWrapper_QDomNamedNodeMap::item(QDomNamedNodeMap* theWrappedObject, int index) const -{ - return ( theWrappedObject->item(index)); -} - -int PythonQtWrapper_QDomNamedNodeMap::count(QDomNamedNodeMap* theWrappedObject) const -{ - return ( theWrappedObject->count()); -} - -uint PythonQtWrapper_QDomNamedNodeMap::length(QDomNamedNodeMap* theWrappedObject) const -{ - return ( theWrappedObject->length()); -} - -QDomNode PythonQtWrapper_QDomNamedNodeMap::namedItemNS(QDomNamedNodeMap* theWrappedObject, const QString& nsURI, const QString& localName) const -{ - return ( theWrappedObject->namedItemNS(nsURI, localName)); -} - -QDomNode PythonQtWrapper_QDomNamedNodeMap::removeNamedItem(QDomNamedNodeMap* theWrappedObject, const QString& name) -{ - return ( theWrappedObject->removeNamedItem(name)); -} - -QDomNode PythonQtWrapper_QDomNamedNodeMap::setNamedItem(QDomNamedNodeMap* theWrappedObject, const QDomNode& newNode) -{ - return ( theWrappedObject->setNamedItem(newNode)); -} - -int PythonQtWrapper_QDomNamedNodeMap::size(QDomNamedNodeMap* theWrappedObject) const -{ - return ( theWrappedObject->size()); -} - -bool PythonQtWrapper_QDomNamedNodeMap::isEmpty(QDomNamedNodeMap* theWrappedObject) const -{ - return ( theWrappedObject->isEmpty()); -} - -bool PythonQtWrapper_QDomNamedNodeMap::contains(QDomNamedNodeMap* theWrappedObject, const QString& name) const -{ - return ( theWrappedObject->contains(name)); -} - diff --git a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomNamedNodeMap.h b/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomNamedNodeMap.h deleted file mode 100644 index bba782d..0000000 --- a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomNamedNodeMap.h +++ /dev/null @@ -1,34 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QDOMNAMEDNODEMAP_H -#define PYTHONQTWRAPPER_QDOMNAMEDNODEMAP_H - -#include -#include - -#include - -#include -#include - -class PythonQtWrapper_QDomNamedNodeMap : public QObject -{ Q_OBJECT -public: -public slots: -QDomNamedNodeMap* new_QDomNamedNodeMap(); -QDomNamedNodeMap* new_QDomNamedNodeMap(const QDomNamedNodeMap& arg__1); -void delete_QDomNamedNodeMap(QDomNamedNodeMap* obj) { delete obj; } - QDomNode removeNamedItemNS(QDomNamedNodeMap* theWrappedObject, const QString& nsURI, const QString& localName); - QDomNode namedItem(QDomNamedNodeMap* theWrappedObject, const QString& name) const; - bool operator_equal(QDomNamedNodeMap* theWrappedObject, const QDomNamedNodeMap& arg__1) const; - QDomNode setNamedItemNS(QDomNamedNodeMap* theWrappedObject, const QDomNode& newNode); - QDomNode item(QDomNamedNodeMap* theWrappedObject, int index) const; - int count(QDomNamedNodeMap* theWrappedObject) const; - uint length(QDomNamedNodeMap* theWrappedObject) const; - QDomNode namedItemNS(QDomNamedNodeMap* theWrappedObject, const QString& nsURI, const QString& localName) const; - QDomNode removeNamedItem(QDomNamedNodeMap* theWrappedObject, const QString& name); - QDomNode setNamedItem(QDomNamedNodeMap* theWrappedObject, const QDomNode& newNode); - int size(QDomNamedNodeMap* theWrappedObject) const; - bool isEmpty(QDomNamedNodeMap* theWrappedObject) const; - bool contains(QDomNamedNodeMap* theWrappedObject, const QString& name) const; -}; - -#endif // PYTHONQTWRAPPER_QDOMNAMEDNODEMAP_H diff --git a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomNode.cpp b/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomNode.cpp deleted file mode 100644 index c72dc5e..0000000 --- a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomNode.cpp +++ /dev/null @@ -1,337 +0,0 @@ -#include "PythonQtWrapper_QDomNode.h" - -#include -#include -#include -#include -#include -#include - -QDomNode* PythonQtWrapper_QDomNode::new_QDomNode() -{ -return new QDomNode(); } - -QDomNode* PythonQtWrapper_QDomNode::new_QDomNode(const QDomNode& arg__1) -{ -return new QDomNode(arg__1); } - -QString PythonQtWrapper_QDomNode::nodeName(QDomNode* theWrappedObject) const -{ - return ( theWrappedObject->nodeName()); -} - -int PythonQtWrapper_QDomNode::columnNumber(QDomNode* theWrappedObject) const -{ - return ( theWrappedObject->columnNumber()); -} - -void PythonQtWrapper_QDomNode::clear(QDomNode* theWrappedObject) -{ - ( theWrappedObject->clear()); -} - -QDomNode PythonQtWrapper_QDomNode::cloneNode(QDomNode* theWrappedObject, bool deep) const -{ - return ( theWrappedObject->cloneNode(deep)); -} - -QDomText PythonQtWrapper_QDomNode::toText(QDomNode* theWrappedObject) const -{ - return ( theWrappedObject->toText()); -} - -QString PythonQtWrapper_QDomNode::namespaceURI(QDomNode* theWrappedObject) const -{ - return ( theWrappedObject->namespaceURI()); -} - -void PythonQtWrapper_QDomNode::writeTo(QDomNode* theWrappedObject, QTextStream& arg__1) -{ - arg__1 << (*theWrappedObject); -} - -QDomEntityReference PythonQtWrapper_QDomNode::toEntityReference(QDomNode* theWrappedObject) const -{ - return ( theWrappedObject->toEntityReference()); -} - -bool PythonQtWrapper_QDomNode::isAttr(QDomNode* theWrappedObject) const -{ - return ( theWrappedObject->isAttr()); -} - -QDomNode PythonQtWrapper_QDomNode::lastChild(QDomNode* theWrappedObject) const -{ - return ( theWrappedObject->lastChild()); -} - -QDomNodeList PythonQtWrapper_QDomNode::childNodes(QDomNode* theWrappedObject) const -{ - return ( theWrappedObject->childNodes()); -} - -bool PythonQtWrapper_QDomNode::isCharacterData(QDomNode* theWrappedObject) const -{ - return ( theWrappedObject->isCharacterData()); -} - -QDomDocumentFragment PythonQtWrapper_QDomNode::toDocumentFragment(QDomNode* theWrappedObject) const -{ - return ( theWrappedObject->toDocumentFragment()); -} - -bool PythonQtWrapper_QDomNode::isText(QDomNode* theWrappedObject) const -{ - return ( theWrappedObject->isText()); -} - -QDomElement PythonQtWrapper_QDomNode::previousSiblingElement(QDomNode* theWrappedObject, const QString& tagName) const -{ - return ( theWrappedObject->previousSiblingElement(tagName)); -} - -bool PythonQtWrapper_QDomNode::isEntityReference(QDomNode* theWrappedObject) const -{ - return ( theWrappedObject->isEntityReference()); -} - -bool PythonQtWrapper_QDomNode::isSupported(QDomNode* theWrappedObject, const QString& feature, const QString& version) const -{ - return ( theWrappedObject->isSupported(feature, version)); -} - -QDomElement PythonQtWrapper_QDomNode::firstChildElement(QDomNode* theWrappedObject, const QString& tagName) const -{ - return ( theWrappedObject->firstChildElement(tagName)); -} - -QDomNode PythonQtWrapper_QDomNode::replaceChild(QDomNode* theWrappedObject, const QDomNode& newChild, const QDomNode& oldChild) -{ - return ( theWrappedObject->replaceChild(newChild, oldChild)); -} - -bool PythonQtWrapper_QDomNode::hasChildNodes(QDomNode* theWrappedObject) const -{ - return ( theWrappedObject->hasChildNodes()); -} - -void PythonQtWrapper_QDomNode::save(QDomNode* theWrappedObject, QTextStream& arg__1, int arg__2) const -{ - ( theWrappedObject->save(arg__1, arg__2)); -} - -bool PythonQtWrapper_QDomNode::hasAttributes(QDomNode* theWrappedObject) const -{ - return ( theWrappedObject->hasAttributes()); -} - -void PythonQtWrapper_QDomNode::setNodeValue(QDomNode* theWrappedObject, const QString& arg__1) -{ - ( theWrappedObject->setNodeValue(arg__1)); -} - -QDomNode PythonQtWrapper_QDomNode::appendChild(QDomNode* theWrappedObject, const QDomNode& newChild) -{ - return ( theWrappedObject->appendChild(newChild)); -} - -bool PythonQtWrapper_QDomNode::isCDATASection(QDomNode* theWrappedObject) const -{ - return ( theWrappedObject->isCDATASection()); -} - -QDomNode PythonQtWrapper_QDomNode::removeChild(QDomNode* theWrappedObject, const QDomNode& oldChild) -{ - return ( theWrappedObject->removeChild(oldChild)); -} - -bool PythonQtWrapper_QDomNode::isNotation(QDomNode* theWrappedObject) const -{ - return ( theWrappedObject->isNotation()); -} - -bool PythonQtWrapper_QDomNode::isNull(QDomNode* theWrappedObject) const -{ - return ( theWrappedObject->isNull()); -} - -void PythonQtWrapper_QDomNode::save(QDomNode* theWrappedObject, QTextStream& arg__1, int arg__2, QDomNode::EncodingPolicy arg__3) const -{ - ( theWrappedObject->save(arg__1, arg__2, arg__3)); -} - -QDomCDATASection PythonQtWrapper_QDomNode::toCDATASection(QDomNode* theWrappedObject) const -{ - return ( theWrappedObject->toCDATASection()); -} - -QDomDocument PythonQtWrapper_QDomNode::toDocument(QDomNode* theWrappedObject) const -{ - return ( theWrappedObject->toDocument()); -} - -QDomNotation PythonQtWrapper_QDomNode::toNotation(QDomNode* theWrappedObject) const -{ - return ( theWrappedObject->toNotation()); -} - -QDomNode PythonQtWrapper_QDomNode::parentNode(QDomNode* theWrappedObject) const -{ - return ( theWrappedObject->parentNode()); -} - -QDomNode PythonQtWrapper_QDomNode::insertAfter(QDomNode* theWrappedObject, const QDomNode& newChild, const QDomNode& refChild) -{ - return ( theWrappedObject->insertAfter(newChild, refChild)); -} - -QDomElement PythonQtWrapper_QDomNode::lastChildElement(QDomNode* theWrappedObject, const QString& tagName) const -{ - return ( theWrappedObject->lastChildElement(tagName)); -} - -QDomCharacterData PythonQtWrapper_QDomNode::toCharacterData(QDomNode* theWrappedObject) const -{ - return ( theWrappedObject->toCharacterData()); -} - -QString PythonQtWrapper_QDomNode::prefix(QDomNode* theWrappedObject) const -{ - return ( theWrappedObject->prefix()); -} - -QString PythonQtWrapper_QDomNode::localName(QDomNode* theWrappedObject) const -{ - return ( theWrappedObject->localName()); -} - -bool PythonQtWrapper_QDomNode::isProcessingInstruction(QDomNode* theWrappedObject) const -{ - return ( theWrappedObject->isProcessingInstruction()); -} - -QDomNode PythonQtWrapper_QDomNode::namedItem(QDomNode* theWrappedObject, const QString& name) const -{ - return ( theWrappedObject->namedItem(name)); -} - -int PythonQtWrapper_QDomNode::lineNumber(QDomNode* theWrappedObject) const -{ - return ( theWrappedObject->lineNumber()); -} - -QDomNode::NodeType PythonQtWrapper_QDomNode::nodeType(QDomNode* theWrappedObject) const -{ - return ( theWrappedObject->nodeType()); -} - -bool PythonQtWrapper_QDomNode::isDocumentType(QDomNode* theWrappedObject) const -{ - return ( theWrappedObject->isDocumentType()); -} - -QDomNode PythonQtWrapper_QDomNode::nextSibling(QDomNode* theWrappedObject) const -{ - return ( theWrappedObject->nextSibling()); -} - -void PythonQtWrapper_QDomNode::normalize(QDomNode* theWrappedObject) -{ - ( theWrappedObject->normalize()); -} - -QDomAttr PythonQtWrapper_QDomNode::toAttr(QDomNode* theWrappedObject) const -{ - return ( theWrappedObject->toAttr()); -} - -QDomComment PythonQtWrapper_QDomNode::toComment(QDomNode* theWrappedObject) const -{ - return ( theWrappedObject->toComment()); -} - -QDomDocumentType PythonQtWrapper_QDomNode::toDocumentType(QDomNode* theWrappedObject) const -{ - return ( theWrappedObject->toDocumentType()); -} - -bool PythonQtWrapper_QDomNode::isComment(QDomNode* theWrappedObject) const -{ - return ( theWrappedObject->isComment()); -} - -bool PythonQtWrapper_QDomNode::isEntity(QDomNode* theWrappedObject) const -{ - return ( theWrappedObject->isEntity()); -} - -bool PythonQtWrapper_QDomNode::isDocumentFragment(QDomNode* theWrappedObject) const -{ - return ( theWrappedObject->isDocumentFragment()); -} - -void PythonQtWrapper_QDomNode::setPrefix(QDomNode* theWrappedObject, const QString& pre) -{ - ( theWrappedObject->setPrefix(pre)); -} - -QDomProcessingInstruction PythonQtWrapper_QDomNode::toProcessingInstruction(QDomNode* theWrappedObject) const -{ - return ( theWrappedObject->toProcessingInstruction()); -} - -bool PythonQtWrapper_QDomNode::isElement(QDomNode* theWrappedObject) const -{ - return ( theWrappedObject->isElement()); -} - -QDomElement PythonQtWrapper_QDomNode::toElement(QDomNode* theWrappedObject) const -{ - return ( theWrappedObject->toElement()); -} - -QDomElement PythonQtWrapper_QDomNode::nextSiblingElement(QDomNode* theWrappedObject, const QString& taName) const -{ - return ( theWrappedObject->nextSiblingElement(taName)); -} - -bool PythonQtWrapper_QDomNode::operator_equal(QDomNode* theWrappedObject, const QDomNode& arg__1) const -{ - return ( (*theWrappedObject)== arg__1); -} - -QDomNode PythonQtWrapper_QDomNode::previousSibling(QDomNode* theWrappedObject) const -{ - return ( theWrappedObject->previousSibling()); -} - -QDomNode PythonQtWrapper_QDomNode::firstChild(QDomNode* theWrappedObject) const -{ - return ( theWrappedObject->firstChild()); -} - -bool PythonQtWrapper_QDomNode::isDocument(QDomNode* theWrappedObject) const -{ - return ( theWrappedObject->isDocument()); -} - -QDomDocument PythonQtWrapper_QDomNode::ownerDocument(QDomNode* theWrappedObject) const -{ - return ( theWrappedObject->ownerDocument()); -} - -QDomEntity PythonQtWrapper_QDomNode::toEntity(QDomNode* theWrappedObject) const -{ - return ( theWrappedObject->toEntity()); -} - -QString PythonQtWrapper_QDomNode::nodeValue(QDomNode* theWrappedObject) const -{ - return ( theWrappedObject->nodeValue()); -} - -QDomNode PythonQtWrapper_QDomNode::insertBefore(QDomNode* theWrappedObject, const QDomNode& newChild, const QDomNode& refChild) -{ - return ( theWrappedObject->insertBefore(newChild, refChild)); -} - diff --git a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomNode.h b/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomNode.h deleted file mode 100644 index 93cd569..0000000 --- a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomNode.h +++ /dev/null @@ -1,91 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QDOMNODE_H -#define PYTHONQTWRAPPER_QDOMNODE_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtWrapper_QDomNode : public QObject -{ Q_OBJECT -public: -Q_ENUMS(NodeType EncodingPolicy ) -enum NodeType{ - ElementNode = QDomNode::ElementNode, AttributeNode = QDomNode::AttributeNode, TextNode = QDomNode::TextNode, CDATASectionNode = QDomNode::CDATASectionNode, EntityReferenceNode = QDomNode::EntityReferenceNode, EntityNode = QDomNode::EntityNode, ProcessingInstructionNode = QDomNode::ProcessingInstructionNode, CommentNode = QDomNode::CommentNode, DocumentNode = QDomNode::DocumentNode, DocumentTypeNode = QDomNode::DocumentTypeNode, DocumentFragmentNode = QDomNode::DocumentFragmentNode, NotationNode = QDomNode::NotationNode, BaseNode = QDomNode::BaseNode, CharacterDataNode = QDomNode::CharacterDataNode}; -enum EncodingPolicy{ - EncodingFromDocument = QDomNode::EncodingFromDocument, EncodingFromTextStream = QDomNode::EncodingFromTextStream}; -public slots: -QDomNode* new_QDomNode(); -QDomNode* new_QDomNode(const QDomNode& arg__1); -void delete_QDomNode(QDomNode* obj) { delete obj; } - QString nodeName(QDomNode* theWrappedObject) const; - int columnNumber(QDomNode* theWrappedObject) const; - void clear(QDomNode* theWrappedObject); - QDomNode cloneNode(QDomNode* theWrappedObject, bool deep = true) const; - QDomText toText(QDomNode* theWrappedObject) const; - QString namespaceURI(QDomNode* theWrappedObject) const; - void writeTo(QDomNode* theWrappedObject, QTextStream& arg__1); - QDomEntityReference toEntityReference(QDomNode* theWrappedObject) const; - bool isAttr(QDomNode* theWrappedObject) const; - QDomNode lastChild(QDomNode* theWrappedObject) const; - QDomNodeList childNodes(QDomNode* theWrappedObject) const; - bool isCharacterData(QDomNode* theWrappedObject) const; - QDomDocumentFragment toDocumentFragment(QDomNode* theWrappedObject) const; - bool isText(QDomNode* theWrappedObject) const; - QDomElement previousSiblingElement(QDomNode* theWrappedObject, const QString& tagName = QString()) const; - bool isEntityReference(QDomNode* theWrappedObject) const; - bool isSupported(QDomNode* theWrappedObject, const QString& feature, const QString& version) const; - QDomElement firstChildElement(QDomNode* theWrappedObject, const QString& tagName = QString()) const; - QDomNode replaceChild(QDomNode* theWrappedObject, const QDomNode& newChild, const QDomNode& oldChild); - bool hasChildNodes(QDomNode* theWrappedObject) const; - void save(QDomNode* theWrappedObject, QTextStream& arg__1, int arg__2) const; - bool hasAttributes(QDomNode* theWrappedObject) const; - void setNodeValue(QDomNode* theWrappedObject, const QString& arg__1); - QDomNode appendChild(QDomNode* theWrappedObject, const QDomNode& newChild); - bool isCDATASection(QDomNode* theWrappedObject) const; - QDomNode removeChild(QDomNode* theWrappedObject, const QDomNode& oldChild); - bool isNotation(QDomNode* theWrappedObject) const; - bool isNull(QDomNode* theWrappedObject) const; - void save(QDomNode* theWrappedObject, QTextStream& arg__1, int arg__2, QDomNode::EncodingPolicy arg__3) const; - QDomCDATASection toCDATASection(QDomNode* theWrappedObject) const; - QDomDocument toDocument(QDomNode* theWrappedObject) const; - QDomNotation toNotation(QDomNode* theWrappedObject) const; - QDomNode parentNode(QDomNode* theWrappedObject) const; - QDomNode insertAfter(QDomNode* theWrappedObject, const QDomNode& newChild, const QDomNode& refChild); - QDomElement lastChildElement(QDomNode* theWrappedObject, const QString& tagName = QString()) const; - QDomCharacterData toCharacterData(QDomNode* theWrappedObject) const; - QString prefix(QDomNode* theWrappedObject) const; - QString localName(QDomNode* theWrappedObject) const; - bool isProcessingInstruction(QDomNode* theWrappedObject) const; - QDomNode namedItem(QDomNode* theWrappedObject, const QString& name) const; - int lineNumber(QDomNode* theWrappedObject) const; - QDomNode::NodeType nodeType(QDomNode* theWrappedObject) const; - bool isDocumentType(QDomNode* theWrappedObject) const; - QDomNode nextSibling(QDomNode* theWrappedObject) const; - void normalize(QDomNode* theWrappedObject); - QDomAttr toAttr(QDomNode* theWrappedObject) const; - QDomComment toComment(QDomNode* theWrappedObject) const; - QDomDocumentType toDocumentType(QDomNode* theWrappedObject) const; - bool isComment(QDomNode* theWrappedObject) const; - bool isEntity(QDomNode* theWrappedObject) const; - bool isDocumentFragment(QDomNode* theWrappedObject) const; - void setPrefix(QDomNode* theWrappedObject, const QString& pre); - QDomProcessingInstruction toProcessingInstruction(QDomNode* theWrappedObject) const; - bool isElement(QDomNode* theWrappedObject) const; - QDomElement toElement(QDomNode* theWrappedObject) const; - QDomElement nextSiblingElement(QDomNode* theWrappedObject, const QString& taName = QString()) const; - bool operator_equal(QDomNode* theWrappedObject, const QDomNode& arg__1) const; - QDomNode previousSibling(QDomNode* theWrappedObject) const; - QDomNode firstChild(QDomNode* theWrappedObject) const; - bool isDocument(QDomNode* theWrappedObject) const; - QDomDocument ownerDocument(QDomNode* theWrappedObject) const; - QDomEntity toEntity(QDomNode* theWrappedObject) const; - QString nodeValue(QDomNode* theWrappedObject) const; - QDomNode insertBefore(QDomNode* theWrappedObject, const QDomNode& newChild, const QDomNode& refChild); -}; - -#endif // PYTHONQTWRAPPER_QDOMNODE_H diff --git a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomNodeList.cpp b/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomNodeList.cpp deleted file mode 100644 index c6aa931..0000000 --- a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomNodeList.cpp +++ /dev/null @@ -1,51 +0,0 @@ -#include "PythonQtWrapper_QDomNodeList.h" - -#include -#include -#include -#include -#include - -QDomNodeList* PythonQtWrapper_QDomNodeList::new_QDomNodeList() -{ -return new QDomNodeList(); } - -QDomNodeList* PythonQtWrapper_QDomNodeList::new_QDomNodeList(const QDomNodeList& arg__1) -{ -return new QDomNodeList(arg__1); } - -QDomNode PythonQtWrapper_QDomNodeList::item(QDomNodeList* theWrappedObject, int index) const -{ - return ( theWrappedObject->item(index)); -} - -QDomNode PythonQtWrapper_QDomNodeList::at(QDomNodeList* theWrappedObject, int index) const -{ - return ( theWrappedObject->at(index)); -} - -int PythonQtWrapper_QDomNodeList::count(QDomNodeList* theWrappedObject) const -{ - return ( theWrappedObject->count()); -} - -int PythonQtWrapper_QDomNodeList::size(QDomNodeList* theWrappedObject) const -{ - return ( theWrappedObject->size()); -} - -bool PythonQtWrapper_QDomNodeList::isEmpty(QDomNodeList* theWrappedObject) const -{ - return ( theWrappedObject->isEmpty()); -} - -uint PythonQtWrapper_QDomNodeList::length(QDomNodeList* theWrappedObject) const -{ - return ( theWrappedObject->length()); -} - -bool PythonQtWrapper_QDomNodeList::operator_equal(QDomNodeList* theWrappedObject, const QDomNodeList& arg__1) const -{ - return ( (*theWrappedObject)== arg__1); -} - diff --git a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomNodeList.h b/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomNodeList.h deleted file mode 100644 index a0fdd95..0000000 --- a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomNodeList.h +++ /dev/null @@ -1,28 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QDOMNODELIST_H -#define PYTHONQTWRAPPER_QDOMNODELIST_H - -#include -#include - -#include - -#include -#include - -class PythonQtWrapper_QDomNodeList : public QObject -{ Q_OBJECT -public: -public slots: -QDomNodeList* new_QDomNodeList(); -QDomNodeList* new_QDomNodeList(const QDomNodeList& arg__1); -void delete_QDomNodeList(QDomNodeList* obj) { delete obj; } - QDomNode item(QDomNodeList* theWrappedObject, int index) const; - QDomNode at(QDomNodeList* theWrappedObject, int index) const; - int count(QDomNodeList* theWrappedObject) const; - int size(QDomNodeList* theWrappedObject) const; - bool isEmpty(QDomNodeList* theWrappedObject) const; - uint length(QDomNodeList* theWrappedObject) const; - bool operator_equal(QDomNodeList* theWrappedObject, const QDomNodeList& arg__1) const; -}; - -#endif // PYTHONQTWRAPPER_QDOMNODELIST_H diff --git a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomNotation.cpp b/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomNotation.cpp deleted file mode 100644 index 635740f..0000000 --- a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomNotation.cpp +++ /dev/null @@ -1,27 +0,0 @@ -#include "PythonQtWrapper_QDomNotation.h" - -#include -#include -#include -#include -#include -#include - -QDomNotation* PythonQtWrapper_QDomNotation::new_QDomNotation() -{ -return new QDomNotation(); } - -QDomNotation* PythonQtWrapper_QDomNotation::new_QDomNotation(const QDomNotation& x) -{ -return new QDomNotation(x); } - -QString PythonQtWrapper_QDomNotation::systemId(QDomNotation* theWrappedObject) const -{ - return ( theWrappedObject->systemId()); -} - -QString PythonQtWrapper_QDomNotation::publicId(QDomNotation* theWrappedObject) const -{ - return ( theWrappedObject->publicId()); -} - diff --git a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomNotation.h b/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomNotation.h deleted file mode 100644 index afeb477..0000000 --- a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomNotation.h +++ /dev/null @@ -1,24 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QDOMNOTATION_H -#define PYTHONQTWRAPPER_QDOMNOTATION_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtWrapper_QDomNotation : public QObject -{ Q_OBJECT -public: -public slots: -QDomNotation* new_QDomNotation(); -QDomNotation* new_QDomNotation(const QDomNotation& x); -void delete_QDomNotation(QDomNotation* obj) { delete obj; } - QString systemId(QDomNotation* theWrappedObject) const; - QString publicId(QDomNotation* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QDOMNOTATION_H diff --git a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomProcessingInstruction.cpp b/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomProcessingInstruction.cpp deleted file mode 100644 index b3e5f4f..0000000 --- a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomProcessingInstruction.cpp +++ /dev/null @@ -1,32 +0,0 @@ -#include "PythonQtWrapper_QDomProcessingInstruction.h" - -#include -#include -#include -#include -#include -#include - -QDomProcessingInstruction* PythonQtWrapper_QDomProcessingInstruction::new_QDomProcessingInstruction() -{ -return new QDomProcessingInstruction(); } - -QDomProcessingInstruction* PythonQtWrapper_QDomProcessingInstruction::new_QDomProcessingInstruction(const QDomProcessingInstruction& x) -{ -return new QDomProcessingInstruction(x); } - -QString PythonQtWrapper_QDomProcessingInstruction::data(QDomProcessingInstruction* theWrappedObject) const -{ - return ( theWrappedObject->data()); -} - -void PythonQtWrapper_QDomProcessingInstruction::setData(QDomProcessingInstruction* theWrappedObject, const QString& d) -{ - ( theWrappedObject->setData(d)); -} - -QString PythonQtWrapper_QDomProcessingInstruction::target(QDomProcessingInstruction* theWrappedObject) const -{ - return ( theWrappedObject->target()); -} - diff --git a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomProcessingInstruction.h b/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomProcessingInstruction.h deleted file mode 100644 index cce047d..0000000 --- a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomProcessingInstruction.h +++ /dev/null @@ -1,25 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QDOMPROCESSINGINSTRUCTION_H -#define PYTHONQTWRAPPER_QDOMPROCESSINGINSTRUCTION_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtWrapper_QDomProcessingInstruction : public QObject -{ Q_OBJECT -public: -public slots: -QDomProcessingInstruction* new_QDomProcessingInstruction(); -QDomProcessingInstruction* new_QDomProcessingInstruction(const QDomProcessingInstruction& x); -void delete_QDomProcessingInstruction(QDomProcessingInstruction* obj) { delete obj; } - QString data(QDomProcessingInstruction* theWrappedObject) const; - void setData(QDomProcessingInstruction* theWrappedObject, const QString& d); - QString target(QDomProcessingInstruction* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QDOMPROCESSINGINSTRUCTION_H diff --git a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomText.cpp b/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomText.cpp deleted file mode 100644 index 522a68a..0000000 --- a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomText.cpp +++ /dev/null @@ -1,22 +0,0 @@ -#include "PythonQtWrapper_QDomText.h" - -#include -#include -#include -#include -#include -#include - -QDomText* PythonQtWrapper_QDomText::new_QDomText() -{ -return new QDomText(); } - -QDomText* PythonQtWrapper_QDomText::new_QDomText(const QDomText& x) -{ -return new QDomText(x); } - -QDomText PythonQtWrapper_QDomText::splitText(QDomText* theWrappedObject, int offset) -{ - return ( theWrappedObject->splitText(offset)); -} - diff --git a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomText.h b/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomText.h deleted file mode 100644 index b11baff..0000000 --- a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QDomText.h +++ /dev/null @@ -1,23 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QDOMTEXT_H -#define PYTHONQTWRAPPER_QDOMTEXT_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtWrapper_QDomText : public QObject -{ Q_OBJECT -public: -public slots: -QDomText* new_QDomText(); -QDomText* new_QDomText(const QDomText& x); -void delete_QDomText(QDomText* obj) { delete obj; } - QDomText splitText(QDomText* theWrappedObject, int offset); -}; - -#endif // PYTHONQTWRAPPER_QDOMTEXT_H diff --git a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlAttributes.cpp b/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlAttributes.cpp deleted file mode 100644 index 8a3bf06..0000000 --- a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlAttributes.cpp +++ /dev/null @@ -1,86 +0,0 @@ -#include "PythonQtWrapper_QXmlAttributes.h" - -#include -#include -#include -#include - -QXmlAttributes* PythonQtWrapper_QXmlAttributes::new_QXmlAttributes() -{ -return new PythonQtShell_QXmlAttributes(); } - -QString PythonQtWrapper_QXmlAttributes::localName(QXmlAttributes* theWrappedObject, int index) const -{ - return ( theWrappedObject->localName(index)); -} - -void PythonQtWrapper_QXmlAttributes::clear(QXmlAttributes* theWrappedObject) -{ - ( theWrappedObject->clear()); -} - -int PythonQtWrapper_QXmlAttributes::count(QXmlAttributes* theWrappedObject) const -{ - return ( theWrappedObject->count()); -} - -QString PythonQtWrapper_QXmlAttributes::qName(QXmlAttributes* theWrappedObject, int index) const -{ - return ( theWrappedObject->qName(index)); -} - -QString PythonQtWrapper_QXmlAttributes::value(QXmlAttributes* theWrappedObject, const QString& qName) const -{ - return ( theWrappedObject->value(qName)); -} - -int PythonQtWrapper_QXmlAttributes::length(QXmlAttributes* theWrappedObject) const -{ - return ( theWrappedObject->length()); -} - -QString PythonQtWrapper_QXmlAttributes::value(QXmlAttributes* theWrappedObject, const QString& uri, const QString& localName) const -{ - return ( theWrappedObject->value(uri, localName)); -} - -QString PythonQtWrapper_QXmlAttributes::type(QXmlAttributes* theWrappedObject, const QString& uri, const QString& localName) const -{ - return ( theWrappedObject->type(uri, localName)); -} - -int PythonQtWrapper_QXmlAttributes::index(QXmlAttributes* theWrappedObject, const QString& uri, const QString& localPart) const -{ - return ( theWrappedObject->index(uri, localPart)); -} - -QString PythonQtWrapper_QXmlAttributes::type(QXmlAttributes* theWrappedObject, const QString& qName) const -{ - return ( theWrappedObject->type(qName)); -} - -void PythonQtWrapper_QXmlAttributes::append(QXmlAttributes* theWrappedObject, const QString& qName, const QString& uri, const QString& localPart, const QString& value) -{ - ( theWrappedObject->append(qName, uri, localPart, value)); -} - -QString PythonQtWrapper_QXmlAttributes::type(QXmlAttributes* theWrappedObject, int index) const -{ - return ( theWrappedObject->type(index)); -} - -int PythonQtWrapper_QXmlAttributes::index(QXmlAttributes* theWrappedObject, const QString& qName) const -{ - return ( theWrappedObject->index(qName)); -} - -QString PythonQtWrapper_QXmlAttributes::value(QXmlAttributes* theWrappedObject, int index) const -{ - return ( theWrappedObject->value(index)); -} - -QString PythonQtWrapper_QXmlAttributes::uri(QXmlAttributes* theWrappedObject, int index) const -{ - return ( theWrappedObject->uri(index)); -} - diff --git a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlAttributes.h b/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlAttributes.h deleted file mode 100644 index c3886d9..0000000 --- a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlAttributes.h +++ /dev/null @@ -1,47 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QXMLATTRIBUTES_H -#define PYTHONQTWRAPPER_QXMLATTRIBUTES_H - -#include -#include - -#include - -#include - -class PythonQtShell_QXmlAttributes : public QXmlAttributes -{ -public: - PythonQtShell_QXmlAttributes():QXmlAttributes(),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QXmlAttributes : public QObject -{ Q_OBJECT -public: -public slots: -QXmlAttributes* new_QXmlAttributes(); -QXmlAttributes* new_QXmlAttributes(const QXmlAttributes& other) { -PythonQtShell_QXmlAttributes* a = new PythonQtShell_QXmlAttributes(); -*((QXmlAttributes*)a) = other; -return a; } -void delete_QXmlAttributes(QXmlAttributes* obj) { delete obj; } - QString localName(QXmlAttributes* theWrappedObject, int index) const; - void clear(QXmlAttributes* theWrappedObject); - int count(QXmlAttributes* theWrappedObject) const; - QString qName(QXmlAttributes* theWrappedObject, int index) const; - QString value(QXmlAttributes* theWrappedObject, const QString& qName) const; - int length(QXmlAttributes* theWrappedObject) const; - QString value(QXmlAttributes* theWrappedObject, const QString& uri, const QString& localName) const; - QString type(QXmlAttributes* theWrappedObject, const QString& uri, const QString& localName) const; - int index(QXmlAttributes* theWrappedObject, const QString& uri, const QString& localPart) const; - QString type(QXmlAttributes* theWrappedObject, const QString& qName) const; - void append(QXmlAttributes* theWrappedObject, const QString& qName, const QString& uri, const QString& localPart, const QString& value); - QString type(QXmlAttributes* theWrappedObject, int index) const; - int index(QXmlAttributes* theWrappedObject, const QString& qName) const; - QString value(QXmlAttributes* theWrappedObject, int index) const; - QString uri(QXmlAttributes* theWrappedObject, int index) const; -}; - -#endif // PYTHONQTWRAPPER_QXMLATTRIBUTES_H diff --git a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlContentHandler.cpp b/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlContentHandler.cpp deleted file mode 100644 index 6213ef2..0000000 --- a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlContentHandler.cpp +++ /dev/null @@ -1,348 +0,0 @@ -#include "PythonQtWrapper_QXmlContentHandler.h" - -#include -#include -#include -#include -#include - -bool PythonQtShell_QXmlContentHandler::characters(const QString& ch) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "characters"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&ch}; - 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("characters", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - bool result; -return result; -} -bool PythonQtShell_QXmlContentHandler::endDocument() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "endDocument"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("endDocument", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - bool result; -return result; -} -bool PythonQtShell_QXmlContentHandler::endElement(const QString& namespaceURI, const QString& localName, const QString& qName) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "endElement"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&namespaceURI, (void*)&localName, (void*)&qName}; - 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("endElement", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - bool result; -return result; -} -bool PythonQtShell_QXmlContentHandler::endPrefixMapping(const QString& prefix) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "endPrefixMapping"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&prefix}; - 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("endPrefixMapping", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - bool result; -return result; -} -QString PythonQtShell_QXmlContentHandler::errorString() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "errorString"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QString"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QString returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("errorString", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QString result; -return result; -} -bool PythonQtShell_QXmlContentHandler::ignorableWhitespace(const QString& ch) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "ignorableWhitespace"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&ch}; - 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("ignorableWhitespace", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - bool result; -return result; -} -bool PythonQtShell_QXmlContentHandler::processingInstruction(const QString& target, const QString& data) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "processingInstruction"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QString&" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&target, (void*)&data}; - 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("processingInstruction", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - bool result; -return result; -} -void PythonQtShell_QXmlContentHandler::setDocumentLocator(QXmlLocator* locator) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setDocumentLocator"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QXmlLocator*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&locator}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - -} -bool PythonQtShell_QXmlContentHandler::skippedEntity(const QString& name) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "skippedEntity"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&name}; - 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("skippedEntity", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - bool result; -return result; -} -bool PythonQtShell_QXmlContentHandler::startDocument() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "startDocument"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("startDocument", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - bool result; -return result; -} -bool PythonQtShell_QXmlContentHandler::startElement(const QString& namespaceURI, const QString& localName, const QString& qName, const QXmlAttributes& atts) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "startElement"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "const QString&" , "const QXmlAttributes&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - bool returnValue; - void* args[5] = {NULL, (void*)&namespaceURI, (void*)&localName, (void*)&qName, (void*)&atts}; - 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("startElement", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - bool result; -return result; -} -bool PythonQtShell_QXmlContentHandler::startPrefixMapping(const QString& prefix, const QString& uri) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "startPrefixMapping"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QString&" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&prefix, (void*)&uri}; - 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("startPrefixMapping", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - bool result; -return result; -} -QXmlContentHandler* PythonQtWrapper_QXmlContentHandler::new_QXmlContentHandler() -{ -return new PythonQtShell_QXmlContentHandler(); } - diff --git a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlContentHandler.h b/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlContentHandler.h deleted file mode 100644 index ec6aadf..0000000 --- a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlContentHandler.h +++ /dev/null @@ -1,41 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QXMLCONTENTHANDLER_H -#define PYTHONQTWRAPPER_QXMLCONTENTHANDLER_H - -#include -#include - -#include - -#include -#include - -class PythonQtShell_QXmlContentHandler : public QXmlContentHandler -{ -public: - PythonQtShell_QXmlContentHandler():QXmlContentHandler(),_wrapper(NULL) {}; - -virtual bool characters(const QString& ch); -virtual bool endDocument(); -virtual bool endElement(const QString& namespaceURI, const QString& localName, const QString& qName); -virtual bool endPrefixMapping(const QString& prefix); -virtual QString errorString() const; -virtual bool ignorableWhitespace(const QString& ch); -virtual bool processingInstruction(const QString& target, const QString& data); -virtual void setDocumentLocator(QXmlLocator* locator); -virtual bool skippedEntity(const QString& name); -virtual bool startDocument(); -virtual bool startElement(const QString& namespaceURI, const QString& localName, const QString& qName, const QXmlAttributes& atts); -virtual bool startPrefixMapping(const QString& prefix, const QString& uri); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QXmlContentHandler : public QObject -{ Q_OBJECT -public: -public slots: -QXmlContentHandler* new_QXmlContentHandler(); -void delete_QXmlContentHandler(QXmlContentHandler* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QXMLCONTENTHANDLER_H diff --git a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlDTDHandler.cpp b/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlDTDHandler.cpp deleted file mode 100644 index 693e222..0000000 --- a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlDTDHandler.cpp +++ /dev/null @@ -1,98 +0,0 @@ -#include "PythonQtWrapper_QXmlDTDHandler.h" - -#include -#include -#include -#include - -QString PythonQtShell_QXmlDTDHandler::errorString() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "errorString"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QString"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QString returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("errorString", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QString result; -return result; -} -bool PythonQtShell_QXmlDTDHandler::notationDecl(const QString& name, const QString& publicId, const QString& systemId) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "notationDecl"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&name, (void*)&publicId, (void*)&systemId}; - 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("notationDecl", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - bool result; -return result; -} -bool PythonQtShell_QXmlDTDHandler::unparsedEntityDecl(const QString& name, const QString& publicId, const QString& systemId, const QString& notationName) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "unparsedEntityDecl"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "const QString&" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - bool returnValue; - void* args[5] = {NULL, (void*)&name, (void*)&publicId, (void*)&systemId, (void*)¬ationName}; - 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("unparsedEntityDecl", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - bool result; -return result; -} -QXmlDTDHandler* PythonQtWrapper_QXmlDTDHandler::new_QXmlDTDHandler() -{ -return new PythonQtShell_QXmlDTDHandler(); } - diff --git a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlDTDHandler.h b/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlDTDHandler.h deleted file mode 100644 index 94c08dc..0000000 --- a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlDTDHandler.h +++ /dev/null @@ -1,31 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QXMLDTDHANDLER_H -#define PYTHONQTWRAPPER_QXMLDTDHANDLER_H - -#include -#include - -#include - -#include - -class PythonQtShell_QXmlDTDHandler : public QXmlDTDHandler -{ -public: - PythonQtShell_QXmlDTDHandler():QXmlDTDHandler(),_wrapper(NULL) {}; - -virtual QString errorString() const; -virtual bool notationDecl(const QString& name, const QString& publicId, const QString& systemId); -virtual bool unparsedEntityDecl(const QString& name, const QString& publicId, const QString& systemId, const QString& notationName); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QXmlDTDHandler : public QObject -{ Q_OBJECT -public: -public slots: -QXmlDTDHandler* new_QXmlDTDHandler(); -void delete_QXmlDTDHandler(QXmlDTDHandler* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QXMLDTDHANDLER_H diff --git a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlDeclHandler.cpp b/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlDeclHandler.cpp deleted file mode 100644 index aa54a7f..0000000 --- a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlDeclHandler.cpp +++ /dev/null @@ -1,127 +0,0 @@ -#include "PythonQtWrapper_QXmlDeclHandler.h" - -#include -#include -#include -#include - -bool PythonQtShell_QXmlDeclHandler::attributeDecl(const QString& eName, const QString& aName, const QString& type, const QString& valueDefault, const QString& value) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "attributeDecl"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "const QString&" , "const QString&" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue; - void* args[6] = {NULL, (void*)&eName, (void*)&aName, (void*)&type, (void*)&valueDefault, (void*)&value}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("attributeDecl", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - bool result; -return result; -} -QString PythonQtShell_QXmlDeclHandler::errorString() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "errorString"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QString"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QString returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("errorString", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QString result; -return result; -} -bool PythonQtShell_QXmlDeclHandler::externalEntityDecl(const QString& name, const QString& publicId, const QString& systemId) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "externalEntityDecl"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&name, (void*)&publicId, (void*)&systemId}; - 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("externalEntityDecl", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - bool result; -return result; -} -bool PythonQtShell_QXmlDeclHandler::internalEntityDecl(const QString& name, const QString& value) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "internalEntityDecl"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QString&" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&name, (void*)&value}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("internalEntityDecl", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - bool result; -return result; -} -QXmlDeclHandler* PythonQtWrapper_QXmlDeclHandler::new_QXmlDeclHandler() -{ -return new PythonQtShell_QXmlDeclHandler(); } - diff --git a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlDeclHandler.h b/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlDeclHandler.h deleted file mode 100644 index cda7848..0000000 --- a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlDeclHandler.h +++ /dev/null @@ -1,32 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QXMLDECLHANDLER_H -#define PYTHONQTWRAPPER_QXMLDECLHANDLER_H - -#include -#include - -#include - -#include - -class PythonQtShell_QXmlDeclHandler : public QXmlDeclHandler -{ -public: - PythonQtShell_QXmlDeclHandler():QXmlDeclHandler(),_wrapper(NULL) {}; - -virtual bool attributeDecl(const QString& eName, const QString& aName, const QString& type, const QString& valueDefault, const QString& value); -virtual QString errorString() const; -virtual bool externalEntityDecl(const QString& name, const QString& publicId, const QString& systemId); -virtual bool internalEntityDecl(const QString& name, const QString& value); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QXmlDeclHandler : public QObject -{ Q_OBJECT -public: -public slots: -QXmlDeclHandler* new_QXmlDeclHandler(); -void delete_QXmlDeclHandler(QXmlDeclHandler* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QXMLDECLHANDLER_H diff --git a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlDefaultHandler.cpp b/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlDefaultHandler.cpp deleted file mode 100644 index 69d3531..0000000 --- a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlDefaultHandler.cpp +++ /dev/null @@ -1,925 +0,0 @@ -#include "PythonQtWrapper_QXmlDefaultHandler.h" - -#include -#include -#include -#include -#include - -bool PythonQtShell_QXmlDefaultHandler::attributeDecl(const QString& eName, const QString& aName, const QString& type, const QString& valueDefault, const QString& value) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "attributeDecl"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "const QString&" , "const QString&" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue; - void* args[6] = {NULL, (void*)&eName, (void*)&aName, (void*)&type, (void*)&valueDefault, (void*)&value}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("attributeDecl", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QXmlDefaultHandler::attributeDecl(eName, aName, type, valueDefault, value); -} -bool PythonQtShell_QXmlDefaultHandler::characters(const QString& ch) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "characters"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&ch}; - 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("characters", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QXmlDefaultHandler::characters(ch); -} -bool PythonQtShell_QXmlDefaultHandler::comment(const QString& ch) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "comment"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&ch}; - 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("comment", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QXmlDefaultHandler::comment(ch); -} -bool PythonQtShell_QXmlDefaultHandler::endCDATA() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "endCDATA"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("endCDATA", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QXmlDefaultHandler::endCDATA(); -} -bool PythonQtShell_QXmlDefaultHandler::endDTD() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "endDTD"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("endDTD", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QXmlDefaultHandler::endDTD(); -} -bool PythonQtShell_QXmlDefaultHandler::endDocument() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "endDocument"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("endDocument", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QXmlDefaultHandler::endDocument(); -} -bool PythonQtShell_QXmlDefaultHandler::endElement(const QString& namespaceURI, const QString& localName, const QString& qName) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "endElement"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&namespaceURI, (void*)&localName, (void*)&qName}; - 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("endElement", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QXmlDefaultHandler::endElement(namespaceURI, localName, qName); -} -bool PythonQtShell_QXmlDefaultHandler::endEntity(const QString& name) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "endEntity"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&name}; - 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("endEntity", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QXmlDefaultHandler::endEntity(name); -} -bool PythonQtShell_QXmlDefaultHandler::endPrefixMapping(const QString& prefix) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "endPrefixMapping"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&prefix}; - 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("endPrefixMapping", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QXmlDefaultHandler::endPrefixMapping(prefix); -} -bool PythonQtShell_QXmlDefaultHandler::error(const QXmlParseException& exception) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "error"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QXmlParseException&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&exception}; - 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("error", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QXmlDefaultHandler::error(exception); -} -QString PythonQtShell_QXmlDefaultHandler::errorString() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "errorString"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QString"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QString returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("errorString", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QXmlDefaultHandler::errorString(); -} -bool PythonQtShell_QXmlDefaultHandler::externalEntityDecl(const QString& name, const QString& publicId, const QString& systemId) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "externalEntityDecl"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&name, (void*)&publicId, (void*)&systemId}; - 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("externalEntityDecl", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QXmlDefaultHandler::externalEntityDecl(name, publicId, systemId); -} -bool PythonQtShell_QXmlDefaultHandler::fatalError(const QXmlParseException& exception) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "fatalError"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QXmlParseException&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&exception}; - 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("fatalError", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QXmlDefaultHandler::fatalError(exception); -} -bool PythonQtShell_QXmlDefaultHandler::ignorableWhitespace(const QString& ch) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "ignorableWhitespace"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&ch}; - 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("ignorableWhitespace", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QXmlDefaultHandler::ignorableWhitespace(ch); -} -bool PythonQtShell_QXmlDefaultHandler::internalEntityDecl(const QString& name, const QString& value) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "internalEntityDecl"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QString&" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&name, (void*)&value}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("internalEntityDecl", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QXmlDefaultHandler::internalEntityDecl(name, value); -} -bool PythonQtShell_QXmlDefaultHandler::notationDecl(const QString& name, const QString& publicId, const QString& systemId) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "notationDecl"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&name, (void*)&publicId, (void*)&systemId}; - 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("notationDecl", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QXmlDefaultHandler::notationDecl(name, publicId, systemId); -} -bool PythonQtShell_QXmlDefaultHandler::processingInstruction(const QString& target, const QString& data) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "processingInstruction"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QString&" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&target, (void*)&data}; - 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("processingInstruction", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QXmlDefaultHandler::processingInstruction(target, data); -} -bool PythonQtShell_QXmlDefaultHandler::resolveEntity(const QString& publicId, const QString& systemId, QXmlInputSource*& ret) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resolveEntity"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "QXmlInputSource*&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&publicId, (void*)&systemId, (void*)&ret}; - 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("resolveEntity", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QXmlDefaultHandler::resolveEntity(publicId, systemId, ret); -} -void PythonQtShell_QXmlDefaultHandler::setDocumentLocator(QXmlLocator* locator) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setDocumentLocator"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QXmlLocator*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&locator}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QXmlDefaultHandler::setDocumentLocator(locator); -} -bool PythonQtShell_QXmlDefaultHandler::skippedEntity(const QString& name) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "skippedEntity"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&name}; - 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("skippedEntity", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QXmlDefaultHandler::skippedEntity(name); -} -bool PythonQtShell_QXmlDefaultHandler::startCDATA() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "startCDATA"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("startCDATA", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QXmlDefaultHandler::startCDATA(); -} -bool PythonQtShell_QXmlDefaultHandler::startDTD(const QString& name, const QString& publicId, const QString& systemId) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "startDTD"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&name, (void*)&publicId, (void*)&systemId}; - 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("startDTD", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QXmlDefaultHandler::startDTD(name, publicId, systemId); -} -bool PythonQtShell_QXmlDefaultHandler::startDocument() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "startDocument"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("startDocument", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QXmlDefaultHandler::startDocument(); -} -bool PythonQtShell_QXmlDefaultHandler::startElement(const QString& namespaceURI, const QString& localName, const QString& qName, const QXmlAttributes& atts) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "startElement"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "const QString&" , "const QXmlAttributes&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - bool returnValue; - void* args[5] = {NULL, (void*)&namespaceURI, (void*)&localName, (void*)&qName, (void*)&atts}; - 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("startElement", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QXmlDefaultHandler::startElement(namespaceURI, localName, qName, atts); -} -bool PythonQtShell_QXmlDefaultHandler::startEntity(const QString& name) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "startEntity"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&name}; - 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("startEntity", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QXmlDefaultHandler::startEntity(name); -} -bool PythonQtShell_QXmlDefaultHandler::startPrefixMapping(const QString& prefix, const QString& uri) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "startPrefixMapping"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QString&" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&prefix, (void*)&uri}; - 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("startPrefixMapping", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QXmlDefaultHandler::startPrefixMapping(prefix, uri); -} -bool PythonQtShell_QXmlDefaultHandler::unparsedEntityDecl(const QString& name, const QString& publicId, const QString& systemId, const QString& notationName) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "unparsedEntityDecl"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "const QString&" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - bool returnValue; - void* args[5] = {NULL, (void*)&name, (void*)&publicId, (void*)&systemId, (void*)¬ationName}; - 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("unparsedEntityDecl", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QXmlDefaultHandler::unparsedEntityDecl(name, publicId, systemId, notationName); -} -bool PythonQtShell_QXmlDefaultHandler::warning(const QXmlParseException& exception) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "warning"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QXmlParseException&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&exception}; - 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("warning", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QXmlDefaultHandler::warning(exception); -} -QXmlDefaultHandler* PythonQtWrapper_QXmlDefaultHandler::new_QXmlDefaultHandler() -{ -return new PythonQtShell_QXmlDefaultHandler(); } - -bool PythonQtWrapper_QXmlDefaultHandler::endCDATA(QXmlDefaultHandler* theWrappedObject) -{ - return ( ((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->promoted_endCDATA()); -} - -bool PythonQtWrapper_QXmlDefaultHandler::endEntity(QXmlDefaultHandler* theWrappedObject, const QString& name) -{ - return ( ((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->promoted_endEntity(name)); -} - -bool PythonQtWrapper_QXmlDefaultHandler::internalEntityDecl(QXmlDefaultHandler* theWrappedObject, const QString& name, const QString& value) -{ - return ( ((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->promoted_internalEntityDecl(name, value)); -} - -bool PythonQtWrapper_QXmlDefaultHandler::startDTD(QXmlDefaultHandler* theWrappedObject, const QString& name, const QString& publicId, const QString& systemId) -{ - return ( ((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->promoted_startDTD(name, publicId, systemId)); -} - -bool PythonQtWrapper_QXmlDefaultHandler::startEntity(QXmlDefaultHandler* theWrappedObject, const QString& name) -{ - return ( ((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->promoted_startEntity(name)); -} - -QString PythonQtWrapper_QXmlDefaultHandler::errorString(QXmlDefaultHandler* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->promoted_errorString()); -} - -bool PythonQtWrapper_QXmlDefaultHandler::notationDecl(QXmlDefaultHandler* theWrappedObject, const QString& name, const QString& publicId, const QString& systemId) -{ - return ( ((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->promoted_notationDecl(name, publicId, systemId)); -} - -bool PythonQtWrapper_QXmlDefaultHandler::characters(QXmlDefaultHandler* theWrappedObject, const QString& ch) -{ - return ( ((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->promoted_characters(ch)); -} - -bool PythonQtWrapper_QXmlDefaultHandler::comment(QXmlDefaultHandler* theWrappedObject, const QString& ch) -{ - return ( ((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->promoted_comment(ch)); -} - -bool PythonQtWrapper_QXmlDefaultHandler::skippedEntity(QXmlDefaultHandler* theWrappedObject, const QString& name) -{ - return ( ((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->promoted_skippedEntity(name)); -} - -bool PythonQtWrapper_QXmlDefaultHandler::endDocument(QXmlDefaultHandler* theWrappedObject) -{ - return ( ((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->promoted_endDocument()); -} - -bool PythonQtWrapper_QXmlDefaultHandler::endPrefixMapping(QXmlDefaultHandler* theWrappedObject, const QString& prefix) -{ - return ( ((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->promoted_endPrefixMapping(prefix)); -} - -void PythonQtWrapper_QXmlDefaultHandler::setDocumentLocator(QXmlDefaultHandler* theWrappedObject, QXmlLocator* locator) -{ - ( ((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->promoted_setDocumentLocator(locator)); -} - -bool PythonQtWrapper_QXmlDefaultHandler::ignorableWhitespace(QXmlDefaultHandler* theWrappedObject, const QString& ch) -{ - return ( ((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->promoted_ignorableWhitespace(ch)); -} - -bool PythonQtWrapper_QXmlDefaultHandler::externalEntityDecl(QXmlDefaultHandler* theWrappedObject, const QString& name, const QString& publicId, const QString& systemId) -{ - return ( ((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->promoted_externalEntityDecl(name, publicId, systemId)); -} - -bool PythonQtWrapper_QXmlDefaultHandler::attributeDecl(QXmlDefaultHandler* theWrappedObject, const QString& eName, const QString& aName, const QString& type, const QString& valueDefault, const QString& value) -{ - return ( ((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->promoted_attributeDecl(eName, aName, type, valueDefault, value)); -} - -bool PythonQtWrapper_QXmlDefaultHandler::endElement(QXmlDefaultHandler* theWrappedObject, const QString& namespaceURI, const QString& localName, const QString& qName) -{ - return ( ((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->promoted_endElement(namespaceURI, localName, qName)); -} - -bool PythonQtWrapper_QXmlDefaultHandler::resolveEntity(QXmlDefaultHandler* theWrappedObject, const QString& publicId, const QString& systemId, QXmlInputSource*& ret) -{ - return ( ((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->promoted_resolveEntity(publicId, systemId, ret)); -} - -bool PythonQtWrapper_QXmlDefaultHandler::error(QXmlDefaultHandler* theWrappedObject, const QXmlParseException& exception) -{ - return ( ((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->promoted_error(exception)); -} - -bool PythonQtWrapper_QXmlDefaultHandler::startDocument(QXmlDefaultHandler* theWrappedObject) -{ - return ( ((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->promoted_startDocument()); -} - -bool PythonQtWrapper_QXmlDefaultHandler::startPrefixMapping(QXmlDefaultHandler* theWrappedObject, const QString& prefix, const QString& uri) -{ - return ( ((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->promoted_startPrefixMapping(prefix, uri)); -} - -bool PythonQtWrapper_QXmlDefaultHandler::unparsedEntityDecl(QXmlDefaultHandler* theWrappedObject, const QString& name, const QString& publicId, const QString& systemId, const QString& notationName) -{ - return ( ((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->promoted_unparsedEntityDecl(name, publicId, systemId, notationName)); -} - -bool PythonQtWrapper_QXmlDefaultHandler::warning(QXmlDefaultHandler* theWrappedObject, const QXmlParseException& exception) -{ - return ( ((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->promoted_warning(exception)); -} - -bool PythonQtWrapper_QXmlDefaultHandler::fatalError(QXmlDefaultHandler* theWrappedObject, const QXmlParseException& exception) -{ - return ( ((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->promoted_fatalError(exception)); -} - -bool PythonQtWrapper_QXmlDefaultHandler::startElement(QXmlDefaultHandler* theWrappedObject, const QString& namespaceURI, const QString& localName, const QString& qName, const QXmlAttributes& atts) -{ - return ( ((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->promoted_startElement(namespaceURI, localName, qName, atts)); -} - -bool PythonQtWrapper_QXmlDefaultHandler::processingInstruction(QXmlDefaultHandler* theWrappedObject, const QString& target, const QString& data) -{ - return ( ((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->promoted_processingInstruction(target, data)); -} - -bool PythonQtWrapper_QXmlDefaultHandler::startCDATA(QXmlDefaultHandler* theWrappedObject) -{ - return ( ((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->promoted_startCDATA()); -} - -bool PythonQtWrapper_QXmlDefaultHandler::endDTD(QXmlDefaultHandler* theWrappedObject) -{ - return ( ((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->promoted_endDTD()); -} - diff --git a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlDefaultHandler.h b/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlDefaultHandler.h deleted file mode 100644 index 5fbffd2..0000000 --- a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlDefaultHandler.h +++ /dev/null @@ -1,117 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QXMLDEFAULTHANDLER_H -#define PYTHONQTWRAPPER_QXMLDEFAULTHANDLER_H - -#include -#include - -#include - -#include -#include - -class PythonQtShell_QXmlDefaultHandler : public QXmlDefaultHandler -{ -public: - PythonQtShell_QXmlDefaultHandler():QXmlDefaultHandler(),_wrapper(NULL) {}; - -virtual bool attributeDecl(const QString& eName, const QString& aName, const QString& type, const QString& valueDefault, const QString& value); -virtual bool characters(const QString& ch); -virtual bool comment(const QString& ch); -virtual bool endCDATA(); -virtual bool endDTD(); -virtual bool endDocument(); -virtual bool endElement(const QString& namespaceURI, const QString& localName, const QString& qName); -virtual bool endEntity(const QString& name); -virtual bool endPrefixMapping(const QString& prefix); -virtual bool error(const QXmlParseException& exception); -virtual QString errorString() const; -virtual bool externalEntityDecl(const QString& name, const QString& publicId, const QString& systemId); -virtual bool fatalError(const QXmlParseException& exception); -virtual bool ignorableWhitespace(const QString& ch); -virtual bool internalEntityDecl(const QString& name, const QString& value); -virtual bool notationDecl(const QString& name, const QString& publicId, const QString& systemId); -virtual bool processingInstruction(const QString& target, const QString& data); -virtual bool resolveEntity(const QString& publicId, const QString& systemId, QXmlInputSource*& ret); -virtual void setDocumentLocator(QXmlLocator* locator); -virtual bool skippedEntity(const QString& name); -virtual bool startCDATA(); -virtual bool startDTD(const QString& name, const QString& publicId, const QString& systemId); -virtual bool startDocument(); -virtual bool startElement(const QString& namespaceURI, const QString& localName, const QString& qName, const QXmlAttributes& atts); -virtual bool startEntity(const QString& name); -virtual bool startPrefixMapping(const QString& prefix, const QString& uri); -virtual bool unparsedEntityDecl(const QString& name, const QString& publicId, const QString& systemId, const QString& notationName); -virtual bool warning(const QXmlParseException& exception); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QXmlDefaultHandler : public QXmlDefaultHandler -{ public: -inline bool promoted_endCDATA() { return QXmlDefaultHandler::endCDATA(); } -inline bool promoted_endEntity(const QString& name) { return QXmlDefaultHandler::endEntity(name); } -inline bool promoted_internalEntityDecl(const QString& name, const QString& value) { return QXmlDefaultHandler::internalEntityDecl(name, value); } -inline bool promoted_startDTD(const QString& name, const QString& publicId, const QString& systemId) { return QXmlDefaultHandler::startDTD(name, publicId, systemId); } -inline bool promoted_startEntity(const QString& name) { return QXmlDefaultHandler::startEntity(name); } -inline QString promoted_errorString() const { return QXmlDefaultHandler::errorString(); } -inline bool promoted_notationDecl(const QString& name, const QString& publicId, const QString& systemId) { return QXmlDefaultHandler::notationDecl(name, publicId, systemId); } -inline bool promoted_characters(const QString& ch) { return QXmlDefaultHandler::characters(ch); } -inline bool promoted_comment(const QString& ch) { return QXmlDefaultHandler::comment(ch); } -inline bool promoted_skippedEntity(const QString& name) { return QXmlDefaultHandler::skippedEntity(name); } -inline bool promoted_endDocument() { return QXmlDefaultHandler::endDocument(); } -inline bool promoted_endPrefixMapping(const QString& prefix) { return QXmlDefaultHandler::endPrefixMapping(prefix); } -inline void promoted_setDocumentLocator(QXmlLocator* locator) { QXmlDefaultHandler::setDocumentLocator(locator); } -inline bool promoted_ignorableWhitespace(const QString& ch) { return QXmlDefaultHandler::ignorableWhitespace(ch); } -inline bool promoted_externalEntityDecl(const QString& name, const QString& publicId, const QString& systemId) { return QXmlDefaultHandler::externalEntityDecl(name, publicId, systemId); } -inline bool promoted_attributeDecl(const QString& eName, const QString& aName, const QString& type, const QString& valueDefault, const QString& value) { return QXmlDefaultHandler::attributeDecl(eName, aName, type, valueDefault, value); } -inline bool promoted_endElement(const QString& namespaceURI, const QString& localName, const QString& qName) { return QXmlDefaultHandler::endElement(namespaceURI, localName, qName); } -inline bool promoted_resolveEntity(const QString& publicId, const QString& systemId, QXmlInputSource*& ret) { return QXmlDefaultHandler::resolveEntity(publicId, systemId, ret); } -inline bool promoted_error(const QXmlParseException& exception) { return QXmlDefaultHandler::error(exception); } -inline bool promoted_startDocument() { return QXmlDefaultHandler::startDocument(); } -inline bool promoted_startPrefixMapping(const QString& prefix, const QString& uri) { return QXmlDefaultHandler::startPrefixMapping(prefix, uri); } -inline bool promoted_unparsedEntityDecl(const QString& name, const QString& publicId, const QString& systemId, const QString& notationName) { return QXmlDefaultHandler::unparsedEntityDecl(name, publicId, systemId, notationName); } -inline bool promoted_warning(const QXmlParseException& exception) { return QXmlDefaultHandler::warning(exception); } -inline bool promoted_fatalError(const QXmlParseException& exception) { return QXmlDefaultHandler::fatalError(exception); } -inline bool promoted_startElement(const QString& namespaceURI, const QString& localName, const QString& qName, const QXmlAttributes& atts) { return QXmlDefaultHandler::startElement(namespaceURI, localName, qName, atts); } -inline bool promoted_processingInstruction(const QString& target, const QString& data) { return QXmlDefaultHandler::processingInstruction(target, data); } -inline bool promoted_startCDATA() { return QXmlDefaultHandler::startCDATA(); } -inline bool promoted_endDTD() { return QXmlDefaultHandler::endDTD(); } -}; - -class PythonQtWrapper_QXmlDefaultHandler : public QObject -{ Q_OBJECT -public: -public slots: -QXmlDefaultHandler* new_QXmlDefaultHandler(); -void delete_QXmlDefaultHandler(QXmlDefaultHandler* obj) { delete obj; } - bool endCDATA(QXmlDefaultHandler* theWrappedObject); - bool endEntity(QXmlDefaultHandler* theWrappedObject, const QString& name); - bool internalEntityDecl(QXmlDefaultHandler* theWrappedObject, const QString& name, const QString& value); - bool startDTD(QXmlDefaultHandler* theWrappedObject, const QString& name, const QString& publicId, const QString& systemId); - bool startEntity(QXmlDefaultHandler* theWrappedObject, const QString& name); - QString errorString(QXmlDefaultHandler* theWrappedObject) const; - bool notationDecl(QXmlDefaultHandler* theWrappedObject, const QString& name, const QString& publicId, const QString& systemId); - bool characters(QXmlDefaultHandler* theWrappedObject, const QString& ch); - bool comment(QXmlDefaultHandler* theWrappedObject, const QString& ch); - bool skippedEntity(QXmlDefaultHandler* theWrappedObject, const QString& name); - bool endDocument(QXmlDefaultHandler* theWrappedObject); - bool endPrefixMapping(QXmlDefaultHandler* theWrappedObject, const QString& prefix); - void setDocumentLocator(QXmlDefaultHandler* theWrappedObject, QXmlLocator* locator); - bool ignorableWhitespace(QXmlDefaultHandler* theWrappedObject, const QString& ch); - bool externalEntityDecl(QXmlDefaultHandler* theWrappedObject, const QString& name, const QString& publicId, const QString& systemId); - bool attributeDecl(QXmlDefaultHandler* theWrappedObject, const QString& eName, const QString& aName, const QString& type, const QString& valueDefault, const QString& value); - bool endElement(QXmlDefaultHandler* theWrappedObject, const QString& namespaceURI, const QString& localName, const QString& qName); - bool resolveEntity(QXmlDefaultHandler* theWrappedObject, const QString& publicId, const QString& systemId, QXmlInputSource*& ret); - bool error(QXmlDefaultHandler* theWrappedObject, const QXmlParseException& exception); - bool startDocument(QXmlDefaultHandler* theWrappedObject); - bool startPrefixMapping(QXmlDefaultHandler* theWrappedObject, const QString& prefix, const QString& uri); - bool unparsedEntityDecl(QXmlDefaultHandler* theWrappedObject, const QString& name, const QString& publicId, const QString& systemId, const QString& notationName); - bool warning(QXmlDefaultHandler* theWrappedObject, const QXmlParseException& exception); - bool fatalError(QXmlDefaultHandler* theWrappedObject, const QXmlParseException& exception); - bool startElement(QXmlDefaultHandler* theWrappedObject, const QString& namespaceURI, const QString& localName, const QString& qName, const QXmlAttributes& atts); - bool processingInstruction(QXmlDefaultHandler* theWrappedObject, const QString& target, const QString& data); - bool startCDATA(QXmlDefaultHandler* theWrappedObject); - bool endDTD(QXmlDefaultHandler* theWrappedObject); -}; - -#endif // PYTHONQTWRAPPER_QXMLDEFAULTHANDLER_H diff --git a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlEntityResolver.cpp b/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlEntityResolver.cpp deleted file mode 100644 index e5fe8ae..0000000 --- a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlEntityResolver.cpp +++ /dev/null @@ -1,70 +0,0 @@ -#include "PythonQtWrapper_QXmlEntityResolver.h" - -#include -#include -#include -#include -#include - -QString PythonQtShell_QXmlEntityResolver::errorString() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "errorString"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QString"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QString returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("errorString", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QString result; -return result; -} -bool PythonQtShell_QXmlEntityResolver::resolveEntity(const QString& publicId, const QString& systemId, QXmlInputSource*& ret) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resolveEntity"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "QXmlInputSource*&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&publicId, (void*)&systemId, (void*)&ret}; - 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("resolveEntity", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - bool result; -return result; -} -QXmlEntityResolver* PythonQtWrapper_QXmlEntityResolver::new_QXmlEntityResolver() -{ -return new PythonQtShell_QXmlEntityResolver(); } - diff --git a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlEntityResolver.h b/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlEntityResolver.h deleted file mode 100644 index 14b9e08..0000000 --- a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlEntityResolver.h +++ /dev/null @@ -1,31 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QXMLENTITYRESOLVER_H -#define PYTHONQTWRAPPER_QXMLENTITYRESOLVER_H - -#include -#include - -#include - -#include -#include - -class PythonQtShell_QXmlEntityResolver : public QXmlEntityResolver -{ -public: - PythonQtShell_QXmlEntityResolver():QXmlEntityResolver(),_wrapper(NULL) {}; - -virtual QString errorString() const; -virtual bool resolveEntity(const QString& publicId, const QString& systemId, QXmlInputSource*& ret); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QXmlEntityResolver : public QObject -{ Q_OBJECT -public: -public slots: -QXmlEntityResolver* new_QXmlEntityResolver(); -void delete_QXmlEntityResolver(QXmlEntityResolver* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QXMLENTITYRESOLVER_H diff --git a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlErrorHandler.cpp b/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlErrorHandler.cpp deleted file mode 100644 index 17c14b5..0000000 --- a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlErrorHandler.cpp +++ /dev/null @@ -1,128 +0,0 @@ -#include "PythonQtWrapper_QXmlErrorHandler.h" - -#include -#include -#include -#include -#include - -bool PythonQtShell_QXmlErrorHandler::error(const QXmlParseException& exception) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "error"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QXmlParseException&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&exception}; - 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("error", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - bool result; -return result; -} -QString PythonQtShell_QXmlErrorHandler::errorString() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "errorString"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QString"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QString returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("errorString", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QString result; -return result; -} -bool PythonQtShell_QXmlErrorHandler::fatalError(const QXmlParseException& exception) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "fatalError"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QXmlParseException&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&exception}; - 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("fatalError", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - bool result; -return result; -} -bool PythonQtShell_QXmlErrorHandler::warning(const QXmlParseException& exception) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "warning"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QXmlParseException&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&exception}; - 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("warning", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - bool result; -return result; -} -QXmlErrorHandler* PythonQtWrapper_QXmlErrorHandler::new_QXmlErrorHandler() -{ -return new PythonQtShell_QXmlErrorHandler(); } - diff --git a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlErrorHandler.h b/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlErrorHandler.h deleted file mode 100644 index 597bb1b..0000000 --- a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlErrorHandler.h +++ /dev/null @@ -1,33 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QXMLERRORHANDLER_H -#define PYTHONQTWRAPPER_QXMLERRORHANDLER_H - -#include -#include - -#include - -#include -#include - -class PythonQtShell_QXmlErrorHandler : public QXmlErrorHandler -{ -public: - PythonQtShell_QXmlErrorHandler():QXmlErrorHandler(),_wrapper(NULL) {}; - -virtual bool error(const QXmlParseException& exception); -virtual QString errorString() const; -virtual bool fatalError(const QXmlParseException& exception); -virtual bool warning(const QXmlParseException& exception); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QXmlErrorHandler : public QObject -{ Q_OBJECT -public: -public slots: -QXmlErrorHandler* new_QXmlErrorHandler(); -void delete_QXmlErrorHandler(QXmlErrorHandler* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QXMLERRORHANDLER_H diff --git a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlInputSource.cpp b/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlInputSource.cpp deleted file mode 100644 index ba38ff1..0000000 --- a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlInputSource.cpp +++ /dev/null @@ -1,204 +0,0 @@ -#include "PythonQtWrapper_QXmlInputSource.h" - -#include -#include -#include -#include -#include -#include - -QString PythonQtShell_QXmlInputSource::data() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "data"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QString"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QString returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QXmlInputSource::data(); -} -void PythonQtShell_QXmlInputSource::fetchData() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "fetchData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QXmlInputSource::fetchData(); -} -QString PythonQtShell_QXmlInputSource::fromRawData(const QByteArray& data, bool beginning) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "fromRawData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QString" , "const QByteArray&" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QString returnValue; - void* args[3] = {NULL, (void*)&data, (void*)&beginning}; - 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("fromRawData", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QXmlInputSource::fromRawData(data, beginning); -} -QChar PythonQtShell_QXmlInputSource::next() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "next"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QChar"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QChar returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("next", methodInfo, result); - } else { - returnValue = *((QChar*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QXmlInputSource::next(); -} -void PythonQtShell_QXmlInputSource::reset() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reset"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QXmlInputSource::reset(); -} -void PythonQtShell_QXmlInputSource::setData(const QByteArray& dat) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QByteArray&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&dat}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QXmlInputSource::setData(dat); -} -void PythonQtShell_QXmlInputSource::setData(const QString& dat) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setData"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&dat}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QXmlInputSource::setData(dat); -} -QXmlInputSource* PythonQtWrapper_QXmlInputSource::new_QXmlInputSource() -{ -return new PythonQtShell_QXmlInputSource(); } - -QXmlInputSource* PythonQtWrapper_QXmlInputSource::new_QXmlInputSource(QIODevice* dev) -{ -return new PythonQtShell_QXmlInputSource(dev); } - -void PythonQtWrapper_QXmlInputSource::fetchData(QXmlInputSource* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QXmlInputSource*)theWrappedObject)->promoted_fetchData()); -} - -void PythonQtWrapper_QXmlInputSource::setData(QXmlInputSource* theWrappedObject, const QByteArray& dat) -{ - ( ((PythonQtPublicPromoter_QXmlInputSource*)theWrappedObject)->promoted_setData(dat)); -} - -void PythonQtWrapper_QXmlInputSource::setData(QXmlInputSource* theWrappedObject, const QString& dat) -{ - ( ((PythonQtPublicPromoter_QXmlInputSource*)theWrappedObject)->promoted_setData(dat)); -} - -QChar PythonQtWrapper_QXmlInputSource::next(QXmlInputSource* theWrappedObject) -{ - return ( ((PythonQtPublicPromoter_QXmlInputSource*)theWrappedObject)->promoted_next()); -} - -QString PythonQtWrapper_QXmlInputSource::fromRawData(QXmlInputSource* theWrappedObject, const QByteArray& data, bool beginning) -{ - return ( ((PythonQtPublicPromoter_QXmlInputSource*)theWrappedObject)->promoted_fromRawData(data, beginning)); -} - -QString PythonQtWrapper_QXmlInputSource::data(QXmlInputSource* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QXmlInputSource*)theWrappedObject)->promoted_data()); -} - -void PythonQtWrapper_QXmlInputSource::reset(QXmlInputSource* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QXmlInputSource*)theWrappedObject)->promoted_reset()); -} - diff --git a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlInputSource.h b/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlInputSource.h deleted file mode 100644 index 4984faf..0000000 --- a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlInputSource.h +++ /dev/null @@ -1,57 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QXMLINPUTSOURCE_H -#define PYTHONQTWRAPPER_QXMLINPUTSOURCE_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtShell_QXmlInputSource : public QXmlInputSource -{ -public: - PythonQtShell_QXmlInputSource():QXmlInputSource(),_wrapper(NULL) {}; - PythonQtShell_QXmlInputSource(QIODevice* dev):QXmlInputSource(dev),_wrapper(NULL) {}; - -virtual QString data() const; -virtual void fetchData(); -virtual QString fromRawData(const QByteArray& data, bool beginning = false); -virtual QChar next(); -virtual void reset(); -virtual void setData(const QByteArray& dat); -virtual void setData(const QString& dat); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QXmlInputSource : public QXmlInputSource -{ public: -inline void promoted_fetchData() { QXmlInputSource::fetchData(); } -inline void promoted_setData(const QByteArray& dat) { QXmlInputSource::setData(dat); } -inline void promoted_setData(const QString& dat) { QXmlInputSource::setData(dat); } -inline QChar promoted_next() { return QXmlInputSource::next(); } -inline QString promoted_fromRawData(const QByteArray& data, bool beginning = false) { return QXmlInputSource::fromRawData(data, beginning); } -inline QString promoted_data() const { return QXmlInputSource::data(); } -inline void promoted_reset() { QXmlInputSource::reset(); } -}; - -class PythonQtWrapper_QXmlInputSource : public QObject -{ Q_OBJECT -public: -public slots: -QXmlInputSource* new_QXmlInputSource(); -QXmlInputSource* new_QXmlInputSource(QIODevice* dev); -void delete_QXmlInputSource(QXmlInputSource* obj) { delete obj; } - void fetchData(QXmlInputSource* theWrappedObject); - void setData(QXmlInputSource* theWrappedObject, const QByteArray& dat); - void setData(QXmlInputSource* theWrappedObject, const QString& dat); - QChar next(QXmlInputSource* theWrappedObject); - QString fromRawData(QXmlInputSource* theWrappedObject, const QByteArray& data, bool beginning = false); - QString data(QXmlInputSource* theWrappedObject) const; - void reset(QXmlInputSource* theWrappedObject); -}; - -#endif // PYTHONQTWRAPPER_QXMLINPUTSOURCE_H diff --git a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlLexicalHandler.cpp b/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlLexicalHandler.cpp deleted file mode 100644 index 957a672..0000000 --- a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlLexicalHandler.cpp +++ /dev/null @@ -1,243 +0,0 @@ -#include "PythonQtWrapper_QXmlLexicalHandler.h" - -#include -#include -#include -#include - -bool PythonQtShell_QXmlLexicalHandler::comment(const QString& ch) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "comment"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&ch}; - 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("comment", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - bool result; -return result; -} -bool PythonQtShell_QXmlLexicalHandler::endCDATA() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "endCDATA"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("endCDATA", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - bool result; -return result; -} -bool PythonQtShell_QXmlLexicalHandler::endDTD() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "endDTD"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("endDTD", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - bool result; -return result; -} -bool PythonQtShell_QXmlLexicalHandler::endEntity(const QString& name) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "endEntity"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&name}; - 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("endEntity", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - bool result; -return result; -} -QString PythonQtShell_QXmlLexicalHandler::errorString() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "errorString"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QString"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QString returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("errorString", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QString result; -return result; -} -bool PythonQtShell_QXmlLexicalHandler::startCDATA() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "startCDATA"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("startCDATA", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - bool result; -return result; -} -bool PythonQtShell_QXmlLexicalHandler::startDTD(const QString& name, const QString& publicId, const QString& systemId) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "startDTD"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&name, (void*)&publicId, (void*)&systemId}; - 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("startDTD", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - bool result; -return result; -} -bool PythonQtShell_QXmlLexicalHandler::startEntity(const QString& name) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "startEntity"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&name}; - 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("startEntity", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - bool result; -return result; -} -QXmlLexicalHandler* PythonQtWrapper_QXmlLexicalHandler::new_QXmlLexicalHandler() -{ -return new PythonQtShell_QXmlLexicalHandler(); } - diff --git a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlLexicalHandler.h b/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlLexicalHandler.h deleted file mode 100644 index be006cd..0000000 --- a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlLexicalHandler.h +++ /dev/null @@ -1,36 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QXMLLEXICALHANDLER_H -#define PYTHONQTWRAPPER_QXMLLEXICALHANDLER_H - -#include -#include - -#include - -#include - -class PythonQtShell_QXmlLexicalHandler : public QXmlLexicalHandler -{ -public: - PythonQtShell_QXmlLexicalHandler():QXmlLexicalHandler(),_wrapper(NULL) {}; - -virtual bool comment(const QString& ch); -virtual bool endCDATA(); -virtual bool endDTD(); -virtual bool endEntity(const QString& name); -virtual QString errorString() const; -virtual bool startCDATA(); -virtual bool startDTD(const QString& name, const QString& publicId, const QString& systemId); -virtual bool startEntity(const QString& name); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QXmlLexicalHandler : public QObject -{ Q_OBJECT -public: -public slots: -QXmlLexicalHandler* new_QXmlLexicalHandler(); -void delete_QXmlLexicalHandler(QXmlLexicalHandler* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QXMLLEXICALHANDLER_H diff --git a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlLocator.cpp b/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlLocator.cpp deleted file mode 100644 index 961de99..0000000 --- a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlLocator.cpp +++ /dev/null @@ -1,69 +0,0 @@ -#include "PythonQtWrapper_QXmlLocator.h" - -#include -#include -#include -#include - -int PythonQtShell_QXmlLocator::columnNumber() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "columnNumber"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("columnNumber", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - int result; -return result; -} -int PythonQtShell_QXmlLocator::lineNumber() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "lineNumber"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("lineNumber", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - int result; -return result; -} -QXmlLocator* PythonQtWrapper_QXmlLocator::new_QXmlLocator() -{ -return new PythonQtShell_QXmlLocator(); } - diff --git a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlLocator.h b/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlLocator.h deleted file mode 100644 index 2361daa..0000000 --- a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlLocator.h +++ /dev/null @@ -1,30 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QXMLLOCATOR_H -#define PYTHONQTWRAPPER_QXMLLOCATOR_H - -#include -#include - -#include - -#include - -class PythonQtShell_QXmlLocator : public QXmlLocator -{ -public: - PythonQtShell_QXmlLocator():QXmlLocator(),_wrapper(NULL) {}; - -virtual int columnNumber() const; -virtual int lineNumber() const; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QXmlLocator : public QObject -{ Q_OBJECT -public: -public slots: -QXmlLocator* new_QXmlLocator(); -void delete_QXmlLocator(QXmlLocator* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QXMLLOCATOR_H diff --git a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlParseException.cpp b/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlParseException.cpp deleted file mode 100644 index 97b8a24..0000000 --- a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlParseException.cpp +++ /dev/null @@ -1,36 +0,0 @@ -#include "PythonQtWrapper_QXmlParseException.h" - -#include -#include -#include -#include - -QXmlParseException* PythonQtWrapper_QXmlParseException::new_QXmlParseException(const QString& name, int c, int l, const QString& p, const QString& s) -{ -return new QXmlParseException(name, c, l, p, s); } - -int PythonQtWrapper_QXmlParseException::columnNumber(QXmlParseException* theWrappedObject) const -{ - return ( theWrappedObject->columnNumber()); -} - -QString PythonQtWrapper_QXmlParseException::publicId(QXmlParseException* theWrappedObject) const -{ - return ( theWrappedObject->publicId()); -} - -QString PythonQtWrapper_QXmlParseException::message(QXmlParseException* theWrappedObject) const -{ - return ( theWrappedObject->message()); -} - -QString PythonQtWrapper_QXmlParseException::systemId(QXmlParseException* theWrappedObject) const -{ - return ( theWrappedObject->systemId()); -} - -int PythonQtWrapper_QXmlParseException::lineNumber(QXmlParseException* theWrappedObject) const -{ - return ( theWrappedObject->lineNumber()); -} - diff --git a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlParseException.h b/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlParseException.h deleted file mode 100644 index 25ecc25..0000000 --- a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlParseException.h +++ /dev/null @@ -1,24 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QXMLPARSEEXCEPTION_H -#define PYTHONQTWRAPPER_QXMLPARSEEXCEPTION_H - -#include -#include - -#include - -#include - -class PythonQtWrapper_QXmlParseException : public QObject -{ Q_OBJECT -public: -public slots: -QXmlParseException* new_QXmlParseException(const QString& name = QString(), int c = -1, int l = -1, const QString& p = QString(), const QString& s = QString()); -void delete_QXmlParseException(QXmlParseException* obj) { delete obj; } - int columnNumber(QXmlParseException* theWrappedObject) const; - QString publicId(QXmlParseException* theWrappedObject) const; - QString message(QXmlParseException* theWrappedObject) const; - QString systemId(QXmlParseException* theWrappedObject) const; - int lineNumber(QXmlParseException* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QXMLPARSEEXCEPTION_H diff --git a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlReader.cpp b/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlReader.cpp deleted file mode 100644 index 130a20a..0000000 --- a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlReader.cpp +++ /dev/null @@ -1,496 +0,0 @@ -#include "PythonQtWrapper_QXmlReader.h" - -#include -#include -#include -#include -#include - -QXmlDTDHandler* PythonQtShell_QXmlReader::DTDHandler() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "DTDHandler"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QXmlDTDHandler*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QXmlDTDHandler* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("DTDHandler", methodInfo, result); - } else { - returnValue = *((QXmlDTDHandler**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QXmlDTDHandler* result; -return result; -} -QXmlContentHandler* PythonQtShell_QXmlReader::contentHandler() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contentHandler"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QXmlContentHandler*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QXmlContentHandler* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("contentHandler", methodInfo, result); - } else { - returnValue = *((QXmlContentHandler**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QXmlContentHandler* result; -return result; -} -QXmlDeclHandler* PythonQtShell_QXmlReader::declHandler() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "declHandler"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QXmlDeclHandler*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QXmlDeclHandler* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("declHandler", methodInfo, result); - } else { - returnValue = *((QXmlDeclHandler**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QXmlDeclHandler* result; -return result; -} -QXmlEntityResolver* PythonQtShell_QXmlReader::entityResolver() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "entityResolver"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QXmlEntityResolver*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QXmlEntityResolver* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("entityResolver", methodInfo, result); - } else { - returnValue = *((QXmlEntityResolver**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QXmlEntityResolver* result; -return result; -} -QXmlErrorHandler* PythonQtShell_QXmlReader::errorHandler() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "errorHandler"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QXmlErrorHandler*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QXmlErrorHandler* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("errorHandler", methodInfo, result); - } else { - returnValue = *((QXmlErrorHandler**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QXmlErrorHandler* result; -return result; -} -bool PythonQtShell_QXmlReader::feature(const QString& name, bool* ok) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "feature"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QString&" , "bool*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&name, (void*)&ok}; - 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("feature", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - bool result; -return result; -} -bool PythonQtShell_QXmlReader::hasFeature(const QString& name) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hasFeature"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&name}; - 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("hasFeature", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - bool result; -return result; -} -bool PythonQtShell_QXmlReader::hasProperty(const QString& name) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hasProperty"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&name}; - 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("hasProperty", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - bool result; -return result; -} -QXmlLexicalHandler* PythonQtShell_QXmlReader::lexicalHandler() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "lexicalHandler"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QXmlLexicalHandler*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QXmlLexicalHandler* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("lexicalHandler", methodInfo, result); - } else { - returnValue = *((QXmlLexicalHandler**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QXmlLexicalHandler* result; -return result; -} -bool PythonQtShell_QXmlReader::parse(const QXmlInputSource& input) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "parse"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QXmlInputSource&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&input}; - 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("parse", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - bool result; -return result; -} -bool PythonQtShell_QXmlReader::parse(const QXmlInputSource* input) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "parse"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QXmlInputSource*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&input}; - 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("parse", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - bool result; -return result; -} -void* PythonQtShell_QXmlReader::property(const QString& name, bool* ok) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "property"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"void*" , "const QString&" , "bool*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* returnValue; - void* args[3] = {NULL, (void*)&name, (void*)&ok}; - 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("property", methodInfo, result); - } else { - returnValue = *((void**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - void* result; -return result; -} -void PythonQtShell_QXmlReader::setContentHandler(QXmlContentHandler* handler) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setContentHandler"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QXmlContentHandler*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&handler}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - -} -void PythonQtShell_QXmlReader::setDTDHandler(QXmlDTDHandler* handler) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setDTDHandler"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QXmlDTDHandler*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&handler}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - -} -void PythonQtShell_QXmlReader::setDeclHandler(QXmlDeclHandler* handler) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setDeclHandler"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QXmlDeclHandler*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&handler}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - -} -void PythonQtShell_QXmlReader::setEntityResolver(QXmlEntityResolver* handler) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setEntityResolver"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QXmlEntityResolver*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&handler}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - -} -void PythonQtShell_QXmlReader::setErrorHandler(QXmlErrorHandler* handler) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setErrorHandler"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QXmlErrorHandler*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&handler}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - -} -void PythonQtShell_QXmlReader::setFeature(const QString& name, bool value) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setFeature"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QString&" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&name, (void*)&value}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - -} -void PythonQtShell_QXmlReader::setLexicalHandler(QXmlLexicalHandler* handler) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setLexicalHandler"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QXmlLexicalHandler*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&handler}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - -} -void PythonQtShell_QXmlReader::setProperty(const QString& name, void* value) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setProperty"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QString&" , "void*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&name, (void*)&value}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - -} -QXmlReader* PythonQtWrapper_QXmlReader::new_QXmlReader() -{ -return new PythonQtShell_QXmlReader(); } - diff --git a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlReader.h b/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlReader.h deleted file mode 100644 index 1813af9..0000000 --- a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlReader.h +++ /dev/null @@ -1,49 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QXMLREADER_H -#define PYTHONQTWRAPPER_QXMLREADER_H - -#include -#include - -#include - -#include -#include - -class PythonQtShell_QXmlReader : public QXmlReader -{ -public: - PythonQtShell_QXmlReader():QXmlReader(),_wrapper(NULL) {}; - -virtual QXmlDTDHandler* DTDHandler() const; -virtual QXmlContentHandler* contentHandler() const; -virtual QXmlDeclHandler* declHandler() const; -virtual QXmlEntityResolver* entityResolver() const; -virtual QXmlErrorHandler* errorHandler() const; -virtual bool feature(const QString& name, bool* ok = 0) const; -virtual bool hasFeature(const QString& name) const; -virtual bool hasProperty(const QString& name) const; -virtual QXmlLexicalHandler* lexicalHandler() const; -virtual bool parse(const QXmlInputSource& input); -virtual bool parse(const QXmlInputSource* input); -virtual void* property(const QString& name, bool* ok = 0) const; -virtual void setContentHandler(QXmlContentHandler* handler); -virtual void setDTDHandler(QXmlDTDHandler* handler); -virtual void setDeclHandler(QXmlDeclHandler* handler); -virtual void setEntityResolver(QXmlEntityResolver* handler); -virtual void setErrorHandler(QXmlErrorHandler* handler); -virtual void setFeature(const QString& name, bool value); -virtual void setLexicalHandler(QXmlLexicalHandler* handler); -virtual void setProperty(const QString& name, void* value); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QXmlReader : public QObject -{ Q_OBJECT -public: -public slots: -QXmlReader* new_QXmlReader(); -void delete_QXmlReader(QXmlReader* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QXMLREADER_H diff --git a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlSimpleReader.cpp b/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlSimpleReader.cpp deleted file mode 100644 index dad78f9..0000000 --- a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlSimpleReader.cpp +++ /dev/null @@ -1,650 +0,0 @@ -#include "PythonQtWrapper_QXmlSimpleReader.h" - -#include -#include -#include -#include -#include - -QXmlDTDHandler* PythonQtShell_QXmlSimpleReader::DTDHandler() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "DTDHandler"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QXmlDTDHandler*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QXmlDTDHandler* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("DTDHandler", methodInfo, result); - } else { - returnValue = *((QXmlDTDHandler**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QXmlSimpleReader::DTDHandler(); -} -QXmlContentHandler* PythonQtShell_QXmlSimpleReader::contentHandler() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contentHandler"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QXmlContentHandler*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QXmlContentHandler* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("contentHandler", methodInfo, result); - } else { - returnValue = *((QXmlContentHandler**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QXmlSimpleReader::contentHandler(); -} -QXmlDeclHandler* PythonQtShell_QXmlSimpleReader::declHandler() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "declHandler"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QXmlDeclHandler*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QXmlDeclHandler* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("declHandler", methodInfo, result); - } else { - returnValue = *((QXmlDeclHandler**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QXmlSimpleReader::declHandler(); -} -QXmlEntityResolver* PythonQtShell_QXmlSimpleReader::entityResolver() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "entityResolver"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QXmlEntityResolver*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QXmlEntityResolver* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("entityResolver", methodInfo, result); - } else { - returnValue = *((QXmlEntityResolver**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QXmlSimpleReader::entityResolver(); -} -QXmlErrorHandler* PythonQtShell_QXmlSimpleReader::errorHandler() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "errorHandler"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QXmlErrorHandler*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QXmlErrorHandler* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("errorHandler", methodInfo, result); - } else { - returnValue = *((QXmlErrorHandler**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QXmlSimpleReader::errorHandler(); -} -bool PythonQtShell_QXmlSimpleReader::feature(const QString& name, bool* ok) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "feature"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QString&" , "bool*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&name, (void*)&ok}; - 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("feature", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QXmlSimpleReader::feature(name, ok); -} -bool PythonQtShell_QXmlSimpleReader::hasFeature(const QString& name) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hasFeature"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&name}; - 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("hasFeature", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QXmlSimpleReader::hasFeature(name); -} -bool PythonQtShell_QXmlSimpleReader::hasProperty(const QString& name) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hasProperty"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&name}; - 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("hasProperty", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QXmlSimpleReader::hasProperty(name); -} -QXmlLexicalHandler* PythonQtShell_QXmlSimpleReader::lexicalHandler() const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "lexicalHandler"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QXmlLexicalHandler*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QXmlLexicalHandler* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("lexicalHandler", methodInfo, result); - } else { - returnValue = *((QXmlLexicalHandler**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QXmlSimpleReader::lexicalHandler(); -} -bool PythonQtShell_QXmlSimpleReader::parse(const QXmlInputSource& input) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "parse"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QXmlInputSource&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&input}; - 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("parse", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QXmlSimpleReader::parse(input); -} -bool PythonQtShell_QXmlSimpleReader::parse(const QXmlInputSource* input) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "parse"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QXmlInputSource*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&input}; - 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("parse", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QXmlSimpleReader::parse(input); -} -bool PythonQtShell_QXmlSimpleReader::parse(const QXmlInputSource* input, bool incremental) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "parse"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "const QXmlInputSource*" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&input, (void*)&incremental}; - 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("parse", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QXmlSimpleReader::parse(input, incremental); -} -bool PythonQtShell_QXmlSimpleReader::parseContinue() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "parseContinue"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("parseContinue", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QXmlSimpleReader::parseContinue(); -} -void* PythonQtShell_QXmlSimpleReader::property(const QString& name, bool* ok) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "property"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"void*" , "const QString&" , "bool*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* returnValue; - void* args[3] = {NULL, (void*)&name, (void*)&ok}; - 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("property", methodInfo, result); - } else { - returnValue = *((void**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QXmlSimpleReader::property(name, ok); -} -void PythonQtShell_QXmlSimpleReader::setContentHandler(QXmlContentHandler* handler) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setContentHandler"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QXmlContentHandler*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&handler}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QXmlSimpleReader::setContentHandler(handler); -} -void PythonQtShell_QXmlSimpleReader::setDTDHandler(QXmlDTDHandler* handler) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setDTDHandler"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QXmlDTDHandler*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&handler}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QXmlSimpleReader::setDTDHandler(handler); -} -void PythonQtShell_QXmlSimpleReader::setDeclHandler(QXmlDeclHandler* handler) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setDeclHandler"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QXmlDeclHandler*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&handler}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QXmlSimpleReader::setDeclHandler(handler); -} -void PythonQtShell_QXmlSimpleReader::setEntityResolver(QXmlEntityResolver* handler) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setEntityResolver"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QXmlEntityResolver*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&handler}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QXmlSimpleReader::setEntityResolver(handler); -} -void PythonQtShell_QXmlSimpleReader::setErrorHandler(QXmlErrorHandler* handler) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setErrorHandler"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QXmlErrorHandler*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&handler}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QXmlSimpleReader::setErrorHandler(handler); -} -void PythonQtShell_QXmlSimpleReader::setFeature(const QString& name, bool value) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setFeature"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QString&" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&name, (void*)&value}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QXmlSimpleReader::setFeature(name, value); -} -void PythonQtShell_QXmlSimpleReader::setLexicalHandler(QXmlLexicalHandler* handler) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setLexicalHandler"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QXmlLexicalHandler*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&handler}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QXmlSimpleReader::setLexicalHandler(handler); -} -void PythonQtShell_QXmlSimpleReader::setProperty(const QString& name, void* value) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setProperty"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QString&" , "void*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&name, (void*)&value}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QXmlSimpleReader::setProperty(name, value); -} -QXmlSimpleReader* PythonQtWrapper_QXmlSimpleReader::new_QXmlSimpleReader() -{ -return new PythonQtShell_QXmlSimpleReader(); } - -bool PythonQtWrapper_QXmlSimpleReader::parse(QXmlSimpleReader* theWrappedObject, const QXmlInputSource* input) -{ - return ( ((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->promoted_parse(input)); -} - -void PythonQtWrapper_QXmlSimpleReader::setContentHandler(QXmlSimpleReader* theWrappedObject, QXmlContentHandler* handler) -{ - ( ((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->promoted_setContentHandler(handler)); -} - -void PythonQtWrapper_QXmlSimpleReader::setDeclHandler(QXmlSimpleReader* theWrappedObject, QXmlDeclHandler* handler) -{ - ( ((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->promoted_setDeclHandler(handler)); -} - -void* PythonQtWrapper_QXmlSimpleReader::property(QXmlSimpleReader* theWrappedObject, const QString& name, bool* ok) const -{ - return ( ((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->promoted_property(name, ok)); -} - -bool PythonQtWrapper_QXmlSimpleReader::feature(QXmlSimpleReader* theWrappedObject, const QString& name, bool* ok) const -{ - return ( ((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->promoted_feature(name, ok)); -} - -void PythonQtWrapper_QXmlSimpleReader::setFeature(QXmlSimpleReader* theWrappedObject, const QString& name, bool value) -{ - ( ((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->promoted_setFeature(name, value)); -} - -QXmlLexicalHandler* PythonQtWrapper_QXmlSimpleReader::lexicalHandler(QXmlSimpleReader* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->promoted_lexicalHandler()); -} - -void PythonQtWrapper_QXmlSimpleReader::setEntityResolver(QXmlSimpleReader* theWrappedObject, QXmlEntityResolver* handler) -{ - ( ((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->promoted_setEntityResolver(handler)); -} - -bool PythonQtWrapper_QXmlSimpleReader::parse(QXmlSimpleReader* theWrappedObject, const QXmlInputSource& input) -{ - return ( ((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->promoted_parse(input)); -} - -QXmlContentHandler* PythonQtWrapper_QXmlSimpleReader::contentHandler(QXmlSimpleReader* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->promoted_contentHandler()); -} - -void PythonQtWrapper_QXmlSimpleReader::setErrorHandler(QXmlSimpleReader* theWrappedObject, QXmlErrorHandler* handler) -{ - ( ((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->promoted_setErrorHandler(handler)); -} - -void PythonQtWrapper_QXmlSimpleReader::setLexicalHandler(QXmlSimpleReader* theWrappedObject, QXmlLexicalHandler* handler) -{ - ( ((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->promoted_setLexicalHandler(handler)); -} - -bool PythonQtWrapper_QXmlSimpleReader::parseContinue(QXmlSimpleReader* theWrappedObject) -{ - return ( ((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->promoted_parseContinue()); -} - -bool PythonQtWrapper_QXmlSimpleReader::hasFeature(QXmlSimpleReader* theWrappedObject, const QString& name) const -{ - return ( ((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->promoted_hasFeature(name)); -} - -QXmlDeclHandler* PythonQtWrapper_QXmlSimpleReader::declHandler(QXmlSimpleReader* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->promoted_declHandler()); -} - -QXmlEntityResolver* PythonQtWrapper_QXmlSimpleReader::entityResolver(QXmlSimpleReader* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->promoted_entityResolver()); -} - -bool PythonQtWrapper_QXmlSimpleReader::parse(QXmlSimpleReader* theWrappedObject, const QXmlInputSource* input, bool incremental) -{ - return ( ((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->promoted_parse(input, incremental)); -} - -void PythonQtWrapper_QXmlSimpleReader::setProperty(QXmlSimpleReader* theWrappedObject, const QString& name, void* value) -{ - ( ((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->promoted_setProperty(name, value)); -} - -bool PythonQtWrapper_QXmlSimpleReader::hasProperty(QXmlSimpleReader* theWrappedObject, const QString& name) const -{ - return ( ((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->promoted_hasProperty(name)); -} - -QXmlDTDHandler* PythonQtWrapper_QXmlSimpleReader::DTDHandler(QXmlSimpleReader* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->promoted_DTDHandler()); -} - -QXmlErrorHandler* PythonQtWrapper_QXmlSimpleReader::errorHandler(QXmlSimpleReader* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->promoted_errorHandler()); -} - -void PythonQtWrapper_QXmlSimpleReader::setDTDHandler(QXmlSimpleReader* theWrappedObject, QXmlDTDHandler* handler) -{ - ( ((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->promoted_setDTDHandler(handler)); -} - diff --git a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlSimpleReader.h b/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlSimpleReader.h deleted file mode 100644 index db63fc3..0000000 --- a/generated_cpp/com_trolltech_qt_xml/PythonQtWrapper_QXmlSimpleReader.h +++ /dev/null @@ -1,99 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QXMLSIMPLEREADER_H -#define PYTHONQTWRAPPER_QXMLSIMPLEREADER_H - -#include -#include - -#include - -#include -#include - -class PythonQtShell_QXmlSimpleReader : public QXmlSimpleReader -{ -public: - PythonQtShell_QXmlSimpleReader():QXmlSimpleReader(),_wrapper(NULL) {}; - -virtual QXmlDTDHandler* DTDHandler() const; -virtual QXmlContentHandler* contentHandler() const; -virtual QXmlDeclHandler* declHandler() const; -virtual QXmlEntityResolver* entityResolver() const; -virtual QXmlErrorHandler* errorHandler() const; -virtual bool feature(const QString& name, bool* ok = 0) const; -virtual bool hasFeature(const QString& name) const; -virtual bool hasProperty(const QString& name) const; -virtual QXmlLexicalHandler* lexicalHandler() const; -virtual bool parse(const QXmlInputSource& input); -virtual bool parse(const QXmlInputSource* input); -virtual bool parse(const QXmlInputSource* input, bool incremental); -virtual bool parseContinue(); -virtual void* property(const QString& name, bool* ok = 0) const; -virtual void setContentHandler(QXmlContentHandler* handler); -virtual void setDTDHandler(QXmlDTDHandler* handler); -virtual void setDeclHandler(QXmlDeclHandler* handler); -virtual void setEntityResolver(QXmlEntityResolver* handler); -virtual void setErrorHandler(QXmlErrorHandler* handler); -virtual void setFeature(const QString& name, bool value); -virtual void setLexicalHandler(QXmlLexicalHandler* handler); -virtual void setProperty(const QString& name, void* value); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QXmlSimpleReader : public QXmlSimpleReader -{ public: -inline bool promoted_parse(const QXmlInputSource* input) { return QXmlSimpleReader::parse(input); } -inline void promoted_setContentHandler(QXmlContentHandler* handler) { QXmlSimpleReader::setContentHandler(handler); } -inline void promoted_setDeclHandler(QXmlDeclHandler* handler) { QXmlSimpleReader::setDeclHandler(handler); } -inline void* promoted_property(const QString& name, bool* ok = 0) const { return QXmlSimpleReader::property(name, ok); } -inline bool promoted_feature(const QString& name, bool* ok = 0) const { return QXmlSimpleReader::feature(name, ok); } -inline void promoted_setFeature(const QString& name, bool value) { QXmlSimpleReader::setFeature(name, value); } -inline QXmlLexicalHandler* promoted_lexicalHandler() const { return QXmlSimpleReader::lexicalHandler(); } -inline void promoted_setEntityResolver(QXmlEntityResolver* handler) { QXmlSimpleReader::setEntityResolver(handler); } -inline bool promoted_parse(const QXmlInputSource& input) { return QXmlSimpleReader::parse(input); } -inline QXmlContentHandler* promoted_contentHandler() const { return QXmlSimpleReader::contentHandler(); } -inline void promoted_setErrorHandler(QXmlErrorHandler* handler) { QXmlSimpleReader::setErrorHandler(handler); } -inline void promoted_setLexicalHandler(QXmlLexicalHandler* handler) { QXmlSimpleReader::setLexicalHandler(handler); } -inline bool promoted_parseContinue() { return QXmlSimpleReader::parseContinue(); } -inline bool promoted_hasFeature(const QString& name) const { return QXmlSimpleReader::hasFeature(name); } -inline QXmlDeclHandler* promoted_declHandler() const { return QXmlSimpleReader::declHandler(); } -inline QXmlEntityResolver* promoted_entityResolver() const { return QXmlSimpleReader::entityResolver(); } -inline bool promoted_parse(const QXmlInputSource* input, bool incremental) { return QXmlSimpleReader::parse(input, incremental); } -inline void promoted_setProperty(const QString& name, void* value) { QXmlSimpleReader::setProperty(name, value); } -inline bool promoted_hasProperty(const QString& name) const { return QXmlSimpleReader::hasProperty(name); } -inline QXmlDTDHandler* promoted_DTDHandler() const { return QXmlSimpleReader::DTDHandler(); } -inline QXmlErrorHandler* promoted_errorHandler() const { return QXmlSimpleReader::errorHandler(); } -inline void promoted_setDTDHandler(QXmlDTDHandler* handler) { QXmlSimpleReader::setDTDHandler(handler); } -}; - -class PythonQtWrapper_QXmlSimpleReader : public QObject -{ Q_OBJECT -public: -public slots: -QXmlSimpleReader* new_QXmlSimpleReader(); -void delete_QXmlSimpleReader(QXmlSimpleReader* obj) { delete obj; } - bool parse(QXmlSimpleReader* theWrappedObject, const QXmlInputSource* input); - void setContentHandler(QXmlSimpleReader* theWrappedObject, QXmlContentHandler* handler); - void setDeclHandler(QXmlSimpleReader* theWrappedObject, QXmlDeclHandler* handler); - void* property(QXmlSimpleReader* theWrappedObject, const QString& name, bool* ok = 0) const; - bool feature(QXmlSimpleReader* theWrappedObject, const QString& name, bool* ok = 0) const; - void setFeature(QXmlSimpleReader* theWrappedObject, const QString& name, bool value); - QXmlLexicalHandler* lexicalHandler(QXmlSimpleReader* theWrappedObject) const; - void setEntityResolver(QXmlSimpleReader* theWrappedObject, QXmlEntityResolver* handler); - bool parse(QXmlSimpleReader* theWrappedObject, const QXmlInputSource& input); - QXmlContentHandler* contentHandler(QXmlSimpleReader* theWrappedObject) const; - void setErrorHandler(QXmlSimpleReader* theWrappedObject, QXmlErrorHandler* handler); - void setLexicalHandler(QXmlSimpleReader* theWrappedObject, QXmlLexicalHandler* handler); - bool parseContinue(QXmlSimpleReader* theWrappedObject); - bool hasFeature(QXmlSimpleReader* theWrappedObject, const QString& name) const; - QXmlDeclHandler* declHandler(QXmlSimpleReader* theWrappedObject) const; - QXmlEntityResolver* entityResolver(QXmlSimpleReader* theWrappedObject) const; - bool parse(QXmlSimpleReader* theWrappedObject, const QXmlInputSource* input, bool incremental); - void setProperty(QXmlSimpleReader* theWrappedObject, const QString& name, void* value); - bool hasProperty(QXmlSimpleReader* theWrappedObject, const QString& name) const; - QXmlDTDHandler* DTDHandler(QXmlSimpleReader* theWrappedObject) const; - QXmlErrorHandler* errorHandler(QXmlSimpleReader* theWrappedObject) const; - void setDTDHandler(QXmlSimpleReader* theWrappedObject, QXmlDTDHandler* handler); -}; - -#endif // PYTHONQTWRAPPER_QXMLSIMPLEREADER_H diff --git a/generated_cpp/com_trolltech_qt_xml/com_trolltech_qt_xml.pri b/generated_cpp/com_trolltech_qt_xml/com_trolltech_qt_xml.pri deleted file mode 100644 index e3a97dc..0000000 --- a/generated_cpp/com_trolltech_qt_xml/com_trolltech_qt_xml.pri +++ /dev/null @@ -1,64 +0,0 @@ -HEADERS += \ - $$PWD/PythonQtWrapper_QDomAttr.h \ - $$PWD/PythonQtWrapper_QDomCDATASection.h \ - $$PWD/PythonQtWrapper_QDomCharacterData.h \ - $$PWD/PythonQtWrapper_QDomComment.h \ - $$PWD/PythonQtWrapper_QDomDocument.h \ - $$PWD/PythonQtWrapper_QDomDocumentFragment.h \ - $$PWD/PythonQtWrapper_QDomDocumentType.h \ - $$PWD/PythonQtWrapper_QDomElement.h \ - $$PWD/PythonQtWrapper_QDomEntity.h \ - $$PWD/PythonQtWrapper_QDomEntityReference.h \ - $$PWD/PythonQtWrapper_QDomImplementation.h \ - $$PWD/PythonQtWrapper_QDomNamedNodeMap.h \ - $$PWD/PythonQtWrapper_QDomNode.h \ - $$PWD/PythonQtWrapper_QDomNodeList.h \ - $$PWD/PythonQtWrapper_QDomNotation.h \ - $$PWD/PythonQtWrapper_QDomProcessingInstruction.h \ - $$PWD/PythonQtWrapper_QDomText.h \ - $$PWD/PythonQtWrapper_QXmlAttributes.h \ - $$PWD/PythonQtWrapper_QXmlContentHandler.h \ - $$PWD/PythonQtWrapper_QXmlDTDHandler.h \ - $$PWD/PythonQtWrapper_QXmlDeclHandler.h \ - $$PWD/PythonQtWrapper_QXmlDefaultHandler.h \ - $$PWD/PythonQtWrapper_QXmlEntityResolver.h \ - $$PWD/PythonQtWrapper_QXmlErrorHandler.h \ - $$PWD/PythonQtWrapper_QXmlInputSource.h \ - $$PWD/PythonQtWrapper_QXmlLexicalHandler.h \ - $$PWD/PythonQtWrapper_QXmlLocator.h \ - $$PWD/PythonQtWrapper_QXmlParseException.h \ - $$PWD/PythonQtWrapper_QXmlReader.h \ - $$PWD/PythonQtWrapper_QXmlSimpleReader.h \ - -SOURCES += \ - $$PWD/PythonQtWrapper_QDomAttr.cpp \ - $$PWD/PythonQtWrapper_QDomCDATASection.cpp \ - $$PWD/PythonQtWrapper_QDomCharacterData.cpp \ - $$PWD/PythonQtWrapper_QDomComment.cpp \ - $$PWD/PythonQtWrapper_QDomDocument.cpp \ - $$PWD/PythonQtWrapper_QDomDocumentFragment.cpp \ - $$PWD/PythonQtWrapper_QDomDocumentType.cpp \ - $$PWD/PythonQtWrapper_QDomElement.cpp \ - $$PWD/PythonQtWrapper_QDomEntity.cpp \ - $$PWD/PythonQtWrapper_QDomEntityReference.cpp \ - $$PWD/PythonQtWrapper_QDomImplementation.cpp \ - $$PWD/PythonQtWrapper_QDomNamedNodeMap.cpp \ - $$PWD/PythonQtWrapper_QDomNode.cpp \ - $$PWD/PythonQtWrapper_QDomNodeList.cpp \ - $$PWD/PythonQtWrapper_QDomNotation.cpp \ - $$PWD/PythonQtWrapper_QDomProcessingInstruction.cpp \ - $$PWD/PythonQtWrapper_QDomText.cpp \ - $$PWD/PythonQtWrapper_QXmlAttributes.cpp \ - $$PWD/PythonQtWrapper_QXmlContentHandler.cpp \ - $$PWD/PythonQtWrapper_QXmlDTDHandler.cpp \ - $$PWD/PythonQtWrapper_QXmlDeclHandler.cpp \ - $$PWD/PythonQtWrapper_QXmlDefaultHandler.cpp \ - $$PWD/PythonQtWrapper_QXmlEntityResolver.cpp \ - $$PWD/PythonQtWrapper_QXmlErrorHandler.cpp \ - $$PWD/PythonQtWrapper_QXmlInputSource.cpp \ - $$PWD/PythonQtWrapper_QXmlLexicalHandler.cpp \ - $$PWD/PythonQtWrapper_QXmlLocator.cpp \ - $$PWD/PythonQtWrapper_QXmlParseException.cpp \ - $$PWD/PythonQtWrapper_QXmlReader.cpp \ - $$PWD/PythonQtWrapper_QXmlSimpleReader.cpp \ - $$PWD/com_trolltech_qt_xml_init.cpp diff --git a/generated_cpp/com_trolltech_qt_xml/com_trolltech_qt_xml_init.cpp b/generated_cpp/com_trolltech_qt_xml/com_trolltech_qt_xml_init.cpp deleted file mode 100644 index ceb0ab3..0000000 --- a/generated_cpp/com_trolltech_qt_xml/com_trolltech_qt_xml_init.cpp +++ /dev/null @@ -1,72 +0,0 @@ -#include -#include "PythonQtWrapper_QDomNamedNodeMap.h" -#include "PythonQtWrapper_QXmlDTDHandler.h" -#include "PythonQtWrapper_QXmlLexicalHandler.h" -#include "PythonQtWrapper_QDomImplementation.h" -#include "PythonQtWrapper_QXmlErrorHandler.h" -#include "PythonQtWrapper_QDomNode.h" -#include "PythonQtWrapper_QDomNodeList.h" -#include "PythonQtWrapper_QXmlContentHandler.h" -#include "PythonQtWrapper_QXmlAttributes.h" -#include "PythonQtWrapper_QXmlInputSource.h" -#include "PythonQtWrapper_QXmlDeclHandler.h" -#include "PythonQtWrapper_QXmlParseException.h" -#include "PythonQtWrapper_QXmlEntityResolver.h" -#include "PythonQtWrapper_QXmlReader.h" -#include "PythonQtWrapper_QXmlLocator.h" -#include "PythonQtWrapper_QDomProcessingInstruction.h" -#include "PythonQtWrapper_QDomAttr.h" -#include "PythonQtWrapper_QDomElement.h" -#include "PythonQtWrapper_QDomDocumentFragment.h" -#include "PythonQtWrapper_QDomDocumentType.h" -#include "PythonQtWrapper_QXmlDefaultHandler.h" -#include "PythonQtWrapper_QDomEntity.h" -#include "PythonQtWrapper_QDomDocument.h" -#include "PythonQtWrapper_QXmlSimpleReader.h" -#include "PythonQtWrapper_QDomNotation.h" -#include "PythonQtWrapper_QDomEntityReference.h" -#include "PythonQtWrapper_QDomCharacterData.h" -#include "PythonQtWrapper_QDomComment.h" -#include "PythonQtWrapper_QDomText.h" -#include "PythonQtWrapper_QDomCDATASection.h" - - -void PythonQt_init_QtXml() { -PythonQt::self()->registerCPPClass("QDomNamedNodeMap", "", "QtXml", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QXmlDTDHandler", "", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QXmlLexicalHandler", "", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QDomImplementation", "", "QtXml", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QXmlErrorHandler", "", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QDomNode", "", "QtXml", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QDomNodeList", "", "QtXml", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QXmlContentHandler", "", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QXmlAttributes", "", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QXmlInputSource", "", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QXmlDeclHandler", "", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QXmlParseException", "", "QtXml", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QXmlEntityResolver", "", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QXmlReader", "", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QXmlLocator", "", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QDomProcessingInstruction", "QDomNode", "QtXml", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QDomAttr", "QDomNode", "QtXml", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QDomElement", "QDomNode", "QtXml", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QDomDocumentFragment", "QDomNode", "QtXml", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QDomDocumentType", "QDomNode", "QtXml", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QXmlDefaultHandler", "", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->addParentClass("QXmlDefaultHandler", "QXmlContentHandler",PythonQtUpcastingOffset()); -PythonQt::self()->addParentClass("QXmlDefaultHandler", "QXmlErrorHandler",PythonQtUpcastingOffset()); -PythonQt::self()->addParentClass("QXmlDefaultHandler", "QXmlDTDHandler",PythonQtUpcastingOffset()); -PythonQt::self()->addParentClass("QXmlDefaultHandler", "QXmlEntityResolver",PythonQtUpcastingOffset()); -PythonQt::self()->addParentClass("QXmlDefaultHandler", "QXmlLexicalHandler",PythonQtUpcastingOffset()); -PythonQt::self()->addParentClass("QXmlDefaultHandler", "QXmlDeclHandler",PythonQtUpcastingOffset()); -PythonQt::self()->registerCPPClass("QDomEntity", "QDomNode", "QtXml", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QDomDocument", "QDomNode", "QtXml", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QXmlSimpleReader", "QXmlReader", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QDomNotation", "QDomNode", "QtXml", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QDomEntityReference", "QDomNode", "QtXml", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QDomCharacterData", "QDomNode", "QtXml", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QDomComment", "QDomCharacterData", "QtXml", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QDomText", "QDomCharacterData", "QtXml", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QDomCDATASection", "QDomText", "QtXml", PythonQtCreateObject); - -} diff --git a/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QAbstractMessageHandler.cpp b/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QAbstractMessageHandler.cpp deleted file mode 100644 index 326f20f..0000000 --- a/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QAbstractMessageHandler.cpp +++ /dev/null @@ -1,143 +0,0 @@ -#include "PythonQtWrapper_QAbstractMessageHandler.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QAbstractMessageHandler::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; - } -} - QAbstractMessageHandler::childEvent(arg__1); -} -void PythonQtShell_QAbstractMessageHandler::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; - } -} - QAbstractMessageHandler::customEvent(arg__1); -} -bool PythonQtShell_QAbstractMessageHandler::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractMessageHandler::event(arg__1); -} -bool PythonQtShell_QAbstractMessageHandler::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractMessageHandler::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QAbstractMessageHandler::handleMessage(QtMsgType type, const QString& description, const QUrl& identifier, const QSourceLocation& sourceLocation) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "handleMessage"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "QtMsgType" , "const QString&" , "const QUrl&" , "const QSourceLocation&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&type, (void*)&description, (void*)&identifier, (void*)&sourceLocation}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - -} -void PythonQtShell_QAbstractMessageHandler::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; - } -} - QAbstractMessageHandler::timerEvent(arg__1); -} -void PythonQtWrapper_QAbstractMessageHandler::message(QAbstractMessageHandler* theWrappedObject, QtMsgType type, const QString& description, const QUrl& identifier, const QSourceLocation& sourceLocation) -{ - ( theWrappedObject->message(type, description, identifier, sourceLocation)); -} - diff --git a/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QAbstractMessageHandler.h b/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QAbstractMessageHandler.h deleted file mode 100644 index 66931ce..0000000 --- a/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QAbstractMessageHandler.h +++ /dev/null @@ -1,40 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QABSTRACTMESSAGEHANDLER_H -#define PYTHONQTWRAPPER_QABSTRACTMESSAGEHANDLER_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QAbstractMessageHandler : public QAbstractMessageHandler -{ -public: - -virtual void childEvent(QChildEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void handleMessage(QtMsgType type, const QString& description, const QUrl& identifier, const QSourceLocation& sourceLocation); -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QAbstractMessageHandler : public QObject -{ Q_OBJECT -public: -public slots: -void delete_QAbstractMessageHandler(QAbstractMessageHandler* obj) { delete obj; } - void message(QAbstractMessageHandler* theWrappedObject, QtMsgType type, const QString& description, const QUrl& identifier = QUrl(), const QSourceLocation& sourceLocation = QSourceLocation()); -}; - -#endif // PYTHONQTWRAPPER_QABSTRACTMESSAGEHANDLER_H diff --git a/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QAbstractUriResolver.cpp b/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QAbstractUriResolver.cpp deleted file mode 100644 index 86b8505..0000000 --- a/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QAbstractUriResolver.cpp +++ /dev/null @@ -1,153 +0,0 @@ -#include "PythonQtWrapper_QAbstractUriResolver.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QAbstractUriResolver::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; - } -} - QAbstractUriResolver::childEvent(arg__1); -} -void PythonQtShell_QAbstractUriResolver::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; - } -} - QAbstractUriResolver::customEvent(arg__1); -} -bool PythonQtShell_QAbstractUriResolver::event(QEvent* arg__1) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractUriResolver::event(arg__1); -} -bool PythonQtShell_QAbstractUriResolver::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QAbstractUriResolver::eventFilter(arg__1, arg__2); -} -QUrl PythonQtShell_QAbstractUriResolver::resolve(const QUrl& relative, const QUrl& baseURI) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resolve"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QUrl" , "const QUrl&" , "const QUrl&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QUrl returnValue; - void* args[3] = {NULL, (void*)&relative, (void*)&baseURI}; - 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("resolve", methodInfo, result); - } else { - returnValue = *((QUrl*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QUrl result; -return result; -} -void PythonQtShell_QAbstractUriResolver::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; - } -} - QAbstractUriResolver::timerEvent(arg__1); -} -QAbstractUriResolver* PythonQtWrapper_QAbstractUriResolver::new_QAbstractUriResolver(QObject* parent) -{ -return new PythonQtShell_QAbstractUriResolver(parent); } - diff --git a/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QAbstractUriResolver.h b/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QAbstractUriResolver.h deleted file mode 100644 index 5609daa..0000000 --- a/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QAbstractUriResolver.h +++ /dev/null @@ -1,40 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QABSTRACTURIRESOLVER_H -#define PYTHONQTWRAPPER_QABSTRACTURIRESOLVER_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QAbstractUriResolver : public QAbstractUriResolver -{ -public: - PythonQtShell_QAbstractUriResolver(QObject* parent = 0):QAbstractUriResolver(parent),_wrapper(NULL) {}; - -virtual void childEvent(QChildEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual QUrl resolve(const QUrl& relative, const QUrl& baseURI) const; -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QAbstractUriResolver : public QObject -{ Q_OBJECT -public: -public slots: -QAbstractUriResolver* new_QAbstractUriResolver(QObject* parent = 0); -void delete_QAbstractUriResolver(QAbstractUriResolver* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QABSTRACTURIRESOLVER_H diff --git a/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QAbstractXmlNodeModel.cpp b/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QAbstractXmlNodeModel.cpp deleted file mode 100644 index 102f92b..0000000 --- a/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QAbstractXmlNodeModel.cpp +++ /dev/null @@ -1,392 +0,0 @@ -#include "PythonQtWrapper_QAbstractXmlNodeModel.h" - -#include -#include -#include -#include -#include -#include -#include -#include - -QVector PythonQtShell_QAbstractXmlNodeModel::attributes(const QXmlNodeModelIndex& element) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "attributes"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVector" , "const QXmlNodeModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVector returnValue; - void* args[2] = {NULL, (void*)&element}; - 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("attributes", methodInfo, result); - } else { - returnValue = *((QVector*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QVector result; -return result; -} -QUrl PythonQtShell_QAbstractXmlNodeModel::baseUri(const QXmlNodeModelIndex& ni) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "baseUri"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QUrl" , "const QXmlNodeModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QUrl returnValue; - void* args[2] = {NULL, (void*)&ni}; - 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("baseUri", methodInfo, result); - } else { - returnValue = *((QUrl*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QUrl result; -return result; -} -QXmlNodeModelIndex::DocumentOrder PythonQtShell_QAbstractXmlNodeModel::compareOrder(const QXmlNodeModelIndex& ni1, const QXmlNodeModelIndex& ni2) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "compareOrder"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QXmlNodeModelIndex::DocumentOrder" , "const QXmlNodeModelIndex&" , "const QXmlNodeModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QXmlNodeModelIndex::DocumentOrder returnValue; - void* args[3] = {NULL, (void*)&ni1, (void*)&ni2}; - 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("compareOrder", methodInfo, result); - } else { - returnValue = *((QXmlNodeModelIndex::DocumentOrder*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QXmlNodeModelIndex::DocumentOrder result; -return result; -} -QUrl PythonQtShell_QAbstractXmlNodeModel::documentUri(const QXmlNodeModelIndex& ni) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "documentUri"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QUrl" , "const QXmlNodeModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QUrl returnValue; - void* args[2] = {NULL, (void*)&ni}; - 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("documentUri", methodInfo, result); - } else { - returnValue = *((QUrl*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QUrl result; -return result; -} -QXmlNodeModelIndex PythonQtShell_QAbstractXmlNodeModel::elementById(const QXmlName& NCName) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "elementById"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QXmlNodeModelIndex" , "const QXmlName&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QXmlNodeModelIndex returnValue; - void* args[2] = {NULL, (void*)&NCName}; - 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("elementById", methodInfo, result); - } else { - returnValue = *((QXmlNodeModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QXmlNodeModelIndex result; -return result; -} -QXmlNodeModelIndex::NodeKind PythonQtShell_QAbstractXmlNodeModel::kind(const QXmlNodeModelIndex& ni) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "kind"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QXmlNodeModelIndex::NodeKind" , "const QXmlNodeModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QXmlNodeModelIndex::NodeKind returnValue; - void* args[2] = {NULL, (void*)&ni}; - 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("kind", methodInfo, result); - } else { - returnValue = *((QXmlNodeModelIndex::NodeKind*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QXmlNodeModelIndex::NodeKind result; -return result; -} -QXmlName PythonQtShell_QAbstractXmlNodeModel::name(const QXmlNodeModelIndex& ni) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "name"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QXmlName" , "const QXmlNodeModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QXmlName returnValue; - void* args[2] = {NULL, (void*)&ni}; - 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("name", methodInfo, result); - } else { - returnValue = *((QXmlName*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QXmlName result; -return result; -} -QVector PythonQtShell_QAbstractXmlNodeModel::namespaceBindings(const QXmlNodeModelIndex& n) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "namespaceBindings"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVector" , "const QXmlNodeModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVector returnValue; - void* args[2] = {NULL, (void*)&n}; - 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("namespaceBindings", methodInfo, result); - } else { - returnValue = *((QVector*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QVector result; -return result; -} -QXmlNodeModelIndex PythonQtShell_QAbstractXmlNodeModel::nextFromSimpleAxis(QAbstractXmlNodeModel::SimpleAxis axis, const QXmlNodeModelIndex& origin) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "nextFromSimpleAxis"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QXmlNodeModelIndex" , "QAbstractXmlNodeModel::SimpleAxis" , "const QXmlNodeModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QXmlNodeModelIndex returnValue; - void* args[3] = {NULL, (void*)&axis, (void*)&origin}; - 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("nextFromSimpleAxis", methodInfo, result); - } else { - returnValue = *((QXmlNodeModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QXmlNodeModelIndex result; -return result; -} -QVector PythonQtShell_QAbstractXmlNodeModel::nodesByIdref(const QXmlName& NCName) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "nodesByIdref"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVector" , "const QXmlName&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVector returnValue; - void* args[2] = {NULL, (void*)&NCName}; - 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("nodesByIdref", methodInfo, result); - } else { - returnValue = *((QVector*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QVector result; -return result; -} -QXmlNodeModelIndex PythonQtShell_QAbstractXmlNodeModel::root(const QXmlNodeModelIndex& n) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "root"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QXmlNodeModelIndex" , "const QXmlNodeModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QXmlNodeModelIndex returnValue; - void* args[2] = {NULL, (void*)&n}; - 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("root", methodInfo, result); - } else { - returnValue = *((QXmlNodeModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QXmlNodeModelIndex result; -return result; -} -QString PythonQtShell_QAbstractXmlNodeModel::stringValue(const QXmlNodeModelIndex& n) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "stringValue"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QString" , "const QXmlNodeModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QString returnValue; - void* args[2] = {NULL, (void*)&n}; - 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("stringValue", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QString result; -return result; -} -QVariant PythonQtShell_QAbstractXmlNodeModel::typedValue(const QXmlNodeModelIndex& n) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "typedValue"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "const QXmlNodeModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&n}; - 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("typedValue", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QVariant result; -return result; -} -QAbstractXmlNodeModel* PythonQtWrapper_QAbstractXmlNodeModel::new_QAbstractXmlNodeModel() -{ -return new PythonQtShell_QAbstractXmlNodeModel(); } - diff --git a/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QAbstractXmlNodeModel.h b/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QAbstractXmlNodeModel.h deleted file mode 100644 index 3639a8b..0000000 --- a/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QAbstractXmlNodeModel.h +++ /dev/null @@ -1,48 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QABSTRACTXMLNODEMODEL_H -#define PYTHONQTWRAPPER_QABSTRACTXMLNODEMODEL_H - -#include -#include - -#include - -#include -#include -#include -#include -#include - -class PythonQtShell_QAbstractXmlNodeModel : public QAbstractXmlNodeModel -{ -public: - PythonQtShell_QAbstractXmlNodeModel():QAbstractXmlNodeModel(),_wrapper(NULL) {}; - -virtual QVector attributes(const QXmlNodeModelIndex& element) const; -virtual QUrl baseUri(const QXmlNodeModelIndex& ni) const; -virtual QXmlNodeModelIndex::DocumentOrder compareOrder(const QXmlNodeModelIndex& ni1, const QXmlNodeModelIndex& ni2) const; -virtual QUrl documentUri(const QXmlNodeModelIndex& ni) const; -virtual QXmlNodeModelIndex elementById(const QXmlName& NCName) const; -virtual QXmlNodeModelIndex::NodeKind kind(const QXmlNodeModelIndex& ni) const; -virtual QXmlName name(const QXmlNodeModelIndex& ni) const; -virtual QVector namespaceBindings(const QXmlNodeModelIndex& n) const; -virtual QXmlNodeModelIndex nextFromSimpleAxis(QAbstractXmlNodeModel::SimpleAxis axis, const QXmlNodeModelIndex& origin) const; -virtual QVector nodesByIdref(const QXmlName& NCName) const; -virtual QXmlNodeModelIndex root(const QXmlNodeModelIndex& n) const; -virtual QString stringValue(const QXmlNodeModelIndex& n) const; -virtual QVariant typedValue(const QXmlNodeModelIndex& n) const; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QAbstractXmlNodeModel : public QObject -{ Q_OBJECT -public: -Q_ENUMS(SimpleAxis ) -enum SimpleAxis{ - Parent = QAbstractXmlNodeModel::Parent, FirstChild = QAbstractXmlNodeModel::FirstChild, PreviousSibling = QAbstractXmlNodeModel::PreviousSibling, NextSibling = QAbstractXmlNodeModel::NextSibling}; -public slots: -QAbstractXmlNodeModel* new_QAbstractXmlNodeModel(); -void delete_QAbstractXmlNodeModel(QAbstractXmlNodeModel* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QABSTRACTXMLNODEMODEL_H diff --git a/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QAbstractXmlReceiver.cpp b/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QAbstractXmlReceiver.cpp deleted file mode 100644 index 35c0bc3..0000000 --- a/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QAbstractXmlReceiver.cpp +++ /dev/null @@ -1,240 +0,0 @@ -#include "PythonQtWrapper_QAbstractXmlReceiver.h" - -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QAbstractXmlReceiver::atomicValue(const QVariant& value) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "atomicValue"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - -} -void PythonQtShell_QAbstractXmlReceiver::attribute(const QXmlName& name, const QStringRef& value) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "attribute"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QXmlName&" , "const QStringRef&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&name, (void*)&value}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - -} -void PythonQtShell_QAbstractXmlReceiver::characters(const QStringRef& value) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "characters"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QStringRef&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - -} -void PythonQtShell_QAbstractXmlReceiver::comment(const QString& value) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "comment"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - -} -void PythonQtShell_QAbstractXmlReceiver::endDocument() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "endDocument"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - -} -void PythonQtShell_QAbstractXmlReceiver::endElement() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "endElement"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - -} -void PythonQtShell_QAbstractXmlReceiver::endOfSequence() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "endOfSequence"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - -} -void PythonQtShell_QAbstractXmlReceiver::namespaceBinding(const QXmlName& name) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "namespaceBinding"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QXmlName&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&name}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - -} -void PythonQtShell_QAbstractXmlReceiver::processingInstruction(const QXmlName& target, const QString& value) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "processingInstruction"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QXmlName&" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&target, (void*)&value}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - -} -void PythonQtShell_QAbstractXmlReceiver::startDocument() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "startDocument"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - -} -void PythonQtShell_QAbstractXmlReceiver::startElement(const QXmlName& name) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "startElement"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QXmlName&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&name}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - -} -void PythonQtShell_QAbstractXmlReceiver::startOfSequence() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "startOfSequence"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - -} -void PythonQtShell_QAbstractXmlReceiver::whitespaceOnly(const QStringRef& value) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "whitespaceOnly"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QStringRef&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QAbstractXmlReceiver::whitespaceOnly(value); -} -QAbstractXmlReceiver* PythonQtWrapper_QAbstractXmlReceiver::new_QAbstractXmlReceiver() -{ -return new PythonQtShell_QAbstractXmlReceiver(); } - -void PythonQtWrapper_QAbstractXmlReceiver::whitespaceOnly(QAbstractXmlReceiver* theWrappedObject, const QStringRef& value) -{ - ( ((PythonQtPublicPromoter_QAbstractXmlReceiver*)theWrappedObject)->promoted_whitespaceOnly(value)); -} - diff --git a/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QAbstractXmlReceiver.h b/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QAbstractXmlReceiver.h deleted file mode 100644 index 9b381e4..0000000 --- a/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QAbstractXmlReceiver.h +++ /dev/null @@ -1,50 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QABSTRACTXMLRECEIVER_H -#define PYTHONQTWRAPPER_QABSTRACTXMLRECEIVER_H - -#include -#include - -#include - -#include -#include -#include -#include - -class PythonQtShell_QAbstractXmlReceiver : public QAbstractXmlReceiver -{ -public: - PythonQtShell_QAbstractXmlReceiver():QAbstractXmlReceiver(),_wrapper(NULL) {}; - -virtual void atomicValue(const QVariant& value); -virtual void attribute(const QXmlName& name, const QStringRef& value); -virtual void characters(const QStringRef& value); -virtual void comment(const QString& value); -virtual void endDocument(); -virtual void endElement(); -virtual void endOfSequence(); -virtual void namespaceBinding(const QXmlName& name); -virtual void processingInstruction(const QXmlName& target, const QString& value); -virtual void startDocument(); -virtual void startElement(const QXmlName& name); -virtual void startOfSequence(); -virtual void whitespaceOnly(const QStringRef& value); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QAbstractXmlReceiver : public QAbstractXmlReceiver -{ public: -inline void promoted_whitespaceOnly(const QStringRef& value) { QAbstractXmlReceiver::whitespaceOnly(value); } -}; - -class PythonQtWrapper_QAbstractXmlReceiver : public QObject -{ Q_OBJECT -public: -public slots: -QAbstractXmlReceiver* new_QAbstractXmlReceiver(); -void delete_QAbstractXmlReceiver(QAbstractXmlReceiver* obj) { delete obj; } - void whitespaceOnly(QAbstractXmlReceiver* theWrappedObject, const QStringRef& value); -}; - -#endif // PYTHONQTWRAPPER_QABSTRACTXMLRECEIVER_H diff --git a/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QSimpleXmlNodeModel.cpp b/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QSimpleXmlNodeModel.cpp deleted file mode 100644 index 55ba343..0000000 --- a/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QSimpleXmlNodeModel.cpp +++ /dev/null @@ -1,418 +0,0 @@ -#include "PythonQtWrapper_QSimpleXmlNodeModel.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QVector PythonQtShell_QSimpleXmlNodeModel::attributes(const QXmlNodeModelIndex& element) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "attributes"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVector" , "const QXmlNodeModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVector returnValue; - void* args[2] = {NULL, (void*)&element}; - 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("attributes", methodInfo, result); - } else { - returnValue = *((QVector*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QVector result; -return result; -} -QUrl PythonQtShell_QSimpleXmlNodeModel::baseUri(const QXmlNodeModelIndex& node) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "baseUri"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QUrl" , "const QXmlNodeModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QUrl returnValue; - void* args[2] = {NULL, (void*)&node}; - 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("baseUri", methodInfo, result); - } else { - returnValue = *((QUrl*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSimpleXmlNodeModel::baseUri(node); -} -QXmlNodeModelIndex::DocumentOrder PythonQtShell_QSimpleXmlNodeModel::compareOrder(const QXmlNodeModelIndex& ni1, const QXmlNodeModelIndex& ni2) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "compareOrder"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QXmlNodeModelIndex::DocumentOrder" , "const QXmlNodeModelIndex&" , "const QXmlNodeModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QXmlNodeModelIndex::DocumentOrder returnValue; - void* args[3] = {NULL, (void*)&ni1, (void*)&ni2}; - 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("compareOrder", methodInfo, result); - } else { - returnValue = *((QXmlNodeModelIndex::DocumentOrder*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QXmlNodeModelIndex::DocumentOrder result; -return result; -} -QUrl PythonQtShell_QSimpleXmlNodeModel::documentUri(const QXmlNodeModelIndex& ni) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "documentUri"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QUrl" , "const QXmlNodeModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QUrl returnValue; - void* args[2] = {NULL, (void*)&ni}; - 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("documentUri", methodInfo, result); - } else { - returnValue = *((QUrl*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QUrl result; -return result; -} -QXmlNodeModelIndex PythonQtShell_QSimpleXmlNodeModel::elementById(const QXmlName& id) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "elementById"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QXmlNodeModelIndex" , "const QXmlName&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QXmlNodeModelIndex returnValue; - void* args[2] = {NULL, (void*)&id}; - 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("elementById", methodInfo, result); - } else { - returnValue = *((QXmlNodeModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSimpleXmlNodeModel::elementById(id); -} -QXmlNodeModelIndex::NodeKind PythonQtShell_QSimpleXmlNodeModel::kind(const QXmlNodeModelIndex& ni) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "kind"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QXmlNodeModelIndex::NodeKind" , "const QXmlNodeModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QXmlNodeModelIndex::NodeKind returnValue; - void* args[2] = {NULL, (void*)&ni}; - 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("kind", methodInfo, result); - } else { - returnValue = *((QXmlNodeModelIndex::NodeKind*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QXmlNodeModelIndex::NodeKind result; -return result; -} -QXmlName PythonQtShell_QSimpleXmlNodeModel::name(const QXmlNodeModelIndex& ni) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "name"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QXmlName" , "const QXmlNodeModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QXmlName returnValue; - void* args[2] = {NULL, (void*)&ni}; - 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("name", methodInfo, result); - } else { - returnValue = *((QXmlName*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QXmlName result; -return result; -} -QVector PythonQtShell_QSimpleXmlNodeModel::namespaceBindings(const QXmlNodeModelIndex& arg__1) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "namespaceBindings"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVector" , "const QXmlNodeModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVector 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("namespaceBindings", methodInfo, result); - } else { - returnValue = *((QVector*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSimpleXmlNodeModel::namespaceBindings(arg__1); -} -QXmlNodeModelIndex PythonQtShell_QSimpleXmlNodeModel::nextFromSimpleAxis(QAbstractXmlNodeModel::SimpleAxis axis, const QXmlNodeModelIndex& origin) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "nextFromSimpleAxis"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QXmlNodeModelIndex" , "QAbstractXmlNodeModel::SimpleAxis" , "const QXmlNodeModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QXmlNodeModelIndex returnValue; - void* args[3] = {NULL, (void*)&axis, (void*)&origin}; - 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("nextFromSimpleAxis", methodInfo, result); - } else { - returnValue = *((QXmlNodeModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QXmlNodeModelIndex result; -return result; -} -QVector PythonQtShell_QSimpleXmlNodeModel::nodesByIdref(const QXmlName& idref) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "nodesByIdref"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVector" , "const QXmlName&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVector returnValue; - void* args[2] = {NULL, (void*)&idref}; - 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("nodesByIdref", methodInfo, result); - } else { - returnValue = *((QVector*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSimpleXmlNodeModel::nodesByIdref(idref); -} -QXmlNodeModelIndex PythonQtShell_QSimpleXmlNodeModel::root(const QXmlNodeModelIndex& n) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "root"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QXmlNodeModelIndex" , "const QXmlNodeModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QXmlNodeModelIndex returnValue; - void* args[2] = {NULL, (void*)&n}; - 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("root", methodInfo, result); - } else { - returnValue = *((QXmlNodeModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QXmlNodeModelIndex result; -return result; -} -QString PythonQtShell_QSimpleXmlNodeModel::stringValue(const QXmlNodeModelIndex& node) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "stringValue"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QString" , "const QXmlNodeModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QString returnValue; - void* args[2] = {NULL, (void*)&node}; - 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("stringValue", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - return QSimpleXmlNodeModel::stringValue(node); -} -QVariant PythonQtShell_QSimpleXmlNodeModel::typedValue(const QXmlNodeModelIndex& n) const -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "typedValue"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"QVariant" , "const QXmlNodeModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&n}; - 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("typedValue", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } -} - QVariant result; -return result; -} -QSimpleXmlNodeModel* PythonQtWrapper_QSimpleXmlNodeModel::new_QSimpleXmlNodeModel(const QXmlNamePool& namePool) -{ -return new PythonQtShell_QSimpleXmlNodeModel(namePool); } - -QXmlNamePool* PythonQtWrapper_QSimpleXmlNodeModel::namePool(QSimpleXmlNodeModel* theWrappedObject) const -{ - return &( theWrappedObject->namePool()); -} - -QString PythonQtWrapper_QSimpleXmlNodeModel::stringValue(QSimpleXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& node) const -{ - return ( ((PythonQtPublicPromoter_QSimpleXmlNodeModel*)theWrappedObject)->promoted_stringValue(node)); -} - -QXmlNodeModelIndex PythonQtWrapper_QSimpleXmlNodeModel::elementById(QSimpleXmlNodeModel* theWrappedObject, const QXmlName& id) const -{ - return ( ((PythonQtPublicPromoter_QSimpleXmlNodeModel*)theWrappedObject)->promoted_elementById(id)); -} - -QUrl PythonQtWrapper_QSimpleXmlNodeModel::baseUri(QSimpleXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& node) const -{ - return ( ((PythonQtPublicPromoter_QSimpleXmlNodeModel*)theWrappedObject)->promoted_baseUri(node)); -} - -QVector PythonQtWrapper_QSimpleXmlNodeModel::namespaceBindings(QSimpleXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& arg__1) const -{ - return ( ((PythonQtPublicPromoter_QSimpleXmlNodeModel*)theWrappedObject)->promoted_namespaceBindings(arg__1)); -} - -QVector PythonQtWrapper_QSimpleXmlNodeModel::nodesByIdref(QSimpleXmlNodeModel* theWrappedObject, const QXmlName& idref) const -{ - return ( ((PythonQtPublicPromoter_QSimpleXmlNodeModel*)theWrappedObject)->promoted_nodesByIdref(idref)); -} - diff --git a/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QSimpleXmlNodeModel.h b/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QSimpleXmlNodeModel.h deleted file mode 100644 index 82129d1..0000000 --- a/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QSimpleXmlNodeModel.h +++ /dev/null @@ -1,61 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSIMPLEXMLNODEMODEL_H -#define PYTHONQTWRAPPER_QSIMPLEXMLNODEMODEL_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QSimpleXmlNodeModel : public QSimpleXmlNodeModel -{ -public: - PythonQtShell_QSimpleXmlNodeModel(const QXmlNamePool& namePool):QSimpleXmlNodeModel(namePool),_wrapper(NULL) {}; - -virtual QVector attributes(const QXmlNodeModelIndex& element) const; -virtual QUrl baseUri(const QXmlNodeModelIndex& node) const; -virtual QXmlNodeModelIndex::DocumentOrder compareOrder(const QXmlNodeModelIndex& ni1, const QXmlNodeModelIndex& ni2) const; -virtual QUrl documentUri(const QXmlNodeModelIndex& ni) const; -virtual QXmlNodeModelIndex elementById(const QXmlName& id) const; -virtual QXmlNodeModelIndex::NodeKind kind(const QXmlNodeModelIndex& ni) const; -virtual QXmlName name(const QXmlNodeModelIndex& ni) const; -virtual QVector namespaceBindings(const QXmlNodeModelIndex& arg__1) const; -virtual QXmlNodeModelIndex nextFromSimpleAxis(QAbstractXmlNodeModel::SimpleAxis axis, const QXmlNodeModelIndex& origin) const; -virtual QVector nodesByIdref(const QXmlName& idref) const; -virtual QXmlNodeModelIndex root(const QXmlNodeModelIndex& n) const; -virtual QString stringValue(const QXmlNodeModelIndex& node) const; -virtual QVariant typedValue(const QXmlNodeModelIndex& n) const; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QSimpleXmlNodeModel : public QSimpleXmlNodeModel -{ public: -inline QString promoted_stringValue(const QXmlNodeModelIndex& node) const { return QSimpleXmlNodeModel::stringValue(node); } -inline QXmlNodeModelIndex promoted_elementById(const QXmlName& id) const { return QSimpleXmlNodeModel::elementById(id); } -inline QUrl promoted_baseUri(const QXmlNodeModelIndex& node) const { return QSimpleXmlNodeModel::baseUri(node); } -inline QVector promoted_namespaceBindings(const QXmlNodeModelIndex& arg__1) const { return QSimpleXmlNodeModel::namespaceBindings(arg__1); } -inline QVector promoted_nodesByIdref(const QXmlName& idref) const { return QSimpleXmlNodeModel::nodesByIdref(idref); } -}; - -class PythonQtWrapper_QSimpleXmlNodeModel : public QObject -{ Q_OBJECT -public: -public slots: -QSimpleXmlNodeModel* new_QSimpleXmlNodeModel(const QXmlNamePool& namePool); -void delete_QSimpleXmlNodeModel(QSimpleXmlNodeModel* obj) { delete obj; } - QXmlNamePool* namePool(QSimpleXmlNodeModel* theWrappedObject) const; - QString stringValue(QSimpleXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& node) const; - QXmlNodeModelIndex elementById(QSimpleXmlNodeModel* theWrappedObject, const QXmlName& id) const; - QUrl baseUri(QSimpleXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& node) const; - QVector namespaceBindings(QSimpleXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& arg__1) const; - QVector nodesByIdref(QSimpleXmlNodeModel* theWrappedObject, const QXmlName& idref) const; -}; - -#endif // PYTHONQTWRAPPER_QSIMPLEXMLNODEMODEL_H diff --git a/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QSourceLocation.cpp b/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QSourceLocation.cpp deleted file mode 100644 index f6c5cf3..0000000 --- a/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QSourceLocation.cpp +++ /dev/null @@ -1,68 +0,0 @@ -#include "PythonQtWrapper_QSourceLocation.h" - -#include -#include -#include -#include -#include -#include - -QSourceLocation* PythonQtWrapper_QSourceLocation::new_QSourceLocation() -{ -return new QSourceLocation(); } - -QSourceLocation* PythonQtWrapper_QSourceLocation::new_QSourceLocation(const QSourceLocation& other) -{ -return new QSourceLocation(other); } - -QSourceLocation* PythonQtWrapper_QSourceLocation::new_QSourceLocation(const QUrl& uri, int line, int column) -{ -return new QSourceLocation(uri, line, column); } - -bool PythonQtWrapper_QSourceLocation::operator_equal(QSourceLocation* theWrappedObject, const QSourceLocation& other) const -{ - return ( (*theWrappedObject)== other); -} - -qint64 PythonQtWrapper_QSourceLocation::line(QSourceLocation* theWrappedObject) const -{ - return ( theWrappedObject->line()); -} - -QUrl PythonQtWrapper_QSourceLocation::uri(QSourceLocation* theWrappedObject) const -{ - return ( theWrappedObject->uri()); -} - -void PythonQtWrapper_QSourceLocation::setColumn(QSourceLocation* theWrappedObject, qint64 newColumn) -{ - ( theWrappedObject->setColumn(newColumn)); -} - -qint64 PythonQtWrapper_QSourceLocation::column(QSourceLocation* theWrappedObject) const -{ - return ( theWrappedObject->column()); -} - -bool PythonQtWrapper_QSourceLocation::isNull(QSourceLocation* theWrappedObject) const -{ - return ( theWrappedObject->isNull()); -} - -void PythonQtWrapper_QSourceLocation::setLine(QSourceLocation* theWrappedObject, qint64 newLine) -{ - ( theWrappedObject->setLine(newLine)); -} - -void PythonQtWrapper_QSourceLocation::setUri(QSourceLocation* theWrappedObject, const QUrl& newUri) -{ - ( theWrappedObject->setUri(newUri)); -} - -QString PythonQtWrapper_QSourceLocation::toString(QSourceLocation* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; -} - diff --git a/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QSourceLocation.h b/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QSourceLocation.h deleted file mode 100644 index ddd5e8f..0000000 --- a/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QSourceLocation.h +++ /dev/null @@ -1,32 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QSOURCELOCATION_H -#define PYTHONQTWRAPPER_QSOURCELOCATION_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtWrapper_QSourceLocation : public QObject -{ Q_OBJECT -public: -public slots: -QSourceLocation* new_QSourceLocation(); -QSourceLocation* new_QSourceLocation(const QSourceLocation& other); -QSourceLocation* new_QSourceLocation(const QUrl& uri, int line = -1, int column = -1); -void delete_QSourceLocation(QSourceLocation* obj) { delete obj; } - bool operator_equal(QSourceLocation* theWrappedObject, const QSourceLocation& other) const; - qint64 line(QSourceLocation* theWrappedObject) const; - QUrl uri(QSourceLocation* theWrappedObject) const; - void setColumn(QSourceLocation* theWrappedObject, qint64 newColumn); - qint64 column(QSourceLocation* theWrappedObject) const; - bool isNull(QSourceLocation* theWrappedObject) const; - void setLine(QSourceLocation* theWrappedObject, qint64 newLine); - void setUri(QSourceLocation* theWrappedObject, const QUrl& newUri); - QString toString(QSourceLocation*); -}; - -#endif // PYTHONQTWRAPPER_QSOURCELOCATION_H diff --git a/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QXmlFormatter.cpp b/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QXmlFormatter.cpp deleted file mode 100644 index 2ecddf8..0000000 --- a/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QXmlFormatter.cpp +++ /dev/null @@ -1,303 +0,0 @@ -#include "PythonQtWrapper_QXmlFormatter.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QXmlFormatter::atomicValue(const QVariant& value) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "atomicValue"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QXmlFormatter::atomicValue(value); -} -void PythonQtShell_QXmlFormatter::attribute(const QXmlName& name, const QStringRef& value) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "attribute"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QXmlName&" , "const QStringRef&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&name, (void*)&value}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QXmlFormatter::attribute(name, value); -} -void PythonQtShell_QXmlFormatter::characters(const QStringRef& value) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "characters"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QStringRef&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QXmlFormatter::characters(value); -} -void PythonQtShell_QXmlFormatter::comment(const QString& value) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "comment"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QXmlFormatter::comment(value); -} -void PythonQtShell_QXmlFormatter::endDocument() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "endDocument"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QXmlFormatter::endDocument(); -} -void PythonQtShell_QXmlFormatter::endElement() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "endElement"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QXmlFormatter::endElement(); -} -void PythonQtShell_QXmlFormatter::endOfSequence() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "endOfSequence"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QXmlFormatter::endOfSequence(); -} -void PythonQtShell_QXmlFormatter::namespaceBinding(const QXmlName& nb) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "namespaceBinding"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QXmlName&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&nb}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QXmlFormatter::namespaceBinding(nb); -} -void PythonQtShell_QXmlFormatter::processingInstruction(const QXmlName& name, const QString& value) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "processingInstruction"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QXmlName&" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&name, (void*)&value}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QXmlFormatter::processingInstruction(name, value); -} -void PythonQtShell_QXmlFormatter::startDocument() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "startDocument"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QXmlFormatter::startDocument(); -} -void PythonQtShell_QXmlFormatter::startElement(const QXmlName& name) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "startElement"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QXmlName&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&name}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QXmlFormatter::startElement(name); -} -void PythonQtShell_QXmlFormatter::startOfSequence() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "startOfSequence"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QXmlFormatter::startOfSequence(); -} -void PythonQtShell_QXmlFormatter::whitespaceOnly(const QStringRef& value) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "whitespaceOnly"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QStringRef&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QXmlFormatter::whitespaceOnly(value); -} -QXmlFormatter* PythonQtWrapper_QXmlFormatter::new_QXmlFormatter(const QXmlQuery& query, QIODevice* outputDevice) -{ -return new PythonQtShell_QXmlFormatter(query, outputDevice); } - -void PythonQtWrapper_QXmlFormatter::setIndentationDepth(QXmlFormatter* theWrappedObject, int depth) -{ - ( theWrappedObject->setIndentationDepth(depth)); -} - -int PythonQtWrapper_QXmlFormatter::indentationDepth(QXmlFormatter* theWrappedObject) const -{ - return ( theWrappedObject->indentationDepth()); -} - -void PythonQtWrapper_QXmlFormatter::startOfSequence(QXmlFormatter* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QXmlFormatter*)theWrappedObject)->promoted_startOfSequence()); -} - -void PythonQtWrapper_QXmlFormatter::characters(QXmlFormatter* theWrappedObject, const QStringRef& value) -{ - ( ((PythonQtPublicPromoter_QXmlFormatter*)theWrappedObject)->promoted_characters(value)); -} - -void PythonQtWrapper_QXmlFormatter::atomicValue(QXmlFormatter* theWrappedObject, const QVariant& value) -{ - ( ((PythonQtPublicPromoter_QXmlFormatter*)theWrappedObject)->promoted_atomicValue(value)); -} - -void PythonQtWrapper_QXmlFormatter::endElement(QXmlFormatter* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QXmlFormatter*)theWrappedObject)->promoted_endElement()); -} - -void PythonQtWrapper_QXmlFormatter::attribute(QXmlFormatter* theWrappedObject, const QXmlName& name, const QStringRef& value) -{ - ( ((PythonQtPublicPromoter_QXmlFormatter*)theWrappedObject)->promoted_attribute(name, value)); -} - -void PythonQtWrapper_QXmlFormatter::startDocument(QXmlFormatter* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QXmlFormatter*)theWrappedObject)->promoted_startDocument()); -} - -void PythonQtWrapper_QXmlFormatter::endDocument(QXmlFormatter* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QXmlFormatter*)theWrappedObject)->promoted_endDocument()); -} - -void PythonQtWrapper_QXmlFormatter::processingInstruction(QXmlFormatter* theWrappedObject, const QXmlName& name, const QString& value) -{ - ( ((PythonQtPublicPromoter_QXmlFormatter*)theWrappedObject)->promoted_processingInstruction(name, value)); -} - -void PythonQtWrapper_QXmlFormatter::startElement(QXmlFormatter* theWrappedObject, const QXmlName& name) -{ - ( ((PythonQtPublicPromoter_QXmlFormatter*)theWrappedObject)->promoted_startElement(name)); -} - -void PythonQtWrapper_QXmlFormatter::comment(QXmlFormatter* theWrappedObject, const QString& value) -{ - ( ((PythonQtPublicPromoter_QXmlFormatter*)theWrappedObject)->promoted_comment(value)); -} - -void PythonQtWrapper_QXmlFormatter::endOfSequence(QXmlFormatter* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QXmlFormatter*)theWrappedObject)->promoted_endOfSequence()); -} - diff --git a/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QXmlFormatter.h b/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QXmlFormatter.h deleted file mode 100644 index 025b20d..0000000 --- a/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QXmlFormatter.h +++ /dev/null @@ -1,75 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QXMLFORMATTER_H -#define PYTHONQTWRAPPER_QXMLFORMATTER_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QXmlFormatter : public QXmlFormatter -{ -public: - PythonQtShell_QXmlFormatter(const QXmlQuery& query, QIODevice* outputDevice):QXmlFormatter(query, outputDevice),_wrapper(NULL) {}; - -virtual void atomicValue(const QVariant& value); -virtual void attribute(const QXmlName& name, const QStringRef& value); -virtual void characters(const QStringRef& value); -virtual void comment(const QString& value); -virtual void endDocument(); -virtual void endElement(); -virtual void endOfSequence(); -virtual void namespaceBinding(const QXmlName& nb); -virtual void processingInstruction(const QXmlName& name, const QString& value); -virtual void startDocument(); -virtual void startElement(const QXmlName& name); -virtual void startOfSequence(); -virtual void whitespaceOnly(const QStringRef& value); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QXmlFormatter : public QXmlFormatter -{ public: -inline void promoted_startOfSequence() { QXmlFormatter::startOfSequence(); } -inline void promoted_characters(const QStringRef& value) { QXmlFormatter::characters(value); } -inline void promoted_atomicValue(const QVariant& value) { QXmlFormatter::atomicValue(value); } -inline void promoted_endElement() { QXmlFormatter::endElement(); } -inline void promoted_attribute(const QXmlName& name, const QStringRef& value) { QXmlFormatter::attribute(name, value); } -inline void promoted_startDocument() { QXmlFormatter::startDocument(); } -inline void promoted_endDocument() { QXmlFormatter::endDocument(); } -inline void promoted_processingInstruction(const QXmlName& name, const QString& value) { QXmlFormatter::processingInstruction(name, value); } -inline void promoted_startElement(const QXmlName& name) { QXmlFormatter::startElement(name); } -inline void promoted_comment(const QString& value) { QXmlFormatter::comment(value); } -inline void promoted_endOfSequence() { QXmlFormatter::endOfSequence(); } -}; - -class PythonQtWrapper_QXmlFormatter : public QObject -{ Q_OBJECT -public: -public slots: -QXmlFormatter* new_QXmlFormatter(const QXmlQuery& query, QIODevice* outputDevice); -void delete_QXmlFormatter(QXmlFormatter* obj) { delete obj; } - void setIndentationDepth(QXmlFormatter* theWrappedObject, int depth); - int indentationDepth(QXmlFormatter* theWrappedObject) const; - void startOfSequence(QXmlFormatter* theWrappedObject); - void characters(QXmlFormatter* theWrappedObject, const QStringRef& value); - void atomicValue(QXmlFormatter* theWrappedObject, const QVariant& value); - void endElement(QXmlFormatter* theWrappedObject); - void attribute(QXmlFormatter* theWrappedObject, const QXmlName& name, const QStringRef& value); - void startDocument(QXmlFormatter* theWrappedObject); - void endDocument(QXmlFormatter* theWrappedObject); - void processingInstruction(QXmlFormatter* theWrappedObject, const QXmlName& name, const QString& value); - void startElement(QXmlFormatter* theWrappedObject, const QXmlName& name); - void comment(QXmlFormatter* theWrappedObject, const QString& value); - void endOfSequence(QXmlFormatter* theWrappedObject); -}; - -#endif // PYTHONQTWRAPPER_QXMLFORMATTER_H diff --git a/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QXmlItem.cpp b/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QXmlItem.cpp deleted file mode 100644 index 34879a7..0000000 --- a/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QXmlItem.cpp +++ /dev/null @@ -1,49 +0,0 @@ -#include "PythonQtWrapper_QXmlItem.h" - -#include -#include -#include -#include -#include - -QXmlItem* PythonQtWrapper_QXmlItem::new_QXmlItem() -{ -return new QXmlItem(); } - -QXmlItem* PythonQtWrapper_QXmlItem::new_QXmlItem(const QVariant& atomicValue) -{ -return new QXmlItem(atomicValue); } - -QXmlItem* PythonQtWrapper_QXmlItem::new_QXmlItem(const QXmlItem& other) -{ -return new QXmlItem(other); } - -QXmlItem* PythonQtWrapper_QXmlItem::new_QXmlItem(const QXmlNodeModelIndex& node) -{ -return new QXmlItem(node); } - -bool PythonQtWrapper_QXmlItem::isNode(QXmlItem* theWrappedObject) const -{ - return ( theWrappedObject->isNode()); -} - -bool PythonQtWrapper_QXmlItem::isNull(QXmlItem* theWrappedObject) const -{ - return ( theWrappedObject->isNull()); -} - -QXmlNodeModelIndex PythonQtWrapper_QXmlItem::toNodeModelIndex(QXmlItem* theWrappedObject) const -{ - return ( theWrappedObject->toNodeModelIndex()); -} - -bool PythonQtWrapper_QXmlItem::isAtomicValue(QXmlItem* theWrappedObject) const -{ - return ( theWrappedObject->isAtomicValue()); -} - -QVariant PythonQtWrapper_QXmlItem::toAtomicValue(QXmlItem* theWrappedObject) const -{ - return ( theWrappedObject->toAtomicValue()); -} - diff --git a/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QXmlItem.h b/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QXmlItem.h deleted file mode 100644 index 47d582c..0000000 --- a/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QXmlItem.h +++ /dev/null @@ -1,28 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QXMLITEM_H -#define PYTHONQTWRAPPER_QXMLITEM_H - -#include -#include - -#include - -#include -#include - -class PythonQtWrapper_QXmlItem : public QObject -{ Q_OBJECT -public: -public slots: -QXmlItem* new_QXmlItem(); -QXmlItem* new_QXmlItem(const QVariant& atomicValue); -QXmlItem* new_QXmlItem(const QXmlItem& other); -QXmlItem* new_QXmlItem(const QXmlNodeModelIndex& node); -void delete_QXmlItem(QXmlItem* obj) { delete obj; } - bool isNode(QXmlItem* theWrappedObject) const; - bool isNull(QXmlItem* theWrappedObject) const; - QXmlNodeModelIndex toNodeModelIndex(QXmlItem* theWrappedObject) const; - bool isAtomicValue(QXmlItem* theWrappedObject) const; - QVariant toAtomicValue(QXmlItem* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QXMLITEM_H diff --git a/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QXmlName.cpp b/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QXmlName.cpp deleted file mode 100644 index 272938a..0000000 --- a/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QXmlName.cpp +++ /dev/null @@ -1,52 +0,0 @@ -#include "PythonQtWrapper_QXmlName.h" - -#include -#include -#include -#include -#include -#include - -QXmlName* PythonQtWrapper_QXmlName::new_QXmlName() -{ -return new QXmlName(); } - -QXmlName* PythonQtWrapper_QXmlName::new_QXmlName(QXmlNamePool& namePool, const QString& localName, const QString& namespaceURI, const QString& prefix) -{ -return new QXmlName(namePool, localName, namespaceURI, prefix); } - -bool PythonQtWrapper_QXmlName::operator_equal(QXmlName* theWrappedObject, const QXmlName& other) const -{ - return ( (*theWrappedObject)== other); -} - -QString PythonQtWrapper_QXmlName::toClarkName(QXmlName* theWrappedObject, const QXmlNamePool& query) const -{ - return ( theWrappedObject->toClarkName(query)); -} - -QString PythonQtWrapper_QXmlName::prefix(QXmlName* theWrappedObject, const QXmlNamePool& query) const -{ - return ( theWrappedObject->prefix(query)); -} - -bool PythonQtWrapper_QXmlName::isNull(QXmlName* theWrappedObject) const -{ - return ( theWrappedObject->isNull()); -} - -QString PythonQtWrapper_QXmlName::localName(QXmlName* theWrappedObject, const QXmlNamePool& query) const -{ - return ( theWrappedObject->localName(query)); -} - -QString PythonQtWrapper_QXmlName::namespaceUri(QXmlName* theWrappedObject, const QXmlNamePool& query) const -{ - return ( theWrappedObject->namespaceUri(query)); -} - -bool PythonQtWrapper_QXmlName::static_QXmlName_isNCName(const QString& candidate) -{ - return (QXmlName::isNCName(candidate)); -} - diff --git a/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QXmlName.h b/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QXmlName.h deleted file mode 100644 index 8d46b5b..0000000 --- a/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QXmlName.h +++ /dev/null @@ -1,33 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QXMLNAME_H -#define PYTHONQTWRAPPER_QXMLNAME_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtWrapper_QXmlName : public QObject -{ Q_OBJECT -public: -public slots: -QXmlName* new_QXmlName(); -QXmlName* new_QXmlName(QXmlNamePool& namePool, const QString& localName, const QString& namespaceURI = QString(), const QString& prefix = QString()); -QXmlName* new_QXmlName(const QXmlName& other) { -QXmlName* a = new QXmlName(); -*((QXmlName*)a) = other; -return a; } -void delete_QXmlName(QXmlName* obj) { delete obj; } - bool operator_equal(QXmlName* theWrappedObject, const QXmlName& other) const; - QString toClarkName(QXmlName* theWrappedObject, const QXmlNamePool& query) const; - QString prefix(QXmlName* theWrappedObject, const QXmlNamePool& query) const; - bool isNull(QXmlName* theWrappedObject) const; - QString localName(QXmlName* theWrappedObject, const QXmlNamePool& query) const; - QString namespaceUri(QXmlName* theWrappedObject, const QXmlNamePool& query) const; - bool static_QXmlName_isNCName(const QString& candidate); -}; - -#endif // PYTHONQTWRAPPER_QXMLNAME_H diff --git a/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QXmlNamePool.cpp b/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QXmlNamePool.cpp deleted file mode 100644 index 0536f25..0000000 --- a/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QXmlNamePool.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include "PythonQtWrapper_QXmlNamePool.h" - -#include -#include -#include -#include -#include - -QXmlNamePool* PythonQtWrapper_QXmlNamePool::new_QXmlNamePool() -{ -return new QXmlNamePool(); } - -QXmlNamePool* PythonQtWrapper_QXmlNamePool::new_QXmlNamePool(const QXmlNamePool& other) -{ -return new QXmlNamePool(other); } - diff --git a/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QXmlNamePool.h b/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QXmlNamePool.h deleted file mode 100644 index 8b9f715..0000000 --- a/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QXmlNamePool.h +++ /dev/null @@ -1,21 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QXMLNAMEPOOL_H -#define PYTHONQTWRAPPER_QXMLNAMEPOOL_H - -#include -#include - -#include - -#include -#include - -class PythonQtWrapper_QXmlNamePool : public QObject -{ Q_OBJECT -public: -public slots: -QXmlNamePool* new_QXmlNamePool(); -QXmlNamePool* new_QXmlNamePool(const QXmlNamePool& other); -void delete_QXmlNamePool(QXmlNamePool* obj) { delete obj; } -}; - -#endif // PYTHONQTWRAPPER_QXMLNAMEPOOL_H diff --git a/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QXmlNodeModelIndex.cpp b/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QXmlNodeModelIndex.cpp deleted file mode 100644 index 2fd974e..0000000 --- a/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QXmlNodeModelIndex.cpp +++ /dev/null @@ -1,41 +0,0 @@ -#include "PythonQtWrapper_QXmlNodeModelIndex.h" - -#include -#include -#include -#include -#include - -QXmlNodeModelIndex* PythonQtWrapper_QXmlNodeModelIndex::new_QXmlNodeModelIndex() -{ -return new QXmlNodeModelIndex(); } - -QXmlNodeModelIndex* PythonQtWrapper_QXmlNodeModelIndex::new_QXmlNodeModelIndex(const QXmlNodeModelIndex& other) -{ -return new QXmlNodeModelIndex(other); } - -bool PythonQtWrapper_QXmlNodeModelIndex::operator_equal(QXmlNodeModelIndex* theWrappedObject, const QXmlNodeModelIndex& other) const -{ - return ( (*theWrappedObject)== other); -} - -qint64 PythonQtWrapper_QXmlNodeModelIndex::data(QXmlNodeModelIndex* theWrappedObject) const -{ - return ( theWrappedObject->data()); -} - -const QAbstractXmlNodeModel* PythonQtWrapper_QXmlNodeModelIndex::model(QXmlNodeModelIndex* theWrappedObject) const -{ - return ( theWrappedObject->model()); -} - -qint64 PythonQtWrapper_QXmlNodeModelIndex::additionalData(QXmlNodeModelIndex* theWrappedObject) const -{ - return ( theWrappedObject->additionalData()); -} - -bool PythonQtWrapper_QXmlNodeModelIndex::isNull(QXmlNodeModelIndex* theWrappedObject) const -{ - return ( theWrappedObject->isNull()); -} - diff --git a/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QXmlNodeModelIndex.h b/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QXmlNodeModelIndex.h deleted file mode 100644 index 18eb4c1..0000000 --- a/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QXmlNodeModelIndex.h +++ /dev/null @@ -1,33 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QXMLNODEMODELINDEX_H -#define PYTHONQTWRAPPER_QXMLNODEMODELINDEX_H - -#include -#include - -#include - -#include -#include - -class PythonQtWrapper_QXmlNodeModelIndex : public QObject -{ Q_OBJECT -public: -Q_ENUMS(NodeKind DocumentOrder Axis ) -enum NodeKind{ - Attribute = QXmlNodeModelIndex::Attribute, Comment = QXmlNodeModelIndex::Comment, Document = QXmlNodeModelIndex::Document, Element = QXmlNodeModelIndex::Element, Namespace = QXmlNodeModelIndex::Namespace, ProcessingInstruction = QXmlNodeModelIndex::ProcessingInstruction, Text = QXmlNodeModelIndex::Text}; -enum DocumentOrder{ - Precedes = QXmlNodeModelIndex::Precedes, Is = QXmlNodeModelIndex::Is, Follows = QXmlNodeModelIndex::Follows}; -enum Axis{ - AxisChild = QXmlNodeModelIndex::AxisChild, AxisDescendant = QXmlNodeModelIndex::AxisDescendant, AxisAttribute = QXmlNodeModelIndex::AxisAttribute, AxisSelf = QXmlNodeModelIndex::AxisSelf, AxisDescendantOrSelf = QXmlNodeModelIndex::AxisDescendantOrSelf, AxisFollowingSibling = QXmlNodeModelIndex::AxisFollowingSibling, AxisNamespace = QXmlNodeModelIndex::AxisNamespace, AxisFollowing = QXmlNodeModelIndex::AxisFollowing, AxisParent = QXmlNodeModelIndex::AxisParent, AxisAncestor = QXmlNodeModelIndex::AxisAncestor, AxisPrecedingSibling = QXmlNodeModelIndex::AxisPrecedingSibling, AxisPreceding = QXmlNodeModelIndex::AxisPreceding, AxisAncestorOrSelf = QXmlNodeModelIndex::AxisAncestorOrSelf}; -public slots: -QXmlNodeModelIndex* new_QXmlNodeModelIndex(); -QXmlNodeModelIndex* new_QXmlNodeModelIndex(const QXmlNodeModelIndex& other); -void delete_QXmlNodeModelIndex(QXmlNodeModelIndex* obj) { delete obj; } - bool operator_equal(QXmlNodeModelIndex* theWrappedObject, const QXmlNodeModelIndex& other) const; - qint64 data(QXmlNodeModelIndex* theWrappedObject) const; - const QAbstractXmlNodeModel* model(QXmlNodeModelIndex* theWrappedObject) const; - qint64 additionalData(QXmlNodeModelIndex* theWrappedObject) const; - bool isNull(QXmlNodeModelIndex* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QXMLNODEMODELINDEX_H diff --git a/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QXmlQuery.cpp b/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QXmlQuery.cpp deleted file mode 100644 index 2daca16..0000000 --- a/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QXmlQuery.cpp +++ /dev/null @@ -1,114 +0,0 @@ -#include "PythonQtWrapper_QXmlQuery.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QXmlQuery* PythonQtWrapper_QXmlQuery::new_QXmlQuery() -{ -return new QXmlQuery(); } - -QXmlQuery* PythonQtWrapper_QXmlQuery::new_QXmlQuery(const QXmlNamePool& np) -{ -return new QXmlQuery(np); } - -QXmlQuery* PythonQtWrapper_QXmlQuery::new_QXmlQuery(const QXmlQuery& other) -{ -return new QXmlQuery(other); } - -void PythonQtWrapper_QXmlQuery::setQuery(QXmlQuery* theWrappedObject, const QUrl& queryURI, const QUrl& baseURI) -{ - ( theWrappedObject->setQuery(queryURI, baseURI)); -} - -void PythonQtWrapper_QXmlQuery::setMessageHandler(QXmlQuery* theWrappedObject, QAbstractMessageHandler* messageHandler) -{ - ( theWrappedObject->setMessageHandler(messageHandler)); -} - -void PythonQtWrapper_QXmlQuery::setQuery(QXmlQuery* theWrappedObject, QIODevice* sourceCode, const QUrl& documentURI) -{ - ( theWrappedObject->setQuery(sourceCode, documentURI)); -} - -void PythonQtWrapper_QXmlQuery::setQuery(QXmlQuery* theWrappedObject, const QString& sourceCode, const QUrl& documentURI) -{ - ( theWrappedObject->setQuery(sourceCode, documentURI)); -} - -QAbstractMessageHandler* PythonQtWrapper_QXmlQuery::messageHandler(QXmlQuery* theWrappedObject) const -{ - return ( theWrappedObject->messageHandler()); -} - -void PythonQtWrapper_QXmlQuery::bindVariable(QXmlQuery* theWrappedObject, const QXmlName& name, QIODevice* arg__2) -{ - ( theWrappedObject->bindVariable(name, arg__2)); -} - -void PythonQtWrapper_QXmlQuery::bindVariable(QXmlQuery* theWrappedObject, const QXmlName& name, const QXmlItem& value) -{ - ( theWrappedObject->bindVariable(name, value)); -} - -QXmlQuery* PythonQtWrapper_QXmlQuery::operator_assign(QXmlQuery* theWrappedObject, const QXmlQuery& other) -{ - return &( (*theWrappedObject)= other); -} - -const QAbstractUriResolver* PythonQtWrapper_QXmlQuery::uriResolver(QXmlQuery* theWrappedObject) const -{ - return ( theWrappedObject->uriResolver()); -} - -bool PythonQtWrapper_QXmlQuery::evaluateTo(QXmlQuery* theWrappedObject, QAbstractXmlReceiver* callback) const -{ - return ( theWrappedObject->evaluateTo(callback)); -} - -QXmlNamePool PythonQtWrapper_QXmlQuery::namePool(QXmlQuery* theWrappedObject) const -{ - return ( theWrappedObject->namePool()); -} - -void PythonQtWrapper_QXmlQuery::bindVariable(QXmlQuery* theWrappedObject, const QString& localName, QIODevice* arg__2) -{ - ( theWrappedObject->bindVariable(localName, arg__2)); -} - -void PythonQtWrapper_QXmlQuery::bindVariable(QXmlQuery* theWrappedObject, const QString& localName, const QXmlItem& value) -{ - ( theWrappedObject->bindVariable(localName, value)); -} - -void PythonQtWrapper_QXmlQuery::setFocus(QXmlQuery* theWrappedObject, const QXmlItem& item) -{ - ( theWrappedObject->setFocus(item)); -} - -void PythonQtWrapper_QXmlQuery::evaluateTo(QXmlQuery* theWrappedObject, QXmlResultItems* result) const -{ - ( theWrappedObject->evaluateTo(result)); -} - -bool PythonQtWrapper_QXmlQuery::isValid(QXmlQuery* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -void PythonQtWrapper_QXmlQuery::setUriResolver(QXmlQuery* theWrappedObject, const QAbstractUriResolver* resolver) -{ - ( theWrappedObject->setUriResolver(resolver)); -} - diff --git a/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QXmlQuery.h b/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QXmlQuery.h deleted file mode 100644 index 8598c62..0000000 --- a/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QXmlQuery.h +++ /dev/null @@ -1,48 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QXMLQUERY_H -#define PYTHONQTWRAPPER_QXMLQUERY_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class PythonQtWrapper_QXmlQuery : public QObject -{ Q_OBJECT -public: -public slots: -QXmlQuery* new_QXmlQuery(); -QXmlQuery* new_QXmlQuery(const QXmlNamePool& np); -QXmlQuery* new_QXmlQuery(const QXmlQuery& other); -void delete_QXmlQuery(QXmlQuery* obj) { delete obj; } - void setQuery(QXmlQuery* theWrappedObject, const QUrl& queryURI, const QUrl& baseURI = QUrl()); - void setMessageHandler(QXmlQuery* theWrappedObject, QAbstractMessageHandler* messageHandler); - void setQuery(QXmlQuery* theWrappedObject, QIODevice* sourceCode, const QUrl& documentURI = QUrl()); - void setQuery(QXmlQuery* theWrappedObject, const QString& sourceCode, const QUrl& documentURI = QUrl()); - QAbstractMessageHandler* messageHandler(QXmlQuery* theWrappedObject) const; - void bindVariable(QXmlQuery* theWrappedObject, const QXmlName& name, QIODevice* arg__2); - void bindVariable(QXmlQuery* theWrappedObject, const QXmlName& name, const QXmlItem& value); - QXmlQuery* operator_assign(QXmlQuery* theWrappedObject, const QXmlQuery& other); - const QAbstractUriResolver* uriResolver(QXmlQuery* theWrappedObject) const; - bool evaluateTo(QXmlQuery* theWrappedObject, QAbstractXmlReceiver* callback) const; - QXmlNamePool namePool(QXmlQuery* theWrappedObject) const; - void bindVariable(QXmlQuery* theWrappedObject, const QString& localName, QIODevice* arg__2); - void bindVariable(QXmlQuery* theWrappedObject, const QString& localName, const QXmlItem& value); - void setFocus(QXmlQuery* theWrappedObject, const QXmlItem& item); - void evaluateTo(QXmlQuery* theWrappedObject, QXmlResultItems* result) const; - bool isValid(QXmlQuery* theWrappedObject) const; - void setUriResolver(QXmlQuery* theWrappedObject, const QAbstractUriResolver* resolver); -}; - -#endif // PYTHONQTWRAPPER_QXMLQUERY_H diff --git a/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QXmlResultItems.cpp b/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QXmlResultItems.cpp deleted file mode 100644 index 8655adf..0000000 --- a/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QXmlResultItems.cpp +++ /dev/null @@ -1,28 +0,0 @@ -#include "PythonQtWrapper_QXmlResultItems.h" - -#include -#include -#include -#include -#include -#include - -QXmlResultItems* PythonQtWrapper_QXmlResultItems::new_QXmlResultItems() -{ -return new PythonQtShell_QXmlResultItems(); } - -QXmlItem PythonQtWrapper_QXmlResultItems::current(QXmlResultItems* theWrappedObject) const -{ - return ( theWrappedObject->current()); -} - -QXmlItem PythonQtWrapper_QXmlResultItems::next(QXmlResultItems* theWrappedObject) -{ - return ( theWrappedObject->next()); -} - -bool PythonQtWrapper_QXmlResultItems::hasError(QXmlResultItems* theWrappedObject) const -{ - return ( theWrappedObject->hasError()); -} - diff --git a/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QXmlResultItems.h b/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QXmlResultItems.h deleted file mode 100644 index de5548f..0000000 --- a/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QXmlResultItems.h +++ /dev/null @@ -1,33 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QXMLRESULTITEMS_H -#define PYTHONQTWRAPPER_QXMLRESULTITEMS_H - -#include -#include - -#include - -#include -#include -#include - -class PythonQtShell_QXmlResultItems : public QXmlResultItems -{ -public: - PythonQtShell_QXmlResultItems():QXmlResultItems(),_wrapper(NULL) {}; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QXmlResultItems : public QObject -{ Q_OBJECT -public: -public slots: -QXmlResultItems* new_QXmlResultItems(); -void delete_QXmlResultItems(QXmlResultItems* obj) { delete obj; } - QXmlItem current(QXmlResultItems* theWrappedObject) const; - QXmlItem next(QXmlResultItems* theWrappedObject); - bool hasError(QXmlResultItems* theWrappedObject) const; -}; - -#endif // PYTHONQTWRAPPER_QXMLRESULTITEMS_H diff --git a/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QXmlSerializer.cpp b/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QXmlSerializer.cpp deleted file mode 100644 index 6f60154..0000000 --- a/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QXmlSerializer.cpp +++ /dev/null @@ -1,313 +0,0 @@ -#include "PythonQtWrapper_QXmlSerializer.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void PythonQtShell_QXmlSerializer::atomicValue(const QVariant& value) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "atomicValue"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QXmlSerializer::atomicValue(value); -} -void PythonQtShell_QXmlSerializer::attribute(const QXmlName& name, const QStringRef& value) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "attribute"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QXmlName&" , "const QStringRef&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&name, (void*)&value}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QXmlSerializer::attribute(name, value); -} -void PythonQtShell_QXmlSerializer::characters(const QStringRef& value) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "characters"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QStringRef&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QXmlSerializer::characters(value); -} -void PythonQtShell_QXmlSerializer::comment(const QString& value) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "comment"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QXmlSerializer::comment(value); -} -void PythonQtShell_QXmlSerializer::endDocument() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "endDocument"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QXmlSerializer::endDocument(); -} -void PythonQtShell_QXmlSerializer::endElement() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "endElement"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QXmlSerializer::endElement(); -} -void PythonQtShell_QXmlSerializer::endOfSequence() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "endOfSequence"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QXmlSerializer::endOfSequence(); -} -void PythonQtShell_QXmlSerializer::namespaceBinding(const QXmlName& nb) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "namespaceBinding"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QXmlName&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&nb}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QXmlSerializer::namespaceBinding(nb); -} -void PythonQtShell_QXmlSerializer::processingInstruction(const QXmlName& name, const QString& value) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "processingInstruction"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QXmlName&" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&name, (void*)&value}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QXmlSerializer::processingInstruction(name, value); -} -void PythonQtShell_QXmlSerializer::startDocument() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "startDocument"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QXmlSerializer::startDocument(); -} -void PythonQtShell_QXmlSerializer::startElement(const QXmlName& name) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "startElement"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QXmlName&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&name}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QXmlSerializer::startElement(name); -} -void PythonQtShell_QXmlSerializer::startOfSequence() -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "startOfSequence"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QXmlSerializer::startOfSequence(); -} -void PythonQtShell_QXmlSerializer::whitespaceOnly(const QStringRef& value) -{ -if (_wrapper) { - PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "whitespaceOnly"); - PyErr_Clear(); - if (obj && !PythonQtSlotFunction_Check(obj)) { - static const char* argumentList[] ={"" , "const QStringRef&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } -} - QXmlSerializer::whitespaceOnly(value); -} -QXmlSerializer* PythonQtWrapper_QXmlSerializer::new_QXmlSerializer(const QXmlQuery& query, QIODevice* outputDevice) -{ -return new PythonQtShell_QXmlSerializer(query, outputDevice); } - -void PythonQtWrapper_QXmlSerializer::startOfSequence(QXmlSerializer* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QXmlSerializer*)theWrappedObject)->promoted_startOfSequence()); -} - -const QTextCodec* PythonQtWrapper_QXmlSerializer::codec(QXmlSerializer* theWrappedObject) const -{ - return ( theWrappedObject->codec()); -} - -void PythonQtWrapper_QXmlSerializer::processingInstruction(QXmlSerializer* theWrappedObject, const QXmlName& name, const QString& value) -{ - ( ((PythonQtPublicPromoter_QXmlSerializer*)theWrappedObject)->promoted_processingInstruction(name, value)); -} - -void PythonQtWrapper_QXmlSerializer::endDocument(QXmlSerializer* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QXmlSerializer*)theWrappedObject)->promoted_endDocument()); -} - -void PythonQtWrapper_QXmlSerializer::startDocument(QXmlSerializer* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QXmlSerializer*)theWrappedObject)->promoted_startDocument()); -} - -void PythonQtWrapper_QXmlSerializer::startElement(QXmlSerializer* theWrappedObject, const QXmlName& name) -{ - ( ((PythonQtPublicPromoter_QXmlSerializer*)theWrappedObject)->promoted_startElement(name)); -} - -void PythonQtWrapper_QXmlSerializer::endElement(QXmlSerializer* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QXmlSerializer*)theWrappedObject)->promoted_endElement()); -} - -void PythonQtWrapper_QXmlSerializer::endOfSequence(QXmlSerializer* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QXmlSerializer*)theWrappedObject)->promoted_endOfSequence()); -} - -void PythonQtWrapper_QXmlSerializer::atomicValue(QXmlSerializer* theWrappedObject, const QVariant& value) -{ - ( ((PythonQtPublicPromoter_QXmlSerializer*)theWrappedObject)->promoted_atomicValue(value)); -} - -void PythonQtWrapper_QXmlSerializer::attribute(QXmlSerializer* theWrappedObject, const QXmlName& name, const QStringRef& value) -{ - ( ((PythonQtPublicPromoter_QXmlSerializer*)theWrappedObject)->promoted_attribute(name, value)); -} - -void PythonQtWrapper_QXmlSerializer::characters(QXmlSerializer* theWrappedObject, const QStringRef& value) -{ - ( ((PythonQtPublicPromoter_QXmlSerializer*)theWrappedObject)->promoted_characters(value)); -} - -void PythonQtWrapper_QXmlSerializer::comment(QXmlSerializer* theWrappedObject, const QString& value) -{ - ( ((PythonQtPublicPromoter_QXmlSerializer*)theWrappedObject)->promoted_comment(value)); -} - -void PythonQtWrapper_QXmlSerializer::namespaceBinding(QXmlSerializer* theWrappedObject, const QXmlName& nb) -{ - ( ((PythonQtPublicPromoter_QXmlSerializer*)theWrappedObject)->promoted_namespaceBinding(nb)); -} - -QIODevice* PythonQtWrapper_QXmlSerializer::outputDevice(QXmlSerializer* theWrappedObject) const -{ - return ( theWrappedObject->outputDevice()); -} - -void PythonQtWrapper_QXmlSerializer::setCodec(QXmlSerializer* theWrappedObject, const QTextCodec* codec) -{ - ( theWrappedObject->setCodec(codec)); -} - diff --git a/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QXmlSerializer.h b/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QXmlSerializer.h deleted file mode 100644 index 8eba3fe..0000000 --- a/generated_cpp/com_trolltech_qt_xmlpatterns/PythonQtWrapper_QXmlSerializer.h +++ /dev/null @@ -1,78 +0,0 @@ -#ifndef PYTHONQTWRAPPER_QXMLSERIALIZER_H -#define PYTHONQTWRAPPER_QXMLSERIALIZER_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include - -class PythonQtShell_QXmlSerializer : public QXmlSerializer -{ -public: - PythonQtShell_QXmlSerializer(const QXmlQuery& query, QIODevice* outputDevice):QXmlSerializer(query, outputDevice),_wrapper(NULL) {}; - -virtual void atomicValue(const QVariant& value); -virtual void attribute(const QXmlName& name, const QStringRef& value); -virtual void characters(const QStringRef& value); -virtual void comment(const QString& value); -virtual void endDocument(); -virtual void endElement(); -virtual void endOfSequence(); -virtual void namespaceBinding(const QXmlName& nb); -virtual void processingInstruction(const QXmlName& name, const QString& value); -virtual void startDocument(); -virtual void startElement(const QXmlName& name); -virtual void startOfSequence(); -virtual void whitespaceOnly(const QStringRef& value); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QXmlSerializer : public QXmlSerializer -{ public: -inline void promoted_startOfSequence() { QXmlSerializer::startOfSequence(); } -inline void promoted_processingInstruction(const QXmlName& name, const QString& value) { QXmlSerializer::processingInstruction(name, value); } -inline void promoted_endDocument() { QXmlSerializer::endDocument(); } -inline void promoted_startDocument() { QXmlSerializer::startDocument(); } -inline void promoted_startElement(const QXmlName& name) { QXmlSerializer::startElement(name); } -inline void promoted_endElement() { QXmlSerializer::endElement(); } -inline void promoted_endOfSequence() { QXmlSerializer::endOfSequence(); } -inline void promoted_atomicValue(const QVariant& value) { QXmlSerializer::atomicValue(value); } -inline void promoted_attribute(const QXmlName& name, const QStringRef& value) { QXmlSerializer::attribute(name, value); } -inline void promoted_characters(const QStringRef& value) { QXmlSerializer::characters(value); } -inline void promoted_comment(const QString& value) { QXmlSerializer::comment(value); } -inline void promoted_namespaceBinding(const QXmlName& nb) { QXmlSerializer::namespaceBinding(nb); } -}; - -class PythonQtWrapper_QXmlSerializer : public QObject -{ Q_OBJECT -public: -public slots: -QXmlSerializer* new_QXmlSerializer(const QXmlQuery& query, QIODevice* outputDevice); -void delete_QXmlSerializer(QXmlSerializer* obj) { delete obj; } - void startOfSequence(QXmlSerializer* theWrappedObject); - const QTextCodec* codec(QXmlSerializer* theWrappedObject) const; - void processingInstruction(QXmlSerializer* theWrappedObject, const QXmlName& name, const QString& value); - void endDocument(QXmlSerializer* theWrappedObject); - void startDocument(QXmlSerializer* theWrappedObject); - void startElement(QXmlSerializer* theWrappedObject, const QXmlName& name); - void endElement(QXmlSerializer* theWrappedObject); - void endOfSequence(QXmlSerializer* theWrappedObject); - void atomicValue(QXmlSerializer* theWrappedObject, const QVariant& value); - void attribute(QXmlSerializer* theWrappedObject, const QXmlName& name, const QStringRef& value); - void characters(QXmlSerializer* theWrappedObject, const QStringRef& value); - void comment(QXmlSerializer* theWrappedObject, const QString& value); - void namespaceBinding(QXmlSerializer* theWrappedObject, const QXmlName& nb); - QIODevice* outputDevice(QXmlSerializer* theWrappedObject) const; - void setCodec(QXmlSerializer* theWrappedObject, const QTextCodec* codec); -}; - -#endif // PYTHONQTWRAPPER_QXMLSERIALIZER_H diff --git a/generated_cpp/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns.pri b/generated_cpp/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns.pri deleted file mode 100644 index 8396661..0000000 --- a/generated_cpp/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns.pri +++ /dev/null @@ -1,32 +0,0 @@ -HEADERS += \ - $$PWD/PythonQtWrapper_QAbstractMessageHandler.h \ - $$PWD/PythonQtWrapper_QAbstractUriResolver.h \ - $$PWD/PythonQtWrapper_QAbstractXmlNodeModel.h \ - $$PWD/PythonQtWrapper_QAbstractXmlReceiver.h \ - $$PWD/PythonQtWrapper_QSimpleXmlNodeModel.h \ - $$PWD/PythonQtWrapper_QSourceLocation.h \ - $$PWD/PythonQtWrapper_QXmlFormatter.h \ - $$PWD/PythonQtWrapper_QXmlItem.h \ - $$PWD/PythonQtWrapper_QXmlName.h \ - $$PWD/PythonQtWrapper_QXmlNamePool.h \ - $$PWD/PythonQtWrapper_QXmlNodeModelIndex.h \ - $$PWD/PythonQtWrapper_QXmlQuery.h \ - $$PWD/PythonQtWrapper_QXmlResultItems.h \ - $$PWD/PythonQtWrapper_QXmlSerializer.h \ - -SOURCES += \ - $$PWD/PythonQtWrapper_QAbstractMessageHandler.cpp \ - $$PWD/PythonQtWrapper_QAbstractUriResolver.cpp \ - $$PWD/PythonQtWrapper_QAbstractXmlNodeModel.cpp \ - $$PWD/PythonQtWrapper_QAbstractXmlReceiver.cpp \ - $$PWD/PythonQtWrapper_QSimpleXmlNodeModel.cpp \ - $$PWD/PythonQtWrapper_QSourceLocation.cpp \ - $$PWD/PythonQtWrapper_QXmlFormatter.cpp \ - $$PWD/PythonQtWrapper_QXmlItem.cpp \ - $$PWD/PythonQtWrapper_QXmlName.cpp \ - $$PWD/PythonQtWrapper_QXmlNamePool.cpp \ - $$PWD/PythonQtWrapper_QXmlNodeModelIndex.cpp \ - $$PWD/PythonQtWrapper_QXmlQuery.cpp \ - $$PWD/PythonQtWrapper_QXmlResultItems.cpp \ - $$PWD/PythonQtWrapper_QXmlSerializer.cpp \ - $$PWD/com_trolltech_qt_xmlpatterns_init.cpp diff --git a/generated_cpp/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns_init.cpp b/generated_cpp/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns_init.cpp deleted file mode 100644 index bb6083c..0000000 --- a/generated_cpp/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns_init.cpp +++ /dev/null @@ -1,34 +0,0 @@ -#include -#include "PythonQtWrapper_QXmlNodeModelIndex.h" -#include "PythonQtWrapper_QSourceLocation.h" -#include "PythonQtWrapper_QXmlNamePool.h" -#include "PythonQtWrapper_QXmlResultItems.h" -#include "PythonQtWrapper_QAbstractXmlNodeModel.h" -#include "PythonQtWrapper_QXmlQuery.h" -#include "PythonQtWrapper_QAbstractXmlReceiver.h" -#include "PythonQtWrapper_QXmlName.h" -#include "PythonQtWrapper_QXmlItem.h" -#include "PythonQtWrapper_QXmlSerializer.h" -#include "PythonQtWrapper_QAbstractUriResolver.h" -#include "PythonQtWrapper_QSimpleXmlNodeModel.h" -#include "PythonQtWrapper_QAbstractMessageHandler.h" -#include "PythonQtWrapper_QXmlFormatter.h" - - -void PythonQt_init_QtXmlPatterns() { -PythonQt::self()->registerCPPClass("QXmlNodeModelIndex", "", "QtXmlPatterns", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QSourceLocation", "", "QtXmlPatterns", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QXmlNamePool", "", "QtXmlPatterns", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QXmlResultItems", "", "QtXmlPatterns", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QAbstractXmlNodeModel", "", "QtXmlPatterns", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QXmlQuery", "", "QtXmlPatterns", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QAbstractXmlReceiver", "", "QtXmlPatterns", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QXmlName", "", "QtXmlPatterns", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QXmlItem", "", "QtXmlPatterns", PythonQtCreateObject); -PythonQt::self()->registerCPPClass("QXmlSerializer", "QAbstractXmlReceiver", "QtXmlPatterns", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QAbstractUriResolver::staticMetaObject, "QtXmlPatterns", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QSimpleXmlNodeModel", "QAbstractXmlNodeModel", "QtXmlPatterns", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerClass(&QAbstractMessageHandler::staticMetaObject, "QtXmlPatterns", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); -PythonQt::self()->registerCPPClass("QXmlFormatter", "QXmlSerializer", "QtXmlPatterns", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); - -}